|
| YQAlignment (YWidget *parent, YAlignmentType horAlign, YAlignmentType vertAlign) |
|
| YQAlignment (YWidget *yParent, QWidget *qParent, YAlignmentType horAlign, YAlignmentType vertAlign) |
|
virtual void | moveChild (YWidget *child, int newX, int newY) |
|
virtual void | setEnabled (bool enabled) |
|
virtual void | setSize (int newWidth, int newHeight) |
|
virtual void | setBackgroundPixmap (const std::string &pixmapFileName) |
|
|
virtual void | paintEvent (QPaintEvent *event) |
|
|
std::string | _pixmapFileName |
|
◆ YQAlignment() [1/2]
YQAlignment::YQAlignment |
( |
YWidget * | parent, |
|
|
YAlignmentType | horAlign, |
|
|
YAlignmentType | vertAlign ) |
◆ YQAlignment() [2/2]
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.
◆ moveChild()
void YQAlignment::moveChild |
( |
YWidget * | child, |
|
|
int | newX, |
|
|
int | newY ) |
|
virtual |
Move the child widget to a new position.
Implemented from YAlignment.
◆ setBackgroundPixmap()
void YQAlignment::setBackgroundPixmap |
( |
const std::string & | pixmapFileName | ) |
|
|
virtual |
Set the background pixmap.
Reimplemented from YAlignment.
◆ setEnabled()
void YQAlignment::setEnabled |
( |
bool | enabled | ) |
|
|
virtual |
Enable or disable this widget and its child.
Reimplemented from YWidget.
◆ setSize()
void YQAlignment::setSize |
( |
int | newWidth, |
|
|
int | newHeight ) |
|
virtual |
Set the new size of the widget.
Reimplemented from YWidget.
The documentation for this class was generated from the following files:
- /builddir/build/BUILD/libyui-4.6.0/libyui-qt/src/YQAlignment.h
- /builddir/build/BUILD/libyui-4.6.0/libyui-qt/src/YQAlignment.cc