[f721030] | 1 | # -*- coding: utf-8 -*- |
---|
| 2 | |
---|
| 3 | # Form implementation generated from reading ui file 'tabbedFileLoad.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_DataLoadWidget(object): |
---|
| 26 | def setupUi(self, DataLoadWidget): |
---|
| 27 | DataLoadWidget.setObjectName(_fromUtf8("DataLoadWidget")) |
---|
| 28 | DataLoadWidget.resize(481, 612) |
---|
| 29 | icon = QtGui.QIcon() |
---|
| 30 | icon.addPixmap(QtGui.QPixmap(_fromUtf8(":/res/ball.ico")), QtGui.QIcon.Normal, QtGui.QIcon.Off) |
---|
| 31 | DataLoadWidget.setWindowIcon(icon) |
---|
| 32 | self.dataTab = QtGui.QWidget() |
---|
| 33 | self.dataTab.setObjectName(_fromUtf8("dataTab")) |
---|
| 34 | self.gridLayout_2 = QtGui.QGridLayout(self.dataTab) |
---|
| 35 | self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2")) |
---|
| 36 | self.label = QtGui.QLabel(self.dataTab) |
---|
| 37 | self.label.setObjectName(_fromUtf8("label")) |
---|
| 38 | self.gridLayout_2.addWidget(self.label, 0, 0, 1, 1) |
---|
| 39 | self.comboBox = QtGui.QComboBox(self.dataTab) |
---|
| 40 | self.comboBox.setObjectName(_fromUtf8("comboBox")) |
---|
| 41 | self.comboBox.addItem(_fromUtf8("")) |
---|
| 42 | self.comboBox.addItem(_fromUtf8("")) |
---|
| 43 | self.comboBox.addItem(_fromUtf8("")) |
---|
| 44 | self.comboBox.addItem(_fromUtf8("")) |
---|
| 45 | self.comboBox.addItem(_fromUtf8("")) |
---|
| 46 | self.comboBox.addItem(_fromUtf8("")) |
---|
| 47 | self.gridLayout_2.addWidget(self.comboBox, 1, 0, 1, 1) |
---|
| 48 | spacerItem = QtGui.QSpacerItem(352, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) |
---|
| 49 | self.gridLayout_2.addItem(spacerItem, 1, 1, 1, 2) |
---|
| 50 | self.groupBox = QtGui.QGroupBox(self.dataTab) |
---|
| 51 | self.groupBox.setObjectName(_fromUtf8("groupBox")) |
---|
| 52 | self.gridLayout = QtGui.QGridLayout(self.groupBox) |
---|
| 53 | self.gridLayout.setObjectName(_fromUtf8("gridLayout")) |
---|
| 54 | self.treeView = QtGui.QTreeView(self.groupBox) |
---|
| 55 | self.treeView.setObjectName(_fromUtf8("treeView")) |
---|
| 56 | self.gridLayout.addWidget(self.treeView, 0, 0, 1, 1) |
---|
| 57 | self.horizontalLayout_3 = QtGui.QHBoxLayout() |
---|
| 58 | self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3")) |
---|
| 59 | self.pushButton = QtGui.QPushButton(self.groupBox) |
---|
| 60 | self.pushButton.setObjectName(_fromUtf8("pushButton")) |
---|
| 61 | self.horizontalLayout_3.addWidget(self.pushButton) |
---|
| 62 | self.pushButton_2 = QtGui.QPushButton(self.groupBox) |
---|
| 63 | self.pushButton_2.setObjectName(_fromUtf8("pushButton_2")) |
---|
| 64 | self.horizontalLayout_3.addWidget(self.pushButton_2) |
---|
| 65 | spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) |
---|
| 66 | self.horizontalLayout_3.addItem(spacerItem1) |
---|
| 67 | self.gridLayout.addLayout(self.horizontalLayout_3, 1, 0, 1, 1) |
---|
| 68 | self.horizontalLayout = QtGui.QHBoxLayout() |
---|
| 69 | self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout")) |
---|
| 70 | self.pushButton_6 = QtGui.QPushButton(self.groupBox) |
---|
| 71 | self.pushButton_6.setObjectName(_fromUtf8("pushButton_6")) |
---|
| 72 | self.horizontalLayout.addWidget(self.pushButton_6) |
---|
| 73 | self.comboBox_3 = QtGui.QComboBox(self.groupBox) |
---|
| 74 | self.comboBox_3.setSizeAdjustPolicy(QtGui.QComboBox.AdjustToContents) |
---|
| 75 | self.comboBox_3.setObjectName(_fromUtf8("comboBox_3")) |
---|
| 76 | self.comboBox_3.addItem(_fromUtf8("")) |
---|
| 77 | self.comboBox_3.addItem(_fromUtf8("")) |
---|
| 78 | self.comboBox_3.addItem(_fromUtf8("")) |
---|
| 79 | self.horizontalLayout.addWidget(self.comboBox_3) |
---|
| 80 | self.checkBox = QtGui.QCheckBox(self.groupBox) |
---|
| 81 | self.checkBox.setObjectName(_fromUtf8("checkBox")) |
---|
| 82 | self.horizontalLayout.addWidget(self.checkBox) |
---|
| 83 | spacerItem2 = QtGui.QSpacerItem(197, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) |
---|
| 84 | self.horizontalLayout.addItem(spacerItem2) |
---|
| 85 | self.gridLayout.addLayout(self.horizontalLayout, 2, 0, 1, 1) |
---|
| 86 | self.gridLayout_2.addWidget(self.groupBox, 2, 0, 1, 3) |
---|
| 87 | self.groupBox_3 = QtGui.QGroupBox(self.dataTab) |
---|
| 88 | self.groupBox_3.setObjectName(_fromUtf8("groupBox_3")) |
---|
| 89 | self.gridLayout_3 = QtGui.QGridLayout(self.groupBox_3) |
---|
| 90 | self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3")) |
---|
| 91 | self.pushButton_5 = QtGui.QPushButton(self.groupBox_3) |
---|
| 92 | self.pushButton_5.setObjectName(_fromUtf8("pushButton_5")) |
---|
| 93 | self.gridLayout_3.addWidget(self.pushButton_5, 0, 0, 1, 1) |
---|
| 94 | self.pushButton_8 = QtGui.QPushButton(self.groupBox_3) |
---|
| 95 | self.pushButton_8.setObjectName(_fromUtf8("pushButton_8")) |
---|
| 96 | self.gridLayout_3.addWidget(self.pushButton_8, 1, 0, 1, 1) |
---|
| 97 | self.comboBox_2 = QtGui.QComboBox(self.groupBox_3) |
---|
| 98 | self.comboBox_2.setSizeAdjustPolicy(QtGui.QComboBox.AdjustToContents) |
---|
| 99 | self.comboBox_2.setObjectName(_fromUtf8("comboBox_2")) |
---|
| 100 | self.comboBox_2.addItem(_fromUtf8("")) |
---|
| 101 | self.gridLayout_3.addWidget(self.comboBox_2, 1, 1, 1, 1) |
---|
| 102 | self.gridLayout_2.addWidget(self.groupBox_3, 3, 0, 1, 2) |
---|
| 103 | spacerItem3 = QtGui.QSpacerItem(287, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) |
---|
| 104 | self.gridLayout_2.addItem(spacerItem3, 3, 2, 1, 1) |
---|
| 105 | DataLoadWidget.addTab(self.dataTab, _fromUtf8("")) |
---|
| 106 | self.theoryTab = QtGui.QWidget() |
---|
| 107 | self.theoryTab.setObjectName(_fromUtf8("theoryTab")) |
---|
| 108 | self.gridLayout_5 = QtGui.QGridLayout(self.theoryTab) |
---|
| 109 | self.gridLayout_5.setObjectName(_fromUtf8("gridLayout_5")) |
---|
| 110 | self.groupBox_2 = QtGui.QGroupBox(self.theoryTab) |
---|
| 111 | self.groupBox_2.setObjectName(_fromUtf8("groupBox_2")) |
---|
| 112 | self.gridLayout_4 = QtGui.QGridLayout(self.groupBox_2) |
---|
| 113 | self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4")) |
---|
| 114 | self.listView = QtGui.QListView(self.groupBox_2) |
---|
| 115 | self.listView.setObjectName(_fromUtf8("listView")) |
---|
| 116 | self.gridLayout_4.addWidget(self.listView, 0, 0, 1, 2) |
---|
| 117 | self.pushButton_9 = QtGui.QPushButton(self.groupBox_2) |
---|
| 118 | self.pushButton_9.setObjectName(_fromUtf8("pushButton_9")) |
---|
| 119 | self.gridLayout_4.addWidget(self.pushButton_9, 1, 0, 1, 1) |
---|
| 120 | spacerItem4 = QtGui.QSpacerItem(353, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) |
---|
| 121 | self.gridLayout_4.addItem(spacerItem4, 1, 1, 1, 1) |
---|
| 122 | self.gridLayout_5.addWidget(self.groupBox_2, 0, 0, 1, 1) |
---|
| 123 | DataLoadWidget.addTab(self.theoryTab, _fromUtf8("")) |
---|
| 124 | |
---|
| 125 | self.retranslateUi(DataLoadWidget) |
---|
| 126 | DataLoadWidget.setCurrentIndex(0) |
---|
| 127 | QtCore.QMetaObject.connectSlotsByName(DataLoadWidget) |
---|
| 128 | |
---|
| 129 | def retranslateUi(self, DataLoadWidget): |
---|
| 130 | DataLoadWidget.setWindowTitle(_translate("DataLoadWidget", "TabWidget", None)) |
---|
| 131 | self.label.setText(_translate("DataLoadWidget", "Selection Options", None)) |
---|
| 132 | self.comboBox.setItemText(0, _translate("DataLoadWidget", "Select all", None)) |
---|
| 133 | self.comboBox.setItemText(1, _translate("DataLoadWidget", "Unselect all", None)) |
---|
| 134 | self.comboBox.setItemText(2, _translate("DataLoadWidget", "Select all 1D", None)) |
---|
| 135 | self.comboBox.setItemText(3, _translate("DataLoadWidget", "Unselect all 1D", None)) |
---|
| 136 | self.comboBox.setItemText(4, _translate("DataLoadWidget", "Select all 2D", None)) |
---|
| 137 | self.comboBox.setItemText(5, _translate("DataLoadWidget", "Unselect all 2D", None)) |
---|
| 138 | self.groupBox.setTitle(_translate("DataLoadWidget", "Data", None)) |
---|
| 139 | self.pushButton.setText(_translate("DataLoadWidget", "Load", None)) |
---|
| 140 | self.pushButton_2.setText(_translate("DataLoadWidget", "Delete", None)) |
---|
| 141 | self.pushButton_6.setText(_translate("DataLoadWidget", "Send to", None)) |
---|
| 142 | self.comboBox_3.setItemText(0, _translate("DataLoadWidget", "Fitting", None)) |
---|
| 143 | self.comboBox_3.setItemText(1, _translate("DataLoadWidget", "Pr inversion", None)) |
---|
| 144 | self.comboBox_3.setItemText(2, _translate("DataLoadWidget", "Invariant", None)) |
---|
| 145 | self.checkBox.setText(_translate("DataLoadWidget", "Batch mode", None)) |
---|
| 146 | self.groupBox_3.setTitle(_translate("DataLoadWidget", "Plot", None)) |
---|
| 147 | self.pushButton_5.setText(_translate("DataLoadWidget", "New", None)) |
---|
| 148 | self.pushButton_8.setText(_translate("DataLoadWidget", "Append to", None)) |
---|
| 149 | self.comboBox_2.setItemText(0, _translate("DataLoadWidget", "Graph1", None)) |
---|
| 150 | DataLoadWidget.setTabText(DataLoadWidget.indexOf(self.dataTab), _translate("DataLoadWidget", "Data", None)) |
---|
| 151 | self.groupBox_2.setTitle(_translate("DataLoadWidget", "Theory", None)) |
---|
| 152 | self.pushButton_9.setText(_translate("DataLoadWidget", "Freeze", None)) |
---|
| 153 | DataLoadWidget.setTabText(DataLoadWidget.indexOf(self.theoryTab), _translate("DataLoadWidget", "Theory", None)) |
---|
| 154 | |
---|
| 155 | import main_resources_rc |
---|
| 156 | |
---|
| 157 | class DataLoadWidget(QtGui.QTabWidget, Ui_DataLoadWidget): |
---|
| 158 | def __init__(self, parent=None, f=QtCore.Qt.WindowFlags()): |
---|
| 159 | QtGui.QTabWidget.__init__(self, parent, f) |
---|
| 160 | |
---|
| 161 | self.setupUi(self) |
---|
| 162 | |
---|