![]() |
VR-Forces Development_Version Class Documentation
|
This dialog will show indirect artillery objects defined in the scenario, and, allow for the creation, editing or removing of those objects. More...

Public Member Functions | |
| DtIndirectArtilleryWidget (makVrv::DtDe &de, QWidget *parent, const Qt::WindowFlags &flags=0) | |
| virtual | ~DtIndirectArtilleryWidget () |
Public Attributes | |
| Ui_DtIndirectArtilleryWidgetUi | myUiImpl |
Protected Types | |
| typedef std::map < makVrv::DtElementID, QTreeWidgetItem * > | IndirectItemsMap |
Protected Slots | |
| virtual void | itemClicked (QTreeWidgetItem *) |
| Called when an item is selected, enables edit and delete buttons, if item is editable. | |
| virtual void | itemDoubleClicked (QTreeWidgetItem *) |
| Called when an item is double clicked, edits item if editable. | |
| virtual void | createArea () |
| Starts area creation process. | |
| virtual void | deleteArea () |
| Deletes selected area. | |
| virtual void | editArea () |
| Edits selected area. | |
| virtual void | updateButtons (QTreeWidgetItem *) |
| Updates button state based on passed in item. | |
| virtual makVrv::DtElementID | idFromItem (QTreeWidgetItem *) const |
| Returns the element id from the tree widget item. | |
| virtual void | selectionChanged (const makVrv::DtSelectionManager::IdSet &selected, const makVrv::DtSelectionManager::IdSet &deselected) |
| virtual void | onIndirectArtilleryLayerVisibilityChanged () |
| Called when show/hide layer checkbox has been checked – change visibility of layer. | |
Protected Member Functions | |
| virtual void | setupGui () |
| Sets up the UI. Virtual, but, called from constructor. | |
| virtual void | initConnections () |
| Initializes all connections (Qt and boost signals) used by this dialog. | |
| virtual void | slot_indirectArtilleryUpdated (makVrv::DtElementID, const std::string &name, const DtIfIndirectArtilleryData &) |
| Called when an indirect artillery object is added or updated, add or update in dialog. | |
| virtual void | slot_indirectArtilleryRemoved (makVrv::DtElementID) |
| Called when an indirect artillery item is removed, remove from dialog. | |
| virtual void | slot_overlayVisibilityChanged (const std::string &layer, bool) |
| Called when indirect artillery layer visibility has changed. If indirect artillery, set status of check box. | |
| virtual void | slot_overlayAdded (const std::string &) |
| Called when overlay is added. If indirect artillery enable check box. | |
| virtual void | slot_overlayRemoved (const std::string &) |
| Called when overlay is removed. If indirect artillery disable check box. | |
Protected Attributes | |
| makVrv::DtDe & | myDe |
| makVrv::DtSignalConnectionManager | myConnectionManager |
| IndirectItemsMap | myIndirectArtillery |
This dialog will show indirect artillery objects defined in the scenario, and, allow for the creation, editing or removing of those objects.
|
protected |
| makVrf::DtIndirectArtilleryWidget::DtIndirectArtilleryWidget | ( | makVrv::DtDe & | de, |
| QWidget * | parent, | ||
| const Qt::WindowFlags & | flags = 0 |
||
| ) |
|
virtual |
|
protectedvirtual |
Sets up the UI. Virtual, but, called from constructor.
|
protectedvirtual |
Initializes all connections (Qt and boost signals) used by this dialog.
|
protectedvirtual |
Called when an indirect artillery object is added or updated, add or update in dialog.
|
protectedvirtual |
Called when an indirect artillery item is removed, remove from dialog.
|
protectedvirtual |
Called when indirect artillery layer visibility has changed. If indirect artillery, set status of check box.
|
protectedvirtual |
Called when overlay is added. If indirect artillery enable check box.
|
protectedvirtual |
Called when overlay is removed. If indirect artillery disable check box.
|
protectedvirtualslot |
Called when an item is selected, enables edit and delete buttons, if item is editable.
|
protectedvirtualslot |
Called when an item is double clicked, edits item if editable.
|
protectedvirtualslot |
Starts area creation process.
|
protectedvirtualslot |
Deletes selected area.
|
protectedvirtualslot |
Edits selected area.
|
protectedvirtualslot |
Updates button state based on passed in item.
|
protectedvirtualslot |
Returns the element id from the tree widget item.
|
protectedvirtualslot |
|
protectedvirtualslot |
Called when show/hide layer checkbox has been checked – change visibility of layer.
| Ui_DtIndirectArtilleryWidgetUi makVrf::DtIndirectArtilleryWidget::myUiImpl |
|
protected |
|
protected |
|
protected |