QXRD  0.11.16
qxrddetectorconfigurationdialog.h
Go to the documentation of this file.
1 #ifndef QXRDDETECTORCONFIGURATIONDIALOG_H
2 #define QXRDDETECTORCONFIGURATIONDIALOG_H
3 
4 #include <QDialog>
5 #include "ui_qxrddetectorconfigurationdialog.h"
7 
8 class QxrdDetectorConfigurationDialog : public QDialog, public Ui::QxrdDetectorConfigurationDialog
9 {
10  Q_OBJECT
11 
12 public:
13  explicit QxrdDetectorConfigurationDialog(QxrdDetectorProxyPtr proxy, QWidget *parent = 0);
15 
16  void accept();
17 
18  void appendProperty(int type,
19  QString name,
20  QString description,
21  QVariant value);
22 
23  QVariant propertyValue(int propType, int i);
24 
25 protected:
26  void changeEvent(QEvent *e);
27 
28 private slots:
29  void browseToDirectory(int i);
30  void browseToFilename(int i);
31 
32 private:
35  QVector<QWidget*> m_Widgets;
36 };
37 
38 #endif // QXRDDETECTORCONFIGURATIONDIALOG_H
QSharedPointer< QxrdDetectorProxy > QxrdDetectorProxyPtr
QxrdDetectorConfigurationDialog(QxrdDetectorProxyPtr proxy, QWidget *parent=0)
void appendProperty(int type, QString name, QString description, QVariant value)