-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtable.py
41 lines (32 loc) · 1.29 KB
/
table.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
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'table.ui'
#
# Created by: PyQt5 UI code generator 5.15.1
#
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again. Do not edit this file unless you know what you are doing.
from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_Table(object):
def setupUi(self, Table):
Table.setObjectName("Table")
Table.resize(985, 622)
Table.setMinimumSize(QtCore.QSize(800, 600))
self.gridLayout = QtWidgets.QGridLayout(Table)
self.gridLayout.setObjectName("gridLayout")
self.tableView = QtWidgets.QTableView(Table)
self.tableView.setMinimumSize(QtCore.QSize(800, 600))
self.tableView.setObjectName("tableView")
self.gridLayout.addWidget(self.tableView, 0, 0, 1, 1)
self.retranslateUi(Table)
QtCore.QMetaObject.connectSlotsByName(Table)
def retranslateUi(self, Table):
_translate = QtCore.QCoreApplication.translate
Table.setWindowTitle(_translate("Table", "Table"))
if __name__ == "__main__":
import sys
app = QtWidgets.QApplication(sys.argv)
Table = QtWidgets.QDialog()
ui = Ui_Table()
ui.setupUi(Table)
Table.show()
sys.exit(app.exec_())