Commit Graph

6 Commits

Author SHA1 Message Date
Aaron J. Seigo
a8b7589479 someone got confused as to the difference between "the layout that manages my children" and "the layout that manages me". this fixes that and stops crashes in applets that use vbox/hbox
* don't crash when parent=0 is passed in
* don't divid by 0 when we have no children
* have the (fugly) setManagingLayout and unsetManagingLayout and managingLayout methods
* do some memory management so layouts that are thrown around don't get lost in the heap

some unit tests would be nice. hell, a design document on the layout stuff would be nice. i know we're only keeping this around for 4.0, but  ... yeah. ugh.
CCMAIL:panel-devel@kde.org

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=693361
2007-07-27 20:00:07 +00:00
Aaron J. Seigo
bde805dbcf make them not executable
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=692946
2007-07-26 16:45:05 +00:00
Aaron J. Seigo
c4570130f5 tabsbegone
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=692758
2007-07-26 07:25:30 +00:00
Aaron J. Seigo
28b20a150a * add hbox to build
* make hbox share the boxlayout superclass with vbox
* profit

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=692756
2007-07-26 07:23:30 +00:00
Matias Valdenegro Toro
bdb1418dbb Use width-for-height Layout Management.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=692753
2007-07-26 07:12:05 +00:00
Matias Valdenegro Toro
4f778d6e2d Add Horizontal Layout class.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=692743
2007-07-26 06:58:33 +00:00