libyui-qt  2.44.0
 All Classes Functions Variables
YQWizardButton Class Reference
Inheritance diagram for YQWizardButton:
Collaboration diagram for YQWizardButton:

Signals

void clicked ()
 

Public Member Functions

 YQWizardButton (YQWizard *wizard, QWidget *buttonParent, const std::string &label)
 
virtual ~YQWizardButton ()
 
virtual const char * widgetClass () const
 
void hide ()
 
void show ()
 
bool isShown () const
 
bool isHidden () const
 
virtual int preferredWidth ()
 
virtual int preferredHeight ()
 
virtual void setSize (int newWidth, int newHeight)
 
YQWizardwizard () const
 
- 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

- Public Slots inherited from YQGenericButton
void activate ()
 
- 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 37 of file YQWizardButton.h.

Constructor & Destructor Documentation

YQWizardButton::YQWizardButton ( YQWizard wizard,
QWidget *  buttonParent,
const std::string &  label 
)

Constructor.

Definition at line 37 of file YQWizardButton.cc.

Here is the call graph for this function:

YQWizardButton::~YQWizardButton ( )
virtual

Destructor.

Definition at line 59 of file YQWizardButton.cc.

Member Function Documentation

void YQWizardButton::clicked ( )
signal

Emitted when the button is clicked or otherwise activated.

void YQWizardButton::hide ( )

Hide the associated QPushButton.

Definition at line 66 of file YQWizardButton.cc.

Here is the call graph for this function:

bool YQWizardButton::isHidden ( ) const

Returns 'true' if the associated QPushButton (!) is hidden.

Definition at line 89 of file YQWizardButton.cc.

Here is the call graph for this function:

bool YQWizardButton::isShown ( ) const

Returns 'true' if the associated QPushButton (!) is shown.

Definition at line 80 of file YQWizardButton.cc.

Here is the call graph for this function:

int YQWizardButton::preferredHeight ( )
virtual

Preferred height of the widget.

Reimplemented from YWidget.

Definition at line 104 of file YQWizardButton.cc.

int YQWizardButton::preferredWidth ( )
virtual

Preferred width of the widget.

Reimplemented from YWidget.

Definition at line 95 of file YQWizardButton.cc.

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

Set the new size of the widget.

Reimplemented from YWidget.

Definition at line 113 of file YQWizardButton.cc.

void YQWizardButton::show ( )

Show the associated QPushButton - not this widget itself (!). This widget itself will never become visible.

Definition at line 73 of file YQWizardButton.cc.

Here is the call graph for this function:

virtual const char* YQWizardButton::widgetClass ( ) const
inlinevirtual

Returns a descriptive name of this widget class for logging, debugging etc.

Definition at line 58 of file YQWizardButton.h.

YQWizard* YQWizardButton::wizard ( ) const
inline

Returns the wizard this wizard button belongs to.

Definition at line 105 of file YQWizardButton.h.


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