VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes
makVrv::DtObjectsCountTreeWidget Class Reference

The objects count widget displays count lists for entity and control objects that exist in the attached scenario. More...

Inheritance diagram for makVrv::DtObjectsCountTreeWidget:
Inheritance graph
[legend]

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.
- Public Member Functions inherited from makVrv::DtObjectsCountTreeInterface
 DtObjectsCountTreeInterface ()
 Default constructor for objects count panel interface - currently does nothing.
virtual ~DtObjectsCountTreeInterface ()
 Default destructor for objects count panel interface - currently does nothing.

Protected Member Functions

void slot_resize (const QRect *size)
void subtractOneTactical (const QString itemName)

Protected Attributes

QWidgetentityContainerWidget
QWidgetcontrolContainerWidget
QTreeWidgetentityListWidget
QTreeWidgetcontrolListWidget
QLabelentityLabel
QLabelcontrolLabel
DtSignalConnectionManager myManager

Additional Inherited Members

- Public Types inherited from makVrv::DtObjectsCountTreeInterface
enum  TacticalGraphicType {
  WayPoint, Route, ControlArea, Obstacle,
  DisaggregationArea, PhaseLine, None
}
 Enumeration for specifying different types of tactical graphics controls. More...

Detailed Description

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.

Constructor & Destructor Documentation

makVrv::DtObjectsCountTreeWidget::DtObjectsCountTreeWidget ( DtDe de,
QWidget parent 
)

CTOR.

virtual makVrv::DtObjectsCountTreeWidget::~DtObjectsCountTreeWidget ( )
virtual

DTOR.

Member Function Documentation

void makVrv::DtObjectsCountTreeWidget::refresh_widget ( )
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

Member Data Documentation

QWidget* makVrv::DtObjectsCountTreeWidget::entityContainerWidget
protected
QWidget* makVrv::DtObjectsCountTreeWidget::controlContainerWidget
protected
QTreeWidget* makVrv::DtObjectsCountTreeWidget::entityListWidget
protected
QTreeWidget* makVrv::DtObjectsCountTreeWidget::controlListWidget
protected
QLabel* makVrv::DtObjectsCountTreeWidget::entityLabel
protected
QLabel* makVrv::DtObjectsCountTreeWidget::controlLabel
protected
DtSignalConnectionManager makVrv::DtObjectsCountTreeWidget::myManager
protected

The documentation for this class was generated from the following file:

Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)