Commit Graph

3761 Commits

Author SHA1 Message Date
Aaron J. Seigo
fe02bd3735 "widget" is a QGraphicsWidget, and since we have other widgets around, refer to it as something more obvious
svn path=/trunk/KDE/kdelibs/; revision=951375
2009-04-09 04:51:51 +00:00
Aaron J. Seigo
dd3aed2f3b revert commit#946749 as it causes way too many side effects including: widgets not getting focus (kickoff no longer puts focus on the line edit), popups not going away when clicking elsewhere ...
will need another fix for BR#179924
CCMAIL:aurelien.gateau@canonical.com
CCBUG:179924

svn path=/trunk/KDE/kdelibs/; revision=951366
2009-04-09 04:18:10 +00:00
Aaron J. Seigo
b5c6c9c817 * update the borders before adjusting the view in the move event so that we have the right borders (fixes misplaced contents in taskbar popups on first show)
* sceneBoundingRect fixes

svn path=/trunk/KDE/kdelibs/; revision=951362
2009-04-09 03:18:24 +00:00
Marco Martin
c4e76cdc54 restore as offscreen widgets containments that was offscreen widgets
svn path=/trunk/KDE/kdelibs/; revision=951274
2009-04-08 20:37:45 +00:00
Aaron J. Seigo
16e41bf2be only mark it as initialized after the first run of init()
svn path=/trunk/KDE/kdelibs/; revision=951209
2009-04-08 17:26:22 +00:00
Rob Scheepmaker
b22ec1abf8 Use opaque extender background while dragging.
svn path=/trunk/KDE/kdelibs/; revision=951207
2009-04-08 17:25:50 +00:00
Rob Scheepmaker
1b2c3da340 Make it more distinct which items belong to a group, by always putting children of a group below the ExtenderGroup item, and hiding their borders, so each group has only one horizontal seperator.
svn path=/trunk/KDE/kdelibs/; revision=951193
2009-04-08 16:16:00 +00:00
Benoît Jacob
094aa403cd typo
svn path=/trunk/KDE/kdelibs/; revision=951160
2009-04-08 15:06:47 +00:00
Marco Martin
875688e040 make corona's offscreenwidgets list accessible, don't reposition
containments that are in offscreen widgets

svn path=/trunk/KDE/kdelibs/; revision=950841
2009-04-07 21:22:18 +00:00
Aaron J. Seigo
deb92dbdf5 parent the wallpaper so it gets deleted when we get deleted
svn path=/trunk/KDE/kdelibs/; revision=950829
2009-04-07 21:00:26 +00:00
Aaron J. Seigo
59a6afb815 use a QSet instead of a list since we're doing random access and don't care about order
svn path=/trunk/KDE/kdelibs/; revision=950827
2009-04-07 20:57:19 +00:00
Aaron J. Seigo
0b5bceb2e9 * implement the READ side of the properties
* remove a compile warning

thanks, Laurent, for noticing the properties missing READs

CCMAIL:montel@kde.org

svn path=/trunk/KDE/kdelibs/; revision=950458
2009-04-07 08:33:51 +00:00
Aaron J. Seigo
18211150b2 update using the real frame interval to get a proper distribution across the frame range of custom animations
svn path=/trunk/KDE/kdelibs/; revision=950439
2009-04-07 07:43:24 +00:00
Aaron J. Seigo
260973cd9d SVN_SILENT: don't really need that debug
svn path=/trunk/KDE/kdelibs/; revision=950435
2009-04-07 07:31:42 +00:00
Aaron J. Seigo
affc3e90aa allow setting of rendering hints, follow them in the package
svn path=/trunk/KDE/kdelibs/; revision=950429
2009-04-07 07:18:58 +00:00
Aaron J. Seigo
8a527b7b09 * move Wallpaper::Private to its own class
* introduce a default ctor for Wallpaper
* allow associating a Wallpaper PackageStructure with a Wallpaper object so that the structure can pull info from the paper

