Commit Graph

3839 Commits

Author SHA1 Message Date
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
Aurélien Gâteau
d10641c35d Use Qt::Tool window flags for popups to avoid having them shown over screensaver.
BUG:179924

I do not have a working copy of kdelibs 4.2 at the moment. Can someone backport
the fix?

svn path=/trunk/KDE/kdelibs/; revision=946749
2009-03-30 09:00:16 +00:00
Harald Hvaal
570242531f Make the iconwidget's a teeny bit smaller when pressed down. This gives a good response when clicking buttons in plasma.
svn path=/trunk/KDE/kdelibs/; revision=946711
2009-03-30 06:42:19 +00:00
Aaron J. Seigo
183d79adb2 SVN_SILENT: conform to naming conventions
svn path=/trunk/KDE/kdelibs/; revision=946697
2009-03-30 03:45:30 +00:00
Aaron J. Seigo
4b09b1a59b SVN_SILENT: not useful these days
svn path=/trunk/KDE/kdelibs/; revision=946696
2009-03-30 03:41:11 +00:00
Marco Martin
2ebcc9f481 workaround on a qt bug: if i call setVisible(true) on a child of an
hidden item it gets shown anyways (will get around doing a test case)

svn path=/trunk/KDE/kdelibs/; revision=946139
2009-03-28 19:11:43 +00:00
Kevin Ottens
113d703984 Auto-allocate ids.
svn path=/branches/work/~ervin/sodep/; revision=945432
2009-03-27 13:49:17 +00:00
Aaron J. Seigo
d2d756f3fd avoid putting empty text or unhelpful html elements in the tip text
svn path=/trunk/KDE/kdelibs/; revision=945121
2009-03-26 22:08:36 +00:00
Marco Martin
93a9b754a6 manage the isChecked case
svn path=/trunk/KDE/kdelibs/; revision=945111
2009-03-26 21:45:05 +00:00
Marco Martin
eb46f78fd9 scrollbarPolicy->scrollBarPolicy, luckily it was spotted before any
release :)

svn path=/trunk/KDE/kdelibs/; revision=945072
2009-03-26 20:21:48 +00:00
Aaron J. Seigo
7dd4f42869 the wallpaper is always a (0, 0) of the containment; don't rely on the boundingRect to give us that
svn path=/trunk/KDE/kdelibs/; revision=945044
2009-03-26 19:14:58 +00:00
Pino Toscano
bf640ddf9d Qt includes in public headers should go in the form <QtModule/QFoo>
svn path=/trunk/KDE/kdelibs/; revision=944855
2009-03-26 10:40:19 +00:00
Aaron J. Seigo
599fcdd138 ignore timer id's that aren't ours
svn path=/trunk/KDE/kdelibs/; revision=944581
2009-03-25 19:10:02 +00:00
Aaron J. Seigo
d7fdb6deb1 constification
svn path=/trunk/KDE/kdelibs/; revision=944561
2009-03-25 18:33:41 +00:00
Aaron J. Seigo
b2bb1b569c API review: clearSyntaxes gone; setSyntaxes in; small apidox fix
svn path=/trunk/KDE/kdelibs/; revision=944548
2009-03-25 17:41:15 +00:00
Rob Scheepmaker
0bfbed06ae Move ExtenderGroupPrivate to a seperate header file, so we can call addItemToGroup in setGroup.
svn path=/trunk/KDE/kdelibs/; revision=944336
2009-03-25 13:03:04 +00:00
Aaron J. Seigo
acaa4108df provide a way for runners to define their syntax; may experience some small api shifts yet, but nothing major and it works.
svn path=/trunk/KDE/kdelibs/; revision=944088
2009-03-25 01:08:08 +00:00
Marco Martin
4f20cfe5a6 try again to show the toolbox as a circle in the corners, but more
important fix the dragging quirkiness (by not changing the
boundingRect(), only paint it as if it had a different geometry)

svn path=/trunk/KDE/kdelibs/; revision=944004
2009-03-24 20:37:28 +00:00
Aaron J. Seigo
f2ba0859cb SVN_SILENT: i'm sure one pair of parens is enough. this isn't lisp.
svn path=/trunk/KDE/kdelibs/; revision=943975
2009-03-24 18:51:29 +00:00
Aaron J. Seigo
9c6bd76035 remove some old code from when creating the toolbox created the actions and custom containments never had toolbox; that was an implementation detail that no longer fits the definitions (e.g. custom containments can now have toolboxes if they so wish)
svn path=/trunk/KDE/kdelibs/; revision=943974
2009-03-24 18:50:18 +00:00
Marco Martin
1427ff946c leak--
svn path=/trunk/KDE/kdelibs/; revision=943740
2009-03-24 11:45:53 +00:00
Aaron J. Seigo
6d98e6f2aa protect against crashing / interupted plasma exit with global shortcuts
BUG:184042

svn path=/trunk/KDE/kdelibs/; revision=943557
2009-03-24 02:07:20 +00:00
Pino Toscano
345738e8e6 repeat after me:
Qt includes in public headers must go in the form <QtModule/QFoo>

svn path=/trunk/KDE/kdelibs/; revision=943469
2009-03-23 21:41:13 +00:00