![]() |
VR-Forces 4.0.4 Class Documentation
|
The objects count widget displays count lists for entity and control objects that exist in the attached scenario. More...

Public Member Functions | |
| DtObjectsCountTreeWidget (DtDe &de, QWidget *parent) | |
| CTOR. | |
| virtual | ~DtObjectsCountTreeWidget () |
| DTOR. | |
| void | refresh_widget () |
| void | addEntityCounts (const int individuals, const int aggregates) |
| Count functions update displayed counts for individual/aggregate entities, and tactical graphics controls. | |
| void | subtractEntityCounts (const int individuals, const int aggregates) |
| Count functions update displayed counts for individual/aggregate entities, and tactical graphics controls. | |
| void | addDestroyedCounts (const int destroyedEntities, const int destroyedAggregates) |
| Count functions update displayed counts for individual/aggregate entities, and tactical graphics controls. | |
| void | subtractDestroyedCounts (const int individualsDestroyed, const int aggregatesDestroyed) |
| Count functions update displayed counts for individual/aggregate entities, and tactical graphics controls. | |
| void | addTacticalCounts (const int waypoints, const int routes, const int areas, const int obstacles, const int disareas, const int phaselines) |
| Count functions update displayed counts for individual/aggregate entities, and tactical graphics controls. | |
| void | subtractTacticalCount (const DtElementID &id, const DtObjectsCountTreeInterface::TacticalGraphicType tacticalType) |
| Count functions update displayed counts for individual/aggregate entities, and tactical graphics controls. | |
Protected Member Functions | |
| void | slot_resize (const QRect *size) |
| void | subtractOneTactical (const QString itemName) |
Protected Attributes | |
| QWidget * | entityContainerWidget |
| QWidget * | controlContainerWidget |
| QTreeWidget * | entityListWidget |
| QTreeWidget * | controlListWidget |
| QLabel * | entityLabel |
| QLabel * | controlLabel |
| DtSignalConnectionManager | myManager |
The objects count widget displays count lists for entity and control objects that exist in the attached scenario.
Entity and control each have their own list widget.
| makVrv::DtObjectsCountTreeWidget::DtObjectsCountTreeWidget | ( | DtDe & | de, |
| QWidget * | parent | ||
| ) |
CTOR.
| virtual makVrv::DtObjectsCountTreeWidget::~DtObjectsCountTreeWidget | ( | ) | [virtual] |
DTOR.
| void makVrv::DtObjectsCountTreeWidget::addEntityCounts | ( | const int | individuals, |
| const int | aggregates | ||
| ) | [virtual] |
Count functions update displayed counts for individual/aggregate entities, and tactical graphics controls.
Implements makVrv::DtObjectsCountTreeInterface.
| void makVrv::DtObjectsCountTreeWidget::subtractEntityCounts | ( | const int | individuals, |
| const int | aggregates | ||
| ) | [virtual] |
Count functions update displayed counts for individual/aggregate entities, and tactical graphics controls.
Implements makVrv::DtObjectsCountTreeInterface.
| void makVrv::DtObjectsCountTreeWidget::addDestroyedCounts | ( | const int | destroyedEntities, |
| const int | destroyedAggregates | ||
| ) | [virtual] |
Count functions update displayed counts for individual/aggregate entities, and tactical graphics controls.
Implements makVrv::DtObjectsCountTreeInterface.
| void makVrv::DtObjectsCountTreeWidget::subtractDestroyedCounts | ( | const int | individualsDestroyed, |
| const int | aggregatesDestroyed | ||
| ) | [virtual] |
Count functions update displayed counts for individual/aggregate entities, and tactical graphics controls.
Implements makVrv::DtObjectsCountTreeInterface.
| void makVrv::DtObjectsCountTreeWidget::addTacticalCounts | ( | const int | waypoints, |
| const int | routes, | ||
| const int | areas, | ||
| const int | obstacles, | ||
| const int | disareas, | ||
| const int | phaselines | ||
| ) | [virtual] |
Count functions update displayed counts for individual/aggregate entities, and tactical graphics controls.
Implements makVrv::DtObjectsCountTreeInterface.
| void makVrv::DtObjectsCountTreeWidget::subtractTacticalCount | ( | const DtElementID & | id, |
| const DtObjectsCountTreeInterface::TacticalGraphicType | tacticalType | ||
| ) | [virtual] |
Count functions update displayed counts for individual/aggregate entities, and tactical graphics controls.
Implements makVrv::DtObjectsCountTreeInterface.
| void makVrv::DtObjectsCountTreeWidget::slot_resize | ( | const QRect * | size | ) | [protected] |
| void makVrv::DtObjectsCountTreeWidget::subtractOneTactical | ( | const QString | itemName | ) | [protected] |
QLabel* makVrv::DtObjectsCountTreeWidget::entityLabel [protected] |
QLabel* makVrv::DtObjectsCountTreeWidget::controlLabel [protected] |