open selection panel modals on the panel
This commit is contained in:
@@ -36,6 +36,7 @@ class BlueprintLibrary;
|
||||
class BuildingIconCache;
|
||||
class ItemIconCache;
|
||||
class QCloseEvent;
|
||||
class QDialog;
|
||||
class QResizeEvent;
|
||||
|
||||
class MainWindow : public QWidget,
|
||||
@@ -83,6 +84,11 @@ private:
|
||||
const std::string& schematicId,
|
||||
const ShipLayoutConfig& currentLayout);
|
||||
|
||||
// Centers a modal opened from the selection panel on that panel, kept inside this
|
||||
// window (REQ-UI-PANEL-MODAL). Called on the constructed dialog before exec(), and
|
||||
// only for the two modals the panel opens.
|
||||
void placeOnSelectionPanel(QDialog& dialog) const;
|
||||
|
||||
// Runs the blueprint selection dialog and enters placement mode for whatever the
|
||||
// player picked (REQ-UI-BLUEPRINT-DIALOG). Holds no pause or dim scope of its own:
|
||||
// both callers already hold theirs, which is what keeps the dim continuous when a
|
||||
|
||||
Reference in New Issue
Block a user