Commit Graph

4915 Commits

Author SHA1 Message Date
Aaron J. Seigo
4162839c2b d->widget can be 0
svn path=/trunk/KDE/kdelibs/; revision=1048893
2009-11-14 04:31:06 +00:00
Aaron J. Seigo
642ac28d10 scripting friendlyness
svn path=/trunk/KDE/kdelibs/; revision=1048880
2009-11-14 03:58:33 +00:00
Aaron J. Seigo
9d90d23d31 make this useful from scripts
(ah, from before the days when we scrutinized every drop of api and required 'fancy' things like apidox because we were in such a hurry to get things done (yay 4.0))

svn path=/trunk/KDE/kdelibs/; revision=1048875
2009-11-14 03:38:56 +00:00
Aaron J. Seigo
7de7cf8de8 missing getter and property
svn path=/trunk/KDE/kdelibs/; revision=1048845
2009-11-14 01:06:58 +00:00
Igor Trindade Oliveira
11ca7e2b29 use qweakpointer to prevent crashs
svn path=/trunk/KDE/kdelibs/; revision=1048662
2009-11-13 17:38:04 +00:00
Igor Trindade Oliveira
0d38c4cfa8 fix: make backward animation works
svn path=/trunk/KDE/kdelibs/; revision=1048630
2009-11-13 16:41:26 +00:00
Marco Martin
81a6c7e23a don't pass mouse release to the drag handles if the mouse moved over
dndEventDelay

svn path=/trunk/KDE/kdelibs/; revision=1048617
2009-11-13 16:03:02 +00:00
Petri Damstén
046242bf79 update frame when text changes.
svn path=/trunk/KDE/kdelibs/; revision=1048469
2009-11-13 11:59:17 +00:00
Laurent Montel
1602530c5c compile
svn path=/trunk/KDE/kdelibs/; revision=1048307
2009-11-13 07:16:25 +00:00
Petri Damstén
9865c3f8d4 Calculate percentage correctly when minimum != 0
svn path=/trunk/KDE/kdelibs/; revision=1048282
2009-11-13 01:37:29 +00:00
Adenilson Cavalcanti Da Silva
702920c810 Starting to implement pixmap based pulse animation. The first implementation
assumed that there would exist a complete copy of the animated widget to
do the pulse (where another object is kept translucent and when the animation
is triggered, it will expand and fade at same time).

But is expensive to copy the whole widget, so the idea is to draw the target
widget in a pixmap and then do the pulse effect on the pixmap itself.

It is still broken, for some reason the opacity is failing to animate (should
fix this tomorrow).


svn path=/trunk/KDE/kdelibs/; revision=1048277
2009-11-13 01:20:51 +00:00
Adenilson Cavalcanti Da Silva
7f971186ce Build++;
svn path=/trunk/KDE/kdelibs/; revision=1048256
2009-11-13 00:18:17 +00:00
Marco Martin
377e6bf9c1 kineticscroll accepts keyboard events too, scrollwidget scrollbars don't
accept focus

svn path=/trunk/KDE/kdelibs/; revision=1048165
2009-11-12 20:44:02 +00:00
Aaron J. Seigo
1d656bb418 pull out the indent
svn path=/trunk/KDE/kdelibs/; revision=1048156
2009-11-12 20:31:18 +00:00
Marco Martin
ae59a44b81 support horizontal scrollwheels
svn path=/trunk/KDE/kdelibs/; revision=1048147
2009-11-12 20:17:30 +00:00
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