Initial UI

This commit is contained in:
Agel committed 2026-03-15 20:33:36 +01:00
1 parent 4d52c8cc60
commit 3c0037cfc9
29 files changed
+1367 -2

No files matched your search

+26
View File
@@ -0,0 +1,26 @@
#ifndef APPSTATE_H
#define APPSTATE_H
#include <QObject>
#include <QString>
class AppState : public QObject {
Q_OBJECT
Q_PROPERTY(QString lastFilePath READ lastFilePath NOTIFY lastFilePathChanged)
public:
explicit AppState(QObject *parent = nullptr);
QString lastFilePath() const;
Q_INVOKABLE void save();
Q_INVOKABLE void restore();
signals:
void lastFilePathChanged();
private:
QString m_lastFilePath;
};
#endif // APPSTATE_H