21 #ifndef __ctkWorkflowGroupBox_h
22 #define __ctkWorkflowGroupBox_h
33 #include "ctkWidgetsExport.h"
35 class ctkWorkflowGroupBoxPrivate;
44 Q_PROPERTY(QString preText READ preText WRITE setPreText)
45 Q_PROPERTY(QString postText READ postText WRITE setPostText)
49 Q_PROPERTY(QString titleFormat READ titleFormat WRITE setTitleFormat)
54 Q_PROPERTY(QString subTitleFormat READ subTitleFormat WRITE setSubTitleFormat)
59 Q_PROPERTY(QString errorTextFormat READ errorTextFormat WRITE setErrorTextFormat)
60 Q_PROPERTY(
bool hideWidgetsOfNonCurrentSteps READ hideWidgetsOfNonCurrentSteps WRITE setHideWidgetsOfNonCurrentSteps)
61 Q_PROPERTY(
bool errorTextEnabled READ errorTextEnabled WRITE setErrorTextEnabled)
152 QScopedPointer<ctkWorkflowGroupBoxPrivate>
d_ptr;
ctkWorkflowGroupBox is a widget displaying the user interface elements, title, description and/or err...
QString titleFormat() const
void setPostText(const QString &newPostText)
virtual ~ctkWorkflowGroupBox()
QString subTitleFormat() const
QString postText() const
Set/get the post-text, i.e. the contents of a convenience text section placed just below the client a...
void setErrorTextFormat(const QString &format)
virtual void updateGroupBox(ctkWorkflowStep *currentStep)
void setPreText(const QString &newPreText)
QString errorText() const
Set/get the error text.
virtual void setSubTitle(const QString &newSubTitle)
void setTitleFormat(const QString &format)
void setSubTitleFormat(const QString &format)
bool hideWidgetsOfNonCurrentSteps() const
QLayout * clientAreaLayout() const
Get the layout onto which step specific widgets are placed.
virtual void setErrorText(const QString &newErrorText)
QString preText() const
Set/get the pre-text, i.e. the contents of a convenience text section placed just above the client ar...
QString title() const
Get the title text (usually a few words), located in the top area.
QString subTitle() const
Set/get the subtitle text (usually a short sentence or two), located in the top area below the title.
void setErrorTextEnabled(bool newErrorTextEnabled)
QString errorTextFormat() const
bool errorTextEnabled() const
QScopedPointer< ctkWorkflowGroupBoxPrivate > d_ptr
ctkWorkflowGroupBox(QWidget *parent=0)
void setHideWidgetsOfNonCurrentSteps(bool newHideWidgetsOfNonCurrentSteps)
ctkWorkflowStep is the basis for a workflow step.