Commit Graph

4341 Commits

Author SHA1 Message Date
Aaron J. Seigo
1f57b0c726 send in both press and release events
svn path=/trunk/KDE/kdelibs/; revision=1015482
2009-08-25 16:14:05 +00:00
Aaron J. Seigo
c4079787fa simplify the discardCache call; makes sanitizing this code easier (e.g. never having a null pointer!)
svn path=/trunk/KDE/kdelibs/; revision=1015481
2009-08-25 16:13:27 +00:00
Aaron J. Seigo
e2ab114d6d unnecessary comment
svn path=/trunk/KDE/kdelibs/; revision=1015477
2009-08-25 16:08:15 +00:00
Dmitry Suzdalev
20d7f32ab8 Remove excessive whitespace
SVN_SILENT

svn path=/trunk/KDE/kdelibs/; revision=1015449
2009-08-25 14:36:47 +00:00
Script Kiddy
f20400de7e SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/plasma/containmentactions/test/; revision=1015337
2009-08-25 10:40:48 +00:00
Chani Armitage
b39fb7db7f replace hasConfig functions with a .desktop entry
everything's lovely and stable now, too :)

svn path=/trunk/KDE/kdebase/workspace/plasma/containmentactions/test/; revision=1015268
2009-08-25 03:22:43 +00:00
Chani Armitage
d2cf2d781c replace hasConfig functions with a .desktop entry
svn path=/trunk/KDE/kdelibs/; revision=1015267
2009-08-25 03:22:15 +00:00
Reza Shah
9ad7c00c23 This fixed drawing problem for scollbar's slider at horizontal orientation.
For smallest size, the slider not will not drawn properly (cut on the right side).

svn path=/trunk/KDE/kdelibs/; revision=1015241
2009-08-25 00:39:53 +00:00
Aaron J. Seigo
7890d0c816 * unify the code that positions the message overlay
* always use contentsRect(), never geometry or boundingRect; this prevents how it sometimes overlaps the borders of applets
* always make sure that the zOrder is set, not just in the non-popup case

svn path=/trunk/KDE/kdelibs/; revision=1015154
2009-08-24 17:27:24 +00:00
Script Kiddy
54f76aa0ea SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/plasma/containmentactions/test/; revision=1014621
2009-08-23 12:06:49 +00:00
Script Kiddy
2e0a20776d SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=1014620
2009-08-23 12:02:03 +00:00
Chani Armitage
23c52d1e2d guard against use of setParent
svn path=/trunk/KDE/kdelibs/; revision=1014484
2009-08-23 01:13:36 +00:00
Chani Armitage
f9317c11e6 no more d->containment
svn path=/trunk/KDE/kdelibs/; revision=1014483
2009-08-23 01:13:25 +00:00
Marco Martin
70f4e5aee6 oops, that 1|| was bogus of course
svn path=/trunk/KDE/kdelibs/; revision=1014445
2009-08-22 20:52:03 +00:00
Marco Martin
195e3a709d also check the size hint as minimum size
boundingrect-boundingrect=0, what we want is contentsrect

svn path=/trunk/KDE/kdelibs/; revision=1014443
2009-08-22 20:49:12 +00:00
Dmitry Suzdalev
d21f690651 Improve subitle showing in Plasma::Delegate.
Automatically show subtitle for adjasent items with the same content
only when model doesn't provide explicit data for SubTitleMandatoryRole,
otherwise respect what model says and set visibility of subtitle accordingly

Review: http://reviewboard.kde.org/r/1357/

svn path=/trunk/KDE/kdelibs/; revision=1014442
2009-08-22 20:47:15 +00:00
Script Kiddy
67db5ce960 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/plasma/containmentactions/test/; revision=1014287
2009-08-22 10:57:30 +00:00
Richard Dale
80665cbe28 * Add a '@since 4.3.1' tag to addStandardConfigurationPages().
Thanks to Stephan Binner for pointing out it was missing

svn path=/trunk/KDE/kdelibs/; revision=1014127
2009-08-21 14:50:29 +00:00
Script Kiddy
34ddf0cb5c SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/plasma/containmentactions/test/; revision=1014065
2009-08-21 11:39:44 +00:00
Script Kiddy
6c33642ed2 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=1014064
2009-08-21 11:39:06 +00:00
Laurent Montel
02b827a1fd Fix mem leak here too
svn path=/trunk/KDE/kdelibs/; revision=1013906
2009-08-21 07:31:20 +00:00
Laurent Montel
996fc634ce Fix mem leak
svn path=/trunk/KDE/kdelibs/; revision=1013905
2009-08-21 07:30:27 +00:00
Laurent Montel
c901e78ec9 Make it compile
svn path=/trunk/KDE/kdelibs/; revision=1013800
2009-08-20 19:18:25 +00:00
Richard Dale
415a82ccfc * I hope the normal standard of service is resumed in the plasma trunk, sorry..
svn path=/trunk/KDE/kdelibs/; revision=1013796
2009-08-20 19:05:14 +00:00
Richard Dale
fdd07bf6d2 * Attempt to fix borked commit
svn path=/trunk/KDE/kdelibs/; revision=1013794
2009-08-20 18:43:36 +00:00
Richard Dale
eb51ca9165 * Add a Plasma::AppletScript::addStandardConfigurationPages() method that adds
standard pages to a configuration dialog such as the shortcuts one. In 
conjunction with standardConfigurationDialog() this will allow script engines
to use the same dialogs as C++ applets

