mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
14 lines
369 B
Python
14 lines
369 B
Python
from typing import List
|
|
|
|
from PySide2.QtGui import QStandardItem
|
|
|
|
from gen.flights.flight import FlightWaypoint
|
|
|
|
|
|
class QWaypointItem(QStandardItem):
|
|
def __init__(self, point: FlightWaypoint, number):
|
|
super(QWaypointItem, self).__init__()
|
|
self.number = number
|
|
self.setText("{:<16}".format(point.pretty_name))
|
|
self.setEditable(False)
|