libyui-qt  2.43.5
 All Classes Functions Variables
YQPushButton Class Reference
Inheritance diagram for YQPushButton:
YQGenericButton

Public Slots

void hit ()
 
- Public Slots inherited from YQGenericButton
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)
 
- Public Member Functions inherited from YQGenericButton
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
 
YQDialogyQDialog () const
 

Additional Inherited Members

- Protected Member Functions inherited from YQGenericButton
 YQGenericButton (YWidget *parent, const std::string &label)
 
void setQPushButton (QPushButton *pb)
 
bool eventFilter (QObject *obj, QEvent *event)
 
YQDialogdialog ()
 
void forgetDialog ()
 

Detailed Description

Definition at line 34 of file YQPushButton.h.

Constructor & Destructor Documentation

YQPushButton::YQPushButton ( YWidget *  parent,
const std::string &  label 
)

Constructor.

Definition at line 37 of file YQPushButton.cc.

YQPushButton::~YQPushButton ( )
virtual

Destructor.

Definition at line 58 of file YQPushButton.cc.

Member Function Documentation

void YQPushButton::hit ( )
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.

int YQPushButton::preferredHeight ( )
virtual

Preferred height of the widget.

Reimplemented from YWidget.

Definition at line 69 of file YQPushButton.cc.

int YQPushButton::preferredWidth ( )
virtual

Preferred width of the widget.

Reimplemented from YWidget.

Definition at line 63 of file YQPushButton.cc.

void YQPushButton::setSize ( int  newWidth,
int  newHeight 
)
virtual

Set the new size of the widget.

Reimplemented from YWidget.

Definition at line 75 of file YQPushButton.cc.


The documentation for this class was generated from the following files: