![]() |
VR-Forces 4.1.1 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. | |
| virtual | ~DtVrfConditionalDialogManager () |
| DTOR. | |
| virtual bool | processDialogFor (const std::string &menuItemType, QWidget *parent, const std::vector< makVrv::DtSimEntry * > &data, DtVrfConditionalAction *forAction) |
| Creates dialog and then sends out various signals at creation process to allow user to add functionality. | |
| bool | dialogInProgress () const |
| virtual void | addDialogCreator (const std::string &menuItemType, DtVrfConditionalDialogCreator *) |
| Adds items into the factory. | |
| virtual bool | removeDialogCreator (const std::string &menuItemType) |
| Removes the dialog creator. | |
| virtual bool | hasDialogCreator (const std::string &menuItemType) const |
| Returns true if the dialog has a creator. | |
| virtual void | removeAllDialogCreators () |
| Removes all dialog creators. | |
| virtual void | addConditionalExpression (const std::string &menuItemType, DtVrfConditionalExpressionCreator *) |
| Adds items into the factory. | |
| 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 bool | removeConditionalExpression (const std::string &menuItemType) |
| Removes the conditional expression. | |
| virtual bool | hasConditionalExpression (const std::string &menuItemType) const |
| Returns true if the dialog has the conditional expression. | |
| virtual bool | hasConditionalExpression (int type) const |
| Returns true if the dialog has the conditional expression. | |
| virtual void | removeAllConditionalExpressions () |
| Removes all conditional expressions. | |
| virtual int | expressionDisplayOrder (const std::string &) const |
| Returns the position of where the expression will be displayed. | |
| virtual void | setExpressionDisplayOrder (const std::string &, int) |
| Sets the position to display the expression. | |
| virtual DtConditionalExpressionsList | getConditionalExpressionsList () const |
| Returns a pair list of titles and keywords for titles of expressions. | |
| virtual DtConditionalExpressionInterface * | createExpression (const std::string &s, QWidget *parent) |
| Creates the expression and sends created signal. | |
| virtual DtConditionalExpressionInterface * | createExpression (int type, QWidget *parent) |
| Creates the expression and sends created signal. | |
| virtual DtVrfConditionalExpressionCreator * | expressionCreatorFor (const std::string &s) const |
| Returns the conditional expression creator. | |
| virtual DtVrfConditionalExpressionCreator * | expressionCreatorFor (int type) const |
| Returns the conditional expression creator. | |
| virtual bool | canEditType (int iType) const |
| Returns true if a dialog can edit the specified conditional type. | |
| virtual DtConditionalDialogInterface * | createDialog (int iType, QWidget *parent) |
| Creates a dialog based on the supplied staement type. | |
Public Member Functions inherited from makVrv::DtVirtualBaseClass | |
| DtVirtualBaseClass () | |
| Do nothing constructor. | |
| virtual | ~DtVirtualBaseClass () |
| Virtual do nothing destructor. | |
Static Public Member Functions | |
| static DtVrfConditionalDialogManager & | instance (makVrv::DtDe &de) |
| Returns instance of the messager. | |
Public Attributes | |
| boost::signal< void(DtConditionalDialogInterface *)> | signal_dialogCreated |
| Signal sent when the dialog is created but before it is run. | |
| boost::signal< void(DtConditionalDialogInterface *)> | signal_dialogDestroyed |
| Signal sent when the dialog is destroyed. | |
| boost::signal< void(DtConditionalExpressionInterface *)> | signal_expressionCreated |
| Signal sent when the expression is created but before it is run. | |
| boost::signal< void(DtConditionalExpressionInterface *)> | signal_expressionDestroyed |
| Signal sent when the expression is destroyed. | |
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) |
| Emits signals about dialog state and makes connections on dialog to allow for task/set activation. | |
| 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 |
| DtVrfConditionalDialogSignalHandler | myConditionalDialogSignalHandler |
| 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 |
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.
|
virtual |
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 |
| boost::signal<void (DtConditionalDialogInterface*)> makVrf::DtVrfConditionalDialogManager::signal_dialogCreated |
Signal sent when the dialog is created but before it is run.
| boost::signal<void (DtConditionalDialogInterface*)> makVrf::DtVrfConditionalDialogManager::signal_dialogDestroyed |
Signal sent when the dialog is destroyed.
| boost::signal<void (DtConditionalExpressionInterface*)> makVrf::DtVrfConditionalDialogManager::signal_expressionCreated |
Signal sent when the expression is created but before it is run.
| boost::signal<void (DtConditionalExpressionInterface*)> makVrf::DtVrfConditionalDialogManager::signal_expressionDestroyed |
Signal sent when the expression is destroyed.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |