-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathQCaesarTemplate.py
72 lines (64 loc) · 3.19 KB
/
QCaesarTemplate.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
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'QCaesarTemplate.ui'
#
# Created by: PyQt4 UI code generator 4.11.4
#
# 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"))
MainWindow.resize(901, 1016)
self.centralwidget = QtGui.QWidget(MainWindow)
self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
self.diffView = PlotWidget(self.centralwidget)
self.diffView.setGeometry(QtCore.QRect(50, 640, 800, 200))
self.diffView.setObjectName(_fromUtf8("diffView"))
self.dtmView = GLViewWidget(self.centralwidget)
self.dtmView.setGeometry(QtCore.QRect(50, 30, 800, 600))
self.dtmView.setObjectName(_fromUtf8("dtmView"))
self.frameNumber = QtGui.QLCDNumber(self.centralwidget)
self.frameNumber.setGeometry(QtCore.QRect(720, 940, 111, 51))
self.frameNumber.setObjectName(_fromUtf8("frameNumber"))
self.horizontalSlider = QtGui.QSlider(self.centralwidget)
self.horizontalSlider.setGeometry(QtCore.QRect(50, 860, 791, 29))
self.horizontalSlider.setOrientation(QtCore.Qt.Horizontal)
self.horizontalSlider.setObjectName(_fromUtf8("horizontalSlider"))
self.checkBox = QtGui.QCheckBox(self.centralwidget)
self.checkBox.setGeometry(QtCore.QRect(60, 930, 181, 37))
self.checkBox.setObjectName(_fromUtf8("checkBox"))
self.label = QtGui.QLabel(self.centralwidget)
self.label.setGeometry(QtCore.QRect(700, 900, 151, 32))
self.label.setObjectName(_fromUtf8("label"))
self.diffBox = QtGui.QCheckBox(self.centralwidget)
self.diffBox.setGeometry(QtCore.QRect(200, 940, 99, 22))
self.diffBox.setObjectName(_fromUtf8("diffBox"))
MainWindow.setCentralWidget(self.centralwidget)
self.menubar = QtGui.QMenuBar(MainWindow)
self.menubar.setGeometry(QtCore.QRect(0, 0, 901, 25))
self.menubar.setObjectName(_fromUtf8("menubar"))
MainWindow.setMenuBar(self.menubar)
self.statusbar = QtGui.QStatusBar(MainWindow)
self.statusbar.setObjectName(_fromUtf8("statusbar"))
MainWindow.setStatusBar(self.statusbar)
self.retranslateUi(MainWindow)
QtCore.QMetaObject.connectSlotsByName(MainWindow)
def retranslateUi(self, MainWindow):
MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow", None))
self.checkBox.setText(_translate("MainWindow", "Play Movie", None))
self.label.setText(_translate("MainWindow", "Frame No.", None))
self.diffBox.setText(_translate("MainWindow", "Show Diffs", None))
from pyqtgraph import PlotWidget
from pyqtgraph.opengl import GLViewWidget