-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathPhantomPropertiesGui.py
executable file
·102 lines (95 loc) · 6.32 KB
/
PhantomPropertiesGui.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
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'PhantomPropertiesGui.ui'
#
# Created: Sat Mar 14 21:35:42 2015
# by: PyQt4 UI code generator 4.9.5
#
# WARNING! All changes made in this file will be lost!
from PyQt4 import QtCore, QtGui
try:
_fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
_fromUtf8 = lambda s: s
class Ui_PhantomPropertiesGui(object):
def setupUi(self, PhantomPropertiesGui):
PhantomPropertiesGui.setObjectName(_fromUtf8("PhantomPropertiesGui"))
PhantomPropertiesGui.resize(1283, 838)
self.centralwidget = QtGui.QWidget(PhantomPropertiesGui)
self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
self.label_3 = QtGui.QLabel(self.centralwidget)
self.label_3.setGeometry(QtCore.QRect(25, 5, 87, 16))
self.label_3.setObjectName(_fromUtf8("label_3"))
self.label_4 = QtGui.QLabel(self.centralwidget)
self.label_4.setGeometry(QtCore.QRect(545, 15, 49, 16))
self.label_4.setObjectName(_fromUtf8("label_4"))
self.txtField = QtGui.QTextEdit(self.centralwidget)
self.txtField.setGeometry(QtCore.QRect(535, 40, 71, 21))
self.txtField.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff)
self.txtField.setHorizontalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff)
self.txtField.setObjectName(_fromUtf8("txtField"))
self.label_5 = QtGui.QLabel(self.centralwidget)
self.label_5.setGeometry(QtCore.QRect(262, 5, 55, 16))
self.label_5.setObjectName(_fromUtf8("label_5"))
self.txtComment = QtGui.QTextEdit(self.centralwidget)
self.txtComment.setGeometry(QtCore.QRect(185, 30, 336, 36))
self.txtComment.setObjectName(_fromUtf8("txtComment"))
self.label_6 = QtGui.QLabel(self.centralwidget)
self.label_6.setGeometry(QtCore.QRect(630, 15, 95, 16))
self.label_6.setObjectName(_fromUtf8("label_6"))
self.txtTemperature = QtGui.QTextEdit(self.centralwidget)
self.txtTemperature.setGeometry(QtCore.QRect(630, 40, 71, 21))
self.txtTemperature.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff)
self.txtTemperature.setObjectName(_fromUtf8("txtTemperature"))
self.label_8 = QtGui.QLabel(self.centralwidget)
self.label_8.setGeometry(QtCore.QRect(755, 15, 86, 16))
self.label_8.setObjectName(_fromUtf8("label_8"))
self.txtnROIsets = QtGui.QTextEdit(self.centralwidget)
self.txtnROIsets.setGeometry(QtCore.QRect(750, 40, 71, 21))
self.txtnROIsets.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff)
self.txtnROIsets.setHorizontalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff)
self.txtnROIsets.setObjectName(_fromUtf8("txtnROIsets"))
self.txtPhantomName = QtGui.QTextEdit(self.centralwidget)
self.txtPhantomName.setGeometry(QtCore.QRect(10, 30, 161, 36))
self.txtPhantomName.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff)
self.txtPhantomName.setHorizontalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff)
self.txtPhantomName.setObjectName(_fromUtf8("txtPhantomName"))
self.txtPhantomProperties = QtGui.QTextEdit(self.centralwidget)
self.txtPhantomProperties.setGeometry(QtCore.QRect(0, 85, 871, 696))
self.txtPhantomProperties.setLineWrapMode(QtGui.QTextEdit.NoWrap)
self.txtPhantomProperties.setObjectName(_fromUtf8("txtPhantomProperties"))
self.lblPhantomImage = QtGui.QLabel(self.centralwidget)
self.lblPhantomImage.setGeometry(QtCore.QRect(874, 85, 400, 300))
self.lblPhantomImage.setAutoFillBackground(True)
self.lblPhantomImage.setFrameShape(QtGui.QFrame.WinPanel)
self.lblPhantomImage.setText(_fromUtf8(""))
self.lblPhantomImage.setScaledContents(False)
self.lblPhantomImage.setObjectName(_fromUtf8("lblPhantomImage"))
PhantomPropertiesGui.setCentralWidget(self.centralwidget)
self.menubar = QtGui.QMenuBar(PhantomPropertiesGui)
self.menubar.setGeometry(QtCore.QRect(0, 0, 1283, 26))
self.menubar.setObjectName(_fromUtf8("menubar"))
self.menuFile = QtGui.QMenu(self.menubar)
self.menuFile.setObjectName(_fromUtf8("menuFile"))
PhantomPropertiesGui.setMenuBar(self.menubar)
self.statusbar = QtGui.QStatusBar(PhantomPropertiesGui)
self.statusbar.setObjectName(_fromUtf8("statusbar"))
PhantomPropertiesGui.setStatusBar(self.statusbar)
self.actionOpen_Phantom_File = QtGui.QAction(PhantomPropertiesGui)
self.actionOpen_Phantom_File.setObjectName(_fromUtf8("actionOpen_Phantom_File"))
self.actionSave_Phantom_File = QtGui.QAction(PhantomPropertiesGui)
self.actionSave_Phantom_File.setObjectName(_fromUtf8("actionSave_Phantom_File"))
self.menuFile.addAction(self.actionOpen_Phantom_File)
self.menuFile.addAction(self.actionSave_Phantom_File)
self.menubar.addAction(self.menuFile.menuAction())
self.retranslateUi(PhantomPropertiesGui)
QtCore.QMetaObject.connectSlotsByName(PhantomPropertiesGui)
def retranslateUi(self, PhantomPropertiesGui):
PhantomPropertiesGui.setWindowTitle(QtGui.QApplication.translate("PhantomPropertiesGui", "Phantom Properties", None, QtGui.QApplication.UnicodeUTF8))
self.label_3.setText(QtGui.QApplication.translate("PhantomPropertiesGui", "Phantom Name", None, QtGui.QApplication.UnicodeUTF8))
self.label_4.setText(QtGui.QApplication.translate("PhantomPropertiesGui", "Field (T)", None, QtGui.QApplication.UnicodeUTF8))
self.label_5.setText(QtGui.QApplication.translate("PhantomPropertiesGui", "Comment", None, QtGui.QApplication.UnicodeUTF8))
self.label_6.setText(QtGui.QApplication.translate("PhantomPropertiesGui", "Temperature (C)", None, QtGui.QApplication.UnicodeUTF8))
self.label_8.setText(QtGui.QApplication.translate("PhantomPropertiesGui", "# of ROI sets", None, QtGui.QApplication.UnicodeUTF8))
self.menuFile.setTitle(QtGui.QApplication.translate("PhantomPropertiesGui", "File", None, QtGui.QApplication.UnicodeUTF8))
self.actionOpen_Phantom_File.setText(QtGui.QApplication.translate("PhantomPropertiesGui", "Open Phantom File", None, QtGui.QApplication.UnicodeUTF8))
self.actionSave_Phantom_File.setText(QtGui.QApplication.translate("PhantomPropertiesGui", "Save Phantom File", None, QtGui.QApplication.UnicodeUTF8))