Logic class for display the objects, terrains, observers in the scene in a list. Used by DtObjectsListLogic, DtTerrainListLogic, DtObserversListLogic.
| virtual makVrv::DtItemsListLogic::~DtItemsListLogic |
( |
| ) |
|
|
virtual |
| makVrv::DtItemsListLogic::DtItemsListLogic |
( |
| ) |
|
|
privatedelete |
Unimplemented Default CTOR.
| virtual void makVrv::DtItemsListLogic::setEventObjectType |
( |
const std::string & |
objectType | ) |
|
|
virtual |
Set the object type of the event, used to filter it out from tactical graphics.
| std::string makVrv::DtItemsListLogic::eventObjectType |
( |
| ) |
const |
Get the object type of the event, used to filter it out from tactical graphics.
| void makVrv::DtItemsListLogic::connectSignals |
( |
| ) |
|
|
protected |
Connect the signals, called in the CTOR.
Find the correct index for the subType(Friendly, Opposing, Munitions, etc) top level item.
Find the correct index for the type(Observers, Tactical Graphics, etc) top level item.
| virtual void makVrv::DtItemsListLogic::addElement |
( |
const DtElementEntry & |
element | ) |
|
|
protectedvirtual |
Add an element into the display tree widget.
Get the display name for the element type(Observers, Tactical Graphics, etc).
Get the display name for the element subType(Friendly, Opposing, Munitions, etc).
Get the icon path for the element type top level item(Observers, Tactical Graphics, etc).
Get the icon path for the element subType top level item(Friendly, Opposing, Munitions, etc).
Slot when elements are initialized and be ready to be displayed.
Slot when elements are removed.
Slot when the attributes of the elements are changed.
| virtual void makVrv::DtItemsListLogic::slot_itemAttachRequested |
( |
DtElementID |
id | ) |
|
|
protectedvirtual |
Slot when user double click on the tree widget item.
| virtual void makVrv::DtItemsListLogic::slot__itemSelectionChanged |
( |
const std::vector< DtElementID > & |
idList | ) |
|
|
protectedvirtual |
Slot when the current selection of the tree widget changed.
Slot when the current selection of the tree widget changed.
Get the color of the subType force.
- Parameters
-
| subType | The subtype; |
| r | The red color[0,1]; |
| g | The green color[0,1]; |
| b | The blue color[0,1]; |
| virtual void makVrv::DtItemsListLogic::onDisplayNameChanged |
( |
DtElementEntry * |
entry, |
|
|
const std::string & |
newName |
|
) |
| |
|
protectedvirtual |
Called when the display name of the element changed.
- Parameters
-
| entry | The element. |
| newName | The new display name. |
| virtual void makVrv::DtItemsListLogic::onSubtypeChanged |
( |
DtElementEntry * |
entry, |
|
|
int |
subType |
|
) |
| |
|
protectedvirtual |
Called when the sub type of the element changed.
- Parameters
-
Called when the damage state of the element changed.
- Parameters
-
| friend class DtItemsListLogicCreator |
|
friend |
| DtDe& makVrv::DtItemsListLogic::myDe |
|
protected |
| std::string makVrv::DtItemsListLogic::myEventObjectType |
|
protected |
The documentation for this class was generated from the following file:
- /data/exports/nrhent7-1/nightly/docs/vrForces.vrf5-0-branch/include/vrvCoreQt/DtItemsListLogic.h