Commit Graph

4900 Commits

Author SHA1 Message Date
Igor Trindade Oliveira
fbd5f0411b fix properties
svn path=/trunk/KDE/kdelibs/; revision=1048146
2009-11-12 20:15:43 +00:00
Aaron J. Seigo
5b548a7de8 * unlock what our d -was-, not what it is in operator=
* change the macros to make this feasible

svn path=/trunk/KDE/kdelibs/; revision=1048137
2009-11-12 19:52:41 +00:00
Marco Martin
86682cb176 the focus indicator can load also simple svg elements instead of
framesvgs
the slider uses it to show a glow behind the handle on mouse over or
keyboard focus

svn path=/trunk/KDE/kdelibs/; revision=1048126
2009-11-12 19:31:39 +00:00
Petri Damstén
486fa5527d Calling DataEngine::serviceForSource in DataEngineScript::serviceForSource causes infinite loop
svn path=/trunk/KDE/kdelibs/; revision=1047902
2009-11-12 10:15:59 +00:00
Petri Damstén
5b2b221562 * Add translation support for runner and dataengine packages
* Use pladmoid package for runners too.

svn path=/trunk/KDE/kdelibs/; revision=1047782
2009-11-12 06:38:16 +00:00
Aaron J. Seigo
27a02128a5 * consolidate the popup config group name by putting a convenience method in PopupAppletPrivate to fetch it
* move the check for the view lower in updateDialogPosition so that even if we don't have a view, we at least do the sizing, if not the positioning (which is all the view is needed for)

svn path=/trunk/KDE/kdelibs/; revision=1047715
2009-11-11 21:47:56 +00:00
Aaron J. Seigo
def1a43dc1 always resize the graphics widget when the dialog does, unless we're resizing the dialog because the graphics widget did
svn path=/trunk/KDE/kdelibs/; revision=1047713
2009-11-11 21:45:45 +00:00
Aaron J. Seigo
b0c24dd7a2 a bit more readable
svn path=/trunk/KDE/kdelibs/; revision=1047696
2009-11-11 20:51:59 +00:00
Aaron J. Seigo
2f02f25bda set complimentary expand corners when we run out of space on one edge
BUG:214052

svn path=/trunk/KDE/kdelibs/; revision=1047679
2009-11-11 19:43:43 +00:00
Aaron J. Seigo
c64472a206 slightly more sensible/readable
svn path=/trunk/KDE/kdelibs/; revision=1047669
2009-11-11 19:26:05 +00:00
Marco Martin
01790c83c3 highlight the thumbnail under the mouse
svn path=/trunk/KDE/kdelibs/; revision=1047608
2009-11-11 15:28:40 +00:00
Marco Martin
fda0f6c4de put the windows in tooltips in the list of the highlight effect
svn path=/trunk/KDE/kdelibs/; revision=1047602
2009-11-11 15:18:52 +00:00
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