MAK RTIspy API Documentation for HLA Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 
22 
25 {
26  Q_OBJECT
27 
28  Q_PROPERTY( bool editable READ editable WRITE setEditable )
29 
30 public:
31 
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 
60  QHBoxLayout* myEditorLayout;
61 
62  QString undoText;
63  bool myEditable;
64 };
65 
66 #endif
67 
virtual void init()
Contains the DtPropertyListView class declaration.
Definition: propertyEditorWidget.h:53
DtPropertyEditorWidget * myEditor
Definition: propertyEditView.h:59
Definition: propertyEditView.h:24
bool myEditable
Definition: propertyEditView.h:63
QString undoText
Definition: propertyEditView.h:62
A class to display a list (properties) alternating the colors of the rows.
Definition: propertyListView.h:38
virtual bool editable() const
Definition: propertyEditView.h:36
#define DT_DLL_ASSISTANTAPP
Definition: rtiMsConfig.h:151
QHBoxLayout * myEditorLayout
Definition: propertyEditView.h:60
bool myEditable
Definition: propertyListView.h:123

Document ID: Generated on Sun Jul 20 16:15:30 EDT 2025 from SVN revision 277985
Copyright © 2005-2025 MAK Technologies Inc. All Rights Reserved (www.mak.com)