RedPanda-CPP/RedPandaIDE/iconsmanager.h

33 lines
577 B
C
Raw Normal View History

#ifndef ICONSMANAGER_H
#define ICONSMANAGER_H
#include <QObject>
#include <QPixmap>
#include <memory>
using PIcon = std::shared_ptr<QPixmap>;
class IconsManager : public QObject
{
Q_OBJECT
public:
explicit IconsManager(QObject *parent = nullptr);
PIcon syntaxError() const;
PIcon syntaxWarning() const;
PIcon breakpoint() const;
2021-07-26 00:22:08 +08:00
PIcon activeBreakpoint() const;
signals:
private:
PIcon mSyntaxError;
PIcon mSyntaxWarning;
PIcon mBreakpoint;
2021-07-26 00:22:08 +08:00
PIcon mActiveBreakpoint;
};
extern IconsManager* pIconsManager;
#endif // ICONSMANAGER_H