Commit Graph

3857 Commits

Author SHA1 Message Date
Rob Scheepmaker
766bca2524 Addition of the hasItem(...) function to Extender. And usage of this function in libplasmaclock. This function allows for checking if items exist, even if that item hasn't been instantiated yet.
svn path=/trunk/KDE/kdelibs/; revision=938688
2009-03-12 17:19:45 +00:00
Marco Martin
ddc3a4b978 snap in the center of the screen
svn path=/trunk/KDE/kdelibs/; revision=938474
2009-03-11 22:33:46 +00:00
Marco Martin
71dfaf6ac8 draw on _own_ contents rect
svn path=/trunk/KDE/kdelibs/; revision=938463
2009-03-11 22:06:12 +00:00
Marco Martin
2236b76ee4 ability to have different vertical and horizontal background
svn path=/trunk/KDE/kdelibs/; revision=938426
2009-03-11 21:03:50 +00:00
Marco Martin
5f49bb2333 fix the borders calculation when the top border doesn't exists
svn path=/trunk/KDE/kdelibs/; revision=938414
2009-03-11 20:11:31 +00:00
Chani Armitage
f406ed1d77 stuff that lets me move "add activity" to plasmaapp:
-added enableAction function to corona for convenience
-added immutabilityChanged signal so that plasmaapp can respond to lock/unlock
-removed "add activity" action from containment because it's on its way to plasmaapp
-stopped adding corona actions to the containment toolbox, plasmaapp can do a better job of it
-made lock action actually disable on SystemImmutable; sure it wouldn't have worked, but now there's no worries about it showing up in the UI

svn path=/trunk/KDE/kdelibs/; revision=938383
2009-03-11 18:37:12 +00:00
Rob Scheepmaker
e1730c4704 Move the showing of the dropzone from panelview to containment. Leads to less code duplication and makes showing dropzones when dragging extenderitems to the panel work. Also don't hide the extenderapplet and panel when detaching the last item from an extenderapplet, and move extenderitems off screen before creating the pixmap to avoid other items appearing in the pixmap.
svn path=/trunk/KDE/kdelibs/; revision=938242
2009-03-11 14:41:37 +00:00
Chani Armitage
9af884bad7 update the lock action once, instead of having every containment do it
svn path=/trunk/KDE/kdelibs/; revision=938042
2009-03-11 04:46:13 +00:00
Aaron J. Seigo
14869d0fb8 don't put the popup applet group in the widget's Configuration group; that's for the subclasses alone
svn path=/trunk/KDE/kdelibs/; revision=937998
2009-03-10 23:03:38 +00:00
Marco Martin
893093b85c initialize a value
svn path=/trunk/KDE/kdelibs/; revision=937990
2009-03-10 22:44:46 +00:00
Chani Armitage
aa34398a80 give corona its own action collection.
this is a place for things which shouldn't be duplicated over every single containment, like "lock" and "new activity".
for now we still add the lock action to every containment, so that none of the code lower down notices the change - but we only have one action behind it all :)

svn path=/trunk/KDE/kdelibs/; revision=937923
2009-03-10 19:52:50 +00:00
Marco Martin
324b6f11d4 set a write only property for the url
svn path=/trunk/KDE/kdelibs/; revision=936994
2009-03-08 20:08:27 +00:00
Script Kiddy
b5d5ce50ec SVN_SILENT made messages (.desktop file, second try)
svn path=/trunk/KDE/kdelibs/; revision=936835
2009-03-08 14:29:26 +00:00
Chani Armitage
9bc37a9cd1 oops! how'd that sneak in?
if you were getting ambiguous shortcuts trouble it'll go away again now.

svn path=/trunk/KDE/kdelibs/; revision=936506
2009-03-07 19:50:15 +00:00
Marco Martin
919796da14 0 opacity with the busywidget
busywidget always on the icon rather in the popup

