Commit Graph

4924 Commits

Author SHA1 Message Date
Aaron J. Seigo
53c10286b6 hover trumps mandatory; avoid doing unecessary work/allocations while we're at it
svn path=/trunk/KDE/kdelibs/; revision=1046892
2009-11-09 22:13:55 +00:00
Script Kiddy
748ef174b3 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=1046617
2009-11-09 10:32:28 +00:00
Marco Martin
a5f39f0f06 return a size hint based on font metrics
svn path=/trunk/KDE/kdelibs/; revision=1046144
2009-11-07 16:44:56 +00:00
Script Kiddy
4f6ff5ef68 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=1046039
2009-11-07 11:02:28 +00:00
Marco Martin
8c047a91eb don't fade the label if the width is exactly the text width
svn path=/trunk/KDE/kdelibs/; revision=1046037
2009-11-07 10:56:06 +00:00
Aaron J. Seigo
6de1341e1b fix resize-after-move, which was seriously annoying me for a while now; thankfully it was an easy fix :)
svn path=/trunk/KDE/kdelibs/; revision=1045892
2009-11-06 22:34:22 +00:00
Marco Martin
ca60a5a6cf convert the function to a qgraphicswidget:
sceneeventfilter appears to eat events always and in this way i can
remove elements from dragHandles when they get deleted

svn path=/trunk/KDE/kdelibs/; revision=1045818
2009-11-06 20:20:35 +00:00
Marco Martin
3639317617 send the event to the widget, it will have coordinates mapped in a more
precise way

svn path=/trunk/KDE/kdelibs/; revision=1045778
2009-11-06 18:58:47 +00:00
Marco Martin
60eabf5382 void registerAsDragHandle(QGraphicsItem *item);
easy way to keep the flickable scrolling even with clickable sub items

svn path=/trunk/KDE/kdelibs/; revision=1045776
2009-11-06 18:57:35 +00:00
Script Kiddy
01f8380dda SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=1045567
2009-11-06 10:07:59 +00:00
Petri Damstén
0244d72222 Add missing functions to RunnerScript.
Review: http://reviewboard.kde.org/r/2054/

svn path=/trunk/KDE/kdelibs/; revision=1045443
2009-11-06 06:33:24 +00:00
Aaron J. Seigo
75e482fae2 only insert a delay before moving the drop zone the first time its shown; be sure to also reset the drop point
svn path=/trunk/KDE/kdelibs/; revision=1045332
2009-11-05 20:27:08 +00:00
Marco Martin
5789ff1883 remove magic numbers
svn path=/trunk/KDE/kdelibs/; revision=1045319
2009-11-05 19:21:25 +00:00
Aaron J. Seigo
7acbfbc47f be sure to always have a containment!
BUG:206379

svn path=/trunk/KDE/kdelibs/; revision=1045316
2009-11-05 19:17:00 +00:00
Aaron J. Seigo
f0f6b91bd5 always return, just in case
svn path=/trunk/KDE/kdelibs/; revision=1045310
2009-11-05 18:53:56 +00:00
Petri Damstén
14f02402f1 Add missing functions to DataEngineScript.
Review: http://reviewboard.kde.org/r/2073/

svn path=/trunk/KDE/kdelibs/; revision=1045307
2009-11-05 18:44:42 +00:00
Petri Damstén
2b4edfd6cd Add missing functions to AppletScript.
Review: http://reviewboard.kde.org/r/2074/

svn path=/trunk/KDE/kdelibs/; revision=1045306
2009-11-05 18:43:39 +00:00
Marco Martin
2d0f7dc81b set the proper margins:.. todo: constant, not magic numbers
svn path=/trunk/KDE/kdelibs/; revision=1045303
2009-11-05 18:37:38 +00:00
Aaron J. Seigo
8f3e0d5494 unhighlight when setShow is called; fixes the toolbox in the panel not going back to grey when the toolbox is hidden by clicking on another window
svn path=/trunk/KDE/kdelibs/; revision=1045294
2009-11-05 18:03:33 +00:00
Aaron J. Seigo
84c7463c53 don't call values() and optimize the ordering of operations for items not already on the scene
svn path=/trunk/KDE/kdelibs/; revision=1044950
2009-11-05 01:12:22 +00:00
Aaron J. Seigo
fd6cd93e9d prevent deadlocks
svn path=/trunk/KDE/kdelibs/; revision=1044840
2009-11-04 19:01:43 +00:00
Marco Martin
f58a5a844b update the geometry on load finish
svn path=/trunk/KDE/kdelibs/; revision=1044727
2009-11-04 14:48:23 +00:00
Marco Martin
54f38beec6 return the page size as size hint
svn path=/trunk/KDE/kdelibs/; revision=1044708
2009-11-04 14:16:14 +00:00
Aaron J. Seigo
db3d20e4d0 make it assignable
svn path=/trunk/KDE/kdelibs/; revision=1044541
2009-11-04 00:21:55 +00:00
Aaron J. Seigo
2cd3295e69 d->prefix is always guaranteed to be in d->frames
svn path=/trunk/KDE/kdelibs/; revision=1044540
2009-11-04 00:12:59 +00:00
Aaron J. Seigo
7751044026 move connecting the update() signal to right after we actually initialize the wallpaper; prevents the possibility of double paints we may not want
svn path=/trunk/KDE/kdelibs/; revision=1044507
2009-11-03 22:27:05 +00:00
Aaron J. Seigo
16b5fcc766 cache whether or not the wallaper is actually a full package (dir + metadata) and on render hints changing just look for the best paper if we are a full package; preserves rendering for single image papers in the wallpaper config
BUG:212930

