-
Notifications
You must be signed in to change notification settings - Fork 0
/
GUI.py
99 lines (91 loc) · 4.83 KB
/
GUI.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
95
96
97
98
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'GUI.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_Form(object):
def setupUi(self, Form):
Form.setObjectName(_fromUtf8("Form"))
Form.resize(622, 439)
self.horizontalLayout = QtGui.QHBoxLayout(Form)
self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
self.tabWidget = QtGui.QTabWidget(Form)
self.tabWidget.setObjectName(_fromUtf8("tabWidget"))
self.tab = QtGui.QWidget()
self.tab.setObjectName(_fromUtf8("tab"))
self.verticalLayout = QtGui.QVBoxLayout(self.tab)
self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
self.groupBox = QtGui.QGroupBox(self.tab)
self.groupBox.setObjectName(_fromUtf8("groupBox"))
self.verticalLayout_2 = QtGui.QVBoxLayout(self.groupBox)
self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
self.widget = QtGui.QWidget(self.groupBox)
self.widget.setObjectName(_fromUtf8("widget"))
self.formLayout = QtGui.QFormLayout(self.widget)
self.formLayout.setFieldGrowthPolicy(QtGui.QFormLayout.AllNonFixedFieldsGrow)
self.formLayout.setObjectName(_fromUtf8("formLayout"))
self.label = QtGui.QLabel(self.widget)
self.label.setObjectName(_fromUtf8("label"))
self.formLayout.setWidget(0, QtGui.QFormLayout.LabelRole, self.label)
self.checkBox = QtGui.QCheckBox(self.widget)
self.checkBox.setObjectName(_fromUtf8("checkBox"))
self.formLayout.setWidget(0, QtGui.QFormLayout.FieldRole, self.checkBox)
self.label_4 = QtGui.QLabel(self.widget)
self.label_4.setObjectName(_fromUtf8("label_4"))
self.formLayout.setWidget(1, QtGui.QFormLayout.LabelRole, self.label_4)
self.checkBox_4 = QtGui.QCheckBox(self.widget)
self.checkBox_4.setObjectName(_fromUtf8("checkBox_4"))
self.formLayout.setWidget(1, QtGui.QFormLayout.FieldRole, self.checkBox_4)
self.label_7 = QtGui.QLabel(self.widget)
self.label_7.setObjectName(_fromUtf8("label_7"))
self.formLayout.setWidget(2, QtGui.QFormLayout.LabelRole, self.label_7)
self.checkBox_5 = QtGui.QCheckBox(self.widget)
self.checkBox_5.setObjectName(_fromUtf8("checkBox_5"))
self.formLayout.setWidget(2, QtGui.QFormLayout.FieldRole, self.checkBox_5)
self.label_8 = QtGui.QLabel(self.widget)
self.label_8.setObjectName(_fromUtf8("label_8"))
self.formLayout.setWidget(3, QtGui.QFormLayout.LabelRole, self.label_8)
self.checkBox_6 = QtGui.QCheckBox(self.widget)
self.checkBox_6.setObjectName(_fromUtf8("checkBox_6"))
self.formLayout.setWidget(3, QtGui.QFormLayout.FieldRole, self.checkBox_6)
self.verticalLayout_2.addWidget(self.widget)
self.verticalLayout.addWidget(self.groupBox)
self.groupBox_2 = QtGui.QGroupBox(self.tab)
self.groupBox_2.setObjectName(_fromUtf8("groupBox_2"))
self.verticalLayout.addWidget(self.groupBox_2)
self.tabWidget.addTab(self.tab, _fromUtf8(""))
self.tab_2 = QtGui.QWidget()
self.tab_2.setObjectName(_fromUtf8("tab_2"))
self.tabWidget.addTab(self.tab_2, _fromUtf8(""))
self.horizontalLayout.addWidget(self.tabWidget)
self.retranslateUi(Form)
self.tabWidget.setCurrentIndex(0)
QtCore.QMetaObject.connectSlotsByName(Form)
def retranslateUi(self, Form):
Form.setWindowTitle(_translate("Form", "Form", None))
self.groupBox.setTitle(_translate("Form", "GPIO", None))
self.label.setText(_translate("Form", "Pin 1", None))
self.checkBox.setText(_translate("Form", "Enabled", None))
self.label_4.setText(_translate("Form", "Pin 2", None))
self.checkBox_4.setText(_translate("Form", "Enabled", None))
self.label_7.setText(_translate("Form", "Pin 3", None))
self.checkBox_5.setText(_translate("Form", "Enabled", None))
self.label_8.setText(_translate("Form", "Pin 4", None))
self.checkBox_6.setText(_translate("Form", "Enabled", None))
self.groupBox_2.setTitle(_translate("Form", "I2C", None))
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab), _translate("Form", "Pins", None))
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_2), _translate("Form", "Tab 2", None))