MAK RTIspy API Documentation for HLA Evolved
Home
Modules
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
libsrc
rtiAssistantApp
rtiSelectedNodeWidget.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2012 MaK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: rtiSelectedNodeWidget.h,v $ $Revision: 1.0 $ $State: Exp $
7
*******************************************************************************/
8
#ifndef _rtiSelectedNodeWidget_H_
9
#define _rtiSelectedNodeWidget_H_
10
11
#include <vlutil/vlString.h>
12
#include <QtGui/QWidget>
13
14
class
QLabel
;
15
class
DtClickableLabel
;
16
class
QGridLayout;
17
class
QTreeView;
18
class
QStandardItemModel;
19
class
QStandardItem;
20
class
QPixmap;
21
class
QToolBar;
22
class
QMenu;
23
24
class
DtRtiSelectedNodeWidget
:
public
QWidget
25
{
26
Q_OBJECT
27
28
public
:
30
DtRtiSelectedNodeWidget
(
QWidget
* parent );
31
33
virtual
~DtRtiSelectedNodeWidget
();
34
35
private
:
37
DtRtiSelectedNodeWidget
(
const
DtRtiSelectedNodeWidget
& copy );
38
40
DtRtiSelectedNodeWidget
&
operator =
(
const
DtRtiSelectedNodeWidget
& rhs );
41
42
public
:
43
45
virtual
void
initialize
();
46
48
virtual
QSize
sizeHint
()
const
;
49
51
virtual
void
clearInformation
();
52
54
virtual
void
setNodeNameAndIcon
(
const
MAKRti::DtString& name,
55
const
QPixmap& icon );
56
58
virtual
void
addItem
(
const
QString& attribute,
59
const
QString& val,
const
QColor& colorValue = Qt::black );
60
62
virtual
void
addItem
(
const
QString& attribute,
63
QWidget
* w );
64
67
virtual
void
addSubItem
(
const
QString& val,
68
const
QColor& colorValue = Qt::black );
69
71
virtual
void
removeItem
(
const
QString& attribute );
72
76
virtual
QAction*
addAction
(
const
QString& name,
const
QIcon& icon );
77
80
virtual
void
addAction
( QAction* action );
81
82
signals:
83
85
void
iconChangeRequested
();
86
87
protected
:
88
89
QGridLayout*
myLayout
;
90
DtClickableLabel
*
myNodeIconLabel
;
91
QLabel
*
myNodeIdLabel
;
92
QTreeView*
myTreeView
;
93
QStandardItemModel*
myItemModel
;
94
QStandardItem*
myLastParentItem
;
95
QToolBar*
myToolbar
;
96
};
97
98
99
100
#endif // _rtiSelectedNodeWidget_H_
101
Document ID: Generated on Fri Mar 14 19:08:55 EDT 2014 from SVN revision 137085
Copyright © 2005-2014 VT MÄK Inc. All Rights Reserved (
www.mak.com
)