VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
uiSingleSystemElement.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2013 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
10 
11 #pragma once
12 
16 
17 class QComboBox;
19 class QAbstractButton;
20 class QGroupBox;
21 
25 {
26  Q_OBJECT
27 
28 public:
29 
32 
34  virtual ~DtUiSingleSystemElement();
35 
37 
38  virtual void setEnabled(bool);
39 
40 protected:
41  virtual void setFromParameters(const std::vector<DtReaderWriter*>& parentRw);
42 
43  //virtual QWidget* createControls(QWidget*);
44  virtual void createControls(QWidget* parent);
45 
46  virtual void elementChanged();
47 
48  virtual void findAvailableSystems();
49 
50  virtual void processUiEvent(const DtUiElementEvent&);
51  virtual DtRwVariableBindings* systemDescriptorFrom(DtReaderWriter* parentRw, DtFilename* retFilename = 0) const;
52 
53  virtual bool isModified() const;
54  virtual void updateEnableState();
55 
57  virtual DtFilename getSystemFilename() const;
58 
59 protected slots:
60  virtual void openPropertyEditWindow();
61  virtual void dialogClosed();
62 
63 public:
66  QAbstractButton* myPropertiesButton;
67  QAbstractButton* myLaunchOpdEditor;
68  QHBoxLayout* myButtonLayout;
69 
70 protected:
71  std::vector<DtRwVariableBindings*> mySystemDescriptors;
72  std::vector<DtRwVariableBindings*> myBackupSystemDescriptors;
75 
78 };

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)