Skip to content

Instantly share code, notes, and snippets.

import sys
from PySide6.QtWidgets import (QApplication, QMainWindow, QWidget, QHBoxLayout,
QVBoxLayout, QListWidget, QLabel, QSplitter,
QFrame, QListWidgetItem, QComboBox, QPushButton,
QGridLayout, QTableWidget, QTableWidgetItem,
QScrollArea, QGroupBox, QSizePolicy, QTreeWidget,
QTreeWidgetItem)
from PySide6.QtCore import Qt
//https://github.com/acemod/ACE3/blob/master/tools/cba/addons/main/script_macros_common.hpp
//role -> map(item_names to faction_classes) -> palette -> global filters -> final loadout
/*
This code is used to produce and interact with the intended loadout structure:
LOADOUT = [
PRIMARY_WEAPON,
LAUNCHER,
SECONDARY_WEAPON,
UNIFORM,