svn path=/trunk/KDE/kdelibs/; revision=936025
2009-03-06 18:21:59 +00:00
Marco Martin
61a1ba4c92 add a bit of extra space
svn path=/trunk/KDE/kdelibs/; revision=935859
2009-03-06 12:52:21 +00:00
Marco Martin
2878bb98e5 remove useless debug output
svn path=/trunk/KDE/kdelibs/; revision=935822
2009-03-06 10:56:38 +00:00
Marco Martin
0b69364e0c unbreak on multi monitor
svn path=/trunk/KDE/kdelibs/; revision=935821
2009-03-06 10:55:33 +00:00
Chani Armitage
d1fa9d361b (hopefully) temporary fix for shortcuts.
this could interfere with plasma-mid, because it assumes one view per window
but it's the best we can get until we can use real QGraphicsWidget action stuff

svn path=/trunk/KDE/kdelibs/; revision=935758
2009-03-06 05:22:08 +00:00
Aaron J. Seigo
655f63d1fb allow custom containment types to utilize the toolboxes if they wish
svn path=/trunk/KDE/kdelibs/; revision=935732
2009-03-06 01:41:01 +00:00
Marco Martin
8fd655c54b desktop toolbox is more tiny and shows the activity name if any is set
an experiment, let's see how it goes

svn path=/trunk/KDE/kdelibs/; revision=935674
2009-03-05 22:15:06 +00:00
Aaron J. Seigo
2e6aae87be this is internal, not for users to see
BUG:186260

svn path=/trunk/KDE/kdelibs/; revision=935625
2009-03-05 20:37:04 +00:00
Marco Martin
a219e97dae correct shadow color
svn path=/trunk/KDE/kdelibs/; revision=935565
2009-03-05 16:24:12 +00:00
Marco Martin
d43926b2ca add stretch factors again
svn path=/trunk/KDE/kdelibs/; revision=935558
2009-03-05 16:14:34 +00:00
Matthias Fuchs
4088e89973 Adds comment to the constructor.
svn path=/trunk/KDE/kdelibs/; revision=935551
2009-03-05 15:41:01 +00:00
Marco Martin
fff4b03ec1 set the pointer to 0
svn path=/trunk/KDE/kdelibs/; revision=935531
2009-03-05 14:07:24 +00:00
Marco Martin
754b8d34c3 paint the busy widget always square
use overlay widget to show the busy widget, duplication--

svn path=/trunk/KDE/kdelibs/; revision=935520
2009-03-05 13:05:12 +00:00
Jacopo De Simoi
0d12d6b3b8 Uff, I guess we will live with duplicates for some more time. My previous commit breaks krunner as it *only* runs stuff which is autocompleted. Will backrevert -
svn path=/trunk/KDE/kdelibs/; revision=935428
2009-03-05 06:02:11 +00:00
Aaron J. Seigo
366a44bf0e deprecate this method as it's superfluous now
svn path=/trunk/KDE/kdelibs/; revision=935388
2009-03-04 23:16:01 +00:00
Aaron J. Seigo
dd4eeb685c dfaure is my hero for making sycoca stuff thread safe :)))
svn path=/trunk/KDE/kdelibs/; revision=935383
2009-03-04 23:09:16 +00:00
David Faure
d33e884393 Fix compilation of plasma with enable-final --- yet another X define conflicting with a Qt enum.
svn path=/trunk/KDE/kdelibs/; revision=935354
2009-03-04 21:28:02 +00:00
Jacopo De Simoi
8aa4045953 "...and they lived happily ever after with no more duplicate matches =)"
A local copy of the context is now created in the FindMatchesJob ctor, not anymore in AbstractRunner, this prevents old queries to be run with a valid dptr 

svn path=/trunk/KDE/kdelibs/; revision=935342
2009-03-04 21:03:33 +00:00
Chani Armitage
5332b1edc8 security constraints can be defined now, whee
svn path=/trunk/KDE/kdelibs/; revision=935220
2009-03-04 17:05:51 +00:00
Marco Martin
a409afab79 better syncing between dialog graphicswidget and the dialog
(popups shows up at a sane size now)

