![]() |
VR-Forces 4.10 Class Documentation
|
The Master Scenario Settings Dialog. More...

Public Types | |
| typedef std::pair< std::string, std::string > | DtConditionalExpressionItem |
| typedef std::vector < DtConditionalExpressionItem > | DtConditionalExpressionsList |
Public Member Functions | |
| DtVrfConditionalDialogManager (makVrv::DtDe &) | |
| CTOR. Registers all known dialogs with manager. More... | |
| virtual | ~DtVrfConditionalDialogManager () |
| DTOR. More... | |
| virtual DtConditionalDialogInterface * | processDialogFor (const std::string &menuItemType, QWidget *parent, const std::vector< makVrv::DtSimEntry * > &data, DtVrfConditionalAction *forAction, bool partOfGlobalPlan=false, DtRwTriggersList *triggers=0) |
| Creates dialog and then sends out various signals at creation process to allow user to add functionality. More... | |
| bool | dialogInProgress () const |
| virtual void | addDialogCreator (const std::string &menuItemType, DtVrfConditionalDialogCreator *) |
| Adds items into the factory. More... | |
| virtual bool | removeDialogCreator (const std::string &menuItemType) |
| Removes the dialog creator. More... | |
| virtual bool | hasDialogCreator (const std::string &menuItemType) const |
| Returns true if the dialog has a creator. More... | |
| virtual void | removeAllDialogCreators () |
| Removes all dialog creators. More... | |
| virtual void | addConditionalExpression (const std::string &menuItemType, DtVrfConditionalExpressionCreator *) |
| Adds items into the factory. More... | |
| virtual void | addConditionalExpressionAfter (const std::string &p, const std::string &after, DtVrfConditionalExpressionCreator *i) |
| virtual void | addConditionalExpressionBefore (const std::string &p, const std::string &before, DtVrfConditionalExpressionCreator *i) |
| virtual std::string | conditionalStringType (int type) const |
| Returns the string conditional type based on the integer type. More... | |
| virtual bool | removeConditionalExpression (const std::string &menuItemType) |
| Removes the conditional expression. More... | |
| virtual bool | hasConditionalExpression (const std::string &menuItemType) const |
| Returns true if the dialog has the conditional expression. More... | |
| virtual bool | hasConditionalExpression (int type) const |
| Returns true if the dialog has the conditional expression. More... | |
| virtual void | removeAllConditionalExpressions () |
| Removes all conditional expressions. More... | |
| virtual int | expressionDisplayOrder (const std::string &) const |
| Returns the position of where the expression will be displayed. More... | |
| virtual void | setExpressionDisplayOrder (const std::string &, int) |
| Sets the position to display the expression. More... | |
| virtual DtConditionalExpressionsList | getConditionalExpressionsList (bool partOfGlobalPlan=false, bool compoundOnly=false) const |
| Returns a pair list of titles and keywords for titles of expressions. More... | |
| virtual DtConditionalExpressionInterface * | createExpression (const std::string &s, QWidget *parent) |
| Creates the expression and sends created signal. More... | |
| virtual DtConditionalExpressionInterface * | createExpression (int type, QWidget *parent) |
| Creates the expression and sends created signal. More... | |
| virtual DtVrfConditionalExpressionCreator * | expressionCreatorFor (const std::string &s) const |
| Returns the conditional expression creator. More... | |
| virtual DtVrfConditionalExpressionCreator * | expressionCreatorFor (int type) const |
| Returns the conditional expression creator. More... | |
| virtual bool | canEditType (int iType) const |
| Returns true if a dialog can edit the specified conditional type. More... | |
| virtual DtConditionalDialogInterface * | createDialog (int iType, QWidget *parent, bool partOfGlobalPlan=false, const std::vector< makVrv::DtSimEntry * > &data=std::vector< makVrv::DtSimEntry * >()) |
| Creates a dialog based on the supplied staement type. More... | |
Public Member Functions inherited from makVrv::DtVirtualBaseClass | |
| DtVirtualBaseClass () | |
| Do nothing constructor. More... | |
| virtual | ~DtVirtualBaseClass () |
| Virtual do nothing destructor. More... | |
Static Public Member Functions | |
| static DtVrfConditionalDialogManager & | instance (makVrv::DtDe &de) |
| Returns instance of the messager. More... | |
Protected Member Functions | |
| virtual void | slot_onDialogDestroyed (DtConditionalDialogInterface *) |
| virtual void | slot_onExpressionDestroyed (DtConditionalExpressionInterface *) |
| virtual void | prepDialog (DtConditionalDialogInterface *, const std::vector< makVrv::DtSimEntry * > &data, DtVrfConditionalAction *forAction, DtRwTriggersList *triggers) |
| Emits signals about dialog state and makes connections on dialog to allow for task/set activation. More... | |
| virtual void | addConditional (const std::string &, const std::string &, DtVrfConditionalExpressionCreator *, bool after=true) |
Protected Attributes | |
| makVrv::DtDe & | myDe |
| DtVrfConditionalDialogCreatorMap | myDialogCreatorMap |
| DtVrfConditionalExpressionCreatorMap | myExpressionCreatorMap |
| std::vector< std::string > | myExpressionOrder |
| bool | myDialogInProgress |
Private Types | |
| typedef std::map< std::string, DtVrfConditionalDialogCreator * > | DtVrfConditionalDialogCreatorMap |
| typedef std::map< std::string, DtVrfConditionalExpressionCreator * > | DtVrfConditionalExpressionCreatorMap |
The Master Scenario Settings Dialog.
|
private |
|
private |
| typedef std::pair<std::string, std::string> makVrf::DtVrfConditionalDialogManager::DtConditionalExpressionItem |
| typedef std::vector<DtConditionalExpressionItem> makVrf::DtVrfConditionalDialogManager::DtConditionalExpressionsList |
| makVrf::DtVrfConditionalDialogManager::DtVrfConditionalDialogManager | ( | makVrv::DtDe & | ) |
CTOR. Registers all known dialogs with manager.
|
virtual |
DTOR.
|
static |
Returns instance of the messager.
|
virtual |
Creates dialog and then sends out various signals at creation process to allow user to add functionality.
Connects to slot in the action to process the resulting task/set request for the dialog
|
inline |
|
virtual |
Adds items into the factory.
The memory will be taked as owned by the factory. The pattern should be passing in a subclass of DtVrfConditionalDialogCreator and implementing the create(QWidget*) method
|
virtual |
Removes the dialog creator.
|
virtual |
Returns true if the dialog has a creator.
|
virtual |
Removes all dialog creators.
|
virtual |
Adds items into the factory.
The memory will be taked as owned by the factory. The pattern should be passing in a subclass of DtVrfConditionalExpressionCreator and implementing the create(QWidget*) method conditionals are identified by their unique string p
|
virtual |
|
virtual |
|
virtual |
Returns the string conditional type based on the integer type.
|
virtual |
Removes the conditional expression.
|
virtual |
Returns true if the dialog has the conditional expression.
|
virtual |
Returns true if the dialog has the conditional expression.
|
virtual |
Removes all conditional expressions.
|
virtual |
Returns the position of where the expression will be displayed.
|
virtual |
Sets the position to display the expression.
If already in Order, removed and placed at new position
|
virtual |
Returns a pair list of titles and keywords for titles of expressions.
|
virtual |
Creates the expression and sends created signal.
|
virtual |
Creates the expression and sends created signal.
|
virtual |
Returns the conditional expression creator.
|
virtual |
Returns the conditional expression creator.
Returns true if a dialog can edit the specified conditional type.
|
virtual |
Creates a dialog based on the supplied staement type.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
Emits signals about dialog state and makes connections on dialog to allow for task/set activation.
|
protectedvirtual |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |