def METHOD_NAME(self):
    self.wpts = []
    model = QStandardItemModel()
    i = 0
    def add_model_item(i, model, name, wpt):
        item = QStandardItem(name)
        model.setItem(i, 0, item)
        self.wpts.append(wpt)
        return i + 1
    if self.include_frontlines:
        for front_line in self.game.theater.conflicts():
            pos = FrontLineConflictDescription.frontline_position(
                front_line, self.game.theater, self.game.settings
            )[0]
            wptname = f"Frontline {front_line.name} [CAS]"
            wpt = FlightWaypoint(
                wptname, FlightWaypointType.CUSTOM, pos, Distance.from_meters(800)
            )
            wpt.alt_type = "RADIO"
            wpt.pretty_name = wpt.name
            wpt.description = "Frontline"
            i = add_model_item(i, model, wpt.pretty_name, wpt)
    for tgo in self.game.theater.ground_objects:
        for target_idx, target in enumerate(tgo.strike_targets):
            wptname = f"[{tgo.obj_name}] : {target.name} #{target_idx}"
            wpt = FlightWaypoint(
                wptname,
                FlightWaypointType.CUSTOM,
                target.position,
                Distance.from_meters(0),
            )
            wpt.alt_type = "RADIO"
            wpt.pretty_name = wptname
            wpt.targets.append(target)
            wpt.obj_name = tgo.obj_name
            wpt.waypoint_type = FlightWaypointType.CUSTOM
            if tgo.is_friendly(to_player=True):
                wpt.description = f"Friendly unit: {target.name}"
            else:
                wpt.description = f"Enemy unit: {target.name}"
            i = add_model_item(i, model, wpt.pretty_name, wpt)
    if self.include_airbases:
        for cp in self.game.theater.controlpoints:
            if (self.include_enemy and not cp.captured) or (
                self.include_friendly and cp.captured
            ):
                wpt = FlightWaypoint(
                    cp.name,
                    FlightWaypointType.CUSTOM,
                    cp.position,
                    Distance.from_meters(0),
                )
                wpt.alt_type = "RADIO"
                if cp.captured:
                    wpt.description = (
                        "Position of " + cp.name + " [Friendly Airbase]"
                    )
                else:
                    wpt.description = "Position of " + cp.name + " [Enemy Airbase]"
                if cp.cptype == ControlPointType.AIRCRAFT_CARRIER_GROUP:
                    wpt.pretty_name = cp.name + " (Aircraft Carrier Group)"
                elif cp.cptype == ControlPointType.LHA_GROUP:
                    wpt.pretty_name = cp.name + " (LHA Group)"
                else:
                    wpt.pretty_name = cp.name + " (Airbase)"
                i = add_model_item(i, model, wpt.pretty_name, wpt)
    self.setModel(model)