svn path=/trunk/KDE/kdelibs/; revision=950410
2009-04-07 05:45:20 +00:00
Aaron J. Seigo
fa846c54ba make the wallpaper packages a bit smarter
svn path=/trunk/KDE/kdelibs/; revision=950409
2009-04-07 05:43:44 +00:00
Aaron J. Seigo
55feec87c0 move the entryList and path setting logic into PackageStructure so that packages can have a bit more control over their life
svn path=/trunk/KDE/kdelibs/; revision=950408
2009-04-07 05:42:30 +00:00
Aaron J. Seigo
ca2b1249dc SVN_SILENT: remove the TODO
svn path=/trunk/KDE/kdelibs/; revision=950407
2009-04-07 05:41:03 +00:00
Aaron J. Seigo
3c87cf49a8 some runners were incorrectly using this, but i figured out (dur!) what it is actualy for; so add the macro back, along with a comment on its purpose.
svn path=/trunk/KDE/kdelibs/; revision=949669
2009-04-05 17:40:04 +00:00
Aaron J. Seigo
d56700790f this never really made sense
svn path=/trunk/KDE/kdelibs/; revision=949390
2009-04-05 08:31:34 +00:00
Aaron J. Seigo
73fca86390 * add convenience methods for checking if a match is configurable
* add missing apidox

svn path=/trunk/KDE/kdelibs/; revision=949361
2009-04-05 06:22:53 +00:00
Rob Scheepmaker
37c0a4a725 More sensible behavior when detaching an ExtenderGroup: no autohide of the group, and treating new items in the source applets extender as if the group were expanded.
svn path=/trunk/KDE/kdelibs/; revision=949228
2009-04-04 16:42:59 +00:00
Davide Bettio
2f0da61660 The previous "hover effect on drag" patch was buggy. Now we are using sceneEventFilter and it seems better.
svn path=/trunk/KDE/kdelibs/; revision=948792
2009-04-03 19:57:13 +00:00
Jacopo De Simoi
1b49180a0c Trim the query term to avoid leading (or following) whitespace
BUG: 188665

svn path=/trunk/KDE/kdelibs/; revision=948747
2009-04-03 17:12:53 +00:00
Aaron J. Seigo
339c9cbf9a oops, straggler in the query
svn path=/trunk/KDE/kdelibs/; revision=948431
2009-04-03 00:34:53 +00:00
Aaron J. Seigo
5ef5f88b7e listing methods for all installed types of containments and for all containments of a given type
svn path=/trunk/KDE/kdelibs/; revision=948427
2009-04-03 00:29:54 +00:00
Fredrik Höglund
4f0a9c1b2f Don't start the fade out animation if the applet handle is still under the mouse.
svn path=/trunk/KDE/kdelibs/; revision=948317
2009-04-02 19:08:22 +00:00
Davide Bettio
44d2194253 Use hover background when something is dragged on the icon.
BUG: 110952

svn path=/trunk/KDE/kdelibs/; revision=948303
2009-04-02 18:33:39 +00:00
Aaron J. Seigo
bb5a57bc26 we can't queue signals with our own enum type, but since this is all internal to the lib and doesn't ever escape into the public API, just pass it around as an int.
svn path=/trunk/KDE/kdelibs/; revision=948269
2009-04-02 17:21:42 +00:00
Marco Martin
dbc4852624 if a qmenu is open the handle doesn't disappear, make it disappear as
soon as the menu closes, this way it doesn't steal anymore the focus to
the applet
BUG:180752

svn path=/trunk/KDE/kdelibs/; revision=948256
2009-04-02 16:43:41 +00:00
Rob Scheepmaker
94dcdc31a4 Expand/collapse group icon responds to theme changes.
svn path=/trunk/KDE/kdelibs/; revision=948255
2009-04-02 16:40:28 +00:00
Marco Martin
c7aa7e7a6a don't override minimum and maximum sizes so often
svn path=/trunk/KDE/kdelibs/; revision=948218
2009-04-02 15:16:53 +00:00
Laurent Montel
7e2bf0f2b7 Fix mem leak
svn path=/trunk/KDE/kdelibs/; revision=948069
2009-04-02 06:49:53 +00:00
Aaron J. Seigo
1f1600e406 * renderComplete -> renderCompleted
* remove some unused members

