MobileRT  1.0
A multi platform C++ CPU progressive Ray Tracer.
ui_config.h
Go to the documentation of this file.
1 /********************************************************************************
2 ** Form generated from reading UI file 'config.ui'
3 **
4 ** Created by: Qt User Interface Compiler version 4.8.7
5 **
6 ** WARNING! All changes made in this file will be lost when recompiling UI file!
7 ********************************************************************************/
8 
9 #ifndef UI_CONFIG_H
10 #define UI_CONFIG_H
11 
12 #include <QtCore/QVariant>
13 #include <QAction>
14 #include <QApplication>
15 #include <QButtonGroup>
16 #include <QDialog>
17 #include <QDialogButtonBox>
18 #include <QHeaderView>
19 #include <QLabel>
20 #include <QSpinBox>
21 #include <QToolButton>
22 
23 QT_BEGIN_NAMESPACE
24 
25 class Ui_Config
26 {
27 public:
28  QDialogButtonBox *buttonBox;
29  QToolButton *shaderButton;
30  QLabel *shaderLabel;
32  QToolButton *acceleratorButton;
33  QLabel *sceneLabel;
34  QToolButton *sceneButton;
35  QSpinBox *sppSpinBox;
36  QLabel *sppLabel;
37  QLabel *splLabel;
38  QSpinBox *splSpinBox;
39 
40  void setupUi(QDialog *Config)
41  {
42  if (Config->objectName().isEmpty())
43  Config->setObjectName(QString::fromUtf8("Config"));
44  Config->resize(400, 300);
45  buttonBox = new QDialogButtonBox(Config);
46  buttonBox->setObjectName(QString::fromUtf8("buttonBox"));
47  buttonBox->setGeometry(QRect(30, 240, 341, 32));
48  buttonBox->setOrientation(Qt::Horizontal);
49  buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
50  shaderButton = new QToolButton(Config);
51  shaderButton->setObjectName(QString::fromUtf8("shaderButton"));
52  shaderButton->setGeometry(QRect(240, 20, 150, 30));
53  shaderButton->setAcceptDrops(false);
54  shaderButton->setAutoRepeatDelay(300);
55  shaderButton->setAutoRepeatInterval(100);
56  shaderButton->setPopupMode(QToolButton::InstantPopup);
57  shaderLabel = new QLabel(Config);
58  shaderLabel->setObjectName(QString::fromUtf8("shaderLabel"));
59  shaderLabel->setGeometry(QRect(40, 30, 61, 21));
60  acceleratorLabel = new QLabel(Config);
61  acceleratorLabel->setObjectName(QString::fromUtf8("acceleratorLabel"));
62  acceleratorLabel->setGeometry(QRect(10, 70, 191, 21));
63  acceleratorButton = new QToolButton(Config);
64  acceleratorButton->setObjectName(QString::fromUtf8("acceleratorButton"));
65  acceleratorButton->setGeometry(QRect(240, 70, 151, 28));
66  acceleratorButton->setPopupMode(QToolButton::InstantPopup);
67  sceneLabel = new QLabel(Config);
68  sceneLabel->setObjectName(QString::fromUtf8("sceneLabel"));
69  sceneLabel->setGeometry(QRect(50, 120, 61, 21));
70  sceneButton = new QToolButton(Config);
71  sceneButton->setObjectName(QString::fromUtf8("sceneButton"));
72  sceneButton->setGeometry(QRect(240, 120, 151, 28));
73  sceneButton->setPopupMode(QToolButton::InstantPopup);
74  sppSpinBox = new QSpinBox(Config);
75  sppSpinBox->setObjectName(QString::fromUtf8("sppSpinBox"));
76  sppSpinBox->setGeometry(QRect(240, 160, 151, 30));
77  sppLabel = new QLabel(Config);
78  sppLabel->setObjectName(QString::fromUtf8("sppLabel"));
79  sppLabel->setGeometry(QRect(30, 160, 161, 21));
80  splLabel = new QLabel(Config);
81  splLabel->setObjectName(QString::fromUtf8("splLabel"));
82  splLabel->setGeometry(QRect(30, 200, 161, 21));
83  splSpinBox = new QSpinBox(Config);
84  splSpinBox->setObjectName(QString::fromUtf8("splSpinBox"));
85  splSpinBox->setGeometry(QRect(240, 200, 151, 30));
86 
87  retranslateUi(Config);
88  QObject::connect(buttonBox, SIGNAL(accepted()), Config, SLOT(accept()));
89  QObject::connect(buttonBox, SIGNAL(rejected()), Config, SLOT(reject()));
90  QObject::connect(shaderButton, SIGNAL(triggered(QAction*)), Config, SLOT(selected_shader(QAction*)));
91  QObject::connect(acceleratorButton, SIGNAL(triggered(QAction*)), Config, SLOT(selected_accelerator(QAction*)));
92  QObject::connect(sceneButton, SIGNAL(triggered(QAction*)), Config, SLOT(selected_scene(QAction*)));
93  QObject::connect(sppSpinBox, SIGNAL(valueChanged(int)), Config, SLOT(selected_spp(int)));
94  QObject::connect(splSpinBox, SIGNAL(valueChanged(int)), Config, SLOT(selected_spl(int)));
95 
96  QMetaObject::connectSlotsByName(Config);
97  } // setupUi
98 
99  void retranslateUi(QDialog *Config)
100  {
101  Config->setWindowTitle(QApplication::translate("Config", "Dialog", 0));
102  shaderButton->setText(QApplication::translate("Config", "Shader", 0));
103  shaderLabel->setText(QApplication::translate("Config", "Shader", 0));
104  acceleratorLabel->setText(QApplication::translate("Config", "Acceleration Structure", 0));
105  acceleratorButton->setText(QApplication::translate("Config", "Accelerator", 0));
106  sceneLabel->setText(QApplication::translate("Config", "Scene", 0));
107  sceneButton->setText(QApplication::translate("Config", "Scene", 0));
108  sppLabel->setText(QApplication::translate("Config", "Samples per pixel", 0));
109  splLabel->setText(QApplication::translate("Config", "Samples per light", 0));
110  } // retranslateUi
111 
112 };
113 
114 namespace Ui {
115  class Config: public Ui_Config {};
116 } // namespace Ui
117 
118 QT_END_NAMESPACE
119 
120 #endif // UI_CONFIG_H
QLabel * splLabel
Definition: ui_config.h:37
QLabel * sppLabel
Definition: ui_config.h:36
QToolButton * acceleratorButton
Definition: ui_config.h:32
void setupUi(QDialog *Config)
Definition: ui_config.h:40
Definition: ui_about.h:63
QToolButton * shaderButton
Definition: ui_config.h:29
QToolButton * sceneButton
Definition: ui_config.h:34
QLabel * sceneLabel
Definition: ui_config.h:33
Definition: config.h:10
QLabel * shaderLabel
Definition: ui_config.h:30
Definition: ui_config.h:115
QSpinBox * splSpinBox
Definition: ui_config.h:38
Definition: ui_config.h:25
QSpinBox * sppSpinBox
Definition: ui_config.h:35
void retranslateUi(QDialog *Config)
Definition: ui_config.h:99
QLabel * acceleratorLabel
Definition: ui_config.h:31
QDialogButtonBox * buttonBox
Definition: ui_config.h:28