Add proper table rendering and populating from API

This commit is contained in:
Xevion
2021-08-25 04:14:24 -05:00
parent 00223241ea
commit 11c63995b9
4 changed files with 73 additions and 17 deletions

View File

@@ -24,6 +24,11 @@ class Ui_MainWindow(object):
self.centralwidget.setObjectName("centralwidget")
self.gridLayout = QtWidgets.QGridLayout(self.centralwidget)
self.gridLayout.setObjectName("gridLayout")
self.eventsView = QtWidgets.QTableWidget(self.centralwidget)
self.eventsView.setObjectName("eventsView")
self.eventsView.setColumnCount(0)
self.eventsView.setRowCount(0)
self.gridLayout.addWidget(self.eventsView, 1, 0, 1, 1)
self.verticalLayout = QtWidgets.QVBoxLayout()
self.verticalLayout.setObjectName("verticalLayout")
self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
@@ -53,9 +58,6 @@ class Ui_MainWindow(object):
self.undoButton.setObjectName("undoButton")
self.horizontalLayout.addWidget(self.undoButton)
self.verticalLayout.addLayout(self.horizontalLayout)
self.eventsView = QtWidgets.QColumnView(self.centralwidget)
self.eventsView.setObjectName("eventsView")
self.verticalLayout.addWidget(self.eventsView)
self.gridLayout.addLayout(self.verticalLayout, 0, 0, 1, 1)
MainWindow.setCentralWidget(self.centralwidget)
self.menubar = QtWidgets.QMenuBar(MainWindow)