libyui-qt  2.44.0
 All Classes Functions Variables
YQWizard::Step Class Reference

#include <YQWizard.h>

Inheritance diagram for YQWizard::Step:

Public Types

enum  Status { Unset, Todo, Current, Done }
 

Public Member Functions

 Step (const QString &name="", const QString &id="")
 
virtual ~Step ()
 
virtual bool isHeading () const
 
QString name () const
 
QLabel * statusLabel () const
 
QLabel * nameLabel () const
 
bool isEnabled () const
 
const QStringList & id () const
 
void addID (const QString &id)
 
virtual bool hasID (const QString &id)
 
void setStatusLabel (QLabel *label)
 
void setNameLabel (QLabel *label)
 
void setEnabled (bool enabled)
 
void deleteLabels ()
 
void setStatus (Status s)
 

Protected Attributes

QString _name
 
QLabel * _statusLabel
 
QLabel * _nameLabel
 
bool _enabled
 
QStringList _idList
 
Status _status
 

Detailed Description

Helper class to represent a wizard step internally

Definition at line 610 of file YQWizard.h.

Constructor & Destructor Documentation

YQWizard::Step::~Step ( )
virtual

Destructor. Intentionally not deleting the widgets.

Definition at line 1278 of file YQWizard.cc.

Member Function Documentation

void YQWizard::Step::setStatus ( Status  s)

Set text color and status icon for one wizard step

Definition at line 1284 of file YQWizard.cc.


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