Commit Graph

380 Commits

Author SHA1 Message Date
Aaron J. Seigo
85161ce13f re-enable some debug needed to work out problems with multiscreen
svn path=/trunk/KDE/kdelibs/; revision=897316
2008-12-15 18:28:28 +00:00
Aaron J. Seigo
6e6cb12b9b delay the saving of new applets so that layouts can do their job
svn path=/trunk/KDE/kdelibs/; revision=897306
2008-12-15 17:48:28 +00:00
Aaron J. Seigo
5c2927870d * consolidate the remove action enabling check into one method
* check the remove action on immutability changes (prevents "Remove" from showing up erroniously when locking then unlocking)

svn path=/trunk/KDE/kdelibs/; revision=897290
2008-12-15 16:54:09 +00:00
Aaron J. Seigo
29b2776ee4 carefully save applets on creation, prevents losing new applets right after adding them
svn path=/trunk/KDE/kdelibs/; revision=895934
2008-12-12 01:05:00 +00:00
Aaron J. Seigo
4ffa080061 SVN_SILENT: quit spamming the output with this one
svn path=/trunk/KDE/kdelibs/; revision=895806
2008-12-11 19:53:35 +00:00
Frederik Gladhorn
f0c5eeea37 put the "Appearance Settings" after "Lock Widgets" in the context menu of the desktop
svn path=/trunk/KDE/kdelibs/; revision=894992
2008-12-09 19:10:30 +00:00
Marco Martin
98b833977b correct some last toolbox annoyances...
svn path=/trunk/KDE/kdelibs/; revision=893011
2008-12-05 18:16:30 +00:00
Aaron J. Seigo
2207ff1dc5 make it possible to remove panels again
svn path=/trunk/KDE/kdelibs/; revision=892648
2008-12-04 20:34:04 +00:00
Marco Martin
b596d894e5 keep remove action enabled on panels
svn path=/trunk/KDE/kdelibs/; revision=892472
2008-12-04 12:55:34 +00:00
Aaron J. Seigo
5055bf7bf0 the margins should be constant; it's a grid.
svn path=/trunk/KDE/kdelibs/; revision=891718
2008-12-02 18:42:06 +00:00
Marco Martin
9fd8a3298d correctly position new activity when adding one
never show text on wider zoom level

svn path=/trunk/KDE/kdelibs/; revision=891258
2008-12-01 13:17:27 +00:00
Marco Martin
d9c14c87ba show the toolbox as an external solid-background toolbar under the
containment, don't show text on icons except add windgets and add
activity
show the remove activity button in the toolbox for non active ones

svn path=/trunk/KDE/kdelibs/; revision=891209
2008-12-01 12:40:08 +00:00
Aaron J. Seigo
509632ff64 a couple of related fixes to make destroying containments work a lot better
svn path=/trunk/KDE/kdelibs/; revision=889816
2008-11-27 18:55:32 +00:00
Aaron J. Seigo
15cc6a0731 disconnect applets from the containment they get moved from
CCBUG:173879

svn path=/trunk/KDE/kdelibs/; revision=888666
2008-11-25 03:07:18 +00:00
Aaron J. Seigo
7b4de980b8 clarify this code a wee bit more and call positionContainments() in all necessary cases
svn path=/trunk/KDE/kdelibs/; revision=888637
2008-11-25 00:23:43 +00:00
Aaron J. Seigo
323c6a7232 * catch CustomPanelContainment as well on immutability settings
* immobilize the desktop toolbox on immutability

svn path=/trunk/KDE/kdelibs/; revision=886372
2008-11-19 03:28:15 +00:00
Aaron J. Seigo
8a68d06f0d grant minimal access to the toolbox so we can avoid nasty hacks in containments. see next commit to PanelContainment for what i meant ;)
svn path=/trunk/KDE/kdelibs/; revision=886223
2008-11-18 20:49:42 +00:00
Aaron J. Seigo
d6bd085b75 cover a few more cases where we should position the toolbox
svn path=/trunk/KDE/kdelibs/; revision=885841
2008-11-18 00:16:45 +00:00
Aaron J. Seigo
e1c9aadb93 save/restore the desktop setting
svn path=/trunk/KDE/kdelibs/; revision=885338
2008-11-17 05:16:33 +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
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
a65daf42b2 more accurate sorting, based on a patch by zhangqiang
CCMAIL:zhangqiang@redflag-linux.com

