mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJClient.git
synced 2026-03-28 05:25:39 +03:00
ref: segregate systems, codestyle, busy message
This commit is contained in:
32
UI/resourcemanager.h
Normal file
32
UI/resourcemanager.h
Normal 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
|
||||
Reference in New Issue
Block a user