VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator 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>
17 #include <QtGui/QWidget>
18 
19 class QTreeWidget;
20 class QLabel;
21 
22 namespace makVrv
23 {
24  class DtObjectsCountTreeLogic;
25 
31  {
32  Q_OBJECT
33 
34  public:
35 
38 
40  virtual ~DtObjectsCountTreeWidget();
41 
42  void refresh_widget();
43 
45 
46  void addEntityCounts(const int individuals, const int aggregates);
47  void subtractEntityCounts(const int individuals, const int aggregates);
48  void addDestroyedCounts(const int destroyedEntities, const int destroyedAggregates);
49  void subtractDestroyedCounts(const int individualsDestroyed, const int aggregatesDestroyed);
50  void addTacticalCounts(const int waypoints, const int routes, const int areas, const int obstacles,
51  const int disareas, const int phaselines);
52  void subtractTacticalCount(const DtElementID& id, const DtObjectsCountTreeInterface::TacticalGraphicType tacticalType);
54 
55  protected:
56  void slot_resize(const QRect* size);
57  void subtractOneTactical(const QString itemName);
58 
59  protected:
67  };
68 }
69 

Document ID: Generated on Mon Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)