MAK RTIspy API Documentation for HLA 1516
Home
Modules
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
libsrc
rtiAssistantApp
propertyEditView.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 2006 MaK Technologies, Inc.
3
** All rights reserved.
4
*********************************************************************/
5
/*********************************************************************
6
** $RCSfile: propertyEditView.h,v $ $Revision: 1.25 $ $State: Exp $
7
*********************************************************************/
8
9
#ifndef propertyEditView_H_
10
#define propertyEditView_H_
11
13
14
#include "
propertyListView.h
"
15
#include <QtCore/QObject>
16
17
class
QHBoxLayout;
18
class
QPushButton;
19
class
QTreeWidgetItem
;
20
21
class
DtPropertyEditorWidget
;
22
24
class
DT_DLL_ASSISTANTAPP
DtPropertyEditView
:
public
DtPropertyListView
25
{
26
Q_OBJECT
27
28
Q_PROPERTY(
bool
editable READ editable WRITE setEditable )
29
30
public
:
31
32
DtPropertyEditView
(
QWidget
* p = 0);
33
virtual
~
DtPropertyEditView
();
34
35
virtual
void
setEditable(
bool
);
36
virtual
bool
editable
()
const
{
return
myEditable
; };
37
virtual
void
refresh();
38
40
signals:
41
virtual
void
edited(
QTreeWidgetItem
*);
42
43
44
public
slots:
45
virtual
void
clear();
46
47
protected
slots:
48
virtual
void
slotClicked();
49
virtual
void
slotItemEdited();
50
virtual
void
slotUndoEdit();
51
virtual
void
collapseClicked(
QTreeWidgetItem
*);
52
virtual
void
expandClicked(
QTreeWidgetItem
*);
53
54
protected
:
55
56
virtual
void
init
();
57
virtual
void
focusOutEvent(QFocusEvent * e );
58
59
DtPropertyEditorWidget
*
myEditor
;
60
QHBoxLayout*
myEditorLayout
;
61
62
QString
undoText
;
63
bool
myEditable
;
64
};
65
66
#endif
67
Document ID: Generated on Tue May 7 16:26:47 EDT 2013 from SVN revision 126903
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (
www.mak.com
)