Commit Graph

18 Commits

Author SHA1 Message Date
Marco Martin
563d77102b remove this optimization, calling setcollapsed with the same value turns out is the only way to not make the layout go nuts
svn path=/trunk/KDE/kdelibs/; revision=1067848
2009-12-30 18:54:41 +00:00
Marco Martin
cd884edd21 revert old bogus stuff that got in in the last commit, sorry :)
svn path=/trunk/KDE/kdelibs/; revision=1067567
2009-12-29 21:30:12 +00:00
Marco Martin
a0162ccdef even tough extender is private in Applet, applet has too many friends, so to be sure it's properly guarded, use a weak pointer
BUG:220482

svn path=/trunk/KDE/kdelibs/; revision=1067549
2009-12-29 19:38:37 +00:00
Marco Martin
eaa5b602be autocollapse is false as default
svn path=/trunk/KDE/kdelibs/; revision=1066938
2009-12-28 12:02:42 +00:00
Marco Martin
b521f3e158 -autocollapse property to extendergroup: if it's on when the group collapses/expands theextenderItem collapses/expands as well (default false)
-isGroupcollapsed/setGroupCollapsed to unform APi with ExtenderItem

svn path=/trunk/KDE/kdelibs/; revision=1066229
2009-12-26 13:02:53 +00:00
Marco Martin
763ac6b862 don't do useless work if we are already expanded (or collapsed)
svn path=/trunk/KDE/kdelibs/; revision=1066210
2009-12-26 12:16:45 +00:00
Marco Martin
8312e39011 an extender is empty if it doesn't have items or has only group that are empty and autohide
svn path=/trunk/KDE/kdelibs/; revision=1066204
2009-12-26 11:56:41 +00:00
Marco Martin
947045b018 remove the extender item from attachedExtenderItems if it gets destroyed for whatever reason
hopefully fixes some crashers, such as
BUG:217942


svn path=/trunk/KDE/kdelibs/; revision=1061477
2009-12-11 20:22:52 +00:00
Aaron Charles Reichman
4c31342c2e Fixed some spelling errors flagged by krazy
svn path=/trunk/KDE/kdelibs/; revision=1060866
2009-12-10 09:16:30 +00:00
Darío Andrés Rodríguez
c9d1959026 - Remove several warnings about unused parameters
http://reviewboard.kde.org/r/2252/
  I didn't applied Q_UNUSED to "parent" pointers as this looks suspicious to me, and it needs more review.


svn path=/trunk/KDE/kdelibs/; revision=1058428
2009-12-04 13:01:33 +00:00
Marco Martin
2b7ce26125 handle RTL layouts
BUG:187107

svn path=/trunk/KDE/kdelibs/; revision=1057270
2009-12-01 21:04:59 +00:00
Marco Martin
0484b43c3d revert this hardcoded margin, wasn't a so good idea after all
svn path=/trunk/KDE/kdelibs/; revision=1055823
2009-11-28 20:19:03 +00:00
Marco Martin
a0ae098ff0 a bit margin more
svn path=/trunk/KDE/kdelibs/; revision=1055806
2009-11-28 19:10:12 +00:00
Marco Martin
a7642a5f26 return size hints instead of setting the hard ones
activate the extender layout when hints are updated, this should resolve once for all the cutted notifications problem
BUG:214394

svn path=/trunk/KDE/kdelibs/; revision=1055683
2009-11-28 14:24:20 +00:00
Marco Martin
b2fa0d8f32 use actualSizeHints, not hard ones
svn path=/trunk/KDE/kdelibs/; revision=1055563
2009-11-28 10:40:31 +00:00
Marco Martin
76c1377ed9 the destroy action is now accessible with action("close")
svn path=/trunk/KDE/kdelibs/; revision=1047295
2009-11-10 22:13:00 +00:00
Marco Martin
a56c4c381a emit a signal when the user clicks the close button.
would perhaps be better to bind it with an action and make it accessible
with action("close")?
CCMAIL: plasma-devel@kde.org

svn path=/trunk/KDE/kdelibs/; revision=1047062
2009-11-10 11:30:25 +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