libyui-qt
2.43.5
|
Public Slots | |
void | hit () |
![]() | |
void | activate () |
Public Member Functions | |
YQPushButton (YWidget *parent, const std::string &label) | |
virtual | ~YQPushButton () |
virtual int | preferredWidth () |
virtual int | preferredHeight () |
virtual void | setSize (int newWidth, int newHeight) |
![]() | |
virtual | ~YQGenericButton () |
virtual void | setEnabled (bool enabled) |
bool | isEnabled () const |
void | setLabel (const QString &label) |
virtual void | setLabel (const std::string &label) |
void | showAsDefault (bool show=true) |
bool | isShownAsDefault () const |
virtual bool | setKeyboardFocus () |
virtual void | setIcon (const std::string &iconName) |
QString | text () const |
QPushButton * | qPushButton () const |
YQDialog * | yQDialog () const |
Additional Inherited Members | |
![]() | |
YQGenericButton (YWidget *parent, const std::string &label) | |
void | setQPushButton (QPushButton *pb) |
bool | eventFilter (QObject *obj, QEvent *event) |
YQDialog * | dialog () |
void | forgetDialog () |
Definition at line 34 of file YQPushButton.h.
YQPushButton::YQPushButton | ( | YWidget * | parent, |
const std::string & | label | ||
) |
Constructor.
Definition at line 37 of file YQPushButton.cc.
|
virtual |
Destructor.
Definition at line 58 of file YQPushButton.cc.
|
slot |
Triggered when the button is activated (clicked or via keyboard). Notifies the the ui about this.
Definition at line 83 of file YQPushButton.cc.
|
virtual |
Preferred height of the widget.
Reimplemented from YWidget.
Definition at line 69 of file YQPushButton.cc.
|
virtual |
Preferred width of the widget.
Reimplemented from YWidget.
Definition at line 63 of file YQPushButton.cc.
|
virtual |
Set the new size of the widget.
Reimplemented from YWidget.
Definition at line 75 of file YQPushButton.cc.