Commit Graph

142 Commits

Author SHA1 Message Date
Rob Scheepmaker
4fe87fcfea Avoid screwing up the panel when dropping extenderitems in it: make extenderapplet a popupapplet! And use pinheiro's nice and amazingly weird icon as popupicon. I think I'm gonna call it 'the snowman'.
svn path=/trunk/KDE/kdelibs/; revision=887651
2008-11-22 14:32:43 +00:00
Aaron J. Seigo
82ab4794bd add file
svn path=/trunk/KDE/kdelibs/; revision=887091
2008-11-21 03:45:03 +00:00
Aaron J. Seigo
23a7c83164 clear the shortcuts editor pointer only when the dialog is actually dead and gone
BUG:175722

svn path=/trunk/KDE/kdelibs/; revision=887090
2008-11-21 03:43:45 +00:00
Rob Scheepmaker
47dcbf47b9 By default, use an empty string as empty extender label, and don't display that label if that string is empty. The idea is that having that label there is weird when the extender is used in a dialog. The case in which the label is useful, is when the extender is embedded in an applet on the desktop, and the applet should only set the label, if this is the case.
svn path=/trunk/KDE/kdelibs/; revision=886937
2008-11-20 16:37:30 +00:00
Aaron J. Seigo
ece148395c make sure screen is valid before asking for i
svn path=/trunk/KDE/kdelibs/; revision=886708
2008-11-19 21:18:37 +00:00
Aaron J. Seigo
4f72717a26 cleanups
svn path=/trunk/KDE/kdelibs/; revision=886707
2008-11-19 21:18:12 +00:00
Aaron J. Seigo
73a23ddf48 keep the tools in the allowed area
svn path=/trunk/KDE/kdelibs/; revision=886384
2008-11-19 05:35:34 +00:00
Aaron J. Seigo
cb4ac7b6ce proper size
BUG:175209

svn path=/trunk/KDE/kdelibs/; revision=886381
2008-11-19 05:08:38 +00:00
Aaron J. Seigo
b4a67cda4b remove some todos, add some debug ... though now i can't reproduce the problem where my cashew scoots over the left randomly. hum hum hum
svn path=/trunk/KDE/kdelibs/; revision=886331
2008-11-19 00:40:38 +00:00
Aaron J. Seigo
c027fb3886 remove some more dead code due to c-n-p from DesktopToolBox
svn path=/trunk/KDE/kdelibs/; revision=886220
2008-11-18 20:47:04 +00:00
Marco Martin
2eb6b3ed9c hide the view on rmb click
BUG: 166902

svn path=/trunk/KDE/kdelibs/; revision=886216
2008-11-18 20:39:05 +00:00
Marco Martin
9cfe6246ec make the tabbar widget stretch also in height (thus umbreaking it in the
panel), with a dirty hack on minimum/maximum sizes, but i think it's the
only way for now, since minimumTabSizeHint() and maximumTabSizeHint()
are private in QTabBar and will be protected probably not before Qt5 O.o

svn path=/trunk/KDE/kdelibs/; revision=886098
2008-11-18 15:27:04 +00:00
Aaron J. Seigo
4f36ceb235 we don't need the timer on this one; it's only useful for the desktop toolbox.
BUG:167782