svn path=/trunk/KDE/kdelibs/; revision=948068
2009-04-02 06:48:30 +00:00
Aaron J. Seigo
ef99d85b29 better method names; kisses to ervin
svn path=/trunk/KDE/kdelibs/; revision=948067
2009-04-02 06:43:40 +00:00
Aaron J. Seigo
1c62ca5b79 introduce wallpaper image rendering into libplasma so it can be shared amongst all wallpaper plugins; most of the plugins are duplicating this code which can't be good. :)
next up is to port the Image wallpaper plugin to this and make sure it all still works and then look at bringing the wallpaper listing model/view somewhere all the plugins can share it for their configuration needs

svn path=/trunk/KDE/kdelibs/; revision=948064
2009-04-02 06:31:37 +00:00
Aaron J. Seigo
e309bf2da3 add a wallpaper package definition
svn path=/trunk/KDE/kdelibs/; revision=948063
2009-04-02 06:29:46 +00:00
Aaron J. Seigo
de4602c113 pull over render thread in the lib so it can be shared
svn path=/trunk/KDE/kdelibs/; revision=948059
2009-04-02 05:43:20 +00:00
Aaron J. Seigo
593b2f111f pull render thread into the library so it can be share
svn path=/trunk/KDE/kdelibs/; revision=948058
2009-04-02 05:42:52 +00:00
Aaron J. Seigo
04f8e295b7 make the wallpaper stuff a bit more robust and integrated around configuration issues
svn path=/trunk/KDE/kdelibs/; revision=948052
2009-04-02 04:15:50 +00:00
Aaron J. Seigo
5d29960ad8 @since; and why do i keep wanting to put 4.4?
svn path=/trunk/KDE/kdelibs/; revision=947637
2009-04-01 00:04:57 +00:00
Aaron J. Seigo
89b70374c3 abstract the bit of data engine management code out into a small class that the private classes can then subclass, and add dataEngine(const QString &) to Wallpaper
svn path=/trunk/KDE/kdelibs/; revision=947636
2009-03-31 23:51:52 +00:00
Aaron J. Seigo
d0e40170fa if the drag left our application (and so target() is null), treat it as if the drag was rejected. this works around braindamaged apps like firefox who accept anything dropped on them regardless of mimetype and then mark it as a move!
svn path=/trunk/KDE/kdelibs/; revision=947546
2009-03-31 18:45:30 +00:00
Rob Scheepmaker
d4abcf9226 Use the svg icons for expand/collapse in ExtenderGroup.
svn path=/trunk/KDE/kdelibs/; revision=947486
2009-03-31 15:46:33 +00:00
Arthur Renato Mello
6c5889f323 Check useCache() before using pixmapCache that could be not instantiated.
svn path=/trunk/KDE/kdelibs/; revision=947031
2009-03-30 19:46:01 +00:00
Marco Martin
bc01148110 some q_property
svn path=/trunk/KDE/kdelibs/; revision=946865
2009-03-30 13:27:25 +00:00
Marco Martin
d6f6c69817 add missing @since 4.3
svn path=/trunk/KDE/kdelibs/; revision=946801
2009-03-30 12:21:52 +00:00
Marco Martin
810a3a293c add setDragToScroll, makes the webview to work like a touchscreen, it
selects the text instead of dragging if the move is less than 250
milliseconds after the mouse press, not really reliable but don't know
how to save both functionalities

svn path=/trunk/KDE/kdelibs/; revision=946794
2009-03-30 11:58:23 +00:00
Marco Martin
115b87704f fixed a little typo (backgroundcolor/backgroundcolor2) spotted by
metellius

svn path=/trunk/KDE/kdelibs/; revision=946778
2009-03-30 11:13:10 +00:00