VR-Forces 4.3 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
vrvVrlQt
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
#include <
vrvVrlQt/DtObjectsCountTreeInterface.h
>
16
#include <
vrvVrlQt/DtObjectsCountTreeLogic.h
>
17
#include <QtGui/QWidget>
18
19
class
QTreeWidget
;
20
class
QLabel
;
21
22
namespace
makVrv
23
{
24
class
DtObjectsCountTreeLogic;
25
29
class
DT_DLL_VRVVRLQT
DtObjectsCountTreeWidget
:
public
QWidget
,
30
public
DtObjectsCountTreeInterface
31
{
32
Q_OBJECT
33
34
public
:
35
37
DtObjectsCountTreeWidget
(
DtDe
& de,
QWidget
* parent);
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
:
60
QWidget
*
entityContainerWidget
;
61
QWidget
*
controlContainerWidget
;
62
QTreeWidget
*
entityListWidget
;
63
QTreeWidget
*
controlListWidget
;
64
QLabel
*
entityLabel
;
65
QLabel
*
controlLabel
;
66
DtSignalConnectionManager
myManager
;
67
};
68
}
69
Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (
www.mak.com
)