31 #include <yui/YAlignment.h>
45 YAlignmentType horAlign,
46 YAlignmentType vertAlign );
58 YAlignmentType horAlign,
59 YAlignmentType vertAlign );
66 virtual void moveChild( YWidget * child,
int newX,
int newY );
80 virtual void setSize(
int newWidth,
int newHeight );
90 std::string _pixmapFileName;
91 virtual void paintEvent ( QPaintEvent * event );
96 #endif // YQAlignment_h
virtual void setBackgroundPixmap(const std::string &pixmapFileName)
Set the background pixmap.
virtual void setEnabled(bool enabled)
Enable or disable this widget and its child.
virtual void moveChild(YWidget *child, int newX, int newY)
Move the child widget to a new position.
YQAlignment(YWidget *parent, YAlignmentType horAlign, YAlignmentType vertAlign)
Constructor.
virtual void setSize(int newWidth, int newHeight)
Set the new size of the widget.