![]() |
VR-Forces 4.8 Class Documentation
|
Dialog to allow user to create a new template. More...

Public Slots | |
| virtual void | onPlanButtonClicked () |
| Opens a plan widget to allow the user to create a plan to assign to the spawned items. More... | |
| virtual void | onAddSpawnItem () |
| Add a new type of entity to be spawned. More... | |
| virtual void | onEditSpawnItem () |
| Edit the type of entity to be spawned. More... | |
| virtual void | onDeleteSpawnItem () |
| deletes selected spawn item More... | |
| virtual void | onEnableContinuousSpawnage (bool on) |
| enables/disables whether the entities will always be spawned, i.e. More... | |
| virtual void | onEnableTimeOfDaySpawnage (bool on) |
| enables/disables whether the entities will be spawned for a period of time defined by time of day. More... | |
| virtual void | onEnableSimTimeSpawnage (bool on) |
| enables/disables whether the entities will be spawned for a period of time defined by simulation time of the scenario.For example, entities would begin spawing at a start time of 5 minutes into the scenario and stop at end time 30 minutes into the scenario. More... | |
| virtual void | onEnableBurstCycle (bool on) |
| enables/disables whether the entities will be spawned in bursts during the spawn period More... | |
| virtual void | onEnableCustomPlan (bool on) |
| virtual void | onEnableDefaultPlan (bool on) |
| virtual void | onAddSinkPt () |
| virtual void | slot_addSinkPt (const DtUUID &) |
| virtual void | onRemoveSinkPt () |
Signals | |
| void | sendSpawnData (DtRwSpawnData &spawnData) |
| Sends configured spawn data to parent dialog. More... | |
| void | closing () |
| to parent dialog on cancel so it can reenable its buttons More... | |
Public Member Functions | |
| DtNewSpawnTemplateDialog (makVrv::DtDe &de, QWidget *parent=0, const Qt::WindowFlags &flags=0) | |
| virtual | ~DtNewSpawnTemplateDialog () |
| virtual void | init (bool editing=false) |
| virtual void | setSpawnData (const DtRwSpawnData &data, bool resolveDuplcateTemplateName=false) |
| If resolveDuplicateTemplateName is true, if the template name given is duplicate to ones already set add a new number to the end. More... | |
| virtual const DtRwSpawnData & | spawnData () const |
| virtual int | exec () |
| virtual void | displayDialog () |
| virtual void | setTemplateNamesInUseList (const QStringList &namesInUse) |
| virtual void | enableWidgets (bool b) |
| Enables/disables widgets without disabling the main window to allow for plan window to be shown. More... | |
Public Attributes | |
| Ui::DtNewSpawnTemplateDialogUi | myUiImpl |
| DtOverlayParentEntryWidget * | myOverlayCombo |
Protected Slots | |
| virtual void | updateButtons () |
| Updates the status of the buttons inside the dialog. More... | |
| virtual void | onCreateButtonClicked () |
| Sends a create spawn template message to all the backends. More... | |
| virtual void | onCreateObjectName (QTreeWidgetItem *i, int col) |
| virtual void | onEditObjectName (QTreeWidgetItem *i, int col) |
| virtual void | displayEntityPalette () |
| virtual void | cancel () |
| Invoked when the Cancel button of this dialog is pressed. More... | |
Protected Member Functions | |
| virtual void | setupGui () |
| virtual void | createEntityPalette () |
| virtual void | createPlanWidget () |
| virtual void | slot_createObjectType (const makVrf::DtEntityMapperKey &x) |
| Calls down to logic to add mapper key to the createItemData. More... | |
| virtual bool | updateSpawnFromGui () |
| Returns true if update is valid, false if template name is in use. More... | |
| virtual QTime | convertTime (double secondsPastMidnight) |
| virtual void | keyPressEvent (QKeyEvent *e) |
| If user hits the esc key, cancel the dialog. More... | |
| virtual void | slot_send () |
| virtual void | slot_close () |
| virtual void | refreshLabels () |
| virtual void | slot_onUnitChanged (int attribute, int from, int to) |
| virtual void | slot_displayUnitDecimalsChanged (makVrv::DtUnitConverterCollection::DisplayUnitType, int, int) |
| virtual void | sinkPointRemoved (const DtUUID &) |
| virtual void | sinkPointAdded (const DtUUID &) |
| virtual QString | patternName (const DtString &curName) const |
| virtual void | paletteItemsAdded () |
Protected Attributes | |
| makVrv::DtDe & | myDe |
| bool | myEditing |
| DtEntityCreatePalette * | myEntityPalettePanel |
| DtRwSpawnData | mySpawnData |
| int | myCurrentForce |
| Keep track of the entity type and force selected. More... | |
| DtEntityType | myCurrentEntityType |
| QStringList | myTemplateNamesInUse |
| makVrf::DtIssueEntityPlanWidget * | myPlanWidget |
| makVrv::DtSignalConnectionManager | myConnectionManager |
Dialog to allow user to create a new template.
| makVrf::DtNewSpawnTemplateDialog::DtNewSpawnTemplateDialog | ( | makVrv::DtDe & | de, |
| QWidget * | parent = 0, |
||
| const Qt::WindowFlags & | flags = 0 |
||
| ) |
|
virtual |
|
virtual |
|
virtual |
If resolveDuplicateTemplateName is true, if the template name given is duplicate to ones already set add a new number to the end.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Enables/disables widgets without disabling the main window to allow for plan window to be shown.
|
virtualslot |
Opens a plan widget to allow the user to create a plan to assign to the spawned items.
|
virtualslot |
Add a new type of entity to be spawned.
|
virtualslot |
Edit the type of entity to be spawned.
|
virtualslot |
deletes selected spawn item
|
virtualslot |
enables/disables whether the entities will always be spawned, i.e.
for the duration of the scenario.
|
virtualslot |
enables/disables whether the entities will be spawned for a period of time defined by time of day.
For example entities would begin spawning at a start time of 1PM and would stop spawning at end time 5PM. scenario.
|
virtualslot |
enables/disables whether the entities will be spawned for a period of time defined by simulation time of the scenario.For example, entities would begin spawing at a start time of 5 minutes into the scenario and stop at end time 30 minutes into the scenario.
|
virtualslot |
enables/disables whether the entities will be spawned in bursts during the spawn period
|
virtualslot |
|
virtualslot |
|
virtualslot |
|
virtualslot |
|
virtualslot |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
Calls down to logic to add mapper key to the createItemData.
This represents the type of entity to be create.
|
protectedvirtual |
Returns true if update is valid, false if template name is in use.
|
protectedvirtual |
|
protectedvirtual |
If user hits the esc key, cancel the dialog.
If they hit the ok button, this accepts the dialog.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtualslot |
Updates the status of the buttons inside the dialog.
|
protectedvirtualslot |
Sends a create spawn template message to all the backends.
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
Invoked when the Cancel button of this dialog is pressed.
|
signal |
Sends configured spawn data to parent dialog.
|
signal |
to parent dialog on cancel so it can reenable its buttons
| Ui::DtNewSpawnTemplateDialogUi makVrf::DtNewSpawnTemplateDialog::myUiImpl |
| DtOverlayParentEntryWidget* makVrf::DtNewSpawnTemplateDialog::myOverlayCombo |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Keep track of the entity type and force selected.
|
protected |
|
protected |
|
protected |
|
protected |