summaryrefslogtreecommitdiff
path: root/cad/src/analysis/ESP/NanoHiveDialog.py
blob: fca5025bda9b57337e03ed5775b15fc1c0a7c319 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
# -*- coding: utf-8 -*-

# Copyright 2005-2007 Nanorex, Inc.  See LICENSE file for details. 
# Form implementation generated from reading ui file 'NanoHiveDialog.ui'
#
# Created: Wed Sep 20 10:17:46 2006
#      by: PyQt4 UI code generator 4.0.1
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_NanoHiveDialog(object):
    def setupUi(self, NanoHiveDialog):
        NanoHiveDialog.setObjectName("NanoHiveDialog")
        NanoHiveDialog.resize(QtCore.QSize(QtCore.QRect(0,0,355,782).size()).expandedTo(NanoHiveDialog.minimumSizeHint()))
        NanoHiveDialog.setModal(True)

        self.gridlayout = QtGui.QGridLayout(NanoHiveDialog)
        self.gridlayout.setMargin(11)
        self.gridlayout.setSpacing(21)
        self.gridlayout.setObjectName("gridlayout")

        self.hboxlayout = QtGui.QHBoxLayout()
        self.hboxlayout.setMargin(0)
        self.hboxlayout.setSpacing(6)
        self.hboxlayout.setObjectName("hboxlayout")

        self.vboxlayout = QtGui.QVBoxLayout()
        self.vboxlayout.setMargin(0)
        self.vboxlayout.setSpacing(6)
        self.vboxlayout.setObjectName("vboxlayout")

        self.namelbl = QtGui.QLabel(NanoHiveDialog)
        self.namelbl.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.namelbl.setObjectName("namelbl")
        self.vboxlayout.addWidget(self.namelbl)

        self.vboxlayout1 = QtGui.QVBoxLayout()
        self.vboxlayout1.setMargin(0)
        self.vboxlayout1.setSpacing(6)
        self.vboxlayout1.setObjectName("vboxlayout1")

        self.desclbl = QtGui.QLabel(NanoHiveDialog)
        self.desclbl.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.desclbl.setObjectName("desclbl")
        self.vboxlayout1.addWidget(self.desclbl)

        spacerItem = QtGui.QSpacerItem(20,16,QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Expanding)
        self.vboxlayout1.addItem(spacerItem)
        self.vboxlayout.addLayout(self.vboxlayout1)
        self.hboxlayout.addLayout(self.vboxlayout)

        self.vboxlayout2 = QtGui.QVBoxLayout()
        self.vboxlayout2.setMargin(0)
        self.vboxlayout2.setSpacing(6)
        self.vboxlayout2.setObjectName("vboxlayout2")

        self.name_linedit = QtGui.QLineEdit(NanoHiveDialog)
        self.name_linedit.setObjectName("name_linedit")
        self.vboxlayout2.addWidget(self.name_linedit)

        self.description_textedit = QtGui.QTextEdit(NanoHiveDialog)
        self.description_textedit.setMinimumSize(QtCore.QSize(0,0))
        self.description_textedit.setTextFormat(QtCore.Qt.PlainText)
        self.description_textedit.setObjectName("description_textedit")
        self.vboxlayout2.addWidget(self.description_textedit)
        self.hboxlayout.addLayout(self.vboxlayout2)
        self.gridlayout.addLayout(self.hboxlayout,0,0,1,1)

        self.parms_grpbox = QtGui.QGroupBox(NanoHiveDialog)
        self.parms_grpbox.setObjectName("parms_grpbox")

        self.gridlayout1 = QtGui.QGridLayout(self.parms_grpbox)
        self.gridlayout1.setMargin(11)
        self.gridlayout1.setSpacing(6)
        self.gridlayout1.setObjectName("gridlayout1")

        self.hboxlayout1 = QtGui.QHBoxLayout()
        self.hboxlayout1.setMargin(0)
        self.hboxlayout1.setSpacing(6)
        self.hboxlayout1.setObjectName("hboxlayout1")

        self.vboxlayout3 = QtGui.QVBoxLayout()
        self.vboxlayout3.setMargin(0)
        self.vboxlayout3.setSpacing(6)
        self.vboxlayout3.setObjectName("vboxlayout3")

        self.textLabel5 = QtGui.QLabel(self.parms_grpbox)
        self.textLabel5.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.textLabel5.setObjectName("textLabel5")
        self.vboxlayout3.addWidget(self.textLabel5)

        self.textLabel2 = QtGui.QLabel(self.parms_grpbox)
        self.textLabel2.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.textLabel2.setObjectName("textLabel2")
        self.vboxlayout3.addWidget(self.textLabel2)

        self.textLabel3 = QtGui.QLabel(self.parms_grpbox)
        self.textLabel3.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.textLabel3.setObjectName("textLabel3")
        self.vboxlayout3.addWidget(self.textLabel3)
        self.hboxlayout1.addLayout(self.vboxlayout3)

        self.vboxlayout4 = QtGui.QVBoxLayout()
        self.vboxlayout4.setMargin(0)
        self.vboxlayout4.setSpacing(6)
        self.vboxlayout4.setObjectName("vboxlayout4")

        self.nframes_spinbox = QtGui.QSpinBox(self.parms_grpbox)
        self.nframes_spinbox.setMaximum(90000)
        self.nframes_spinbox.setMinimum(1)
        self.nframes_spinbox.setSingleStep(15)
        self.nframes_spinbox.setProperty("value",QtCore.QVariant(900))
        self.nframes_spinbox.setObjectName("nframes_spinbox")
        self.vboxlayout4.addWidget(self.nframes_spinbox)

        self.stepsper_spinbox = QtGui.QSpinBox(self.parms_grpbox)
        self.stepsper_spinbox.setMaximum(99999)
        self.stepsper_spinbox.setMinimum(1)
        self.stepsper_spinbox.setProperty("value",QtCore.QVariant(10))
        self.stepsper_spinbox.setObjectName("stepsper_spinbox")
        self.vboxlayout4.addWidget(self.stepsper_spinbox)

        self.temp_spinbox = QtGui.QSpinBox(self.parms_grpbox)
        self.temp_spinbox.setMaximum(99999)
        self.temp_spinbox.setProperty("value",QtCore.QVariant(300))
        self.temp_spinbox.setObjectName("temp_spinbox")
        self.vboxlayout4.addWidget(self.temp_spinbox)
        self.hboxlayout1.addLayout(self.vboxlayout4)

        self.vboxlayout5 = QtGui.QVBoxLayout()
        self.vboxlayout5.setMargin(0)
        self.vboxlayout5.setSpacing(6)
        self.vboxlayout5.setObjectName("vboxlayout5")

        spacerItem1 = QtGui.QSpacerItem(255,20,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum)
        self.vboxlayout5.addItem(spacerItem1)

        self.textLabel2_2 = QtGui.QLabel(self.parms_grpbox)
        self.textLabel2_2.setObjectName("textLabel2_2")
        self.vboxlayout5.addWidget(self.textLabel2_2)

        self.textLabel3_2 = QtGui.QLabel(self.parms_grpbox)
        self.textLabel3_2.setObjectName("textLabel3_2")
        self.vboxlayout5.addWidget(self.textLabel3_2)
        self.hboxlayout1.addLayout(self.vboxlayout5)
        self.gridlayout1.addLayout(self.hboxlayout1,0,0,1,1)
        self.gridlayout.addWidget(self.parms_grpbox,1,0,1,1)

        self.buttonGroup1 = QtGui.QGroupBox(NanoHiveDialog)
        self.buttonGroup1.setObjectName("buttonGroup1")

        self.gridlayout2 = QtGui.QGridLayout(self.buttonGroup1)
        self.gridlayout2.setMargin(11)
        self.gridlayout2.setSpacing(6)
        self.gridlayout2.setObjectName("gridlayout2")

        self.hboxlayout2 = QtGui.QHBoxLayout()
        self.hboxlayout2.setMargin(0)
        self.hboxlayout2.setSpacing(6)
        self.hboxlayout2.setObjectName("hboxlayout2")

        self.MPQC_GD_checkbox = QtGui.QCheckBox(self.buttonGroup1)
        self.MPQC_GD_checkbox.setObjectName("MPQC_GD_checkbox")
        self.hboxlayout2.addWidget(self.MPQC_GD_checkbox)

        self.MPQC_GD_options_btn = QtGui.QPushButton(self.buttonGroup1)
        self.MPQC_GD_options_btn.setEnabled(False)
        self.MPQC_GD_options_btn.setObjectName("MPQC_GD_options_btn")
        self.hboxlayout2.addWidget(self.MPQC_GD_options_btn)
        self.gridlayout2.addLayout(self.hboxlayout2,1,0,1,1)

        self.hboxlayout3 = QtGui.QHBoxLayout()
        self.hboxlayout3.setMargin(0)
        self.hboxlayout3.setSpacing(6)
        self.hboxlayout3.setObjectName("hboxlayout3")

        self.MPQC_ESP_checkbox = QtGui.QCheckBox(self.buttonGroup1)
        self.MPQC_ESP_checkbox.setObjectName("MPQC_ESP_checkbox")
        self.hboxlayout3.addWidget(self.MPQC_ESP_checkbox)

        self.ESP_image_combox = QtGui.QComboBox(self.buttonGroup1)
        self.ESP_image_combox.setEnabled(False)
        self.ESP_image_combox.setObjectName("ESP_image_combox")
        self.hboxlayout3.addWidget(self.ESP_image_combox)
        self.gridlayout2.addLayout(self.hboxlayout3,0,0,1,1)

        self.AIREBO_checkbox = QtGui.QCheckBox(self.buttonGroup1)
        self.AIREBO_checkbox.setObjectName("AIREBO_checkbox")
        self.gridlayout2.addWidget(self.AIREBO_checkbox,2,0,1,1)
        self.gridlayout.addWidget(self.buttonGroup1,2,0,1,1)

        self.buttonGroup1_2 = QtGui.QGroupBox(NanoHiveDialog)
        self.buttonGroup1_2.setObjectName("buttonGroup1_2")

        self.vboxlayout6 = QtGui.QVBoxLayout(self.buttonGroup1_2)
        self.vboxlayout6.setMargin(11)
        self.vboxlayout6.setSpacing(6)
        self.vboxlayout6.setObjectName("vboxlayout6")

        self.Measurements_to_File_checkbox = QtGui.QCheckBox(self.buttonGroup1_2)
        self.Measurements_to_File_checkbox.setObjectName("Measurements_to_File_checkbox")
        self.vboxlayout6.addWidget(self.Measurements_to_File_checkbox)

        self.POVRayVideo_checkbox = QtGui.QCheckBox(self.buttonGroup1_2)
        self.POVRayVideo_checkbox.setObjectName("POVRayVideo_checkbox")
        self.vboxlayout6.addWidget(self.POVRayVideo_checkbox)
        self.gridlayout.addWidget(self.buttonGroup1_2,3,0,1,1)

        self.nh_instance_grpbox = QtGui.QGroupBox(NanoHiveDialog)
        self.nh_instance_grpbox.setObjectName("nh_instance_grpbox")

        self.gridlayout3 = QtGui.QGridLayout(self.nh_instance_grpbox)
        self.gridlayout3.setMargin(11)
        self.gridlayout3.setSpacing(6)
        self.gridlayout3.setObjectName("gridlayout3")

        self.nh_instance_combox = QtGui.QComboBox(self.nh_instance_grpbox)
        self.nh_instance_combox.setObjectName("nh_instance_combox")
        self.gridlayout3.addWidget(self.nh_instance_combox,0,0,1,1)

        spacerItem2 = QtGui.QSpacerItem(40,20,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum)
        self.gridlayout3.addItem(spacerItem2,0,1,1,1)
        self.gridlayout.addWidget(self.nh_instance_grpbox,4,0,1,1)

        spacerItem3 = QtGui.QSpacerItem(20,16,QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Expanding)
        self.gridlayout.addItem(spacerItem3,5,0,1,1)

        self.hboxlayout4 = QtGui.QHBoxLayout()
        self.hboxlayout4.setMargin(0)
        self.hboxlayout4.setSpacing(6)
        self.hboxlayout4.setObjectName("hboxlayout4")

        self.run_sim_btn = QtGui.QPushButton(NanoHiveDialog)
        self.run_sim_btn.setDefault(True)
        self.run_sim_btn.setObjectName("run_sim_btn")
        self.hboxlayout4.addWidget(self.run_sim_btn)

        self.cancel_btn = QtGui.QPushButton(NanoHiveDialog)
        self.cancel_btn.setDefault(False)
        self.cancel_btn.setObjectName("cancel_btn")
        self.hboxlayout4.addWidget(self.cancel_btn)
        self.gridlayout.addLayout(self.hboxlayout4,6,0,1,1)

        self.retranslateUi(NanoHiveDialog)
        QtCore.QObject.connect(self.run_sim_btn,QtCore.SIGNAL("clicked()"),NanoHiveDialog.accept)
        QtCore.QObject.connect(self.cancel_btn,QtCore.SIGNAL("clicked()"),NanoHiveDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(NanoHiveDialog)

    def retranslateUi(self, NanoHiveDialog):
        NanoHiveDialog.setWindowTitle(QtGui.QApplication.translate("NanoHiveDialog", "Nano-Hive Setup", None, QtGui.QApplication.UnicodeUTF8))
        self.namelbl.setText(QtGui.QApplication.translate("NanoHiveDialog", "Name :", None, QtGui.QApplication.UnicodeUTF8))
        self.desclbl.setText(QtGui.QApplication.translate("NanoHiveDialog", "Description :", None, QtGui.QApplication.UnicodeUTF8))
        self.parms_grpbox.setTitle(QtGui.QApplication.translate("NanoHiveDialog", "Parameters", None, QtGui.QApplication.UnicodeUTF8))
        self.textLabel5.setText(QtGui.QApplication.translate("NanoHiveDialog", "Total Frames:", None, QtGui.QApplication.UnicodeUTF8))
        self.textLabel2.setText(QtGui.QApplication.translate("NanoHiveDialog", "Steps per Frame :", None, QtGui.QApplication.UnicodeUTF8))
        self.textLabel3.setText(QtGui.QApplication.translate("NanoHiveDialog", "Temperature :", None, QtGui.QApplication.UnicodeUTF8))
        self.textLabel2_2.setText(QtGui.QApplication.translate("NanoHiveDialog", "0.1 femtosecond", None, QtGui.QApplication.UnicodeUTF8))
        self.textLabel3_2.setText(QtGui.QApplication.translate("NanoHiveDialog", "Kelvin", None, QtGui.QApplication.UnicodeUTF8))
        self.buttonGroup1.setTitle(QtGui.QApplication.translate("NanoHiveDialog", "Physical Interaction Plugins", None, QtGui.QApplication.UnicodeUTF8))
        self.MPQC_GD_checkbox.setText(QtGui.QApplication.translate("NanoHiveDialog", "MPQC - Gradient Dynamics", None, QtGui.QApplication.UnicodeUTF8))
        self.MPQC_GD_options_btn.setText(QtGui.QApplication.translate("NanoHiveDialog", "Options...", None, QtGui.QApplication.UnicodeUTF8))
        self.MPQC_ESP_checkbox.setText(QtGui.QApplication.translate("NanoHiveDialog", "MPQC - ESP Plane", None, QtGui.QApplication.UnicodeUTF8))
        self.ESP_image_combox.addItem(QtGui.QApplication.translate("NanoHiveDialog", "(No ESP Image jigs)", None, QtGui.QApplication.UnicodeUTF8))
        self.AIREBO_checkbox.setText(QtGui.QApplication.translate("NanoHiveDialog", "AIREBO", None, QtGui.QApplication.UnicodeUTF8))
        self.buttonGroup1_2.setTitle(QtGui.QApplication.translate("NanoHiveDialog", "Results Plugins", None, QtGui.QApplication.UnicodeUTF8))
        self.Measurements_to_File_checkbox.setText(QtGui.QApplication.translate("NanoHiveDialog", "Measurement Set to File", None, QtGui.QApplication.UnicodeUTF8))
        self.POVRayVideo_checkbox.setText(QtGui.QApplication.translate("NanoHiveDialog", "POV-Ray Video", None, QtGui.QApplication.UnicodeUTF8))
        self.nh_instance_grpbox.setTitle(QtGui.QApplication.translate("NanoHiveDialog", "Nano-Hive Instance", None, QtGui.QApplication.UnicodeUTF8))
        self.nh_instance_combox.addItem(QtGui.QApplication.translate("NanoHiveDialog", "My Computer", None, QtGui.QApplication.UnicodeUTF8))
        self.run_sim_btn.setText(QtGui.QApplication.translate("NanoHiveDialog", "Run Simulation", None, QtGui.QApplication.UnicodeUTF8))
        self.cancel_btn.setText(QtGui.QApplication.translate("NanoHiveDialog", "Cancel", None, QtGui.QApplication.UnicodeUTF8))