Dan Meltzer
7f624f85d9
Revert one large git mess
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=780657
2008-02-29 17:50:57 +00:00
Dan Meltzer
a081559257
Commit initial progress of work to port to qt4.4
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=780654
2008-02-29 17:43:31 +00:00
Aaron J. Seigo
777b8083f8
* moves the idea of margins up to LayoutItem, allowing any LayoutItem to have a margin
...
* moves the idea of the size of the item up to LayoutItem, as both Widget and Layout implemented it separately
* provides a way in LayoutItem to adjust a rect within an item to its margins (that is what LayoutItem::topLeft() is there for)
* fix several bugs, both painting and sizing, in LineEdit
* Applet sets margins now based on the existence of setDrawBackground
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=776380
2008-02-17 23:02:46 +00:00
Aaron J. Seigo
9335a50776
Ensure that LayoutItem::setParent resets the parents layout if we are currently its layout and release managed items.
...
RB:89
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=773471
2008-02-11 05:50:47 +00:00
Aaron J. Seigo
7f3aea19ff
move MarginEdge to the Plasma namespace to avoid coupling to the layout stuff in innapropriate places
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=771704
2008-02-06 19:12:21 +00:00
Aaron J. Seigo
3af4b66dca
tired of the "expect crashes" output all the time, i just fixed it properly by deleting the existing layout. since the layout makes itself the parent of the child layout and already deletes it in the dtor, this only makes sense. hello greater safety and goodbye scary console output ;)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=771686
2008-02-06 18:16:11 +00:00
Aaron J. Seigo
e614df56d0
* consolidate geometry() and setGeometry() from the layouts into Layout
...
* introduce relayout() which does only that
* place guards around relayout() calls in Layout class to prevent recursion
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=738923
2007-11-19 23:45:56 +00:00
Alexis Ménard
ff0b3da511
Fix include for layout
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=738921
2007-11-19 23:40:03 +00:00
Aaron J. Seigo
92ba2c1b0b
move all the layouts to their own directory; much more logical and makes it easier to not miss layouts that need changes
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=738898
2007-11-19 22:42:56 +00:00