AO4MO
 All Classes Functions Variables Enumerations Enumerator
ui_ao4om.h
1 /********************************************************************************
2 ** Form generated from reading UI file 'ao4om.ui'
3 **
4 ** Created by: Qt User Interface Compiler version 5.0.2
5 **
6 ** WARNING! All changes made in this file will be lost when recompiling UI file!
7 ********************************************************************************/
8 
9 #ifndef UI_AO4OM_H
10 #define UI_AO4OM_H
11 
12 #include <QtCore/QVariant>
13 #include <QtWidgets/QAction>
14 #include <QtWidgets/QApplication>
15 #include <QtWidgets/QButtonGroup>
16 #include <QtWidgets/QComboBox>
17 #include <QtWidgets/QGridLayout>
18 #include <QtWidgets/QGroupBox>
19 #include <QtWidgets/QHBoxLayout>
20 #include <QtWidgets/QHeaderView>
21 #include <QtWidgets/QLabel>
22 #include <QtWidgets/QMainWindow>
23 #include <QtWidgets/QMenu>
24 #include <QtWidgets/QMenuBar>
25 #include <QtWidgets/QPushButton>
26 #include <QtWidgets/QSlider>
27 #include <QtWidgets/QSpacerItem>
28 #include <QtWidgets/QStatusBar>
29 #include <QtWidgets/QToolBar>
30 #include <QtWidgets/QVBoxLayout>
31 #include <QtWidgets/QWidget>
32 #include "moleculerenderer.h"
33 
34 QT_BEGIN_NAMESPACE
35 
37 {
38 public:
39  QAction *actionExit;
40  QAction *actionLoad_Data;
41  QWidget *centralWidget;
42  QHBoxLayout *horizontalLayout;
43  MoleculeRenderer *moleculeRenderer;
44  QVBoxLayout *verticalLayout_2;
45  QGroupBox *atomScale;
46  QVBoxLayout *verticalLayout;
47  QLabel *label;
48  QSlider *horizontalSlider;
49  QGroupBox *groupBox;
50  QVBoxLayout *verticalLayout_3;
51  QLabel *label_2;
52  QSlider *horizontalSlider_2;
53  QLabel *label_3;
54  QSlider *horizontalSlider_3;
55  QGroupBox *groupBox_2;
56  QVBoxLayout *verticalLayout_4;
57  QLabel *label_4;
58  QComboBox *comboBox;
59  QGroupBox *groupBox_3;
60  QVBoxLayout *verticalLayout_5;
61  QLabel *label_5;
62  QSlider *horizontalSlider_4;
63  QLabel *label_6;
64  QSlider *horizontalSlider_5;
65  QLabel *label_7;
66  QSlider *horizontalSlider_6;
67  QLabel *label_8;
68  QSlider *horizontalSlider_7;
69  QGroupBox *groupBox_4;
70  QGridLayout *gridLayout;
71  QLabel *label_9;
72  QLabel *label_10;
73  QSlider *horizontalSlider_8;
74  QSpacerItem *verticalSpacer;
75  QPushButton *pushButton;
76  QMenuBar *menuBar;
77  QMenu *menuMenu;
78  QToolBar *mainToolBar;
79  QStatusBar *statusBar;
80 
81  void setupUi(QMainWindow *AO4OMClass)
82  {
83  if (AO4OMClass->objectName().isEmpty())
84  AO4OMClass->setObjectName(QStringLiteral("AO4OMClass"));
85  AO4OMClass->resize(1163, 757);
86  actionExit = new QAction(AO4OMClass);
87  actionExit->setObjectName(QStringLiteral("actionExit"));
88  actionLoad_Data = new QAction(AO4OMClass);
89  actionLoad_Data->setObjectName(QStringLiteral("actionLoad_Data"));
90  centralWidget = new QWidget(AO4OMClass);
91  centralWidget->setObjectName(QStringLiteral("centralWidget"));
92  horizontalLayout = new QHBoxLayout(centralWidget);
93  horizontalLayout->setSpacing(6);
94  horizontalLayout->setContentsMargins(11, 11, 11, 11);
95  horizontalLayout->setObjectName(QStringLiteral("horizontalLayout"));
96  moleculeRenderer = new MoleculeRenderer(centralWidget);
97  moleculeRenderer->setObjectName(QStringLiteral("moleculeRenderer"));
98  QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Preferred);
99  sizePolicy.setHorizontalStretch(1);
100  sizePolicy.setVerticalStretch(1);
101  sizePolicy.setHeightForWidth(moleculeRenderer->sizePolicy().hasHeightForWidth());
102  moleculeRenderer->setSizePolicy(sizePolicy);
103  moleculeRenderer->setMinimumSize(QSize(400, 400));
104 
105  horizontalLayout->addWidget(moleculeRenderer);
106 
107  verticalLayout_2 = new QVBoxLayout();
108  verticalLayout_2->setSpacing(6);
109  verticalLayout_2->setObjectName(QStringLiteral("verticalLayout_2"));
110  atomScale = new QGroupBox(centralWidget);
111  atomScale->setObjectName(QStringLiteral("atomScale"));
112  atomScale->setFocusPolicy(Qt::WheelFocus);
113  verticalLayout = new QVBoxLayout(atomScale);
114  verticalLayout->setSpacing(6);
115  verticalLayout->setContentsMargins(11, 11, 11, 11);
116  verticalLayout->setObjectName(QStringLiteral("verticalLayout"));
117  label = new QLabel(atomScale);
118  label->setObjectName(QStringLiteral("label"));
119  label->setAlignment(Qt::AlignCenter);
120 
121  verticalLayout->addWidget(label);
122 
123  horizontalSlider = new QSlider(atomScale);
124  horizontalSlider->setObjectName(QStringLiteral("horizontalSlider"));
125  horizontalSlider->setMinimumSize(QSize(90, 0));
126  horizontalSlider->setMinimum(1);
127  horizontalSlider->setMaximum(300);
128  horizontalSlider->setValue(100);
129  horizontalSlider->setOrientation(Qt::Horizontal);
130 
131  verticalLayout->addWidget(horizontalSlider);
132 
133 
134  verticalLayout_2->addWidget(atomScale);
135 
136  groupBox = new QGroupBox(centralWidget);
137  groupBox->setObjectName(QStringLiteral("groupBox"));
138  verticalLayout_3 = new QVBoxLayout(groupBox);
139  verticalLayout_3->setSpacing(6);
140  verticalLayout_3->setContentsMargins(11, 11, 11, 11);
141  verticalLayout_3->setObjectName(QStringLiteral("verticalLayout_3"));
142  label_2 = new QLabel(groupBox);
143  label_2->setObjectName(QStringLiteral("label_2"));
144 
145  verticalLayout_3->addWidget(label_2);
146 
147  horizontalSlider_2 = new QSlider(groupBox);
148  horizontalSlider_2->setObjectName(QStringLiteral("horizontalSlider_2"));
149  horizontalSlider_2->setMinimumSize(QSize(0, 0));
150  horizontalSlider_2->setMaximum(100);
151  horizontalSlider_2->setValue(20);
152  horizontalSlider_2->setOrientation(Qt::Horizontal);
153 
154  verticalLayout_3->addWidget(horizontalSlider_2);
155 
156  label_3 = new QLabel(groupBox);
157  label_3->setObjectName(QStringLiteral("label_3"));
158 
159  verticalLayout_3->addWidget(label_3);
160 
161  horizontalSlider_3 = new QSlider(groupBox);
162  horizontalSlider_3->setObjectName(QStringLiteral("horizontalSlider_3"));
163  horizontalSlider_3->setMaximum(100);
164  horizontalSlider_3->setSliderPosition(20);
165  horizontalSlider_3->setOrientation(Qt::Horizontal);
166 
167  verticalLayout_3->addWidget(horizontalSlider_3);
168 
169 
170  verticalLayout_2->addWidget(groupBox);
171 
172  groupBox_2 = new QGroupBox(centralWidget);
173  groupBox_2->setObjectName(QStringLiteral("groupBox_2"));
174  verticalLayout_4 = new QVBoxLayout(groupBox_2);
175  verticalLayout_4->setSpacing(6);
176  verticalLayout_4->setContentsMargins(11, 11, 11, 11);
177  verticalLayout_4->setObjectName(QStringLiteral("verticalLayout_4"));
178  label_4 = new QLabel(groupBox_2);
179  label_4->setObjectName(QStringLiteral("label_4"));
180 
181  verticalLayout_4->addWidget(label_4);
182 
183  comboBox = new QComboBox(groupBox_2);
184  comboBox->setObjectName(QStringLiteral("comboBox"));
185 
186  verticalLayout_4->addWidget(comboBox);
187 
188 
189  verticalLayout_2->addWidget(groupBox_2);
190 
191  groupBox_3 = new QGroupBox(centralWidget);
192  groupBox_3->setObjectName(QStringLiteral("groupBox_3"));
193  verticalLayout_5 = new QVBoxLayout(groupBox_3);
194  verticalLayout_5->setSpacing(6);
195  verticalLayout_5->setContentsMargins(11, 11, 11, 11);
196  verticalLayout_5->setObjectName(QStringLiteral("verticalLayout_5"));
197  label_5 = new QLabel(groupBox_3);
198  label_5->setObjectName(QStringLiteral("label_5"));
199 
200  verticalLayout_5->addWidget(label_5);
201 
202  horizontalSlider_4 = new QSlider(groupBox_3);
203  horizontalSlider_4->setObjectName(QStringLiteral("horizontalSlider_4"));
204  horizontalSlider_4->setMaximum(100);
205  horizontalSlider_4->setValue(50);
206  horizontalSlider_4->setOrientation(Qt::Horizontal);
207 
208  verticalLayout_5->addWidget(horizontalSlider_4);
209 
210  label_6 = new QLabel(groupBox_3);
211  label_6->setObjectName(QStringLiteral("label_6"));
212 
213  verticalLayout_5->addWidget(label_6);
214 
215  horizontalSlider_5 = new QSlider(groupBox_3);
216  horizontalSlider_5->setObjectName(QStringLiteral("horizontalSlider_5"));
217  horizontalSlider_5->setMaximum(100);
218  horizontalSlider_5->setValue(60);
219  horizontalSlider_5->setOrientation(Qt::Horizontal);
220 
221  verticalLayout_5->addWidget(horizontalSlider_5);
222 
223  label_7 = new QLabel(groupBox_3);
224  label_7->setObjectName(QStringLiteral("label_7"));
225 
226  verticalLayout_5->addWidget(label_7);
227 
228  horizontalSlider_6 = new QSlider(groupBox_3);
229  horizontalSlider_6->setObjectName(QStringLiteral("horizontalSlider_6"));
230  horizontalSlider_6->setMinimum(1);
231  horizontalSlider_6->setMaximum(100);
232  horizontalSlider_6->setValue(30);
233  horizontalSlider_6->setOrientation(Qt::Horizontal);
234 
235  verticalLayout_5->addWidget(horizontalSlider_6);
236 
237  label_8 = new QLabel(groupBox_3);
238  label_8->setObjectName(QStringLiteral("label_8"));
239 
240  verticalLayout_5->addWidget(label_8);
241 
242  horizontalSlider_7 = new QSlider(groupBox_3);
243  horizontalSlider_7->setObjectName(QStringLiteral("horizontalSlider_7"));
244  horizontalSlider_7->setMaximum(100);
245  horizontalSlider_7->setValue(50);
246  horizontalSlider_7->setOrientation(Qt::Horizontal);
247 
248  verticalLayout_5->addWidget(horizontalSlider_7);
249 
250 
251  verticalLayout_2->addWidget(groupBox_3);
252 
253  groupBox_4 = new QGroupBox(centralWidget);
254  groupBox_4->setObjectName(QStringLiteral("groupBox_4"));
255  gridLayout = new QGridLayout(groupBox_4);
256  gridLayout->setSpacing(6);
257  gridLayout->setContentsMargins(11, 11, 11, 11);
258  gridLayout->setObjectName(QStringLiteral("gridLayout"));
259  label_9 = new QLabel(groupBox_4);
260  label_9->setObjectName(QStringLiteral("label_9"));
261 
262  gridLayout->addWidget(label_9, 0, 0, 1, 1);
263 
264  label_10 = new QLabel(groupBox_4);
265  label_10->setObjectName(QStringLiteral("label_10"));
266  label_10->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
267 
268  gridLayout->addWidget(label_10, 0, 1, 1, 1);
269 
270  horizontalSlider_8 = new QSlider(groupBox_4);
271  horizontalSlider_8->setObjectName(QStringLiteral("horizontalSlider_8"));
272  horizontalSlider_8->setMaximum(100);
273  horizontalSlider_8->setOrientation(Qt::Horizontal);
274 
275  gridLayout->addWidget(horizontalSlider_8, 1, 0, 1, 2);
276 
277 
278  verticalLayout_2->addWidget(groupBox_4);
279 
280  verticalSpacer = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
281 
282  verticalLayout_2->addItem(verticalSpacer);
283 
284  pushButton = new QPushButton(centralWidget);
285  pushButton->setObjectName(QStringLiteral("pushButton"));
286 
287  verticalLayout_2->addWidget(pushButton);
288 
289 
290  horizontalLayout->addLayout(verticalLayout_2);
291 
292  AO4OMClass->setCentralWidget(centralWidget);
293  menuBar = new QMenuBar(AO4OMClass);
294  menuBar->setObjectName(QStringLiteral("menuBar"));
295  menuBar->setGeometry(QRect(0, 0, 1163, 21));
296  menuMenu = new QMenu(menuBar);
297  menuMenu->setObjectName(QStringLiteral("menuMenu"));
298  AO4OMClass->setMenuBar(menuBar);
299  mainToolBar = new QToolBar(AO4OMClass);
300  mainToolBar->setObjectName(QStringLiteral("mainToolBar"));
301  AO4OMClass->addToolBar(Qt::TopToolBarArea, mainToolBar);
302  statusBar = new QStatusBar(AO4OMClass);
303  statusBar->setObjectName(QStringLiteral("statusBar"));
304  AO4OMClass->setStatusBar(statusBar);
305 
306  menuBar->addAction(menuMenu->menuAction());
307  menuMenu->addAction(actionLoad_Data);
308  menuMenu->addAction(actionExit);
309 
310  retranslateUi(AO4OMClass);
311  QObject::connect(actionExit, SIGNAL(triggered()), AO4OMClass, SLOT(close()));
312  QObject::connect(actionLoad_Data, SIGNAL(triggered()), moleculeRenderer, SLOT(loadData()));
313  QObject::connect(horizontalSlider, SIGNAL(valueChanged(int)), label, SLOT(setNum(int)));
314  QObject::connect(pushButton, SIGNAL(clicked()), moleculeRenderer, SLOT(loadData()));
315  QObject::connect(horizontalSlider_2, SIGNAL(valueChanged(int)), moleculeRenderer, SLOT(inBorderThickness(int)));
316  QObject::connect(horizontalSlider_3, SIGNAL(valueChanged(int)), moleculeRenderer, SLOT(inBorderDepth(int)));
317  QObject::connect(comboBox, SIGNAL(currentIndexChanged(int)), moleculeRenderer, SLOT(inAOTextureSize(int)));
318  QObject::connect(horizontalSlider_4, SIGNAL(valueChanged(int)), moleculeRenderer, SLOT(inLightAO(int)));
319  QObject::connect(horizontalSlider_5, SIGNAL(valueChanged(int)), moleculeRenderer, SLOT(inLightDiff(int)));
320  QObject::connect(horizontalSlider_6, SIGNAL(valueChanged(int)), moleculeRenderer, SLOT(inLightSpecRad(int)));
321  QObject::connect(horizontalSlider_7, SIGNAL(valueChanged(int)), moleculeRenderer, SLOT(inLightSpecPow(int)));
322  QObject::connect(horizontalSlider, SIGNAL(valueChanged(int)), moleculeRenderer, SLOT(inAtomScale(int)));
323  QObject::connect(horizontalSlider_8, SIGNAL(valueChanged(int)), moleculeRenderer, SLOT(inColorSelect(int)));
324 
325  comboBox->setCurrentIndex(2);
326 
327 
328  QMetaObject::connectSlotsByName(AO4OMClass);
329  } // setupUi
330 
331  void retranslateUi(QMainWindow *AO4OMClass)
332  {
333  AO4OMClass->setWindowTitle(QApplication::translate("AO4OMClass", "AO4OM", 0));
334  actionExit->setText(QApplication::translate("AO4OMClass", "Exit", 0));
335  actionLoad_Data->setText(QApplication::translate("AO4OMClass", "Load Data", 0));
336  atomScale->setTitle(QApplication::translate("AO4OMClass", "Atom Scale in %", 0));
337  label->setText(QApplication::translate("AO4OMClass", "100", 0));
338  groupBox->setTitle(QApplication::translate("AO4OMClass", "Border", 0));
339  label_2->setText(QApplication::translate("AO4OMClass", "Thickness", 0));
340  label_3->setText(QApplication::translate("AO4OMClass", "Depth awareness", 0));
341  groupBox_2->setTitle(QApplication::translate("AO4OMClass", "AO", 0));
342  label_4->setText(QApplication::translate("AO4OMClass", "Texturesize", 0));
343  comboBox->clear();
344  comboBox->insertItems(0, QStringList()
345  << QApplication::translate("AO4OMClass", "256", 0)
346  << QApplication::translate("AO4OMClass", "512", 0)
347  << QApplication::translate("AO4OMClass", "1024", 0)
348  << QApplication::translate("AO4OMClass", "2048", 0)
349  << QApplication::translate("AO4OMClass", "4096", 0)
350  );
351  groupBox_3->setTitle(QApplication::translate("AO4OMClass", "Lighting", 0));
352  label_5->setText(QApplication::translate("AO4OMClass", "AO", 0));
353  label_6->setText(QApplication::translate("AO4OMClass", "Diffus", 0));
354  label_7->setText(QApplication::translate("AO4OMClass", "Specular (radius)", 0));
355  label_8->setText(QApplication::translate("AO4OMClass", "Specular (power)", 0));
356  groupBox_4->setTitle(QApplication::translate("AO4OMClass", "Color", 0));
357  label_9->setText(QApplication::translate("AO4OMClass", "Atom", 0));
358  label_10->setText(QApplication::translate("AO4OMClass", "Chain", 0));
359  pushButton->setText(QApplication::translate("AO4OMClass", "Load Data", 0));
360  menuMenu->setTitle(QApplication::translate("AO4OMClass", "Menu", 0));
361  } // retranslateUi
362 
363 };
364 
365 namespace Ui {
366  class AO4OMClass: public Ui_AO4OMClass {};
367 } // namespace Ui
368 
369 QT_END_NAMESPACE
370 
371 #endif // UI_AO4OM_H