libyui-qt
Loading...
Searching...
No Matches
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

Constructor & Destructor Documentation

◆ ~Step()

YQWizard::Step::~Step ( )
virtual

Destructor. Intentionally not deleting the widgets.

Member Function Documentation

◆ setStatus()

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

Set text color and status icon for one wizard step


The documentation for this class was generated from the following files:
  • /builddir/build/BUILD/libyui-4.6.2-build/libyui-4.6.2/libyui-qt/src/YQWizard.h
  • /builddir/build/BUILD/libyui-4.6.2-build/libyui-4.6.2/libyui-qt/src/YQWizard.cc