-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpybraneui.py
676 lines (664 loc) · 52.1 KB
/
pybraneui.py
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
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'pybrane2.ui'
#
# Created by: PyQt5 UI code generator 5.15.10
#
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again. Do not edit this file unless you know what you are doing.
import sys
from PyQt5.QtWidgets import QDialog, QApplication, QPushButton, QVBoxLayout
from matplotlib.backends.backend_qt5agg import FigureCanvasQTAgg as FigureCanvas
from matplotlib.backends.backend_qt5agg import NavigationToolbar2QT as NavigationToolbar
import matplotlib.pyplot as plt
import random
from graphs_generic import genericGraph
from PyQt5 import QtCore, QtGui, QtWidgets
from opengl_generic import genericOpenGLWidget
from PyQt5.QtSvg import QSvgWidget
class Ui_MainWindow(object):
def setupUi(self, MainWindow):
MainWindow.setObjectName("MainWindow")
MainWindow.resize(1045, 582)
MainWindow.setDockNestingEnabled(False)
self.centralwidget = QtWidgets.QWidget(MainWindow)
self.centralwidget.setObjectName("centralwidget")
self.gridLayout_7 = QtWidgets.QGridLayout(self.centralwidget)
self.gridLayout_7.setObjectName("gridLayout_7")
self.files_widget = QtWidgets.QTabWidget(self.centralwidget)
self.files_widget.setObjectName("files_widget")
self.files_tab = QtWidgets.QWidget()
self.files_tab.setObjectName("files_tab")
self.gridLayout_2 = QtWidgets.QGridLayout(self.files_tab)
self.gridLayout_2.setObjectName("gridLayout_2")
self.textBrowser_17 = QtWidgets.QTextBrowser(self.files_tab)
self.textBrowser_17.setObjectName("textBrowser_17")
self.gridLayout_2.addWidget(self.textBrowser_17, 0, 0, 1, 2)
self.lineEdit_3 = QtWidgets.QLineEdit(self.files_tab)
self.lineEdit_3.setObjectName("lineEdit_3")
self.gridLayout_2.addWidget(self.lineEdit_3, 1, 0, 1, 2)
self.label_11 = QtWidgets.QLabel(self.files_tab)
self.label_11.setObjectName("label_11")
self.gridLayout_2.addWidget(self.label_11, 2, 0, 1, 1)
self.pushButton_26 = QtWidgets.QPushButton(self.files_tab)
self.pushButton_26.setObjectName("pushButton_26")
self.gridLayout_2.addWidget(self.pushButton_26, 2, 1, 1, 1)
self.label_12 = QtWidgets.QLabel(self.files_tab)
self.label_12.setObjectName("label_12")
self.gridLayout_2.addWidget(self.label_12, 3, 0, 1, 1)
self.pushButton_25 = QtWidgets.QPushButton(self.files_tab)
self.pushButton_25.setObjectName("pushButton_25")
self.gridLayout_2.addWidget(self.pushButton_25, 3, 1, 1, 1)
self.label_13 = QtWidgets.QLabel(self.files_tab)
self.label_13.setObjectName("label_13")
self.gridLayout_2.addWidget(self.label_13, 4, 0, 1, 1)
self.pushButton_24 = QtWidgets.QPushButton(self.files_tab)
self.pushButton_24.setObjectName("pushButton_24")
self.gridLayout_2.addWidget(self.pushButton_24, 4, 1, 1, 1)
self.label_14 = QtWidgets.QLabel(self.files_tab)
self.label_14.setObjectName("label_14")
self.gridLayout_2.addWidget(self.label_14, 5, 0, 1, 1)
self.pushButton_23 = QtWidgets.QPushButton(self.files_tab)
self.pushButton_23.setObjectName("pushButton_23")
self.gridLayout_2.addWidget(self.pushButton_23, 5, 1, 1, 1)
self.lineEdit_4 = QtWidgets.QLineEdit(self.files_tab)
self.lineEdit_4.setObjectName("lineEdit_4")
self.gridLayout_2.addWidget(self.lineEdit_4, 6, 0, 1, 2)
self.textBrowser_18 = QtWidgets.QTextBrowser(self.files_tab)
self.textBrowser_18.setObjectName("textBrowser_18")
self.gridLayout_2.addWidget(self.textBrowser_18, 7, 0, 1, 2)
self.files_widget.addTab(self.files_tab, "")
self.shell_tab = QtWidgets.QWidget()
self.shell_tab.setObjectName("shell_tab")
self.gridLayout_3 = QtWidgets.QGridLayout(self.shell_tab)
self.gridLayout_3.setObjectName("gridLayout_3")
self.textBrowser_13 = QtWidgets.QTextBrowser(self.shell_tab)
self.textBrowser_13.setObjectName("textBrowser_13")
self.gridLayout_3.addWidget(self.textBrowser_13, 0, 0, 1, 2)
self.lineEdit_2 = QtWidgets.QLineEdit(self.shell_tab)
self.lineEdit_2.setObjectName("lineEdit_2")
self.gridLayout_3.addWidget(self.lineEdit_2, 1, 0, 1, 1)
self.pushButton_16 = QtWidgets.QPushButton(self.shell_tab)
self.pushButton_16.setObjectName("pushButton_16")
self.gridLayout_3.addWidget(self.pushButton_16, 1, 1, 1, 1)
self.files_widget.addTab(self.shell_tab, "")
self.gridLayout_7.addWidget(self.files_widget, 0, 0, 2, 1)
self.michaelwidget = QtWidgets.QTabWidget(self.centralwidget)
self.michaelwidget.setObjectName("michaelwidget")
self.tab_9 = QtWidgets.QWidget()
self.tab_9.setObjectName("tab_9")
self.gridLayout_8 = QtWidgets.QGridLayout(self.tab_9)
self.gridLayout_8.setObjectName("gridLayout_8")
self.textBrowser_3 = QtWidgets.QTextBrowser(self.tab_9)
self.textBrowser_3.setObjectName("textBrowser_3")
self.gridLayout_8.addWidget(self.textBrowser_3, 0, 0, 1, 2)
self.lineEdit = QtWidgets.QLineEdit(self.tab_9)
self.lineEdit.setObjectName("lineEdit")
self.gridLayout_8.addWidget(self.lineEdit, 1, 0, 1, 1)
self.pushButton = QtWidgets.QPushButton(self.tab_9)
self.pushButton.setObjectName("pushButton")
self.gridLayout_8.addWidget(self.pushButton, 1, 1, 1, 1)
self.michaelwidget.addTab(self.tab_9, "")
self.tab_10 = QtWidgets.QWidget()
self.tab_10.setObjectName("tab_10")
self.michaelwidget.addTab(self.tab_10, "")
self.gridLayout_7.addWidget(self.michaelwidget, 1, 2, 1, 1)
self.jon_widget = QtWidgets.QTabWidget(self.centralwidget)
self.jon_widget.setObjectName("jon_widget")
self.notes_tab = QtWidgets.QWidget()
self.notes_tab.setObjectName("notes_tab")
self.gridLayout_9 = QtWidgets.QGridLayout(self.notes_tab)
self.gridLayout_9.setObjectName("gridLayout_9")
self.plainTextEdit = QtWidgets.QPlainTextEdit(self.notes_tab)
self.plainTextEdit.setObjectName("plainTextEdit")
self.gridLayout_9.addWidget(self.plainTextEdit, 0, 0, 1, 1)
self.jon_widget.addTab(self.notes_tab, "")
self.help_tab = QtWidgets.QWidget()
self.help_tab.setObjectName("help_tab")
self.gridLayout_10 = QtWidgets.QGridLayout(self.help_tab)
self.gridLayout_10.setObjectName("gridLayout_10")
self.toolBox = QtWidgets.QToolBox(self.help_tab)
self.toolBox.setObjectName("toolBox")
self.helpbox = QtWidgets.QWidget()
self.helpbox.setGeometry(QtCore.QRect(0, 0, 98, 74))
self.helpbox.setObjectName("helpbox")
self.gridLayout_14 = QtWidgets.QGridLayout(self.helpbox)
self.gridLayout_14.setObjectName("gridLayout_14")
self.textBrowser_2 = QtWidgets.QTextBrowser(self.helpbox)
self.textBrowser_2.setObjectName("textBrowser_2")
self.gridLayout_14.addWidget(self.textBrowser_2, 0, 0, 1, 1)
self.toolBox.addItem(self.helpbox, "")
self.mdbasicsbox = QtWidgets.QWidget()
self.mdbasicsbox.setGeometry(QtCore.QRect(0, 0, 98, 74))
self.mdbasicsbox.setObjectName("mdbasicsbox")
self.gridLayout_13 = QtWidgets.QGridLayout(self.mdbasicsbox)
self.gridLayout_13.setObjectName("gridLayout_13")
self.textBrowser = QtWidgets.QTextBrowser(self.mdbasicsbox)
self.textBrowser.setObjectName("textBrowser")
self.gridLayout_13.addWidget(self.textBrowser, 0, 0, 1, 1)
self.toolBox.addItem(self.mdbasicsbox, "")
self.pybranebasicbox = QtWidgets.QWidget()
self.pybranebasicbox.setGeometry(QtCore.QRect(0, 0, 98, 74))
self.pybranebasicbox.setObjectName("pybranebasicbox")
self.gridLayout_12 = QtWidgets.QGridLayout(self.pybranebasicbox)
self.gridLayout_12.setObjectName("gridLayout_12")
self.textBrowser_8 = QtWidgets.QTextBrowser(self.pybranebasicbox)
self.textBrowser_8.setObjectName("textBrowser_8")
self.gridLayout_12.addWidget(self.textBrowser_8, 0, 0, 1, 1)
self.toolBox.addItem(self.pybranebasicbox, "")
self.filesandshellbox = QtWidgets.QWidget()
self.filesandshellbox.setGeometry(QtCore.QRect(0, 0, 239, 79))
self.filesandshellbox.setObjectName("filesandshellbox")
self.gridLayout_11 = QtWidgets.QGridLayout(self.filesandshellbox)
self.gridLayout_11.setObjectName("gridLayout_11")
self.textBrowser_9 = QtWidgets.QTextBrowser(self.filesandshellbox)
self.textBrowser_9.setObjectName("textBrowser_9")
self.gridLayout_11.addWidget(self.textBrowser_9, 0, 0, 1, 1)
self.toolBox.addItem(self.filesandshellbox, "")
self.michaelhelpbox = QtWidgets.QWidget()
self.michaelhelpbox.setGeometry(QtCore.QRect(0, 0, 98, 74))
self.michaelhelpbox.setObjectName("michaelhelpbox")
self.gridLayout_16 = QtWidgets.QGridLayout(self.michaelhelpbox)
self.gridLayout_16.setObjectName("gridLayout_16")
self.textBrowser_10 = QtWidgets.QTextBrowser(self.michaelhelpbox)
self.textBrowser_10.setObjectName("textBrowser_10")
self.gridLayout_16.addWidget(self.textBrowser_10, 0, 0, 1, 1)
self.toolBox.addItem(self.michaelhelpbox, "")
self.otherhelpbox = QtWidgets.QWidget()
self.otherhelpbox.setGeometry(QtCore.QRect(0, 0, 98, 28))
self.otherhelpbox.setObjectName("otherhelpbox")
self.toolBox.addItem(self.otherhelpbox, "")
self.page = QtWidgets.QWidget()
self.page.setGeometry(QtCore.QRect(0, 0, 98, 28))
self.page.setObjectName("page")
self.toolBox.addItem(self.page, "")
self.mainhelpbox = QtWidgets.QWidget()
self.mainhelpbox.setGeometry(QtCore.QRect(0, 0, 98, 28))
self.mainhelpbox.setObjectName("mainhelpbox")
self.toolBox.addItem(self.mainhelpbox, "")
self.gridLayout_10.addWidget(self.toolBox, 0, 0, 1, 1)
self.jon_widget.addTab(self.help_tab, "")
self.gridLayout_7.addWidget(self.jon_widget, 0, 2, 1, 1)
self.mainwidget = QtWidgets.QTabWidget(self.centralwidget)
self.mainwidget.setObjectName("mainwidget")
self.twodmolmaker = QtWidgets.QWidget()
self.twodmolmaker.setObjectName("twodmolmaker")
self.gridLayout = QtWidgets.QGridLayout(self.twodmolmaker)
self.gridLayout.setObjectName("gridLayout")
self.pushButton_12 = QtWidgets.QPushButton(self.twodmolmaker)
self.pushButton_12.setObjectName("pushButton_12")
self.gridLayout.addWidget(self.pushButton_12, 3, 2, 1, 1)
self.pushButton_13 = QtWidgets.QPushButton(self.twodmolmaker)
self.pushButton_13.setObjectName("pushButton_13")
self.gridLayout.addWidget(self.pushButton_13, 3, 1, 1, 1)
self.pushButton_9 = QtWidgets.QPushButton(self.twodmolmaker)
self.pushButton_9.setObjectName("pushButton_9")
self.gridLayout.addWidget(self.pushButton_9, 5, 0, 1, 1)
self.pushButton_15 = QtWidgets.QPushButton(self.twodmolmaker)
self.pushButton_15.setObjectName("pushButton_15")
self.gridLayout.addWidget(self.pushButton_15, 5, 1, 1, 1)
self.pushButton_10 = QtWidgets.QPushButton(self.twodmolmaker)
self.pushButton_10.setObjectName("pushButton_10")
self.gridLayout.addWidget(self.pushButton_10, 3, 0, 1, 1)
self.pushButton_14 = QtWidgets.QPushButton(self.twodmolmaker)
self.pushButton_14.setObjectName("pushButton_14")
self.gridLayout.addWidget(self.pushButton_14, 4, 1, 1, 1)
self.pushButton_11 = QtWidgets.QPushButton(self.twodmolmaker)
self.pushButton_11.setObjectName("pushButton_11")
self.gridLayout.addWidget(self.pushButton_11, 4, 0, 1, 1)
self.tabWidget = QtWidgets.QTabWidget(self.twodmolmaker)
self.tabWidget.setObjectName("tabWidget")
self.tab = QtWidgets.QWidget()
self.tab.setObjectName("tab")
self.gridLayout_4 = QtWidgets.QGridLayout(self.tab)
self.gridLayout_4.setObjectName("gridLayout_4")
self.openGLWidget = genericOpenGLWidget()
self.openGLWidget.setObjectName("openGLWidget")
self.gridLayout_4.addWidget(self.openGLWidget, 0, 0, 1, 1)
self.tabWidget.addTab(self.tab, "3D Viewer")
self.TwoDView = QtWidgets.QWidget()
self.TwoDView.setObjectName("TwoDView")
self.gridLayout_15 = QtWidgets.QGridLayout(self.TwoDView)
self.gridLayout_15.setObjectName("gridLayout_15")
self.graphicsView = QSvgWidget("initial_mol.svg",self.TwoDView)
self.graphicsView.setObjectName("graphicsView")
self.gridLayout_15.addWidget(self.graphicsView, 0, 0, 1, 1)
self.tabWidget.addTab(self.TwoDView, "2D Viewer")
self.gridLayout.addWidget(self.tabWidget, 2, 0, 1, 3)
self.mainwidget.addTab(self.twodmolmaker, "")
self.pushButton_27 = QtWidgets.QPushButton(self.twodmolmaker)
self.pushButton_27.setObjectName(u"pushButton_26")
self.gridLayout.addWidget(self.pushButton_27, 4, 2, 1, 1)
self.mem_make_tab = QtWidgets.QWidget()
self.mem_make_tab.setObjectName("mem_make_tab")
self.gridLayout_5 = QtWidgets.QGridLayout(self.mem_make_tab)
self.gridLayout_5.setObjectName("gridLayout_5")
self.textBrowser_4 = QtWidgets.QTextBrowser(self.mem_make_tab)
self.textBrowser_4.setObjectName("textBrowser_4")
self.gridLayout_5.addWidget(self.textBrowser_4, 0, 0, 3, 1)
self.label_3 = QtWidgets.QLabel(self.mem_make_tab)
self.label_3.setObjectName("label_3")
self.gridLayout_5.addWidget(self.label_3, 0, 1, 1, 2)
self.x_spin_box = QtWidgets.QDoubleSpinBox(self.mem_make_tab)
self.x_spin_box.setObjectName("x_spin_box")
self.gridLayout_5.addWidget(self.x_spin_box, 1, 1, 1, 2)
self.y_spin_box = QtWidgets.QDoubleSpinBox(self.mem_make_tab)
self.y_spin_box.setObjectName("y_spin_box")
self.gridLayout_5.addWidget(self.y_spin_box, 2, 1, 1, 2)
self.textBrowser_7 = QtWidgets.QTextBrowser(self.mem_make_tab)
self.textBrowser_7.setObjectName("textBrowser_7")
self.gridLayout_5.addWidget(self.textBrowser_7, 3, 0, 2, 1)
self.z_spin_box = QtWidgets.QDoubleSpinBox(self.mem_make_tab)
self.z_spin_box.setObjectName("z_spin_box")
self.gridLayout_5.addWidget(self.z_spin_box, 3, 1, 1, 2)
self.spacing_spin = QtWidgets.QDoubleSpinBox(self.mem_make_tab)
self.spacing_spin.setObjectName("spacing_spin")
self.gridLayout_5.addWidget(self.spacing_spin, 4, 1, 1, 2)
self.textBrowser_11 = QtWidgets.QTextBrowser(self.mem_make_tab)
self.textBrowser_11.setObjectName("textBrowser_11")
self.gridLayout_5.addWidget(self.textBrowser_11, 5, 0, 6, 1)
self.final_z_spin = QtWidgets.QDoubleSpinBox(self.mem_make_tab)
self.final_z_spin.setObjectName("final_z_spin")
self.gridLayout_5.addWidget(self.final_z_spin, 5, 1, 1, 2)
self.label_2 = QtWidgets.QLabel(self.mem_make_tab)
self.label_2.setObjectName("label_2")
self.gridLayout_5.addWidget(self.label_2, 6, 1, 1, 2)
self.mem_load_but1 = QtWidgets.QPushButton(self.mem_make_tab)
self.mem_load_but1.setObjectName("mem_load_but1")
self.gridLayout_5.addWidget(self.mem_load_but1, 7, 1, 1, 1)
self.memratiospin = QtWidgets.QDoubleSpinBox(self.mem_make_tab)
self.memratiospin.setObjectName("memratiospin")
self.gridLayout_5.addWidget(self.memratiospin, 7, 2, 1, 1)
self.pro_load_but1 = QtWidgets.QPushButton(self.mem_make_tab)
self.pro_load_but1.setObjectName("pro_load_but1")
self.gridLayout_5.addWidget(self.pro_load_but1, 8, 1, 1, 1)
self.pro_spin_ratio = QtWidgets.QDoubleSpinBox(self.mem_make_tab)
self.pro_spin_ratio.setObjectName("pro_spin_ratio")
self.gridLayout_5.addWidget(self.pro_spin_ratio, 8, 2, 1, 1)
self.radioButton = QtWidgets.QRadioButton(self.mem_make_tab)
self.radioButton.setObjectName("radioButton")
self.gridLayout_5.addWidget(self.radioButton, 9, 1, 1, 2)
self.start_mem_make_but = QtWidgets.QPushButton(self.mem_make_tab)
self.start_mem_make_but.setObjectName("start_mem_make_but")
self.gridLayout_5.addWidget(self.start_mem_make_but, 10, 1, 1, 2)
self.mainwidget.addTab(self.mem_make_tab, "")
self.tab_12 = QtWidgets.QWidget()
self.tab_12.setObjectName("tab_12")
self.gridLayout_6 = QtWidgets.QGridLayout(self.tab_12)
self.gridLayout_6.setObjectName("gridLayout_6")
self.textBrowser_14 = QtWidgets.QTextBrowser(self.tab_12)
self.textBrowser_14.setObjectName("textBrowser_14")
self.gridLayout_6.addWidget(self.textBrowser_14, 0, 0, 5, 1)
self.label = QtWidgets.QLabel(self.tab_12)
self.label.setObjectName("label")
self.gridLayout_6.addWidget(self.label, 0, 1, 1, 1)
self.pushButton_20 = QtWidgets.QPushButton(self.tab_12)
self.pushButton_20.setObjectName("pushButton_20")
self.gridLayout_6.addWidget(self.pushButton_20, 1, 1, 1, 2)
self.label_4 = QtWidgets.QLabel(self.tab_12)
self.label_4.setObjectName("label_4")
self.gridLayout_6.addWidget(self.label_4, 2, 1, 1, 1)
self.pushButton_19 = QtWidgets.QPushButton(self.tab_12)
self.pushButton_19.setObjectName("pushButton_19")
self.gridLayout_6.addWidget(self.pushButton_19, 3, 1, 1, 2)
self.label_5 = QtWidgets.QLabel(self.tab_12)
self.label_5.setObjectName("label_5")
self.gridLayout_6.addWidget(self.label_5, 4, 1, 1, 1)
self.label_9 = QtWidgets.QLabel(self.tab_12)
self.label_9.setObjectName("label_9")
self.gridLayout_6.addWidget(self.label_9, 4, 4, 1, 2)
self.openGLWidget_2 = genericOpenGLWidget()
self.openGLWidget_2.setObjectName("openGLWidget_2")
self.gridLayout_6.addWidget(self.openGLWidget_2, 5, 0, 9, 1)
self.pushButton_18 = QtWidgets.QPushButton(self.tab_12)
self.pushButton_18.setObjectName("pushButton_18")
self.gridLayout_6.addWidget(self.pushButton_18, 5, 1, 1, 2)
self.pushButton_21 = QtWidgets.QPushButton(self.tab_12)
self.pushButton_21.setObjectName("pushButton_21")
self.gridLayout_6.addWidget(self.pushButton_21, 5, 3, 1, 3)
self.label_6 = QtWidgets.QLabel(self.tab_12)
self.label_6.setObjectName("label_6")
self.gridLayout_6.addWidget(self.label_6, 6, 1, 1, 1)
self.label_10 = QtWidgets.QLabel(self.tab_12)
self.label_10.setObjectName("label_10")
self.gridLayout_6.addWidget(self.label_10, 6, 4, 1, 2)
self.pushButton_17 = QtWidgets.QPushButton(self.tab_12)
self.pushButton_17.setObjectName("pushButton_17")
self.gridLayout_6.addWidget(self.pushButton_17, 7, 1, 1, 2)
self.pushButton_22 = QtWidgets.QPushButton(self.tab_12)
self.pushButton_22.setObjectName("pushButton_22")
self.gridLayout_6.addWidget(self.pushButton_22, 7, 3, 1, 3)
self.label_7 = QtWidgets.QLabel(self.tab_12)
self.label_7.setObjectName("label_7")
self.gridLayout_6.addWidget(self.label_7, 8, 1, 1, 4)
self.spinBox = QtWidgets.QSpinBox(self.tab_12)
self.spinBox.setObjectName("spinBox")
self.gridLayout_6.addWidget(self.spinBox, 9, 1, 1, 1)
self.spinBox_2 = QtWidgets.QSpinBox(self.tab_12)
self.spinBox_2.setObjectName("spinBox_2")
self.gridLayout_6.addWidget(self.spinBox_2, 9, 2, 1, 2)
self.label_8 = QtWidgets.QLabel(self.tab_12)
self.label_8.setObjectName("label_8")
self.gridLayout_6.addWidget(self.label_8, 10, 1, 1, 3)
self.checkBox = QtWidgets.QCheckBox(self.tab_12)
self.checkBox.setObjectName("checkBox")
self.gridLayout_6.addWidget(self.checkBox, 11, 1, 1, 1)
self.checkBox_3 = QtWidgets.QCheckBox(self.tab_12)
self.checkBox_3.setObjectName("checkBox_3")
self.gridLayout_6.addWidget(self.checkBox_3, 11, 3, 1, 3)
self.checkBox_2 = QtWidgets.QCheckBox(self.tab_12)
self.checkBox_2.setObjectName("checkBox_2")
self.gridLayout_6.addWidget(self.checkBox_2, 12, 1, 1, 1)
self.checkBox_4 = QtWidgets.QCheckBox(self.tab_12)
self.checkBox_4.setObjectName("checkBox_4")
self.gridLayout_6.addWidget(self.checkBox_4, 12, 3, 1, 3)
self.textBrowser_16 = QtWidgets.QTextBrowser(self.tab_12)
self.textBrowser_16.setObjectName("textBrowser_16")
self.gridLayout_6.addWidget(self.textBrowser_16, 13, 1, 1, 5)
self.spinBox_3 = QtWidgets.QSpinBox(self.tab_12)
self.spinBox_3.setObjectName("spinBox_3")
self.gridLayout_6.addWidget(self.spinBox_3, 9, 4, 1, 2)
self.mainwidget.addTab(self.tab_12, "")
self.tab_13 = QtWidgets.QWidget()
self.tab_13.setObjectName("tab_13")
self.gridLayout_17 = QtWidgets.QGridLayout(self.tab_13)
self.gridLayout_17.setObjectName("gridLayout_17")
self.openGLWidget_3 = genericOpenGLWidget()
self.openGLWidget_3.setObjectName("openGLWidget_3")
self.gridLayout_17.addWidget(self.openGLWidget_3, 0, 0, 2, 3)
self.genericGraph_1 = genericGraph()
self.genericGraph_1.setObjectName("genericGraph_1")
self.gridLayout_17.addWidget(self.genericGraph_1, 0, 3, 1, 1)
self.genericGraph_2 = genericGraph()
self.genericGraph_2.setObjectName("genericGraph_2")
self.gridLayout_17.addWidget(self.genericGraph_2, 1, 3, 3, 1)
self.pushButton_2 = QtWidgets.QPushButton(self.tab_13)
self.pushButton_2.setObjectName("pushButton_2")
self.gridLayout_17.addWidget(self.pushButton_2, 2, 0, 1, 1)
self.pushButton_3 = QtWidgets.QPushButton(self.tab_13)
self.pushButton_3.setObjectName("pushButton_3")
self.gridLayout_17.addWidget(self.pushButton_3, 2, 1, 1, 1)
self.pushButton_4 = QtWidgets.QPushButton(self.tab_13)
self.pushButton_4.setObjectName("pushButton_4")
self.gridLayout_17.addWidget(self.pushButton_4, 2, 2, 1, 1)
self.genericGraph_3 = QtWidgets.QTextBrowser(self.tab_13)
self.genericGraph_3.setObjectName("genericGraph_3")
self.gridLayout_17.addWidget(self.genericGraph_3, 3, 0, 2, 3)
self.genericGraph_4 = QtWidgets.QTextBrowser(self.tab_13)
self.genericGraph_4.setObjectName("genericGraph_4")
self.gridLayout_17.addWidget(self.genericGraph_4, 4, 3, 2, 1)
self.genericGraph_5 = genericGraph()
self.genericGraph_5.setObjectName("genericGraph_5")
self.gridLayout_17.addWidget(self.genericGraph_5, 5, 0, 1, 3)
self.mainwidget.addTab(self.tab_13, "")
self.gridLayout_7.addWidget(self.mainwidget, 0, 1, 2, 1)
MainWindow.setCentralWidget(self.centralwidget)
self.menubar = QtWidgets.QMenuBar(MainWindow)
self.menubar.setGeometry(QtCore.QRect(0, 0, 1045, 33))
self.menubar.setObjectName("menubar")
self.menuMainWindow = QtWidgets.QMenu(self.menubar)
self.menuMainWindow.setObjectName("menuMainWindow")
self.menuView = QtWidgets.QMenu(self.menubar)
self.menuView.setObjectName("menuView")
self.menuSettings = QtWidgets.QMenu(self.menubar)
self.menuSettings.setObjectName("menuSettings")
self.menuWindow = QtWidgets.QMenu(self.menubar)
self.menuWindow.setObjectName("menuWindow")
self.menuHelp = QtWidgets.QMenu(self.menubar)
self.menuHelp.setObjectName("menuHelp")
MainWindow.setMenuBar(self.menubar)
self.statusbar = QtWidgets.QStatusBar(MainWindow)
self.statusbar.setObjectName("statusbar")
MainWindow.setStatusBar(self.statusbar)
self.actionNew = QtWidgets.QAction(MainWindow)
self.actionNew.setObjectName("actionNew")
self.actionOpen = QtWidgets.QAction(MainWindow)
self.actionOpen.setObjectName("actionOpen")
self.actionSave = QtWidgets.QAction(MainWindow)
self.actionSave.setObjectName("actionSave")
self.actionSave_as = QtWidgets.QAction(MainWindow)
self.actionSave_as.setObjectName("actionSave_as")
self.actionQuit = QtWidgets.QAction(MainWindow)
self.actionQuit.setObjectName("actionQuit")
self.actionAbout_PyBRANE = QtWidgets.QAction(MainWindow)
self.actionAbout_PyBRANE.setObjectName("actionAbout_PyBRANE")
self.actionSource_Code = QtWidgets.QAction(MainWindow)
self.actionSource_Code.setObjectName("actionSource_Code")
self.actionMaximize = QtWidgets.QAction(MainWindow)
self.actionMaximize.setObjectName("actionMaximize")
self.actionMinimize = QtWidgets.QAction(MainWindow)
self.actionMinimize.setObjectName("actionMinimize")
self.actionGraphs = QtWidgets.QAction(MainWindow)
self.actionGraphs.setObjectName("actionGraphs")
self.actionViewer = QtWidgets.QAction(MainWindow)
self.actionViewer.setObjectName("actionViewer")
self.actionInsert_CS_key = QtWidgets.QAction(MainWindow)
self.actionInsert_CS_key.setObjectName("actionInsert_CS_key")
self.actionOpen_Mol_Viewer = QtWidgets.QAction(MainWindow)
self.actionOpen_Mol_Viewer.setObjectName("actionOpen_Mol_Viewer")
self.actionOpen_Mol_Editor = QtWidgets.QAction(MainWindow)
self.actionOpen_Mol_Editor.setObjectName("actionOpen_Mol_Editor")
self.menuMainWindow.addAction(self.actionNew)
self.menuMainWindow.addAction(self.actionOpen)
self.menuMainWindow.addAction(self.actionSave)
self.menuMainWindow.addAction(self.actionSave_as)
self.menuMainWindow.addAction(self.actionQuit)
self.menuView.addAction(self.actionOpen_Mol_Viewer)
self.menuView.addAction(self.actionOpen_Mol_Editor)
self.menuSettings.addAction(self.actionGraphs)
self.menuSettings.addAction(self.actionViewer)
self.menuSettings.addAction(self.actionInsert_CS_key)
self.menuWindow.addAction(self.actionMaximize)
self.menuWindow.addAction(self.actionMinimize)
self.menuHelp.addAction(self.actionAbout_PyBRANE)
self.menuHelp.addAction(self.actionSource_Code)
self.menubar.addAction(self.menuMainWindow.menuAction())
self.menubar.addAction(self.menuView.menuAction())
self.menubar.addAction(self.menuSettings.menuAction())
self.menubar.addAction(self.menuWindow.menuAction())
self.menubar.addAction(self.menuHelp.menuAction())
self.retranslateUi(MainWindow)
self.files_widget.setCurrentIndex(0)
self.michaelwidget.setCurrentIndex(0)
self.jon_widget.setCurrentIndex(1)
self.toolBox.setCurrentIndex(3)
self.mainwidget.setCurrentIndex(3)
self.tabWidget.setCurrentIndex(1)
QtCore.QMetaObject.connectSlotsByName(MainWindow)
def retranslateUi(self, MainWindow):
_translate = QtCore.QCoreApplication.translate
MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow"))
self.label_11.setText(_translate("MainWindow", "ChemSpi"))
self.pushButton_26.setText(_translate("MainWindow", "Search"))
self.label_12.setText(_translate("MainWindow", "Wikipedia"))
self.pushButton_25.setText(_translate("MainWindow", "Search"))
self.label_13.setText(_translate("MainWindow", "PDB"))
self.pushButton_24.setText(_translate("MainWindow", "Search"))
self.label_14.setText(_translate("MainWindow", "MemBank"))
self.pushButton_23.setText(_translate("MainWindow", "Search"))
self.files_widget.setTabText(self.files_widget.indexOf(self.files_tab), _translate("MainWindow", "Files"))
self.pushButton_16.setText(_translate("MainWindow", "↩"))
self.files_widget.setTabText(self.files_widget.indexOf(self.shell_tab), _translate("MainWindow", "Shell"))
self.pushButton.setText(_translate("MainWindow", "↩"))
self.michaelwidget.setTabText(self.michaelwidget.indexOf(self.tab_9), _translate("MainWindow", "Michael"))
self.michaelwidget.setTabText(self.michaelwidget.indexOf(self.tab_10), _translate("MainWindow", "Michael Logs"))
self.plainTextEdit.setPlainText(_translate("MainWindow", "You can edit this text for notes!"))
self.jon_widget.setTabText(self.jon_widget.indexOf(self.notes_tab), _translate("MainWindow", "Notes"))
self.toolBox.setItemText(self.toolBox.indexOf(self.helpbox), _translate("MainWindow", "Overview"))
self.toolBox.setItemText(self.toolBox.indexOf(self.mdbasicsbox), _translate("MainWindow", "MD Help"))
self.toolBox.setItemText(self.toolBox.indexOf(self.pybranebasicbox), _translate("MainWindow", "PyBrane Basics"))
self.toolBox.setItemText(self.toolBox.indexOf(self.filesandshellbox), _translate("MainWindow", "Files and Shell"))
self.toolBox.setItemText(self.toolBox.indexOf(self.michaelhelpbox), _translate("MainWindow", "Notes"))
self.toolBox.setItemText(self.toolBox.indexOf(self.otherhelpbox), _translate("MainWindow", "Michael"))
self.toolBox.setItemText(self.toolBox.indexOf(self.page), _translate("MainWindow", "Main"))
self.toolBox.setItemText(self.toolBox.indexOf(self.mainhelpbox), _translate("MainWindow", "Other"))
self.jon_widget.setTabText(self.jon_widget.indexOf(self.help_tab), _translate("MainWindow", "Help!"))
self.pushButton_12.setText(_translate("MainWindow", "Add Atom"))
self.pushButton_13.setText(_translate("MainWindow", "Delete Atom"))
self.pushButton_9.setText(_translate("MainWindow", "Load PDB file"))
self.pushButton_15.setText(_translate("MainWindow", "Delete Bond"))
self.pushButton_27.setText(_translate("MainWindow", "Switch Display"))
self.pushButton_10.setText(_translate("MainWindow", "Save File"))
self.pushButton_14.setText(_translate("MainWindow", "Add Bond"))
self.pushButton_11.setText(_translate("MainWindow", "Import SMILES String"))
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab), _translate("MainWindow", "3D View"))
self.tabWidget.setTabText(self.tabWidget.indexOf(self.TwoDView), _translate("MainWindow", "2D View"))
self.mainwidget.setTabText(self.mainwidget.indexOf(self.twodmolmaker), _translate("MainWindow", "2D Molecule Designer"))
self.textBrowser_4.setHtml(_translate("MainWindow", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
"<html><head><meta name=\"qrichtext\" content=\"1\" /><meta charset=\"utf-8\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"hr { height: 1px; border-width: 0; }\n"
"li.unchecked::marker { content: \"\\2610\"; }\n"
"li.checked::marker { content: \"\\2612\"; }\n"
"</style></head><body style=\" font-family:\'Segoe UI\'; font-size:9pt; font-weight:400; font-style:normal;\">\n"
"<h2 style=\" margin-top:16px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:x-large; font-weight:700;\">Instructions for Using the Membrane Generator and Protein Inserter</span></h2>\n"
"<h3 style=\" margin-top:14px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:large; font-weight:700;\">Part One: Define Parameters and Load Files</span></h3>\n"
"<ol style=\"margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; -qt-list-indent: 1;\">\n"
"<li style=\" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-weight:700;\">Define Parameters:</span>\n"
"<ul style=\"margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; -qt-list-indent: 2;\">\n"
"<li style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-weight:700;\">X, Y, Z, and Spacing:</span>\n"
"<ul style=\"margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; -qt-list-indent: 3;\">\n"
"<li style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Enter the values for <span style=\" font-family:\'Courier New\';\">X</span>, <span style=\" font-family:\'Courier New\';\">Y</span>, <span style=\" font-family:\'Courier New\';\">Z</span>, and <span style=\" font-family:\'Courier New\';\">Spacing</span> in the respective input fields.</li>\n"
"<li style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">These parameters are essential for setting up the simulation environment.</li></ul></li></ul></li>\n"
"<li style=\" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-weight:700;\">Load Membrane File:</span>\n"
"<ul style=\"margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; -qt-list-indent: 2;\">\n"
"<li style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Locate the input field/button to load the membrane file.</li>\n"
"<li style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Click on the button to browse and select your membrane file from your computer.</li>\n"
"<li style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Ensure the file is loaded successfully by checking for a confirmation message or the file name appearing in the input field.</li></ul></li>\n"
"<li style=\" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-weight:700;\">Load Protein File (if applicable):</span>\n"
"<ul style=\"margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; -qt-list-indent: 2;\">\n"
"<li style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">First, provide the desired ratio for the protein to membrane.</li>\n"
"<li style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Locate the input field/button to load the protein file.</li>\n"
"<li style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Click on the button to browse and select your protein file from your computer.</li>\n"
"<li style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Ensure the file is loaded successfully by checking for a confirmation message or the file name appearing in the input field.</li></ul></li>\n"
"<li style=\" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-weight:700;\">Check the Radio Button:</span>\n"
"<ul style=\"margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; -qt-list-indent: 2;\">\n"
"<li style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">If you have loaded a protein file, find the radio button labeled for protein loading.</li>\n"
"<li style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Check the radio button to indicate that you have loaded proteins.</li></ul></li></ol>\n"
"<h3 style=\" margin-top:14px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:large; font-weight:700;\">Part Two: Start the Process</span></h3>\n"
"<ol style=\"margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; -qt-list-indent: 1;\">\n"
"<li style=\" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-weight:700;\">Hit Start:</span>\n"
"<ul style=\"margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; -qt-list-indent: 2;\">\n"
"<li style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Locate the <span style=\" font-family:\'Courier New\';\">Start</span> button on the interface.</li>\n"
"<li style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Click the <span style=\" font-family:\'Courier New\';\">Start</span> button to begin the simulation or processing.</li></ul></li>\n"
"<li style=\" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-weight:700;\">Wait for Completion:</span>\n"
"<ul style=\"margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; -qt-list-indent: 2;\">\n"
"<li style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">After hitting the <span style=\" font-family:\'Courier New\';\">Start</span> button, wait for the process to complete.</li>\n"
"<li style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">The program may display a progress bar, status messages, or any indicators of ongoing processes.</li>\n"
"<li style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Do not interrupt or close the program until the process is complete.</li></ul></li>\n"
"<li style=\" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-weight:700;\">Completion Confirmation:</span>\n"
"<ul style=\"margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; -qt-list-indent: 2;\">\n"
"<li style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Once the process is finished, look for a confirmation message or prompt indicating successful completion.</li>\n"
"<li style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Check any output files or results generated by the program.</li></ul></li></ol></body></html>"))
self.label_3.setText(_translate("MainWindow", "PART 1: MEASUMENTS"))
self.textBrowser_7.setHtml(_translate("MainWindow", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
"<html><head><meta name=\"qrichtext\" content=\"1\" /><meta charset=\"utf-8\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"hr { height: 1px; border-width: 0; }\n"
"li.unchecked::marker { content: \"\\2610\"; }\n"
"li.checked::marker { content: \"\\2612\"; }\n"
"</style></head><body style=\" font-family:\'Segoe UI\'; font-size:9pt; font-weight:400; font-style:normal;\">\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Output goes here....</p></body></html>"))
self.label_2.setText(_translate("MainWindow", "PART 2: FILES "))
self.mem_load_but1.setText(_translate("MainWindow", "Load"))
self.pro_load_but1.setText(_translate("MainWindow", "Load"))
self.radioButton.setText(_translate("MainWindow", "Click here if loading proteins"))
self.start_mem_make_but.setText(_translate("MainWindow", "START"))
self.mainwidget.setTabText(self.mainwidget.indexOf(self.mem_make_tab), _translate("MainWindow", "Membrane Maker and Inserter"))
self.label.setText(_translate("MainWindow", "Start"))
self.pushButton_20.setText(_translate("MainWindow", "Start"))
self.label_4.setText(_translate("MainWindow", "Membrane"))
self.pushButton_19.setText(_translate("MainWindow", "Load"))
self.label_5.setText(_translate("MainWindow", "Protein"))
self.label_9.setText(_translate("MainWindow", "Other"))
self.pushButton_18.setText(_translate("MainWindow", "Load"))
self.pushButton_21.setText(_translate("MainWindow", "Load"))
self.label_6.setText(_translate("MainWindow", "Froce Field"))
self.label_10.setText(_translate("MainWindow", "Solvent"))
self.pushButton_17.setText(_translate("MainWindow", "Load"))
self.pushButton_22.setText(_translate("MainWindow", "Load"))
self.label_7.setText(_translate("MainWindow", "Simulation dimensions "))
self.label_8.setText(_translate("MainWindow", "Stop at Checkpoint:"))
self.checkBox.setText(_translate("MainWindow", "Point 1"))
self.textBrowser_17.setText(_translate("MainWindow", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
"<html><head><meta name=\"qrichtext\" content=\"1\" /><meta charset=\"utf-8\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"hr { height: 1px; border-width: 0; }\n"
"li.unchecked::marker { content: \"\\2610\"; }\n"
"li.checked::marker { content: \"\\2612\"; }\n"
"</style></head><body style=\" font-family:'Segoe UI'; font-size:9pt; font-weight:400; font-style:normal;\">\n"
"<h3 style=\" margin-top:1px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:'Verdana','Arial','Helvetica','sans-serif'; font-size:xx-large; font-weight:500; color:#000000;\">Instructions for using the File System</span></h3>\n"
"<h4 style=\" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:'Verdana','Arial','Helvetica','sans-serif'; font-size:medium; font-wei"
"ght:700; color:#000000;\">Part 1: Searching</span></h4>\n"
"<ul style=\"margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; -qt-list-indent: 1;\">\n"
"<li style=\" font-family:'Verdana','Arial','Helvetica','sans-serif'; font-size:14px; color:#000000;\" style=\" margin-top:12px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:14px;\">In the text entry field below, input your query.</span></li>\n"
"<li style=\" font-family:'Verdana','Arial','Helvetica','sans-serif'; font-size:14px; color:#000000;\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:14px;\">This should be a PDB or Lipid Maps ID, or the common name for the protein/lipid.</span></li>\n"
"<li style=\" font-family:'Verdana','Arial','Helvetica','sans-serif'; font-size:14px; color:#000000;\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -q"
"t-block-indent:0; text-indent:0px;\"><span style=\" font-size:14px;\">Try different combinations of queries if you do not know the specific term.</span></li>\n"
"<li style=\" font-family:'Verdana','Arial','Helvetica','sans-serif'; font-size:14px; color:#000000;\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:14px;\">Do not include every day words such as "protein" after the term. Google is better suited for this.</span></li>\n"
"<li style=\" font-family:'Verdana','Arial','Helvetica','sans-serif'; font-size:14px; color:#000000;\" style=\" margin-top:0px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:14px;\">Click on the places you wish to search. It is not advised to search in both PDB and Lipid Maps, as they are for two different macromolecules.</span></li></ul>\n"
"<h4 style=\" margin-top:12px; margin-bottom:12px; margin-left:0px; m"
"argin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:'Verdana','Arial','Helvetica','sans-serif'; font-size:medium; font-weight:700; color:#000000;\">Part 2: Output</span></h4>\n"
"<ul style=\"margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; -qt-list-indent: 1;\">\n"
"<li style=\" font-family:'Verdana','Arial','Helvetica','sans-serif'; font-size:14px; color:#000000;\" style=\" margin-top:12px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:14px;\">You can speficy the directory you wish the files to be save in the lower text input.</span></li>\n"
"<li style=\" font-family:'Verdana','Arial','Helvetica','sans-serif'; font-size:14px; color:#000000;\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:14px;\">If your search was succesfully, a summary and confirmation will pop up in the lowest text brow"
"ser.</span></li>\n"
"<li style=\" font-family:'Verdana','Arial','Helvetica','sans-serif'; font-size:14px; color:#000000;\" style=\" margin-top:0px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:14px;\">If there was an error, the box will inform you.</span></li></ul></body></html>"))
self.checkBox_3.setText(_translate("MainWindow", "Point 2"))
self.textBrowser_14.setText(_translate("MainWindow", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
"<html><head><meta name=\"qrichtext\" content=\"1\" /><meta charset=\"utf-8\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"hr { height: 1px; border-width: 0; }\n"
"li.unchecked::marker { content: \"\\2610\"; }\n"
"li.checked::marker { content: \"\\2612\"; }\n"
"</style></head><body style=\" font-family:'Segoe UI'; font-size:9pt; font-weight:400; font-style:normal;\">\n"
"<h1 style=\" margin-top:18px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:'Verdana','Arial','Helvetica','sans-serif'; font-size:xx-large; font-weight:700; color:#000000;\">Instructions for using the\u00a0Simulation</span></h1>\n"
"<h4 style=\" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:'Verdana','Arial','Helvetica','sans-serif'; font-size:medium; font"
"-weight:700; color:#000000;\">Part 1:\u00a0Inputs</span></h4>\n"
"<ul style=\"margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; -qt-list-indent: 1;\">\n"
"<li style=\" font-family:'Verdana','Arial','Helvetica','sans-serif'; font-size:14px; color:#000000;\" style=\" margin-top:12px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:14px;\">Inputs are vital in order to get the correct the best results.</span></li>\n"
"<li style=\" font-family:'Verdana','Arial','Helvetica','sans-serif'; font-size:14px; color:#000000;\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:14px;\">If the inputs are incorrect, this may crash the program. Verify the files are correct, then try again.</span></li>\n"
"<li style=\" font-family:'Verdana','Arial','Helvetica','sans-serif'; font-size:14px; color:#000000;\" style=\" margin-top:0px; margin-bottom:"
"12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:14px;\">Pay attention to any textbox output, as this can point to the error.</span></li></ul>\n"
"<h4 style=\" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:'Verdana','Arial','Helvetica','sans-serif'; font-size:medium; font-weight:700; color:#000000;\">Part 2: Output</span></h4>\n"
"<ul style=\"margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; -qt-list-indent: 1;\">\n"
"<li style=\" font-family:'Verdana','Arial','Helvetica','sans-serif'; font-size:14px; color:#000000;\" style=\" margin-top:12px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:14px;\">Feel free to check off the chekmarks, they will display the file as it looks at that checkpoint.</span></li>\n"
"<li style=\" font-family:'Verdana','Arial','Helvetica','sans-ser"
"if'; font-size:14px; color:#000000;\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:14px;\">This DOES NOT MEAN you can close the program after a chekcpoint is loaded. Keep your computer ON and the program in the FOREGROUND. CLOSE other apps for best performance.</span></li>\n"
"<li style=\" font-family:'Verdana','Arial','Helvetica','sans-serif'; font-size:14px; color:#000000;\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:14px;\">The output box on the lower right will inform you of the running.</span></li>\n"
"<li style=\" font-family:'Verdana','Arial','Helvetica','sans-serif'; font-size:14px; color:#000000;\" style=\" margin-top:0px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:14px;\">It will display success or failure. Success means you can cl"
"ose the program or load the file in the analysis tab with the "update" button. This will prompt you to select a file for the output and the trajecotry, then build graphs with this data.</span></li></ul></body></html>"))
self.checkBox_2.setText(_translate("MainWindow", "Point 3"))
self.checkBox_3.setText(_translate("MainWindow", "Point 2"))
self.checkBox_4.setText(_translate("MainWindow", "Point 4"))
self.mainwidget.setTabText(self.mainwidget.indexOf(self.tab_12), _translate("MainWindow", "Simulator SetUp"))
self.pushButton_2.setText(_translate("MainWindow", "Expand"))
self.pushButton_3.setText(_translate("MainWindow", "Update"))
self.pushButton_4.setText(_translate("MainWindow", "Adjust"))
self.mainwidget.setTabText(self.mainwidget.indexOf(self.tab_13), _translate("MainWindow", "Simulation Output"))
self.menuMainWindow.setTitle(_translate("MainWindow", "File"))
self.menuView.setTitle(_translate("MainWindow", "View"))
self.menuSettings.setTitle(_translate("MainWindow", "Settings"))
self.menuWindow.setTitle(_translate("MainWindow", "Window"))
self.menuHelp.setTitle(_translate("MainWindow", "Help"))
self.actionNew.setText(_translate("MainWindow", "New"))
self.actionOpen.setText(_translate("MainWindow", "Open"))
self.actionSave.setText(_translate("MainWindow", "Save"))
self.actionSave_as.setText(_translate("MainWindow", "Save as"))
self.actionQuit.setText(_translate("MainWindow", "Quit"))
self.actionAbout_PyBRANE.setText(_translate("MainWindow", "About PyBRANE"))
self.actionSource_Code.setText(_translate("MainWindow", "Source Code"))
self.actionMaximize.setText(_translate("MainWindow", "Maximize"))
self.actionMinimize.setText(_translate("MainWindow", "Minimize"))
self.actionGraphs.setText(_translate("MainWindow", "Graphs"))
self.actionViewer.setText(_translate("MainWindow", "Viewer"))
self.actionInsert_CS_key.setText(_translate("MainWindow", "Insert CS key"))
self.actionOpen_Mol_Viewer.setText(_translate("MainWindow", "Open Mol Viewer"))
self.actionOpen_Mol_Editor.setText(_translate("MainWindow", "Open Mol Editor"))
if __name__ == "__main__":
import sys
app = QtWidgets.QApplication(sys.argv)
MainWindow = QtWidgets.QMainWindow()
ui = Ui_MainWindow()
ui.setupUi(MainWindow)
MainWindow.show()
sys.exit(app.exec_())