-
Notifications
You must be signed in to change notification settings - Fork 0
/
poledancer_mainwindow.py
94 lines (85 loc) · 4.54 KB
/
poledancer_mainwindow.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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'poledancer_mainwindow.ui'
#
# Created by: PyQt5 UI code generator 5.14.1
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_MainWindow(object):
def setupUi(self, MainWindow):
MainWindow.setObjectName("MainWindow")
MainWindow.resize(1120, 879)
icon = QtGui.QIcon()
icon.addPixmap(QtGui.QPixmap("Resources/icon_small.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
MainWindow.setWindowIcon(icon)
self.centralwidget = QtWidgets.QWidget(MainWindow)
self.centralwidget.setObjectName("centralwidget")
MainWindow.setCentralWidget(self.centralwidget)
self.menubar = QtWidgets.QMenuBar(MainWindow)
self.menubar.setGeometry(QtCore.QRect(0, 0, 1120, 25))
self.menubar.setObjectName("menubar")
self.menuFile = QtWidgets.QMenu(self.menubar)
self.menuFile.setObjectName("menuFile")
self.menuHelp = QtWidgets.QMenu(self.menubar)
self.menuHelp.setObjectName("menuHelp")
self.menuSettings = QtWidgets.QMenu(self.menubar)
self.menuSettings.setObjectName("menuSettings")
self.menuCamera = QtWidgets.QMenu(self.menubar)
self.menuCamera.setObjectName("menuCamera")
self.menuConnect = QtWidgets.QMenu(self.menuCamera)
self.menuConnect.setObjectName("menuConnect")
MainWindow.setMenuBar(self.menubar)
self.statusbar = QtWidgets.QStatusBar(MainWindow)
self.statusbar.setObjectName("statusbar")
MainWindow.setStatusBar(self.statusbar)
self.actionQuit = QtWidgets.QAction(MainWindow)
self.actionQuit.setObjectName("actionQuit")
self.actionManual = QtWidgets.QAction(MainWindow)
self.actionManual.setObjectName("actionManual")
self.actionAbout = QtWidgets.QAction(MainWindow)
self.actionAbout.setObjectName("actionAbout")
self.actionSettings = QtWidgets.QAction(MainWindow)
self.actionSettings.setObjectName("actionSettings")
self.actionPrefferences = QtWidgets.QAction(MainWindow)
self.actionPrefferences.setObjectName("actionPrefferences")
self.actionCamera_Simulator_for_testing = QtWidgets.QAction(MainWindow)
self.actionCamera_Simulator_for_testing.setObjectName("actionCamera_Simulator_for_testing")
self.actionLicense = QtWidgets.QAction(MainWindow)
self.actionLicense.setObjectName("actionLicense")
self.menuFile.addAction(self.actionQuit)
self.menuHelp.addAction(self.actionManual)
self.menuHelp.addAction(self.actionAbout)
self.menuHelp.addAction(self.actionLicense)
self.menuSettings.addAction(self.actionPrefferences)
self.menuConnect.addAction(self.actionCamera_Simulator_for_testing)
self.menuCamera.addAction(self.menuConnect.menuAction())
self.menubar.addAction(self.menuFile.menuAction())
self.menubar.addAction(self.menuCamera.menuAction())
self.menubar.addAction(self.menuSettings.menuAction())
self.menubar.addAction(self.menuHelp.menuAction())
self.retranslateUi(MainWindow)
QtCore.QMetaObject.connectSlotsByName(MainWindow)
def retranslateUi(self, MainWindow):
_translate = QtCore.QCoreApplication.translate
MainWindow.setWindowTitle(_translate("MainWindow", "PoleDancer"))
self.menuFile.setTitle(_translate("MainWindow", "File"))
self.menuHelp.setTitle(_translate("MainWindow", "Help"))
self.menuSettings.setTitle(_translate("MainWindow", "Settings"))
self.menuCamera.setTitle(_translate("MainWindow", "Camera"))
self.menuConnect.setTitle(_translate("MainWindow", "Connect"))
self.actionQuit.setText(_translate("MainWindow", "Quit"))
self.actionQuit.setStatusTip(_translate("MainWindow", "Exit poleseeker"))
self.actionManual.setText(_translate("MainWindow", "Manual"))
self.actionAbout.setText(_translate("MainWindow", "About"))
self.actionSettings.setText(_translate("MainWindow", "Settings"))
self.actionPrefferences.setText(_translate("MainWindow", "Prefferences"))
self.actionCamera_Simulator_for_testing.setText(_translate("MainWindow", "Camera Simulator (for testing)"))
self.actionLicense.setText(_translate("MainWindow", "License"))
if __name__ == "__main__":
import sys
app = QtWidgets.QApplication(sys.argv)
MainWindow = QtWidgets.QMainWindow()
ui = Ui_MainWindow()
ui.setupUi(MainWindow)
MainWindow.show()
sys.exit(app.exec_())