VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtEnvironmentConditionsDialog.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2013 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvCoreQt/vrvCoreQt.h>
13 
14 #include <QtCore/QString>
15 #include <QtCore/QStringList>
16 
17 #include <QtWidgets/QDialog>
18 
19 class QComboBox;
20 class QDialogButtonBox;
21 class QHBoxLayout;
22 class QLabel;
23 class QLineEdit;
24 
25 
26 namespace makVrv
27 {
28 
29  class DtDe;
30 
39  {
40  Q_OBJECT;
41 
42  public:
50  const QString& name, const QStringList& excludeNames,
51  QWidget* parent = NULL, Qt::WindowFlags flags = Qt::Widget|Qt::Tool);
52 
60  DtEnvironmentConditionsDialog(DtDe& de, const QString& name,
61  const QString& defName, QStringList nameList,
62  QWidget* parent = NULL, Qt::WindowFlags flags = Qt::Widget|Qt::Tool);
63 
66 
68  const QString& name() const;
69 
73  QLabel& descriptionLabel() const;
74  QLabel& widgetLabel() const;
75  QLineEdit& editorWidget() const;
76  QComboBox& selectorWidget() const;
78 
79  protected slots:
80 
83  virtual void onNameEdited(const QString& text);
84  virtual void onNameSelected(const QString& text);
86 
87  private:
90  void setupLayouts(QHBoxLayout* controlLayout);
91 
92  protected:
94 
99 
100  QDialogButtonBox* mySelectionButtons;
101  QStringList myExcludeList;
102 
103  QString myNameString;
104  };
105 
106 }

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)