Replace 'Change Dimensions' button with tool button

This commit is contained in:
GriffinR
2026-03-26 13:59:12 -04:00
parent 8e672b4f58
commit b9dd7637a6
7 changed files with 64 additions and 45 deletions

View File

@@ -261,7 +261,6 @@ private slots:
void on_pushButton_AddConnection_clicked();
void on_button_OpenDiveMap_clicked();
void on_button_OpenEmergeMap_clicked();
void on_pushButton_ChangeDimensions_clicked();
void resetMapViewScale();
@@ -344,9 +343,6 @@ private:
QPointer<WildMonSearch> wildMonSearch = nullptr;
QPointer<QuestionMessage> fileWatcherWarning = nullptr;
QPointer<ResizeLayoutPopup> resizeLayoutPopup = nullptr;
QAction *undoAction = nullptr;
QAction *redoAction = nullptr;
QPointer<QUndoView> undoView = nullptr;
struct MapNavigation {
@@ -359,9 +355,6 @@ private:
UnlockableIcon unlockableMainTabIcon;
QAction *copyAction = nullptr;
QAction *pasteAction = nullptr;
MapHeaderForm *mapHeaderForm = nullptr;
QMap<Event::Group, Event*> lastSelectedEvent;
@@ -476,6 +469,7 @@ private:
void setSmartPathsEnabled(bool enabled);
void setBorderVisibility(bool visible);
void setMirrorConnectionsEnabled(bool enabled);
void resizeMapLayout();
};
// These are namespaced in a struct to avoid colliding with e.g. class Map.