ref: segregate systems, codestyle, busy message

This commit is contained in:
semenov
2024-12-27 15:41:41 +03:00
parent fc7f311d1e
commit f444b48892
103 changed files with 4756 additions and 2763 deletions

32
UI/resourcemanager.h Normal file
View File

@@ -0,0 +1,32 @@
#ifndef RESOURCEMANAGER_H
#define RESOURCEMANAGER_H
#include <QLabel>
#include <QMovie>
#include <QObject>
class ResourceManager : public QObject
{
Q_OBJECT
public:
explicit ResourceManager(QObject *parent = nullptr);
void painting();
void startLoadingAnim();
void stopLoadingMovie();
QMovie *getMovie() const;
QIcon *getSettingsIcon() const;
QIcon *getUnsavedIcon() const;
QIcon *getCloseIcon() const;
signals:
private:
QMovie *movie;
QIcon *settingsIcon;
QIcon *unsavedIcon;
QIcon *closeIcon;
};
#endif // RESOURCEMANAGER_H