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)
78 QString subTitle()const;
84 QString preText()const;
85 void setPreText(const QString& newPreText);
91 QString postText()const;
92 void setPostText(const QString& newPostText);
97 QString errorText()const;
100 QLayout* clientAreaLayout()const;
104 QString titleFormat()const;
108 void setTitleFormat(const QString& format);
112 QString subTitleFormat()const;
116 void setSubTitleFormat(const QString& format);
120 QString errorTextFormat()const;
124 void setErrorTextFormat(const QString& format);
131 bool hideWidgetsOfNonCurrentSteps()const;
132 void setHideWidgetsOfNonCurrentSteps(
bool newHideWidgetsOfNonCurrentSteps);
140 bool errorTextEnabled()const;
141 void setErrorTextEnabled(
bool newErrorTextEnabled);
148 virtual
void setSubTitle(const QString& newSubTitle);
149 virtual
void setErrorText(const QString& newErrorText);
152 QScopedPointer<ctkWorkflowGroupBoxPrivate> d_ptr;
ctkWorkflowGroupBox is a widget displaying the user interface elements, title, description and/or err...
ctkWorkflowStep is the basis for a workflow step.