Always show shipyard layout preview and Configure button, disabled until schematic selected

This commit is contained in:
2026-07-13 20:45:03 +02:00
parent ac4d56764c
commit 9d28175b17
4 changed files with 56 additions and 9 deletions

View File

@@ -20,6 +20,10 @@ public:
const std::vector<ModuleDef>* modules);
void clear();
// Shows an empty placeholder box (no ship layout) so the preview stays
// visible while no schematic is selected (REQ-MOD-UI-PREVIEW).
void showPlaceholder();
protected:
void paintEvent(QPaintEvent* event) override;
@@ -35,4 +39,5 @@ private:
const std::vector<ModuleDef>* m_modules;
int m_rows;
int m_cols;
bool m_placeholder = false;
};