|
virtual | ~YWizard () |
|
virtual const char * | widgetClass () const |
|
YWizardMode | wizardMode () const |
|
virtual YPushButton * | backButton () const =0 |
|
virtual YPushButton * | abortButton () const =0 |
|
virtual YPushButton * | nextButton () const =0 |
|
virtual YReplacePoint * | contentsReplacePoint () const =0 |
|
void | protectNextButton (bool protect) |
|
bool | nextButtonIsProtected () const |
|
virtual void | setButtonLabel (YPushButton *button, const std::string &newLabel) |
|
virtual void | setHelpText (const std::string &helpText)=0 |
|
virtual void | setDialogIcon (const std::string &iconName)=0 |
|
virtual void | setDialogTitle (const std::string &titleText)=0 |
|
virtual std::string | getDialogTitle ()=0 |
|
virtual void | setDialogHeading (const std::string &headingText)=0 |
|
virtual std::string | getDialogHeading ()=0 |
|
virtual void | addStep (const std::string &text, const std::string &id)=0 |
|
virtual void | addStepHeading (const std::string &text)=0 |
|
virtual void | deleteSteps ()=0 |
|
virtual void | setCurrentStep (const std::string &id)=0 |
|
virtual void | updateSteps ()=0 |
|
virtual void | addTreeItem (const std::string &parentID, const std::string &text, const std::string &id)=0 |
|
virtual void | selectTreeItem (const std::string &id)=0 |
|
virtual std::string | currentTreeSelection ()=0 |
|
virtual void | deleteTreeItems ()=0 |
|
virtual void | addMenu (const std::string &text, const std::string &id)=0 |
|
virtual void | addSubMenu (const std::string &parentMenuID, const std::string &text, const std::string &id)=0 |
|
virtual void | addMenuEntry (const std::string &parentMenuID, const std::string &text, const std::string &id)=0 |
|
virtual void | addMenuSeparator (const std::string &parentMenuID)=0 |
|
virtual void | deleteMenus ()=0 |
|
virtual void | showReleaseNotesButton (const std::string &label, const std::string &id)=0 |
|
virtual void | hideReleaseNotesButton ()=0 |
|
virtual void | retranslateInternalButtons ()=0 |
|
void | ping () |
|
virtual YPropertyValue | getProperty (const std::string &propertyName) |
|
virtual const YPropertySet & | propertySet () |
|
virtual | ~YWidget () |
|
virtual std::string | debugLabel () const |
|
std::string | helpText () const |
|
void | setHelpText (const std::string &helpText) |
|
virtual bool | setProperty (const std::string &propertyName, const YPropertyValue &val) |
|
bool | hasChildren () const |
|
YWidget * | firstChild () const |
|
YWidget * | lastChild () const |
|
YWidgetListIterator | childrenBegin () const |
|
YWidgetListIterator | childrenEnd () const |
|
YWidgetListConstIterator | childrenConstBegin () const |
|
YWidgetListConstIterator | childrenConstEnd () const |
|
YWidgetListIterator | begin () |
|
YWidgetListIterator | end () |
|
int | childrenCount () const |
|
bool | contains (YWidget *child) const |
|
virtual void | addChild (YWidget *child) |
|
virtual void | removeChild (YWidget *child) |
|
void | deleteChildren () |
|
YWidget * | parent () const |
|
bool | hasParent () const |
|
void | setParent (YWidget *newParent) |
|
YDialog * | findDialog () |
|
YWidget * | findWidget (YWidgetID *id, bool doThrow=true) const |
|
virtual int | preferredWidth ()=0 |
|
virtual int | preferredHeight ()=0 |
|
virtual int | preferredSize (YUIDimension dim) |
|
virtual void | setSize (int newWidth, int newHeight)=0 |
|
bool | isValid () const |
|
bool | beingDestroyed () const |
|
void * | widgetRep () const |
|
void | setWidgetRep (void *toolkitWidgetRep) |
|
bool | hasId () const |
|
YWidgetID * | id () const |
|
void | setId (YWidgetID *newId_disown) |
|
virtual void | setEnabled (bool enabled=true) |
|
void | setDisabled () |
|
virtual bool | isEnabled () const |
|
virtual bool | stretchable (YUIDimension dim) const |
|
void | setStretchable (YUIDimension dim, bool newStretch) |
|
void | setDefaultStretchable (YUIDimension dim, bool newStretch) |
|
virtual int | weight (YUIDimension dim) |
|
bool | hasWeight (YUIDimension dim) |
|
void | setWeight (YUIDimension dim, int weight) |
|
void | setNotify (bool notify=true) |
|
bool | notify () const |
|
void | setNotifyContextMenu (bool notifyContextMenu=true) |
|
bool | notifyContextMenu () const |
|
bool | sendKeyEvents () const |
|
void | setSendKeyEvents (bool doSend) |
|
bool | autoShortcut () const |
|
void | setAutoShortcut (bool _newAutoShortcut) |
|
int | functionKey () const |
|
bool | hasFunctionKey () const |
|
virtual void | setFunctionKey (int fkey_no) |
|
virtual bool | setKeyboardFocus () |
|
virtual std::string | shortcutString () const |
|
virtual void | setShortcutString (const std::string &str) |
|
virtual const char * | userInputProperty () |
|
void | dumpWidgetTree (int indentationLevel=0) |
|
void | dumpDialogWidgetTree () |
|
void | setChildrenEnabled (bool enabled) |
|
virtual void | saveUserInput (YMacroRecorder *macroRecorder) |
|
void * | operator new (size_t size) |
|
void | operator delete (void *ptr) noexcept |
|
virtual void | startMultipleChanges () |
|
virtual void | doneMultipleChanges () |
|
A wizard is a more complex frame typically used for multi-step workflows:
+---------—+---------------------------------------------—+
+---------—+---------------------------------------------—+
The side bar can contain help text, a list of steps that are performed, or an embedded tree (much like the YTree widget).
The client application creates the wizard and replaces the widget in the content area for each step.
The wizard buttons can theoretically be used to do anything, but good UI design will stick to the model above: [Back], [Abort], [Next].
If only two buttons are desired, leave the [Back] button's label emtpy. The remaining two buttons will be rearranged accordingly in the button area.
In the last step of a multi-step workflow, the [Next] button's label is customarily replaced with a label that indicates that this is the last step. [Accept] is recommended for that button label: [Finish] (as sometimes used in other environments) by no means clearly indicates that this is the positive ending, the final "do it" button. Worse, translations of that are often downright miserable: To German, [Finish] gets translated as [Beenden] which is the same word as "Quit" (used in menus). This does not at all tell the user that that button really performs the requested action the multi-step wizard is all about.