Blame view

allanplotUI.py 6.59 KB
b62959916   mer0m   Add files via upload
1
2
3
4
  # -*- coding: utf-8 -*-
  
  # Form implementation generated from reading ui file 'allanplotUI.ui'
  #
216c27103   mer0m   Add files via upload
5
  # Created: Thu Jul  7 17:46:05 2016
4097f3a0c   bmarechal   replace 4 spaces ...
6
  #	  by: PyQt4 UI code generator 4.11.2
b62959916   mer0m   Add files via upload
7
8
9
10
11
12
  #
  # WARNING! All changes made in this file will be lost!
  
  from PyQt4 import QtCore, QtGui
  
  try:
4097f3a0c   bmarechal   replace 4 spaces ...
13
  	_fromUtf8 = QtCore.QString.fromUtf8
b62959916   mer0m   Add files via upload
14
  except AttributeError:
4097f3a0c   bmarechal   replace 4 spaces ...
15
16
  	def _fromUtf8(s):
  		return s
b62959916   mer0m   Add files via upload
17
18
  
  try:
4097f3a0c   bmarechal   replace 4 spaces ...
19
20
21
  	_encoding = QtGui.QApplication.UnicodeUTF8
  	def _translate(context, text, disambig):
  		return QtGui.QApplication.translate(context, text, disambig, _encoding)
b62959916   mer0m   Add files via upload
22
  except AttributeError:
4097f3a0c   bmarechal   replace 4 spaces ...
23
24
  	def _translate(context, text, disambig):
  		return QtGui.QApplication.translate(context, text, disambig)
b62959916   mer0m   Add files via upload
25
26
  
  class Ui_MainWindow(object):
4097f3a0c   bmarechal   replace 4 spaces ...
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
  	def setupUi(self, MainWindow):
  		MainWindow.setObjectName(_fromUtf8("MainWindow"))
  		MainWindow.resize(766, 780)
  		self.centralwidget = QtGui.QWidget(MainWindow)
  		self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
  		self.gridLayout = QtGui.QGridLayout(self.centralwidget)
  		self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
  		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)
  		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)
  		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)
  		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)
  		self.pushQuit = QtGui.QPushButton(self.centralwidget)
  		self.pushQuit.setObjectName(_fromUtf8("pushQuit"))
  		self.gridLayout.addWidget(self.pushQuit, 2, 1, 1, 1)
  		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)
  		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"))
b62959916   mer0m   Add files via upload
99

4097f3a0c   bmarechal   replace 4 spaces ...
100
101
  		self.retranslateUi(MainWindow)
  		QtCore.QMetaObject.connectSlotsByName(MainWindow)
b62959916   mer0m   Add files via upload
102

4097f3a0c   bmarechal   replace 4 spaces ...
103
104
105
106
107
108
109
110
111
112
  	def retranslateUi(self, MainWindow):
  		MainWindow.setWindowTitle(_translate("MainWindow", "allanplot-gui", None))
  		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))
  		self.textValue.setHtml(_translate("MainWindow", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">
  "
b62959916   mer0m   Add files via upload
113
114
115
116
117
118
119
  "<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))
4097f3a0c   bmarechal   replace 4 spaces ...
120
121
122
  		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\">
  "
216c27103   mer0m   Add files via upload
123
124
125
126
127
128
129
  "<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))
4097f3a0c   bmarechal   replace 4 spaces ...
130
131
132
  		self.actionOpen.setText(_translate("MainWindow", "Open", None))
  		self.actionPlot.setText(_translate("MainWindow", "Plot", None))
  		self.actionQuit.setText(_translate("MainWindow", "Quit", None))
b62959916   mer0m   Add files via upload
133