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
Aaron Seigo
554f0b9909
ensure margins update in all cases
...
setElementPrefix does not trigger repaintNeeded() from the svg object;
repaintNeeded() is for internal changes. if you change the svg from your
own application code, the app code needs to react to those changes in its
own time and way.
so margins was never seeing that it was getting changed when setElementPrefix
was called -> pixel imperfections in layouts.
2012-11-07 12:43:11 +01:00
Dmitry Ashkadov
46e7b8065f
Support of QIcon and QPixmap for QML item PlasmaCore.Tooltip
2012-10-23 20:58:50 +04:00
Aaron Seigo
c42d979a56
turns out we have to set the role names constantly to make sorting actually work
...
even just setting the sort/filter roles is not enough. role names must also be set again!
gaaaah. thankfully this seems to be very fast, though would still be nice to avoid it if
possible somehow.
CCBUG:308101
2012-10-09 11:30:32 +02:00
Aaron Seigo
19a7d82ed9
dataengine based models set their roles when setting the data, so respond to that
...
syncRoleNames is fast (and faster now that we check that the role names actually changed)
but it may be nicer to find a more efficient way in future than checking the role names
on all / any data changes. in fact, the documentation for QAbstractItemModel::setRoleNames says:
"This function must be called before the model is used.
Modifying the role names after the model has been set may result in undefined behaviour."
BUG:308101
2012-10-09 11:21:14 +02:00
Aaron Seigo
f5275fc57a
the model can be null, be careful with that (and use emit for signals!)
2012-10-08 14:28:39 +02:00
Aaron Seigo
4e78f327bb
actually sync the roles and only sort when we have an actual model already
2012-10-08 14:16:16 +02:00
Marco Martin
cbd6bc5758
Label and Icon roles
2012-10-08 13:53:16 +02:00
Marco Martin
0dc3b067d7
revert use of display and decoration
...
there can be only one name per role
2012-10-08 13:42:08 +02:00
Jacopo De Simoi
7a1f75af9b
Remove noop check in setSortRole
...
The noop check m_sortRole == role has to be removed
because the hash table m_roleIds can change between two calls to
setSortRole (as it actually happens when resync the hash table).
Possibly one could perform a more clever check (i.e. adding some
m_invalidated flag which would override the check), but I am not sure it is
really worth it.
This fixes sorting issues in the Plasma Device Notifier
CCMAIL:notmart@gmail.com
2012-10-04 12:22:29 +02:00
Marco Martin
d4d6f11a8a
imap also decoration/display to be consistent
2012-10-03 16:03:47 +02:00
Marco Martin
43846dde0e
bind runnermodel in core
2012-10-03 15:55:11 +02:00
Marco Martin
95e5431610
move the runnermodel in core
...
the old plugin is still there for compatibility, however is discouraged to be used
2012-10-03 15:40:55 +02:00
Marco Martin
af189dff04
ensure the dialog is not out of workarea
2012-09-20 14:59:26 +02:00
Marco Martin
9d92b822aa
support minimum/maximum/preferred sizes
2012-09-20 14:22:40 +02:00
Marco Martin
0e1021feb1
if is a dock, is on all desktops
2012-09-20 14:22:15 +02:00