svn path=/trunk/KDE/kdelibs/; revision=885897
2008-11-18 03:37:43 +00:00
Aaron J. Seigo
1171ef67d8 deleteLater is unecessary in this case and it just screws up some of our use cases such as the screen saver toolbox
svn path=/trunk/KDE/kdelibs/; revision=885859
2008-11-18 00:43:52 +00:00
Aaron J. Seigo
649057791d clean this up a little bit
svn path=/trunk/KDE/kdelibs/; revision=885858
2008-11-18 00:43:11 +00:00
Aaron J. Seigo
1b04d7b8b0 make panel toolboxes position and paint properly; essentially do what i did earlier for the desktop one by caching the colors from the theme and getting rid of the negative coordinates
svn path=/trunk/KDE/kdelibs/; revision=885840
2008-11-18 00:12:05 +00:00
Aaron J. Seigo
160e70ccd0 add proper support for virtual desktops, which really requires more than just the View being aware of it; given the default parameters, it's a detail most plasma based apps can ignore (just like screens in general, actually =)
svn path=/trunk/KDE/kdelibs/; revision=885330
2008-11-17 04:34:55 +00:00
Aaron J. Seigo
34ab711509 global shortcut configuration for all applets =)
svn path=/trunk/KDE/kdelibs/; revision=884810
2008-11-15 21:23:56 +00:00
Aaron J. Seigo
74acdc9534 don't leak the style.
svn path=/trunk/KDE/kdelibs/; revision=884504
2008-11-15 07:08:30 +00:00
Aaron J. Seigo
dfa5462c82 mark the header private and do the moc'ing the way we do the rest
svn path=/trunk/KDE/kdelibs/; revision=884503
2008-11-15 07:08:08 +00:00
Aaron J. Seigo
9329ce25a2 handle all corners on load
svn path=/trunk/KDE/kdelibs/; revision=884088
2008-11-14 08:04:46 +00:00
Aaron J. Seigo
c7cb88677c draw the toolbox so i can see where it is while working on this stuff
svn path=/trunk/KDE/kdelibs/; revision=884083
2008-11-14 07:54:49 +00:00
Aaron J. Seigo
004f5e0276 save move when it's finished; should make reposition() feel less random
svn path=/trunk/KDE/kdelibs/; revision=884075
2008-11-14 07:30:35 +00:00
Aaron J. Seigo
d0c7968b18 load and save toolbox position between restarts!
still to come:

* don't paint when zoomed, replace with tool strip instead
* respect available area during drag
* smarter positioning (right now it just loads the saved position whenever it needs to reposition)

svn path=/trunk/KDE/kdelibs/; revision=884072
2008-11-14 07:28:02 +00:00
Aaron J. Seigo
18885bd0f0 some tooltip regression fixes from moving to QTextDocument; as an added bonus we don't copy the tooltip content anymore!
svn path=/trunk/KDE/kdelibs/; revision=884063
2008-11-14 06:06:15 +00:00
Aaron J. Seigo
2de1e10c67 try and avoid, really hard, to allow constraintsUpdatedEvents before we get the StartupCompelted constraint through
svn path=/trunk/KDE/kdelibs/; revision=884053
2008-11-14 04:34:52 +00:00
Aaron J. Seigo
0bc65a788d allow custom image, html and css resources in tooltips
svn path=/trunk/KDE/kdelibs/; revision=884026
2008-11-14 00:52:29 +00:00
Beat Wolf
a387ff3a29 correct import for kmenu
svn path=/trunk/KDE/kdelibs/; revision=884024
2008-11-14 00:34:36 +00:00
Beat Wolf
675b4b59b8 add general way to add context menus to containments. Reviewed by aseigo
svn path=/trunk/KDE/kdelibs/; revision=884003
2008-11-13 23:08:58 +00:00
Aaron J. Seigo
51c912969b don't move the tools more than they need to move; makes it possible to hit the buttons agian!
i see several issues with this method, however, that already existed and will fix that along with implementing save/hide and available space respect later tonight.

svn path=/trunk/KDE/kdelibs/; revision=883080
2008-11-12 03:57:01 +00:00
Aaron J. Seigo
cdf562df11 simplify toolbox positioining and drawing
svn path=/trunk/KDE/kdelibs/; revision=882672
2008-11-11 08:12:20 +00:00
Aaron J. Seigo
0eb079d33b ensure the toolbox fits in the panel; makes small panels work better
svn path=/trunk/KDE/kdelibs/; revision=882654
2008-11-11 05:26:52 +00:00
Aaron J. Seigo
4e964a2ec8 update the hover pos to make the entry point the last hovered location
BUG:172075

