VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtObjectsCountTreeWidget.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2011 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: $ $Revision: $ $State: $
7 ******************************************************************************/
8 
12 
13 #pragma once
14 #include <vrvVrlQt/vrvVrlQt.h>
15 
16 #if !defined(Q_MOC_RUN)
19 #endif
20 
21 #include <QtWidgets/QWidget>
22 
23 class QTreeWidget;
24 class QLabel;
25 
26 namespace makVrv
27 {
28  class DtObjectsCountTreeLogic;
29 
33  class DT_DLL_VRVVRLQT DtObjectsCountTreeWidget : public QWidget,
35  {
36  Q_OBJECT
37 
38  public:
39 
41  DtObjectsCountTreeWidget(DtDe& de, QWidget* parent);
42 
44  virtual ~DtObjectsCountTreeWidget();
45 
46  void refresh_widget();
47 
49  void addEntityCounts(const int individuals, const int aggregates);
51  void subtractEntityCounts(const int individuals, const int aggregates);
52  void addDestroyedCounts(const int destroyedEntities, const int destroyedAggregates);
53  void subtractDestroyedCounts(const int individualsDestroyed, const int aggregatesDestroyed);
54  void addTacticalCounts(const int waypoints, const int routes, const int areas, const int obstacles,
55  const int disareas, const int phaselines);
56  void subtractTacticalCount(const DtElementID& id, const DtObjectsCountTreeInterface::TacticalGraphicType tacticalType);
58 
59  protected:
60  void slot_resize(const QRect* size);
61  void subtractOneTactical(const QString& itemName);
62 
63  protected:
71  };
72 }
73 
QTreeWidget * entityListWidget
Definition: DtObjectsCountTreeWidget.h:66
voidpf void uLong size
Definition: ioapi.h:39
#define DT_DLL_VRVVRLQT
Definition: vrvVrlQt.h:19
DtUniqueID DtElementID
The ElementID is a specific type of unique ID used to represent VR-Vantage uniquely defined elements...
Definition: DtUniqueID.h:26
Contains DLL export macros.
QLabel * controlLabel
Definition: DtObjectsCountTreeWidget.h:69
The objects count widget displays count lists for entity and control objects that exist in the attach...
Definition: DtObjectsCountTreeWidget.h:33
Contains makVrv::DtObjectsCountTreeInterface class.
TacticalGraphicType
Enumeration for specifying different types of tactical graphics controls.
Definition: DtObjectsCountTreeInterface.h:30
QLabel * entityLabel
Definition: DtObjectsCountTreeWidget.h:68
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:24
QWidget * entityContainerWidget
Definition: DtObjectsCountTreeWidget.h:64
Contains makVrv::DtObjectsCountTreeLogic class.
DtSignalConnectionManager myManager
Definition: DtObjectsCountTreeWidget.h:70
The interface used by the DtObjectsCountTreeWidget and the DtObjectsCountTreeLogic.
Definition: DtObjectsCountTreeInterface.h:26
QWidget * controlContainerWidget
Definition: DtObjectsCountTreeWidget.h:65
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
QTreeWidget * controlListWidget
Definition: DtObjectsCountTreeWidget.h:67

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)