1 | # -*- coding: utf-8 -*- |
---|
2 | |
---|
3 | # Form implementation generated from reading ui file 'DataExplorer.ui' |
---|
4 | # |
---|
5 | # Created by: PyQt4 UI code generator 4.11.4 |
---|
6 | # |
---|
7 | # WARNING! All changes made in this file will be lost! |
---|
8 | |
---|
9 | from PyQt4 import QtCore, QtGui |
---|
10 | |
---|
11 | try: |
---|
12 | _fromUtf8 = QtCore.QString.fromUtf8 |
---|
13 | except AttributeError: |
---|
14 | def _fromUtf8(s): |
---|
15 | return s |
---|
16 | |
---|
17 | try: |
---|
18 | _encoding = QtGui.QApplication.UnicodeUTF8 |
---|
19 | def _translate(context, text, disambig): |
---|
20 | return QtGui.QApplication.translate(context, text, disambig, _encoding) |
---|
21 | except AttributeError: |
---|
22 | def _translate(context, text, disambig): |
---|
23 | return QtGui.QApplication.translate(context, text, disambig) |
---|
24 | |
---|
25 | class Ui_DataExplorerUI(object): |
---|
26 | def setupUi(self, DataExplorerUI): |
---|
27 | DataExplorerUI.setObjectName(_fromUtf8("DataExplorerUI")) |
---|
28 | DataExplorerUI.resize(488, 589) |
---|
29 | self.gridLayout_4 = QtGui.QGridLayout(DataExplorerUI) |
---|
30 | self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4")) |
---|
31 | self.label = QtGui.QLabel(DataExplorerUI) |
---|
32 | self.label.setObjectName(_fromUtf8("label")) |
---|
33 | self.gridLayout_4.addWidget(self.label, 0, 0, 1, 1) |
---|
34 | self.comboBox = QtGui.QComboBox(DataExplorerUI) |
---|
35 | self.comboBox.setObjectName(_fromUtf8("comboBox")) |
---|
36 | self.comboBox.addItem(_fromUtf8("")) |
---|
37 | self.comboBox.addItem(_fromUtf8("")) |
---|
38 | self.comboBox.addItem(_fromUtf8("")) |
---|
39 | self.comboBox.addItem(_fromUtf8("")) |
---|
40 | self.comboBox.addItem(_fromUtf8("")) |
---|
41 | self.comboBox.addItem(_fromUtf8("")) |
---|
42 | self.gridLayout_4.addWidget(self.comboBox, 1, 0, 1, 1) |
---|
43 | spacerItem = QtGui.QSpacerItem(278, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) |
---|
44 | self.gridLayout_4.addItem(spacerItem, 1, 1, 1, 1) |
---|
45 | self.groupBox = QtGui.QGroupBox(DataExplorerUI) |
---|
46 | self.groupBox.setObjectName(_fromUtf8("groupBox")) |
---|
47 | self.gridLayout = QtGui.QGridLayout(self.groupBox) |
---|
48 | self.gridLayout.setObjectName(_fromUtf8("gridLayout")) |
---|
49 | self.treeView = QtGui.QTreeView(self.groupBox) |
---|
50 | self.treeView.setObjectName(_fromUtf8("treeView")) |
---|
51 | self.gridLayout.addWidget(self.treeView, 0, 0, 1, 1) |
---|
52 | self.verticalLayout = QtGui.QVBoxLayout() |
---|
53 | self.verticalLayout.setObjectName(_fromUtf8("verticalLayout")) |
---|
54 | self.pushButton = QtGui.QPushButton(self.groupBox) |
---|
55 | self.pushButton.setObjectName(_fromUtf8("pushButton")) |
---|
56 | self.verticalLayout.addWidget(self.pushButton) |
---|
57 | self.pushButton_2 = QtGui.QPushButton(self.groupBox) |
---|
58 | self.pushButton_2.setObjectName(_fromUtf8("pushButton_2")) |
---|
59 | self.verticalLayout.addWidget(self.pushButton_2) |
---|
60 | spacerItem1 = QtGui.QSpacerItem(20, 141, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) |
---|
61 | self.verticalLayout.addItem(spacerItem1) |
---|
62 | self.gridLayout.addLayout(self.verticalLayout, 0, 1, 1, 1) |
---|
63 | self.horizontalLayout = QtGui.QHBoxLayout() |
---|
64 | self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout")) |
---|
65 | self.pushButton_6 = QtGui.QPushButton(self.groupBox) |
---|
66 | self.pushButton_6.setObjectName(_fromUtf8("pushButton_6")) |
---|
67 | self.horizontalLayout.addWidget(self.pushButton_6) |
---|
68 | self.comboBox_3 = QtGui.QComboBox(self.groupBox) |
---|
69 | self.comboBox_3.setObjectName(_fromUtf8("comboBox_3")) |
---|
70 | self.comboBox_3.addItem(_fromUtf8("")) |
---|
71 | self.comboBox_3.addItem(_fromUtf8("")) |
---|
72 | self.comboBox_3.addItem(_fromUtf8("")) |
---|
73 | self.horizontalLayout.addWidget(self.comboBox_3) |
---|
74 | self.checkBox = QtGui.QCheckBox(self.groupBox) |
---|
75 | self.checkBox.setObjectName(_fromUtf8("checkBox")) |
---|
76 | self.horizontalLayout.addWidget(self.checkBox) |
---|
77 | spacerItem2 = QtGui.QSpacerItem(197, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) |
---|
78 | self.horizontalLayout.addItem(spacerItem2) |
---|
79 | self.gridLayout.addLayout(self.horizontalLayout, 1, 0, 1, 2) |
---|
80 | self.gridLayout_4.addWidget(self.groupBox, 2, 0, 1, 2) |
---|
81 | self.groupBox_2 = QtGui.QGroupBox(DataExplorerUI) |
---|
82 | self.groupBox_2.setObjectName(_fromUtf8("groupBox_2")) |
---|
83 | self.gridLayout_2 = QtGui.QGridLayout(self.groupBox_2) |
---|
84 | self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2")) |
---|
85 | self.listView = QtGui.QListView(self.groupBox_2) |
---|
86 | self.listView.setObjectName(_fromUtf8("listView")) |
---|
87 | self.gridLayout_2.addWidget(self.listView, 0, 0, 2, 1) |
---|
88 | self.pushButton_3 = QtGui.QPushButton(self.groupBox_2) |
---|
89 | self.pushButton_3.setObjectName(_fromUtf8("pushButton_3")) |
---|
90 | self.gridLayout_2.addWidget(self.pushButton_3, 0, 1, 1, 1) |
---|
91 | spacerItem3 = QtGui.QSpacerItem(20, 198, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) |
---|
92 | self.gridLayout_2.addItem(spacerItem3, 1, 1, 1, 1) |
---|
93 | self.gridLayout_4.addWidget(self.groupBox_2, 3, 0, 1, 2) |
---|
94 | self.groupBox_3 = QtGui.QGroupBox(DataExplorerUI) |
---|
95 | self.groupBox_3.setObjectName(_fromUtf8("groupBox_3")) |
---|
96 | self.gridLayout_3 = QtGui.QGridLayout(self.groupBox_3) |
---|
97 | self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3")) |
---|
98 | self.pushButton_4 = QtGui.QPushButton(self.groupBox_3) |
---|
99 | self.pushButton_4.setObjectName(_fromUtf8("pushButton_4")) |
---|
100 | self.gridLayout_3.addWidget(self.pushButton_4, 0, 0, 1, 1) |
---|
101 | self.pushButton_5 = QtGui.QPushButton(self.groupBox_3) |
---|
102 | self.pushButton_5.setObjectName(_fromUtf8("pushButton_5")) |
---|
103 | self.gridLayout_3.addWidget(self.pushButton_5, 1, 0, 1, 1) |
---|
104 | self.comboBox_2 = QtGui.QComboBox(self.groupBox_3) |
---|
105 | self.comboBox_2.setObjectName(_fromUtf8("comboBox_2")) |
---|
106 | self.comboBox_2.addItem(_fromUtf8("")) |
---|
107 | self.gridLayout_3.addWidget(self.comboBox_2, 1, 1, 1, 1) |
---|
108 | self.gridLayout_4.addWidget(self.groupBox_3, 4, 0, 1, 1) |
---|
109 | self.groupBox_3.raise_() |
---|
110 | self.groupBox_2.raise_() |
---|
111 | self.groupBox.raise_() |
---|
112 | self.comboBox.raise_() |
---|
113 | self.label.raise_() |
---|
114 | |
---|
115 | self.retranslateUi(DataExplorerUI) |
---|
116 | QtCore.QMetaObject.connectSlotsByName(DataExplorerUI) |
---|
117 | |
---|
118 | def retranslateUi(self, DataExplorerUI): |
---|
119 | DataExplorerUI.setWindowTitle(_translate("DataExplorerUI", "Dialog", None)) |
---|
120 | self.label.setText(_translate("DataExplorerUI", "Selection Options", None)) |
---|
121 | self.comboBox.setItemText(0, _translate("DataExplorerUI", "Select all", None)) |
---|
122 | self.comboBox.setItemText(1, _translate("DataExplorerUI", "Unselect all", None)) |
---|
123 | self.comboBox.setItemText(2, _translate("DataExplorerUI", "Select all 1D", None)) |
---|
124 | self.comboBox.setItemText(3, _translate("DataExplorerUI", "Unselect all 1D", None)) |
---|
125 | self.comboBox.setItemText(4, _translate("DataExplorerUI", "Select all 2D", None)) |
---|
126 | self.comboBox.setItemText(5, _translate("DataExplorerUI", "Unselect all 2D", None)) |
---|
127 | self.groupBox.setTitle(_translate("DataExplorerUI", "Data", None)) |
---|
128 | self.pushButton.setText(_translate("DataExplorerUI", "Load", None)) |
---|
129 | self.pushButton_2.setText(_translate("DataExplorerUI", "Delete", None)) |
---|
130 | self.pushButton_6.setText(_translate("DataExplorerUI", "Send to", None)) |
---|
131 | self.comboBox_3.setItemText(0, _translate("DataExplorerUI", "Fitting", None)) |
---|
132 | self.comboBox_3.setItemText(1, _translate("DataExplorerUI", "Pr inversion", None)) |
---|
133 | self.comboBox_3.setItemText(2, _translate("DataExplorerUI", "Invariant", None)) |
---|
134 | self.checkBox.setText(_translate("DataExplorerUI", "Batch mode", None)) |
---|
135 | self.groupBox_2.setTitle(_translate("DataExplorerUI", "Theory", None)) |
---|
136 | self.pushButton_3.setText(_translate("DataExplorerUI", "Freeze", None)) |
---|
137 | self.groupBox_3.setTitle(_translate("DataExplorerUI", "Plot", None)) |
---|
138 | self.pushButton_4.setText(_translate("DataExplorerUI", "New", None)) |
---|
139 | self.pushButton_5.setText(_translate("DataExplorerUI", "Append to", None)) |
---|
140 | self.comboBox_2.setItemText(0, _translate("DataExplorerUI", "Graph1", None)) |
---|
141 | |
---|
142 | |
---|
143 | class DataExplorerUI(QtGui.QDialog, Ui_DataExplorerUI): |
---|
144 | def __init__(self, parent=None, f=QtCore.Qt.WindowFlags()): |
---|
145 | QtGui.QDialog.__init__(self, parent, f) |
---|
146 | |
---|
147 | self.setupUi(self) |
---|
148 | |
---|