mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
PySide2 renamed to PySide6 for Qt 6 support. It doesn't seem like PySide2 is getting a 3.10 wheel, so upgrade to Qt 6 to prep for that.
12 lines
296 B
Python
12 lines
296 B
Python
from PySide6.QtGui import QStandardItem
|
|
|
|
from game.infos.information import Information
|
|
|
|
|
|
class QInfoItem(QStandardItem):
|
|
def __init__(self, info: Information):
|
|
super(QInfoItem, self).__init__()
|
|
self.info = info
|
|
self.setText(str(info))
|
|
self.setEditable(False)
|