feat(cpn): save model images with models and settings (#7234)

This commit is contained in:
Neil Horne
2026-06-07 12:20:33 +10:00
committed by GitHub
parent d754abf2c1
commit a672c3c5c6
16 changed files with 343 additions and 71 deletions
+3
View File
@@ -34,6 +34,7 @@
#include <QComboBox>
extern const QColor colors[CPN_MAX_CURVES];
extern QString gAppTempPath;
#define TMR_NUM_OPTION (TMRMODE_COUNT+2*9+2*getCurrentFirmware()->getCapability(LogicalSwitches)-1)
@@ -118,6 +119,8 @@ namespace Helpers
QString concatPath(const QString & str1, const QString & str2, bool onlyonesep = true);
QString concatPath(const QString & str1, QString & str2, bool onlyonesep = true);
QString concatPath(QString & str1, const QString & str2, bool onlyonesep = true);
QString getImagesCacheDir();
QString getImagePath(const QString & filename);
} // namespace Helpers
// TODO : move globals to Helpers namespace