VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
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 Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (
www.mak.com
)