libyui-qt
 
Loading...
Searching...
No Matches
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
 
void setShortcut (const QKeySequence &key)
 

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 ()
 

Constructor & Destructor Documentation

◆ YQWizardButton()

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

Constructor.

◆ ~YQWizardButton()

YQWizardButton::~YQWizardButton ( )
virtual

Destructor.

Member Function Documentation

◆ clicked

void YQWizardButton::clicked ( )
signal

Emitted when the button is clicked or otherwise activated.

◆ hide()

void YQWizardButton::hide ( )

Hide the associated QPushButton.

◆ isHidden()

bool YQWizardButton::isHidden ( ) const

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

◆ isShown()

bool YQWizardButton::isShown ( ) const

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

◆ preferredHeight()

int YQWizardButton::preferredHeight ( )
virtual

Preferred height of the widget.

Reimplemented from YWidget.

◆ preferredWidth()

int YQWizardButton::preferredWidth ( )
virtual

Preferred width of the widget.

Reimplemented from YWidget.

◆ setSize()

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

Set the new size of the widget.

Reimplemented from YWidget.

◆ show()

void YQWizardButton::show ( )

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

◆ widgetClass()

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

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

◆ wizard()

YQWizard * YQWizardButton::wizard ( ) const
inline

Returns the wizard this wizard button belongs to.


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