|
libyui-qt
2.52.4
|


Public Member Functions | |
| YQAlignment (YWidget *parent, YAlignmentType horAlign, YAlignmentType vertAlign) | |
| Constructor. | |
| YQAlignment (YWidget *yParent, QWidget *qParent, YAlignmentType horAlign, YAlignmentType vertAlign) | |
| Constructor for cases where the YWidget parent's widgetRep() isn't the QWidget parent, for example in compound widgets like YQWizard where it makes sense to pass a child of the YQWizard (the client area) as the QWidget parent. More... | |
| virtual void | moveChild (YWidget *child, int newX, int newY) |
| Move the child widget to a new position. More... | |
| virtual void | setEnabled (bool enabled) |
| Enable or disable this widget and its child. More... | |
| virtual void | setSize (int newWidth, int newHeight) |
| Set the new size of the widget. More... | |
| virtual void | setBackgroundPixmap (const std::string &pixmapFileName) |
| Set the background pixmap. More... | |
Protected Member Functions | |
| virtual void | paintEvent (QPaintEvent *event) |
Protected Attributes | |
| std::string | _pixmapFileName |
Definition at line 35 of file YQAlignment.h.
| YQAlignment::YQAlignment | ( | YWidget * | yParent, |
| QWidget * | qParent, | ||
| YAlignmentType | horAlign, | ||
| YAlignmentType | vertAlign | ||
| ) |
Constructor for cases where the YWidget parent's widgetRep() isn't the QWidget parent, for example in compound widgets like YQWizard where it makes sense to pass a child of the YQWizard (the client area) as the QWidget parent.
Use this only if you know very well what you are doing.
Definition at line 45 of file YQAlignment.cc.
|
virtual |
Move the child widget to a new position.
Implemented from YAlignment.
Definition at line 63 of file YQAlignment.cc.
|
virtual |
Set the background pixmap.
Reimplemented from YAlignment.
Definition at line 86 of file YQAlignment.cc.
|
virtual |
Enable or disable this widget and its child.
Reimplemented from YWidget.
Definition at line 56 of file YQAlignment.cc.
|
virtual |
Set the new size of the widget.
Reimplemented from YWidget.
Definition at line 70 of file YQAlignment.cc.