Saddle
157 | \nCopyright 2016 Horton Group
\n 158 |version 1.0 by Derrick
''') 159 | 160 | 161 | app = QtGui.QApplication(sys.argv) 162 | gui = Window() 163 | gui.setWindowTitle("Saddle --by Derrick") 164 | gui.show() 165 | sys.exit(app.exec_()) 166 | -------------------------------------------------------------------------------- /gui/gui_key_table.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | 3 | # Form implementation generated from reading ui file 'gui_key_table.ui' 4 | # 5 | # Created by: PyQt4 UI code generator 4.11.4 6 | # 7 | # WARNING! All changes made in this file will be lost! 8 | 9 | from PyQt4 import QtCore, QtGui 10 | 11 | try: 12 | _fromUtf8 = QtCore.QString.fromUtf8 13 | except AttributeError: 14 | def _fromUtf8(s): 15 | return s 16 | 17 | try: 18 | _encoding = QtGui.QApplication.UnicodeUTF8 19 | def _translate(context, text, disambig): 20 | return QtGui.QApplication.translate(context, text, disambig, _encoding) 21 | except AttributeError: 22 | def _translate(context, text, disambig): 23 | return QtGui.QApplication.translate(context, text, disambig) 24 | 25 | class Ui_Dialog(object): 26 | def setupUi(self, Dialog): 27 | Dialog.setObjectName(_fromUtf8("Dialog")) 28 | Dialog.resize(451, 536) 29 | self.verticalLayout = QtGui.QVBoxLayout(Dialog) 30 | self.verticalLayout.setObjectName(_fromUtf8("verticalLayout")) 31 | self.keyic_table_widget = QtGui.QTableWidget(Dialog) 32 | self.keyic_table_widget.setEnabled(True) 33 | self.keyic_table_widget.setAlternatingRowColors(False) 34 | self.keyic_table_widget.setRowCount(0) 35 | self.keyic_table_widget.setObjectName(_fromUtf8("keyic_table_widget")) 36 | self.keyic_table_widget.setColumnCount(0) 37 | self.verticalLayout.addWidget(self.keyic_table_widget) 38 | self.return_button = QtGui.QDialogButtonBox(Dialog) 39 | self.return_button.setOrientation(QtCore.Qt.Horizontal) 40 | self.return_button.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok) 41 | self.return_button.setObjectName(_fromUtf8("return_button")) 42 | self.verticalLayout.addWidget(self.return_button) 43 | 44 | self.retranslateUi(Dialog) 45 | QtCore.QObject.connect(self.return_button, QtCore.SIGNAL(_fromUtf8("accepted()")), Dialog.accept) 46 | QtCore.QObject.connect(self.return_button, QtCore.SIGNAL(_fromUtf8("rejected()")), Dialog.reject) 47 | QtCore.QMetaObject.connectSlotsByName(Dialog) 48 | 49 | def retranslateUi(self, Dialog): 50 | Dialog.setWindowTitle(_translate("Dialog", "Dialog", None)) 51 | 52 | -------------------------------------------------------------------------------- /gui/gui_key_table.ui: -------------------------------------------------------------------------------- 1 | 2 |