svn path=/trunk/KDE/kdelibs/; revision=884048
2008-11-14 04:01:01 +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
f709ce0d05 ok, that was too long. Activity is a bit of a detail as well..
svn path=/trunk/KDE/kdelibs/; revision=883457
2008-11-12 23:10:57 +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
aec4445dec grrrrr.. eventualy i'll find a phrase that doesnt' suck; not sure this is it yet though =P
svn path=/trunk/KDE/kdelibs/; revision=882614
2008-11-11 01:07:35 +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
86e88a2be2 SVN_SILENT: remove some out of date TODOs
svn path=/trunk/KDE/kdelibs/; revision=882216
2008-11-10 03:52:45 +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
daf6fa87b5 avoid making a copy of the config group in the loop, and switch to a mutable iterator to avoid a const_cast (which are ugly); should make krazy happier
svn path=/trunk/KDE/kdelibs/; revision=880617
2008-11-05 23:14:47 +00:00
Aaron J. Seigo
1a86e5cf41 no longer needed as there are unix/win/mac impls of kwindowsystem now
svn path=/trunk/KDE/kdelibs/; revision=880604
2008-11-05 22:57:45 +00:00
Aaron J. Seigo
4b08c03726 change KDE includes to use the .h style now that we're in libs
svn path=/trunk/KDE/kdelibs/; revision=879795
2008-11-04 02:04:34 +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
Albert Astals Cid
45edd84dfc add context
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=879206
2008-11-02 17:38:52 +00:00
Aaron J. Seigo
60ab332312 don't assert, just check. over the next month or two we need to keep an eye on which asserts around corona() get triggered and try and make as many of those calls happen only post-load
CCMAIL:faure@kde.org

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=878025
2008-10-31 04:37:56 +00:00
Kevin Ottens
f66b4d819b API changes as announced:
* ConfigXml becomes ConfigLoader
  * Containment::(add|remove)ToolBoxTool(QAction *action) becomes
    Containment::(add|remove)ToolBoxAction(QAction *action)
  * Flash becomes FlashingLabel
  * Icon becomes IconWidget
  * PanelSvg becomes FrameSvg

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=877504
2008-10-29 17:46:33 +00:00
Guillaume Pothier
bd7e7b10c9 Added screen management methods to Corona and removed usage of QDesktopWidget in plasmalibs.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=877451
2008-10-29 15:22:38 +00:00
Beat Wolf
df65542e6a Position the toolbox in the right place after moving the panel
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=875532
2008-10-24 18:57:59 +00:00
Aaron J. Seigo
5c8d95bade so that's why we do it for every containment, regardless of screen =P
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=874224
2008-10-21 00:03:06 +00:00
Marco Martin
63a8fba67c show an empty area when dropping applets from applet browser to the
panel, making easier to add applets

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=874087
2008-10-20 18:51:15 +00:00
Aaron J. Seigo
6ef3b851ac update some of these todos
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=873711
2008-10-20 01:41:15 +00:00
Aaron J. Seigo
b31b4da0ba ok, this is a much, much easier way to approach the grouping and doesn't require QDesktopWidget either
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=873703
2008-10-20 00:42:50 +00:00
Aaron J. Seigo
8005bf4a73 nothing actually used this, and it breaks with the whole view/model thing and brings one more dep on QDesktopWidget with it, so good riddence
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=873691
2008-10-19 23:27:58 +00:00
Aaron J. Seigo
3fb4975896 swap the magic number for a constant
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=873689
2008-10-19 23:21:03 +00:00
Aaron J. Seigo
b5df90348f don't load the wallpaper config until we paint. this means that if we have off-screen containments, even with complex wallpapers, they don't take up unecessary memory or delay start up because they won't render the wallpaper until the first paint event.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=872755
2008-10-18 01:31:52 +00:00
Aaron J. Seigo
d725fd9413 swap screens with the containment we kick off our screen if we have a screen of our own to trade them
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=872382
2008-10-17 05:16:26 +00:00
Aaron J. Seigo
5e987c6ba8 send the containment along with the signal for consitency with similar signals
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=872308
2008-10-16 20:54:15 +00:00
Aaron J. Seigo
11536c679b this was a hack, albeit a mildly useful one, but it's in the way now; need to find a better solution for the keyboard shortcuts madness (or just switch to qt 4.5)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=872302
2008-10-16 20:30:34 +00:00
Guillaume Pothier
7b201201b0 Fixed positioning of desktop containments' toolbox
BUG: 166770

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=872129
2008-10-16 11:47:03 +00:00