Add unlockable icon

This commit is contained in:
GriffinR
2025-12-07 20:18:08 -05:00
parent dcef773a33
commit df98d62339
7 changed files with 266 additions and 1 deletions

View File

@@ -34,6 +34,7 @@
#include "newlayoutdialog.h"
#include "message.h"
#include "resizelayoutpopup.h"
#include "unlockableicon.h"
#if __has_include(<QJSValue>)
#include <QJSValue>
@@ -354,6 +355,8 @@ private:
MapNavigation forwardNavigation;
bool ignoreNavigationRecords = false;
UnlockableIcon unlockableMainTabIcon;
QAction *copyAction = nullptr;
QAction *pasteAction = nullptr;
@@ -460,7 +463,8 @@ private:
MapListToolBar* getCurrentMapListToolBar();
MapTree* getCurrentMapList();
void setLocationComboBoxes(const QStringList &locations);
void overrideMainTabIcons(const QIcon& icon);
void tryUnlockMainTabIcon(const Map* map);
QObjectList shortcutableObjects() const;
void addCustomHeaderValue(QString key, QJsonValue value, bool isNew = false);