Blame view
allanplotUI.py
7.14 KB
b62959916 Add files via upload |
1 2 3 4 |
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'allanplotUI.ui' # |
216c27103 Add files via upload |
5 |
# Created: Thu Jul 7 17:46:05 2016 |
b62959916 Add files via upload |
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
# by: PyQt4 UI code generator 4.11.2 # # WARNING! All changes made in this file will be lost! from PyQt4 import QtCore, QtGui try: _fromUtf8 = QtCore.QString.fromUtf8 except AttributeError: def _fromUtf8(s): return s try: _encoding = QtGui.QApplication.UnicodeUTF8 def _translate(context, text, disambig): return QtGui.QApplication.translate(context, text, disambig, _encoding) except AttributeError: def _translate(context, text, disambig): return QtGui.QApplication.translate(context, text, disambig) class Ui_MainWindow(object): def setupUi(self, MainWindow): MainWindow.setObjectName(_fromUtf8("MainWindow")) |
216c27103 Add files via upload |
29 |
MainWindow.resize(766, 780) |
b62959916 Add files via upload |
30 31 32 33 |
self.centralwidget = QtGui.QWidget(MainWindow) self.centralwidget.setObjectName(_fromUtf8("centralwidget")) self.gridLayout = QtGui.QGridLayout(self.centralwidget) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) |
b62959916 Add files via upload |
34 35 36 37 |
self.pushOpen = QtGui.QPushButton(self.centralwidget) self.pushOpen.setObjectName(_fromUtf8("pushOpen")) self.gridLayout.addWidget(self.pushOpen, 1, 1, 1, 1) self.groupBox = QtGui.QGroupBox(self.centralwidget) |
216c27103 Add files via upload |
38 39 40 41 42 |
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Minimum) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.groupBox.sizePolicy().hasHeightForWidth()) self.groupBox.setSizePolicy(sizePolicy) |
b62959916 Add files via upload |
43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 |
self.groupBox.setObjectName(_fromUtf8("groupBox")) self.verticalLayout_2 = QtGui.QVBoxLayout(self.groupBox) self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2")) self.pushTimePlot = QtGui.QPushButton(self.groupBox) self.pushTimePlot.setObjectName(_fromUtf8("pushTimePlot")) self.verticalLayout_2.addWidget(self.pushTimePlot) self.pushRelativeTimePlot = QtGui.QPushButton(self.groupBox) self.pushRelativeTimePlot.setObjectName(_fromUtf8("pushRelativeTimePlot")) self.verticalLayout_2.addWidget(self.pushRelativeTimePlot) self.pushAdevPlot = QtGui.QPushButton(self.groupBox) self.pushAdevPlot.setObjectName(_fromUtf8("pushAdevPlot")) self.verticalLayout_2.addWidget(self.pushAdevPlot) self.pushRelativeAdevPlot = QtGui.QPushButton(self.groupBox) self.pushRelativeAdevPlot.setObjectName(_fromUtf8("pushRelativeAdevPlot")) self.verticalLayout_2.addWidget(self.pushRelativeAdevPlot) |
216c27103 Add files via upload |
58 59 60 61 62 63 64 65 66 67 68 |
self.gridLayout.addWidget(self.groupBox, 4, 1, 1, 1) self.textValue = QtGui.QTextBrowser(self.centralwidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.textValue.sizePolicy().hasHeightForWidth()) self.textValue.setSizePolicy(sizePolicy) self.textValue.setMinimumSize(QtCore.QSize(600, 150)) self.textValue.setMaximumSize(QtCore.QSize(16777215, 150)) self.textValue.setObjectName(_fromUtf8("textValue")) self.gridLayout.addWidget(self.textValue, 4, 2, 1, 1) |
b62959916 Add files via upload |
69 70 71 |
self.pushQuit = QtGui.QPushButton(self.centralwidget) self.pushQuit.setObjectName(_fromUtf8("pushQuit")) self.gridLayout.addWidget(self.pushQuit, 2, 1, 1, 1) |
216c27103 Add files via upload |
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 |
self.textFileList = QtGui.QTextBrowser(self.centralwidget) self.textFileList.setEnabled(True) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Maximum) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.textFileList.sizePolicy().hasHeightForWidth()) self.textFileList.setSizePolicy(sizePolicy) self.textFileList.setMinimumSize(QtCore.QSize(600, 100)) self.textFileList.setMaximumSize(QtCore.QSize(16777215, 100)) self.textFileList.setObjectName(_fromUtf8("textFileList")) self.gridLayout.addWidget(self.textFileList, 1, 2, 3, 1) self.frame = QtGui.QFrame(self.centralwidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.frame.sizePolicy().hasHeightForWidth()) self.frame.setSizePolicy(sizePolicy) self.frame.setMinimumSize(QtCore.QSize(700, 500)) self.frame.setObjectName(_fromUtf8("frame")) self.gridLayout.addWidget(self.frame, 5, 1, 1, 2) |
b62959916 Add files via upload |
92 93 94 95 96 97 98 99 100 101 102 103 |
MainWindow.setCentralWidget(self.centralwidget) self.actionOpen = QtGui.QAction(MainWindow) self.actionOpen.setObjectName(_fromUtf8("actionOpen")) self.actionPlot = QtGui.QAction(MainWindow) self.actionPlot.setObjectName(_fromUtf8("actionPlot")) self.actionQuit = QtGui.QAction(MainWindow) self.actionQuit.setObjectName(_fromUtf8("actionQuit")) self.retranslateUi(MainWindow) QtCore.QMetaObject.connectSlotsByName(MainWindow) def retranslateUi(self, MainWindow): |
216c27103 Add files via upload |
104 |
MainWindow.setWindowTitle(_translate("MainWindow", "allanplot-gui", None)) |
b62959916 Add files via upload |
105 106 107 108 109 110 |
self.pushOpen.setText(_translate("MainWindow", "Open", None)) self.groupBox.setTitle(_translate("MainWindow", "Plotting tools", None)) self.pushTimePlot.setText(_translate("MainWindow", "Time Plot", None)) self.pushRelativeTimePlot.setText(_translate("MainWindow", "Relative Time Plot", None)) self.pushAdevPlot.setText(_translate("MainWindow", "Adev Plot", None)) self.pushRelativeAdevPlot.setText(_translate("MainWindow", "Relative Adev Plot", None)) |
b62959916 Add files via upload |
111 112 113 114 115 116 117 118 119 |
self.textValue.setHtml(_translate("MainWindow", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\"> " "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\"> " "p, li { white-space: pre-wrap; } " "</style></head><body style=\" font-family:\'DejaVu Sans\'; font-size:9pt; font-weight:400; font-style:normal;\"> " "<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><br /></p></body></html>", None)) |
216c27103 Add files via upload |
120 121 122 123 124 125 126 127 128 129 |
self.pushQuit.setText(_translate("MainWindow", "Quit", None)) self.textFileList.setHtml(_translate("MainWindow", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\"> " "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\"> " "p, li { white-space: pre-wrap; } " "</style></head><body style=\" font-family:\'DejaVu Sans\'; font-size:9pt; font-weight:400; font-style:normal;\"> " "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">.dat files</p></body></html>", None)) |
b62959916 Add files via upload |
130 131 132 |
self.actionOpen.setText(_translate("MainWindow", "Open", None)) self.actionPlot.setText(_translate("MainWindow", "Plot", None)) self.actionQuit.setText(_translate("MainWindow", "Quit", None)) |