svn path=/trunk/KDE/kdelibs/; revision=935167
2009-03-04 15:47:59 +00:00
Marco Martin
5a2a47f473 now message overlays are in popup of popupapplets :)
duplication with spinner code still has to be merged

svn path=/trunk/KDE/kdelibs/; revision=934846
2009-03-03 22:23:42 +00:00
Marco Martin
ca820f5770 SVN_SILENT: forgotten @since :D
svn path=/trunk/KDE/kdelibs/; revision=934746
2009-03-03 18:11:33 +00:00
Marco Martin
aabf1acf74 a proxy for KTextBrowser, with usual style tweaks to make it look
plasmy

svn path=/trunk/KDE/kdelibs/; revision=934734
2009-03-03 17:38:16 +00:00
Aaron J. Seigo
93fc8cef68 don't count fast matches against short strings as a sign of being fast; will prevent pulling slow runners in and out of the pool too much
svn path=/trunk/KDE/kdelibs/; revision=934733
2009-03-03 17:37:22 +00:00
Marco Martin
ff578a8af4 a widget that allows the contents to scroll when
content is bigger than the widget itself by adding scrollbars

svn path=/trunk/KDE/kdelibs/; revision=934731
2009-03-03 17:31:54 +00:00
Aaron J. Seigo
546895b775 time to introduce the ability for runners to decide if they care to that they should return early
svn path=/trunk/KDE/kdelibs/; revision=934729
2009-03-03 17:27:28 +00:00
Aaron J. Seigo
89e8786c5d SVN_SILENT: some minor clean ups here and there
svn path=/trunk/KDE/kdelibs/; revision=934712
2009-03-03 16:44:35 +00:00
Aaron J. Seigo
0fc65ada51 we don't want to set the palette otherwise we get bad results like white-on-white; all the button painting is handled manually in the paint method, so we're safe there for colours
svn path=/trunk/KDE/kdelibs/; revision=934711
2009-03-03 16:39:29 +00:00
Jacopo De Simoi
235f81fa36 Added a stale flag to searchJobs; less pollution from old queries; fixed a misplaced brace in previous commit that made krunner unable to run any command :(
svn path=/trunk/KDE/kdelibs/; revision=934467
2009-03-03 08:02:13 +00:00
Jacopo De Simoi
218093c467 Prevents a deadlock when dealing with a deferredRun
BUG: 181057

svn path=/trunk/KDE/kdelibs/; revision=934417
2009-03-03 02:07:19 +00:00
Marco Martin
3f50ffd7ce deactivate the dialog borders that are at the edge of the working
desktop, makes kickoff more fitts law friendly and gives for free an
extender-like appearance to all dialogs

svn path=/trunk/KDE/kdelibs/; revision=934351
2009-03-02 20:32:01 +00:00
Marco Martin
4419fa0336 set ignoretransfprms only when in toolbar mode, this works around a qt
bug where the input gets killed on widgets with clipchildrentoshape when
there is an ignoretransformations one and makes the thing look better
when there is another view zoomed out (like magnifique plasmoid)

svn path=/trunk/KDE/kdelibs/; revision=934137
2009-03-02 13:14:58 +00:00
Marco Martin
a0194765cb don't have borders or background by default
svn path=/trunk/KDE/kdelibs/; revision=933789
2009-03-01 16:01:20 +00:00
Artur Duque de Souza
d0205d92b3 Changes inside Plasma::Applet to test if we have a popup
and if this is true, if we should use widget() or graphicsWidget()
to show the BusyWidget.


svn path=/trunk/KDE/kdelibs/; revision=933444
2009-02-28 22:52:17 +00:00
Marco Martin
0d9a13405e forward linkHovered signal too
svn path=/trunk/KDE/kdelibs/; revision=933384
2009-02-28 20:25:13 +00:00
Wang Kai
daef833362 BUG: 179684
BUG: 181451
sync the config, and connect the config file's create signal
so Plasma::Theme::themeChanged() work across process 

svn path=/trunk/KDE/kdelibs/; revision=933145
2009-02-28 06:40:54 +00:00