Replace recipe/schematic dropdowns with button and selection dialog

This commit is contained in:
2026-06-22 12:17:42 +02:00
parent c43225b6fa
commit c7218c7c1e
10 changed files with 318 additions and 50 deletions

View File

@@ -26,7 +26,6 @@ class Simulation;
class ShipLayoutPreview;
class ShipStatsPanel;
class QLabel;
class QComboBox;
class QListWidget;
class QPushButton;
class QVBoxLayout;
@@ -51,7 +50,7 @@ private:
void handleEvent(std::shared_ptr<const DebugDrawToggledEvent> event) override;
private slots:
void onRecipeChanged(int comboIndex);
void onSelectRecipeClicked();
void onClearBelt();
void onSplitterFilterChanged();
@@ -75,7 +74,7 @@ private:
QVBoxLayout* m_layout;
QLabel* m_titleLabel;
QComboBox* m_recipeCombo;
QPushButton* m_recipeSelectButton;
QPushButton* m_clearBeltBtn;
QLabel* m_filterALabel;
QListWidget* m_filterAList;