svn path=/trunk/KDE/kdelibs/; revision=882611
2008-11-11 00:57:08 +00:00
Aaron J. Seigo
e8eb11a3b7 tell the tooltip widget about the source so it can tel it when it disappears and to prompt it for updates appropriately
svn path=/trunk/KDE/kdelibs/; revision=882588
2008-11-10 23:30:19 +00:00
Rob Scheepmaker
cfb43a7632 Correct sizehints for extender containing applets on the desktop. Also renamed the private adjustSize() function to adjustSizeHints() to avoid confusion.
svn path=/trunk/KDE/kdelibs/; revision=882356
2008-11-10 15:49:31 +00:00
Aaron J. Seigo
7afd2e9d99 first draft of draggable toolbox; doesn't work quite properly yet due to historical oddnesses of the toolbox itself. will finish up in the days to comes; all TODOs are documented
svn path=/trunk/KDE/kdelibs/; revision=882217
2008-11-10 03:53:35 +00:00
Aaron J. Seigo
249a44ab8d don't overload the meaning of hasConfigurationInterface for containments, since that makes things difficult for applets-that-are-containments, e.g. folderview
svn path=/trunk/KDE/kdelibs/; revision=882205
2008-11-10 01:26:27 +00:00
Aaron J. Seigo
d6ac15c20f 4->2, makes amarokers more happy too
svn path=/trunk/KDE/kdelibs/; revision=882103
2008-11-09 19:51:31 +00:00
Aaron J. Seigo
89f4735cc9 call the right parent class methods
svn path=/trunk/KDE/kdelibs/; revision=881295
2008-11-07 18:03:16 +00:00
Aaron J. Seigo
aca23afb4a a bit of a clean up on the overlay stuff; makes it easy to add overlay messages in the future (planned for 4.3)
svn path=/trunk/KDE/kdelibs/; revision=880833
2008-11-06 15:52:13 +00:00
Aaron J. Seigo
c948455956 use ktabbar here, as per krazy's suggestion
svn path=/trunk/KDE/kdelibs/; revision=880622
2008-11-05 23:28:07 +00:00
Aaron J. Seigo
cf1dfdaf31 SVN_SILENT: shut up krazy
svn path=/trunk/KDE/kdelibs/; revision=880621
2008-11-05 23:27:43 +00:00
Kevin Ottens
f29bbbab07 Comply to the new version of SODEP.
svn path=/branches/work/~ervin/sodep/; revision=880515
2008-11-05 18:48:16 +00:00
Marco Martin
d9a77cf958 add functions setBusy(bool) and isBusy()
used to easily display a busy indicator as an overlay of the applet when
is loading stuff

svn path=/trunk/KDE/kdelibs/; revision=880089
2008-11-04 18:22:55 +00:00
Aaron J. Seigo
beaa49aeb2 ++compile
svn path=/trunk/KDE/kdelibs/; revision=879800
2008-11-04 02:39:56 +00:00
Aaron J. Seigo
1b523b9054 ok, this time JUST the plasma dir ;)
svn path=/trunk/KDE/kdelibs/; revision=879759
2008-11-03 23:08:39 +00:00
Aaron J. Seigo
fa5a2d87d9 bum-de-dum! plasma to kdelibs.
svn path=/trunk/KDE/kdelibs/; revision=879757
2008-11-03 23:03:26 +00:00
Rob Scheepmaker
babf165d5d A last couple of api changes before the move to kdelibs:
* in class Extender rename setExtenderAppearance to setAppearance.
* in class ExtenderItem rename moveBackToSource to returnToSource.
* in class ExtenderItem addition of showCloseAction() and hideCloseAction().
... and some minor tweaks in the implementation.


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=879670
2008-11-03 19:49:14 +00:00
Aaron J. Seigo
e603f32c33 some more fiddling; doesn't really accomplish anything but doesn't hurt either. at least now i know why it "jitters" at times. going to be annoying to fix ...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=879374
2008-11-03 06:14:26 +00:00
Aaron J. Seigo
80874e9ad7 put the code in a central place, back out the NET stuff as it breaks more than it fixes
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=879365
2008-11-03 05:03:36 +00:00