Commit Graph

34 Commits

Author SHA1 Message Date
Marco Martin
07444819b7 move the size adjustment in a private member
svn path=/trunk/KDE/kdelibs/; revision=1206703
2010-12-15 14:35:11 +00:00
Marco Martin
e04e91e9ad disable borders near to the edge of the screen for extenders too
svn path=/trunk/KDE/kdelibs/; revision=1206154
2010-12-13 16:15:49 +00:00
Marco Martin
6ad3371e9a scroll around while dragging items on the extender, to make possible drop the item on any point
svn path=/trunk/KDE/kdelibs/; revision=1186504
2010-10-16 17:41:59 +00:00
Marco Martin
32e10a77d2 resize to the proper size when an item is collapsed/restored
svn path=/trunk/KDE/kdelibs/; revision=1186431
2010-10-16 11:35:16 +00:00
Aaron J. Seigo
fc07638805 correct signature
svn path=/trunk/KDE/kdelibs/; revision=1185879
2010-10-14 13:04:53 +00:00
Marco Martin
b3b18e5d7e make sure to not call the delayed itemaddedevent twice: the queue becomes an hash.
the counterindication is that the order now is kinda indeterministinc but *shouldn't* give problems

svn path=/trunk/KDE/kdelibs/; revision=1185200
2010-10-12 14:36:46 +00:00
Marco Martin
7306716038 IMPROVEMENT: the whole extender scrolls when there is not enough room anymore.
the extendergroup doen't have a scrollwidget anymore

still needs perfecting but is already less buggy and prettier

svn path=/trunk/KDE/kdelibs/; revision=1184907
2010-10-11 19:17:19 +00:00
Andreas Hartmetz
18a7527784 Compile again, remove the duplicates.
svn path=/trunk/KDE/kdelibs/; revision=1177261
2010-09-19 22:18:45 +00:00
Marco Martin
ec9a6ad1ba FEATURE: allow to add actions with only text in the extender titlebar, they will appear as push buttons
svn path=/trunk/KDE/kdelibs/; revision=1177247
2010-09-19 21:28:39 +00:00
Andreas Hartmetz
83a9fc7f21 compile
svn path=/trunk/KDE/kdelibs/; revision=1177240
2010-09-19 20:48:01 +00:00
Marco Martin
d386d44a1b commit this piece too
svn path=/trunk/KDE/kdelibs/; revision=1131710
2010-05-28 19:02:15 +00:00
Marco Martin
b8893a8044 too much classes clobbers with the Extender's private, protect d->applet behind a QWeakPointer
BUG:195369
BUG:232408
CCBUG:233563
BUG:239022

svn path=/trunk/KDE/kdelibs/; revision=1131248
2010-05-27 19:59:15 +00:00
Marco Martin
d29ea0a926 -is possible to drop items at any place of an extender group
-fix build

svn path=/trunk/KDE/kdelibs/; revision=1113376
2010-04-10 16:43:56 +00:00
Aaron J. Seigo
adfdadd43a catch extender deletion when they are still extender items
BUG:219194

svn path=/trunk/KDE/kdelibs/; revision=1088121
2010-02-10 08:43:08 +00:00
Anne-Marie Mahfouf
a57ac6ee4b fix build
svn path=/trunk/KDE/kdelibs/; revision=1061574
2009-12-12 10:25:12 +00:00
Marco Martin
8f2da96f51 again forgotten the private header in r1061477, sorry :(
svn path=/trunk/KDE/kdelibs/; revision=1061554
2009-12-12 08:25:00 +00:00
Carlo Segato
5ad6ec030b add missing extenderItemDestroyed declaration
svn path=/trunk/KDE/kdelibs/; revision=1061533
2009-12-12 01:36:45 +00:00
Aaron J. Seigo
1e6aaec27f extenders into a subdir
svn path=/trunk/KDE/kdelibs/; revision=1019570
2009-09-03 21:53:56 +00:00
Aaron J. Seigo
ff97539a2e moved to public api
svn path=/trunk/KDE/kdelibs/; revision=964313
2009-05-06 14:21:37 +00:00
Rob Scheepmaker
af3c1f881d Set margins for spacer and empty extender label based on the extender-background margins, and also consider the extender empty if there are only empty groups in it.
BUG: 189451


svn path=/trunk/KDE/kdelibs/; revision=961366
2009-04-30 00:34:49 +00:00
Rob Scheepmaker
c47d34bcba Yay! Add support for grouping in extenders. Expect this feature used for grouping jobs in systemtray soon: I'll commit that as soon as I figured out the last problem that patch has (an atm seemingly random crash that happens incidentally).
svn path=/trunk/KDE/kdelibs/; revision=943303
2009-03-23 16:30:32 +00:00
Rob Scheepmaker
1eb7e181bc Qt4.5 hit qt-copy, and layouts behave properly now! Let's remove the layout bug workaround
hacks from extenders. This improves behavior a lot. :)


svn path=/trunk/KDE/kdelibs/; revision=922575
2009-02-07 09:52:49 +00:00
Rob Scheepmaker
ab56a3a388 Couple of fixes:
* Close empty extender when clicking in it.
BUG:176545
* Saner size policy for Plasma::Meter. (the height should never be able to be smaller then svg's height because labels could otherwise overlap, actually, the whole current approach doesn't consider font size, I think we should think of a better approach for 4.3)
* Use the same spacer as used in the panel for extenders. I think we would want some svg themable shared spacer widget for 4.3, but at least this adds some consistency.


svn path=/trunk/KDE/kdelibs/; revision=891328
2008-12-01 18:30:42 +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
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
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
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
Rob Scheepmaker
a26b73b6bb Give extenders the 'stacked' look from Pinheiro's mockup. It still needs some minor tweaks, but it allready looks quite sexy.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=873867
2008-10-20 10:58:37 +00:00
Rob Scheepmaker
51e03dc5e3 Add return to source icon the the plasma theme, and use this in extender items.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=870089
2008-10-11 17:56:07 +00:00
Rob Scheepmaker
3824adb381 Allow theming the background of ExtenderItems, and react to theme changes. Capabilities still
have to be improved to make it look like the lovely pinheiro mockup.


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=868933
2008-10-07 16:15:33 +00:00
Alex Merry
33f7e1e3d6 Actually relicense the files this time. Last time, I managed to change the text from GPL to... GPL.
Again, plasma-devel@kde.org mail archives have the permissions.


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=858780
2008-09-08 17:32:25 +00:00
Alex Merry
90f5feb1a6 Relicense files. See plasma-devel@kde.org mailing list archives for permissions.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=858364
2008-09-07 21:33:02 +00:00
Aaron J. Seigo
577a64f563 extender is not a Plasma Widget (it doesn't follow the API pattern, isn't a button/menu/etc, isn't meant to be used as a general widget in a random layout...)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=841164
2008-08-02 17:46:32 +00:00