VR-Forces 4.6.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties 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)
 Call to subtract entity counts from the counts widget.
void addDestroyedCounts (const int destroyedEntities, const int destroyedAggregates)
 Call to add destroyed counts to the counts widget.
void subtractDestroyedCounts (const int individualsDestroyed, const int aggregatesDestroyed)
 Call to subtract destroyed counts from the counts widget.
void addTacticalCounts (const int waypoints, const int routes, const int areas, const int obstacles, const int disareas, const int phaselines)
 Call to add tactical graphics control counts to the counts widget.
void subtractTacticalCount (const DtElementID &id, const DtObjectsCountTreeInterface::TacticalGraphicType tacticalType)
 Call to subtract one tactical graphics control count from the counts widget.
- 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

QWidget * entityContainerWidget
QWidget * controlContainerWidget
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

Call to subtract entity counts from the counts widget.

Implements makVrv::DtObjectsCountTreeInterface.

void makVrv::DtObjectsCountTreeWidget::addDestroyedCounts ( const int  destroyedEntities,
const int  destroyedAggregates 
)
virtual

Call to add destroyed counts to the counts widget.

Implements makVrv::DtObjectsCountTreeInterface.

void makVrv::DtObjectsCountTreeWidget::subtractDestroyedCounts ( const int  individualsDestroyed,
const int  aggregatesDestroyed 
)
virtual

Call to subtract destroyed counts from the counts widget.

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

Call to add tactical graphics control counts to the counts widget.

Implements makVrv::DtObjectsCountTreeInterface.

void makVrv::DtObjectsCountTreeWidget::subtractTacticalCount ( const DtElementID id,
const DtObjectsCountTreeInterface::TacticalGraphicType  tacticalType 
)
virtual

Call to subtract one tactical graphics control count from the counts widget.

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 Wed Jul 25 16:57:45 EDT 2018 from SVN revision 190790
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)