◆ YQPushButton()
YQPushButton::YQPushButton |
( |
YWidget * |
parent, |
|
|
const std::string & |
label |
|
) |
| |
◆ ~YQPushButton()
YQPushButton::~YQPushButton |
( |
| ) |
|
|
virtual |
◆ activate()
void YQPushButton::activate |
( |
| ) |
|
|
virtual |
Activate the button. Can be used in tests to simulate user input.
◆ hit
void YQPushButton::hit |
( |
| ) |
|
|
slot |
Triggered when the button is activated (clicked or via keyboard). Notifies the the ui about this.
◆ preferredHeight()
int YQPushButton::preferredHeight |
( |
| ) |
|
|
virtual |
Preferred height of the widget.
Reimplemented from YWidget.
◆ preferredWidth()
int YQPushButton::preferredWidth |
( |
| ) |
|
|
virtual |
Preferred width of the widget.
Reimplemented from YWidget.
◆ setSize()
void YQPushButton::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/YQPushButton.h
- /builddir/build/BUILD/libyui-4.6.0/libyui-qt/src/YQPushButton.cc