VR-Forces 4.1 Class Documentation
systemPropertyEditDialog.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2007 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: systemPropertyEditDialog.h,v $ $Revision: 1.2 $ $State: Exp $
7 *******************************************************************************/
8 
11 
13 
14 #ifndef systemPropertyEditDialog_h
15 #define systemPropertyEditDialog_h
16 
17 #include <QtGui/QDialog>
18 #include "ui_systemPropertyEditDialogUi.h"
19 #include "vrfutil/rdrWritr.h"
20 #include <vlutil/vlSmartPointers.h>
21 
24 class QPushButton;
25 class DtUiElement;
26 class DtUiElementEvent;
27 
32 
34 
36 {
37  Q_OBJECT
38 public:
39  DtSystemPropertyEditDialog(QWidget* parent, Qt::WindowFlags f = 0);
40 
41  virtual ~DtSystemPropertyEditDialog();
42 
43  virtual void setSystem(DtComponentSystemDescriptor* descriptor,
44  const DtComponentSystemDefinition* definition);
45 
46  virtual void createParameterFrame();
47 
48  virtual void processUiEvent(const DtUiElementEvent&);
49 
51  virtual bool isModified() const;
52 
55  static void registerUiTypes();
56 
57  virtual void accept();
58  virtual void reject();
59 
60 public:
61  virtual int exec();
62  virtual void execModeless(DtUiElement*);
63 
64 protected slots:
65  virtual void uiEventSignaled(const DtUiElementEvent&);
66 
67 signals:
68  void uiEvent(const DtUiElementEvent&);
69  void accepted();
70  void rejected();
71 
72 protected:
73  Ui::DtSystemPropertyEditDialogUi myUiImpl;
74 
77  std::list<DtUiElement*> mySubElements;
78 
81  bool myModeless;
82 };
83 
84 typedef DtBoost::shared_ptr<DtSystemPropertyEditDialog> DtSystemPropertyEditDialogShdPtr;
86 
87 #endif

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)