Commit Graph

5288 Commits

Author SHA1 Message Date
Marco Martin
47a6082bf5 use opacity, not a qgraphicseffect, since an item can't have more than
one effect and the opacity property of the widget would lie.
if there will be graphics glitches it would be a qt problem that should
be resolved, not by a workaround

svn path=/trunk/KDE/kdelibs/; revision=1047550
2009-11-11 12:04:58 +00:00
Petri Damstén
c1ee933143 Add description() also to WallpaperScript.
svn path=/trunk/KDE/kdelibs/; revision=1047385
2009-11-11 08:02:57 +00:00
Aaron J. Seigo
e6dd3387bb filter offers on load as well; this is where it actually matters, in fact
svn path=/trunk/KDE/kdelibs/; revision=1047343
2009-11-11 01:56:59 +00:00
Aaron J. Seigo
687e1f57a1 set a parent on the item so we can count on it getting deleted when we remove it
svn path=/trunk/KDE/kdelibs/; revision=1047342
2009-11-11 01:55:11 +00:00
Aaron J. Seigo
e77dfbe529 destroy the message, if any, when we fail
svn path=/trunk/KDE/kdelibs/; revision=1047341
2009-11-11 01:54:32 +00:00
Aaron J. Seigo
c5d9d11481 don't re-fail if we've already failed; this allows scripts to set error messages nicely when init() gos *bang*
svn path=/trunk/KDE/kdelibs/; revision=1047340
2009-11-11 01:54:00 +00:00
Aaron J. Seigo
22f9eb317b offer access to the plugin information
svn path=/trunk/KDE/kdelibs/; revision=1047326
2009-11-11 00:25:54 +00:00
Aaron J. Seigo
b9ea759162 split out the private class into its own file
svn path=/trunk/KDE/kdelibs/; revision=1047325
2009-11-11 00:25:27 +00:00
Aaron J. Seigo
4aba68d9d7 filter all offers lists consistently with the constraints
svn path=/trunk/KDE/kdelibs/; revision=1047324
2009-11-11 00:24:49 +00:00
Marco Martin
76c1377ed9 the destroy action is now accessible with action("close")
svn path=/trunk/KDE/kdelibs/; revision=1047295
2009-11-10 22:13:00 +00:00
Marco Martin
22d9d97acc add missing member
svn path=/trunk/KDE/kdelibs/; revision=1047084
2009-11-10 12:34:13 +00:00
Marco Martin
a56c4c381a emit a signal when the user clicks the close button.
would perhaps be better to bind it with an action and make it accessible
with action("close")?
CCMAIL: plasma-devel@kde.org

svn path=/trunk/KDE/kdelibs/; revision=1047062
2009-11-10 11:30:25 +00:00
Petri Damstén
71fa982797 * Use correct font for size hint in Frame
* Use correct font in IconWidget setLayoutOptions
* layout fonts are set in IconWidget setLayoutOptions and layoutTextItems. No need to set them in paint.
* Fix using QGraphicsWidget font when customFont == true in several widgets.

svn path=/trunk/KDE/kdelibs/; revision=1047017
2009-11-10 09:46:14 +00:00
Aaron J. Seigo
de056072d7 SVN_SILENT: piece of debug that snuck in
svn path=/trunk/KDE/kdelibs/; revision=1046895
2009-11-09 22:16:32 +00:00
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