give the selection cards their own parts instead of label blobs

This commit is contained in:
2026-08-07 18:43:23 +02:00
parent 2289277e12
commit 075e44d295
54 changed files with 1505 additions and 533 deletions

View File

@@ -5,6 +5,7 @@
class QPushButton;
class RecipeSelectionControl;
class SectionBox;
class ShipLayoutPreview;
// The card for a Shipyard (REQ-UI-SELECTION-CONTENT): the schematic selection, the
@@ -22,11 +23,12 @@ public:
QWidget* parent = nullptr);
protected:
void refreshConfiguration() override;
CycleInfo getCycleInfo(const Building& building) const override;
void refreshControls(const BuildingTarget& target) override;
CycleInfo getCycleInfo(const BuildingTarget& target) const override;
private:
RecipeSelectionControl* m_schematicControl;
SectionBox* m_layoutSection;
ShipLayoutPreview* m_layoutPreview;
QPushButton* m_configureButton;
};