svn path=/trunk/KDE/kdelibs/; revision=1044424
2009-11-03 18:35:40 +00:00
Marco Martin
1b945b8aff removeIconAction(0) clears the actions
svn path=/trunk/KDE/kdelibs/; revision=1044330
2009-11-03 13:10:19 +00:00
Marco Martin
06d2502d2a check the cast success: crash--
svn path=/trunk/KDE/kdelibs/; revision=1044329
2009-11-03 13:09:41 +00:00
Adenilson Cavalcanti Da Silva
52e5b9aca4 Making possible to rewind a grow animation (as also fixing the newHeight parameter).
To make possible to return to previous state, it is both necessary to use the oposite
animation factor as also the start and end value used in the animation.


svn path=/trunk/KDE/kdelibs/; revision=1043658
2009-11-02 08:59:00 +00:00
Script Kiddy
fc32e34be7 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=1043343
2009-11-01 10:57:49 +00:00
Petri Damstén
2a7d429232 discard size hint in setText
BUG: 212341

svn path=/trunk/KDE/kdelibs/; revision=1043020
2009-10-31 14:10:11 +00:00
Marco Martin
4fa7e72b1b if the tooltip contains windows, highlight it too
svn path=/trunk/KDE/kdelibs/; revision=1042991
2009-10-31 12:33:08 +00:00
Marco Martin
f9672ff394 new effect: highlightWindows, uses _KDE_WINDOW_HIGHLIGHT atom
svn path=/trunk/KDE/kdelibs/; revision=1042972
2009-10-31 10:58:06 +00:00
Script Kiddy
9ceef1a821 SVN_SILENT made messages (.desktop file, second try)
svn path=/trunk/KDE/kdebase/workspace/plasma/generic/containmentactions/test/; revision=1042618
2009-10-30 10:46:47 +00:00
Script Kiddy
44332bbaa1 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=1042617
2009-10-30 10:45:50 +00:00
Petri Damstén
d03a3ef5df Return correct width for minimum and preferred size.
BUG:212341

svn path=/trunk/KDE/kdelibs/; revision=1042611
2009-10-30 10:11:12 +00:00
Aaron J. Seigo
22c6e31931 we'll eventually get this to work in all cases :P
svn path=/trunk/KDE/kdelibs/; revision=1042462
2009-10-29 21:04:42 +00:00
Artur Duque de Souza
df2e7b902e We still need the corona object to do this check :)
Fix broken build from last commit.


svn path=/trunk/KDE/kdelibs/; revision=1042459
2009-10-29 21:01:21 +00:00
Aaron J. Seigo
a804fba5ad the corona check is irrelevant here
svn path=/trunk/KDE/kdelibs/; revision=1042455
2009-10-29 20:41:07 +00:00
Marco Martin
df6032f5ef ask for the screen of the view, even if it doesn't have a containment
svn path=/trunk/KDE/kdelibs/; revision=1042437
2009-10-29 19:53:03 +00:00
Aaron J. Seigo
895d230262 just ask the view for its screen directly
svn path=/trunk/KDE/kdelibs/; revision=1042421
2009-10-29 19:20:19 +00:00
Marco Martin
5bd2af94f8 invalidate the main layout when te new page is inserted, only way to get
the preferred size right, apparently

svn path=/trunk/KDE/kdelibs/; revision=1042410
2009-10-29 19:05:04 +00:00
Aaron J. Seigo
b03243d7ae record our last screen/desktop setting even if we don't have a containment yet
svn path=/trunk/KDE/kdelibs/; revision=1042402
2009-10-29 18:50:18 +00:00
Marco Martin
c71cd00557 delay cuurentchanged after the animation, use a preferredsize policy for the
pages

svn path=/trunk/KDE/kdelibs/; revision=1042395
2009-10-29 18:31:27 +00:00
Marco Martin
4418fb8971 revert last bogus commit
svn path=/trunk/KDE/kdelibs/; revision=1042383
2009-10-29 17:58:52 +00:00
Marco Martin
7e8d330582 some qgraphicslayout hack to return a meaningful size hint, pretty
unfortunate

svn path=/trunk/KDE/kdelibs/; revision=1042375
2009-10-29 17:50:44 +00:00
Sebastian Kügler
fbcf0e484e Add capability for Applets to specify X-Plasma-DropUrlPatterns, a QStringList of globs to match a URL dropped onto Plasma. This is orthogonal to the mimetype checking.
http://reviewboard.kde.org/r/2005/#review2848

svn path=/trunk/KDE/kdelibs/; revision=1042124
2009-10-29 09:09:01 +00:00
Petri Damstén
289b9ac1eb Add WallpaperScript.
Review: http://reviewboard.kde.org/r/1984/

svn path=/trunk/KDE/kdelibs/; revision=1042086
2009-10-29 05:54:11 +00:00
Aaron J. Seigo
3e7c2125a8 call init() in runner manager so all runners get it called
svn path=/trunk/KDE/kdelibs/; revision=1041873
2009-10-28 18:15:23 +00:00