222 Commits

Author SHA1 Message Date
Sebastian Kügler
5aed151284 cleanup 2013-02-14 05:17:33 +01:00
Sebastian Kügler
b6715b6e6f Make zero sized icons valid
Fixes icons in Buttons

Ported from kde-runtime fbbec602e90ed8f99e93605
2013-02-14 04:33:26 +01:00
Sebastian Kügler
1d666bfcb1 Enable build of QtExtras, make it build, install
ColumnProxyModel and QIconItem work, more pending.
2013-02-14 02:07:37 +01:00
Sebastian Kügler
f4dbc62264 Fix IconItem loading of icons 2013-02-14 00:43:34 +01:00
Marco Martin
647fc5e553 paint correctly the framesvg the first time 2013-02-13 17:47:03 +01:00
Sebastian Kügler
44aca0eccb define QML_INSTALL_DIR a bit higher,
until it's merged into KDEInstallDirs.cmake
2013-02-12 12:50:23 +01:00
Sebastian Kügler
17ee518ccc implicit{Width|Height} have moved into QQuickItem
These properties can just be ditched since they're available in our grandparent now.
2013-02-12 12:50:23 +01:00
Sebastian Kügler
faa4826465 fix build of theme.cpp, Q_GLOBAL_STATIC needs parentheses 2013-02-11 12:11:11 +01:00
Sebastian Kügler
092220952c Use QML_INSTALL_DIR
... instead of screwing with IMPORTS_INSTALL_DIR. We're still setting it
by hand until the corresponding patch in cmake-extra-modules is merged.
2013-02-10 16:18:33 +01:00
Marco Martin
ba4250394b add ${KDE4_KDECORE_LIBS} to core bindings 2013-02-08 12:10:01 +01:00
Marco Martin
23bbfd5d91 try to add ${KDE4_INCLUDE_DIR} 2013-02-08 11:15:52 +01:00
Marco Martin
8018feea80 try to explicitly add kdecore to linking 2013-02-08 11:06:44 +01:00
Marco Martin
bb8356abb0 reenable theme
many qml components work now
2013-02-07 12:48:05 +01:00
Aleix Pol
7f8cbc4af2 Backport of commit a842523b46176b8cde845e26d06bca7f76166df0 in kde:kde-runtime 2013-02-07 12:11:51 +01:00
Marco Martin
3777ae67ef very war enable of components
they will still not work due theme not being defined yet
2013-02-06 13:37:56 +01:00
Marco Martin
965f6715db correctly link everything 2013-02-06 11:15:27 +01:00
Marco Martin
492bd13b00 slight progress in making the repo link again 2013-02-05 21:37:42 +01:00
Sebastian Kügler
e3149f9c77 Work on IconItem
The sizing we get is messed up, and the first pixmap (which we try to
use) has size 0x0. Needs fixing.
2013-02-02 04:43:20 +01:00
Sebastian Kügler
47ee5be976 Make SvgItem work, now successfully shows an Svg 2013-02-02 04:42:28 +01:00
Sebastian Kügler
0d26b04d47 FrameSvgItem becomes a QQuickPaintedItem, it now renders 2013-02-02 03:41:38 +01:00
Sebastian Kügler
a65c52fd16 Install imports into $PREFIX/qml/org/kde/... 2013-02-02 03:32:01 +01:00
Sebastian Kügler
42573a2c6a Use Q_PLUGIN_METADATA to register plugin 2013-02-02 03:31:21 +01:00
Sebastian Kügler
56fe183e00 enable svg and framesvg 2013-02-02 00:58:03 +01:00
Sebastian Kügler
826a97675c port and enable FrameSvgItem in core plugin 2013-02-02 00:54:25 +01:00
Sebastian Kügler
d105397f0a lower case includes 2013-02-01 18:19:27 +01:00
Sebastian Kügler
ad7fb806dc port iconitem to Qt5 2013-02-01 18:18:52 +01:00
Sebastian Kügler
acadc4f4b1 lower case include 2013-02-01 18:04:12 +01:00
Sebastian Kügler
7f0011a843 Renamed classes, QDeclarative -> QQml/QQuick* 2013-02-01 17:26:26 +01:00
Sebastian Kügler
6c5025a866 Register SvgItem 2013-02-01 17:25:28 +01:00
Sebastian Kügler
b33fbfea4f Enable SvgItem 2013-02-01 17:24:24 +01:00
Sebastian Kügler
05e5701e9b port svgitem to Qt5 2013-02-01 17:24:07 +01:00
Sebastian Kügler
1667ad7619 Minimally building core plugin
All classes are disabled currently, and the plugin macros as well.
2013-02-01 17:03:00 +01:00
Marco Martin
c68b5909c2 Merge branch 'KDE/4.10' 2013-01-23 15:06:06 +01:00
Marco Martin
64c31f5ca1 update margins when the element prefix changes 2013-01-23 15:05:51 +01:00
Aurélien Gâteau
a87f7e4240 Thou shall not use "using namespace" in a header file 2012-12-19 14:57:28 +01:00
Aurélien Gâteau
2b6797dca3 Document QML names for C++ classes suffixed with "Proxy" 2012-12-14 16:16:27 +01:00
Aurélien Gâteau
34514cfe56 Create Mainpage.dox for kde-runtime plasma sub-projects
CCMAIL: notmart@kde.org
2012-12-14 16:15:44 +01:00
Marco Martin
0aebfa70e5 check for signals existence before connecting
removes a lot of warnings
2012-12-13 14:17:09 +01:00
Marco Martin
0b5dece0f0 implicitWidthChanged is a signal, not a slot 2012-12-03 18:10:25 +01:00
Marco Martin
d784a91655 always rewrite icon settings on signal
we can't just check the desktop icon size, another size may have been changed
2012-12-03 17:59:59 +01:00
Marco Martin
57e77a8591 remove the kdialog based querydialog
Dialogs are always plasma-themed, and if possible are inline.
only if there is not enough space (like in a panel) they get moved in a separate window
this removes quite some c++ usage and hopefully solves some layouting problems in dialogs
2012-11-30 00:03:49 +01:00
Marco Martin
03495debc4 check for elementId besides the file name 2012-11-28 16:05:46 +01:00
Marco Martin
0d03bf21c8 get rid of the old image if we are not animating 2012-11-27 17:54:46 +01:00
Marco Martin
d177b0a31d react to enabled changed 2012-11-27 14:03:19 +01:00
Marco Martin
3d21d43182 set default meaningful implicitWidth/height
svgItem has naturalSize as implicit size
framesvgitem has the sum of their borders
2012-11-27 13:33:50 +01:00
Marco Martin
ed4504f731 PlasmaCore.IconItem
remove the old private IconLoader
this takes care of rendering at the proper size, using a Svg when needed and animation when
2012-11-26 20:49:16 +01:00
Marco Martin
b353f6e7fb remove a couple of sizes 2012-11-26 11:35:53 +01:00
Marco Martin
171c795ac2 bind standard icon sizes (desktop, toolbar etc)
they should be preferred over smallIconSize, mediumIconSize etc
2012-11-26 11:24:09 +01:00
Allen Winter
78848d5d50 initialize m_left, m_top, m_right and m_bottom to make valgrind happy. 2012-11-12 19:01:55 -05:00
Sebastian Kügler
74b0e0bd98 debug-- 2012-11-12 01:44:51 +01:00