[Libufo-commits] ufo-0.5/include/ufo/widgets uwidget.hpp,1.28,1.29
Status: Beta
Brought to you by:
schmidtjf
|
From: Johannes S. <sch...@us...> - 2005-09-16 12:40:33
|
Update of /cvsroot/libufo/ufo-0.5/include/ufo/widgets In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32306/include/ufo/widgets Modified Files: uwidget.hpp Log Message: Some docu fixes. Index: uwidget.hpp =================================================================== RCS file: /cvsroot/libufo/ufo-0.5/include/ufo/widgets/uwidget.hpp,v retrieving revision 1.28 retrieving revision 1.29 diff -C2 -d -r1.28 -r1.29 *** uwidget.hpp 21 Jun 2005 09:27:52 -0000 1.28 --- uwidget.hpp 16 Sep 2005 12:40:22 -0000 1.29 *************** *** 116,119 **** --- 116,127 ---- * @ingroup widgets * + * Every UFO widget is derived from UWidget. + * All base functionality is provided by this class, i.e. + * input event processing, sizing, container functionality + * (adding other widgets), layouting + * (using layout managers, default is UBoxLayout), + * several widget attributes, ... + * + * @see UBoxLayout * @author Johannes Schmidt */ *************** *** 202,206 **** /** Many attributes of a widget can only be stated when it is ! * within a valid containment hierarchy. * For example, the correct UI object can be determined only if * the top level widget belongs to a UFO context. --- 210,214 ---- /** Many attributes of a widget can only be stated when it is ! * within a valid containment hierarchy (and mapped to screen). * For example, the correct UI object can be determined only if * the top level widget belongs to a UFO context. *************** *** 212,225 **** */ virtual bool isInValidHierarchy() const; ! /** Returns true when this widget has a UI object (responsible for ! * drawing and event handling) and ! * a layout manager has laid out all children. */ bool isValid() const; ! /** relayouts the container and checks whether the ui delegate is valid. ! * If this widget has never been validated ( e.g. after construction ), ! * the ui delegate isn´t valid * - * @see updateUI * @see ULayoutManager */ --- 220,228 ---- */ virtual bool isInValidHierarchy() const; ! /** Returns true if the layout manager has laid out all children. */ bool isValid() const; ! /** Relayouts the container. * * @see ULayoutManager */ *************** *** 227,232 **** virtual void validateSelf(); ! /** Invalidates the specified attributes of this widget. This is called by ! * invalidate. * @see invalidate */ --- 230,236 ---- virtual void validateSelf(); ! /** Invalidates the specified attributes of this widget and forces ! * a relayout of child widgets. ! * This is called by invalidate. * @see invalidate */ *************** *** 737,741 **** /** @return The layout manager used by this widget. */ ULayoutManager * getLayout() const; ! /** Sets the layout manager for this widget. */ void setLayout(ULayoutManager * layout); --- 741,748 ---- /** @return The layout manager used by this widget. */ ULayoutManager * getLayout() const; ! /** Sets the layout manager for this widget. ! * The default layout manager is UBoxLayout ! * @see UBoxLayout ! */ void setLayout(ULayoutManager * layout); |