svn path=/trunk/KDE/kdelibs/; revision=1013765
2009-08-20 18:19:44 +00:00
Script Kiddy
f23f4759b7 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/plasma/containmentactions/test/; revision=1013616
2009-08-20 10:08:55 +00:00
Script Kiddy
1dd3990915 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=1013615
2009-08-20 10:08:19 +00:00
Aaron J. Seigo
4d8abe97b0 don't do an immediate call if the data set is empty. this _shouldn't_ break anything (worst case is that a visualization would be expecting notification of an empty data set, and now it'll have to wait) and should line up with widget writer's expectations better (it's probably the #1 thing we get feedback on when it comes to dataengine usage)
svn path=/trunk/KDE/kdelibs/; revision=1013572
2009-08-20 09:34:36 +00:00
Marco Martin
e2e97757ca check the parentlayoutitem too
svn path=/trunk/KDE/kdelibs/; revision=1013416
2009-08-19 20:06:47 +00:00
Script Kiddy
d940a82878 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/plasma/containmentactions/test/; revision=1013206
2009-08-19 09:54:59 +00:00
Script Kiddy
b64d6afa0d SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=1013204
2009-08-19 09:54:21 +00:00
Script Kiddy
960d290025 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/plasma/containmentactions/test/; revision=1012865
2009-08-18 09:41:05 +00:00
Laurent Montel
785a03899a Fix ui files
svn path=/trunk/KDE/kdebase/workspace/plasma/containmentactions/test/; revision=1012826
2009-08-18 07:16:19 +00:00
Aaron J. Seigo
1e7c17ae24 cleanups and another remove-before-deletion
svn path=/trunk/KDE/kdelibs/; revision=1012704
2009-08-18 01:05:37 +00:00
Chani Armitage
b6cd1d8582 rename folder
svn path=/trunk/KDE/kdebase/workspace/plasma/containmentactions/test/; revision=1012692
2009-08-17 23:40:25 +00:00
Aaron J. Seigo
de4e6d5bf1 remove the handle from the scene before deleting it; this prevents full screen repaints whenever a widget has the mouse passed over it. will backport.
svn path=/trunk/KDE/kdelibs/; revision=1012691
2009-08-17 23:40:07 +00:00
Chani Armitage
0ecafe8131 use trigger for config group
svn path=/trunk/KDE/kdelibs/; revision=1012648
2009-08-17 22:31:37 +00:00
Chani Armitage
2ab601f945 various bits of cleanup:
load requires a containment
    fix @since (I could've sworn I did this already..)
    rename ContextAction->ContainmentActions
    misc. improvements from aaron
    no more warnings
    qDeleteAll
    don't iterate with keys()

svn path=/trunk/KDE/kdelibs/; revision=1012647
2009-08-17 22:31:32 +00:00
Chani Armitage
7674aacb5d Revert "remove dataengine stuff"
This reverts commit 0b57f5164da376afbb86b9ac915960ee7dc5693a.

svn path=/trunk/KDE/kdelibs/; revision=1012646
2009-08-17 22:31:23 +00:00
Chani Armitage
ae2378a8da some code cleanup
fix copyright
    always init a contextaction before trying to use it
    no more unexpected click-throughs
    contextAction() returns the plugin name instead of a pointer

svn path=/trunk/KDE/kdelibs/; revision=1012645
2009-08-17 22:31:18 +00:00
Chani Armitage
5070e300f5 API changes needed for configurable contextmenu.
-setContainment, so that we don't have to try and use the parent any
more.
-hasConfigurationInterface; this should've already been there.
-default values for a couple of functions that I think make sense

svn path=/trunk/KDE/kdelibs/; revision=1012644
2009-08-17 22:31:08 +00:00
Chani Armitage
69365ddada paste is triggered by a plugin now.
also, clean up the drop/paste handling a bit

svn path=/trunk/KDE/kdelibs/; revision=1012643
2009-08-17 22:31:03 +00:00
Chani Armitage
464df207d1 API review stuff
-have one virtual QEvent function
-move eventToString to ContextAction
-remove needsConfig reason
-remove configurationAction
-remove dataengine stuff

svn path=/trunk/KDE/kdelibs/; revision=1012642
2009-08-17 22:30:58 +00:00
Chani Armitage
d82fe71821 stuff needed for configuration of plugins
svn path=/trunk/KDE/kdelibs/; revision=1012641
2009-08-17 22:30:54 +00:00
Chani Armitage
9d2a2e40ba api review part 1
removed some dead signals and an unnecessary const

svn path=/trunk/KDE/kdelibs/; revision=1012640
2009-08-17 22:30:50 +00:00
Chani Armitage
f0a68d537c make rightclick plugins possible
this makes rightclicks use the plugin configured for rightclick
and adds a new method to the plugin for when an applet is rightclicked
(we need a list of actions then that we can insert into the menu)
this also adds a signal for immutability and improves handling of
needs-configuring plugins

svn path=/trunk/KDE/kdelibs/; revision=1012639
2009-08-17 22:30:46 +00:00
Chani Armitage
a848e4fdcf make config restore work.
svn path=/trunk/KDE/kdelibs/; revision=1012638
2009-08-17 22:30:42 +00:00
Chani Armitage
7da00b4c7c API needed for the config dialog
I factored out eventToString into a static function
and also added @since tags to all my functions

svn path=/trunk/KDE/kdelibs/; revision=1012637
2009-08-17 22:30:38 +00:00
Chani Armitage
493196dff3 use contextaction plugins.
there are a few defaults, only one real plugin exists so far
rightclicks are still overridden by the contextmenu event.
the user is warned about plugins that need configuring.

svn path=/trunk/KDE/kdelibs/; revision=1012636
2009-08-17 22:30:34 +00:00