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 |
( |
| ) |
|
|
delete |
Not allowed - copy CTOR and assignment operator.
Not allowed - copy CTOR and assignment operator.
Not allowed - copy CTOR and assignment operator.
| 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.
| virtual std::string makVrv::DtItemsListLogic::eventObjectType |
( |
| ) |
const |
|
virtual |
Get the object type of the event, used to filter it out from tactical graphics.
| virtual void makVrv::DtItemsListLogic::connectSignals |
( |
| ) |
|
|
protectedvirtual |
Connect the signals, called in the CTOR.
| virtual void makVrv::DtItemsListLogic::connectPostInitSignals |
( |
| ) |
|
|
protectedvirtual |
Connect signals that require the IG to be initialized (called lazily from slot_elementsInitialized).
| virtual void makVrv::DtItemsListLogic::slot_milSymbolStandardChanged |
( |
DtSymbologyStandard |
standard | ) |
|
|
protectedvirtual |
Respond to MIL symbol standard changes: notify the mapper and refresh all icons.
| virtual void makVrv::DtItemsListLogic::slot_colorSymbolByForceChanged |
( |
bool |
enabled | ) |
|
|
protectedvirtual |
Respond to color by force setting changes: refresh all icons if enabled, or reset to default icons if disabled.
| virtual void makVrv::DtItemsListLogic::slot_symbolOutlineColorOverrideChanged |
( |
bool |
enabled, |
|
|
const DtColorValue & |
outline, |
|
|
const DtColorValue & |
highlight |
|
) |
| |
|
protectedvirtual |
Respond to outline color override changes: clear icon cache and refresh all icons.
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]; |
| a | The alpha value[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
-
| virtual void makVrv::DtItemsListLogic::onIconRequiredUpdate |
( |
DtElementEntry * |
entry | ) |
|
|
protectedvirtual |
Called when the damage state of the element changed.
- Parameters
-
Not allowed - copy CTOR and assignment operator.
Not allowed - copy CTOR and assignment operator.
| friend class DtItemsListLogicCreator |
|
friend |
| DtDe& makVrv::DtItemsListLogic::myDe |
|
protected |
| std::string makVrv::DtItemsListLogic::myEventObjectType |
|
protected |
| boost::signalslib::connection makVrv::DtItemsListLogic::myPostInitializeConnection |
|
protected |
The documentation for this class was generated from the following file:
- /data/exports/nrhent7-1/nightly/docs/vrForces.vrf5-3-branch/include/vrvCoreQt/DtItemsListLogic.h