display battle tie-break token
This commit is contained in:
parent
818d2886f4
commit
23110383c2
9 changed files with 127 additions and 29 deletions
|
|
@ -4,7 +4,7 @@ from pathlib import Path
|
|||
import calendar
|
||||
|
||||
from PyQt6 import QtWidgets
|
||||
from PyQt6.QtCore import Qt, QPoint
|
||||
from PyQt6.QtCore import Qt, QPoint, QSize
|
||||
from PyQt6.QtWidgets import QWidget, QFileDialog, QTreeWidgetItem, QMenu
|
||||
from PyQt6.QtGui import QCloseEvent
|
||||
|
||||
|
|
@ -540,6 +540,7 @@ class View(QtWidgets.QMainWindow, Ui_MainWindow):
|
|||
table = self.battlesTable
|
||||
table.clearContents()
|
||||
table.setRowCount(len(sectors))
|
||||
self.battlesTable.setIconSize(QSize(32, 16))
|
||||
for row, battle in enumerate(sectors):
|
||||
sector_item = QtWidgets.QTableWidgetItem(battle.sector_name)
|
||||
if battle.state_icon:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue