Commit Graph

30 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
bd29f6a61c be sure the layouts are notified all up the stack from extenderitem to group, to extender and its scrolling widget
svn path=/trunk/KDE/kdelibs/; revision=1205304
2010-12-10 20:00:18 +00:00
Marco Martin
3b9158f1c0 don't show the childs widget if the group is collapsed, not the item
svn path=/trunk/KDE/kdelibs/; revision=1191175
2010-10-29 20:19:05 +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
5d452a0429 remove the spacer widget from groups on a dragLeaveEvent
svn path=/trunk/KDE/kdelibs/; revision=1186451
2010-10-16 12:49:55 +00:00
Marco Martin
805fdd1e9a reset the spacerWidget pointer, crash--
svn path=/trunk/KDE/kdelibs/; revision=1186447
2010-10-16 12:35:42 +00:00
Marco Martin
616a10059d resize to the proper sizes when expanding/collapsing the groups
svn path=/trunk/KDE/kdelibs/; revision=1186426
2010-10-16 11:08:25 +00:00
Marco Martin
22db020315 start with groups not collapsed by default
svn path=/trunk/KDE/kdelibs/; revision=1185145
2010-10-12 11:02:09 +00:00
Marco Martin
b2afff32f3 * hide the icon when a null one is set
* center the title text

svn path=/trunk/KDE/kdelibs/; revision=1185117
2010-10-12 10:02:19 +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
Marco Martin
8ec35c6c91 resize the extender to its preferred size when a group gets expanded, visual glitches--
svn path=/trunk/KDE/kdelibs/; revision=1128971
2010-05-20 20:07:50 +00:00
Marco Martin
3aee2db14e make extender::groups() work without assigning groups to themselves
svn path=/trunk/KDE/kdelibs/; revision=1128236
2010-05-18 18:55:00 +00:00
Marco Martin
f26246c731 -groups of groups are always themselves, this fixes extender::groups()
-extra check a group is actually an extendergroup type

svn path=/trunk/KDE/kdelibs/; revision=1128074
2010-05-18 09:28:06 +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
Marco Martin
0c989d306f it's possible to drop items into extendergroups.
still not possible to chose the position, will come

svn path=/trunk/KDE/kdelibs/; revision=1113368
2010-04-10 16:15:52 +00:00
Marco Martin
63952c3a78 re add the automatic resize on sub items add and removal
svn path=/trunk/KDE/kdelibs/; revision=1113044
2010-04-09 19:13:46 +00:00
Marco Martin
43a7dbe1f6 pile new extenderitems on top
svn path=/trunk/KDE/kdelibs/; revision=1112912
2010-04-09 13:23:08 +00:00
Marco Martin
3b3c111e48 tery with different size policies
svn path=/trunk/KDE/kdelibs/; revision=1112902
2010-04-09 13:05:48 +00:00
Marco Martin
2aa0b00d40 expanding seems to work better
svn path=/trunk/KDE/kdelibs/; revision=1112625
2010-04-08 17:32:43 +00:00
Marco Martin
2ab49f0057 preferred vertical size policy wasn't a good idea
svn path=/trunk/KDE/kdelibs/; revision=1112592
2010-04-08 15:52:26 +00:00
Marco Martin
e2f41fbb6c adjust extender size in an eventfilter, should catch more events
svn path=/trunk/KDE/kdelibs/; revision=1112590
2010-04-08 15:49:00 +00:00
Marco Martin
c93a690067 resize to proper size when the group expands
svn path=/trunk/KDE/kdelibs/; revision=1112554
2010-04-08 13:24:43 +00:00
Marco Martin
62ac00ba11 resize extender to this group preferred hint
svn path=/trunk/KDE/kdelibs/; revision=1112550
2010-04-08 13:19:17 +00:00
Marco Martin
fd5d33ee8a several layout fixes:
- extenderitem components have a fixed vertical size policy: they must not stretch when extenderitems are collapsed
- one hardcoded size less
-try to resize the internal scroller widget to sizehints in some case more

svn path=/trunk/KDE/kdelibs/; revision=1112347
2010-04-07 22:02:52 +00:00
Marco Martin
9dc655c6df resize extender and the child widget to the size hint when needed
svn path=/trunk/KDE/kdelibs/; revision=1112153
2010-04-07 13:36:47 +00:00
Marco Martin
7d853de323 still experimental and to me made work better: extendergroups store items in a scrollwidget
svn path=/trunk/KDE/kdelibs/; revision=1109959
2010-04-01 11:43:51 +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
Aaron J. Seigo
1e6aaec27f extenders into a subdir
svn path=/trunk/KDE/kdelibs/; revision=1019570
2009-09-03 21:53:56 +00:00