44 lines
1.1 KiB
C++
44 lines
1.1 KiB
C++
#include "iconsmanager.h"
|
|
|
|
IconsManager* pIconsManager;
|
|
|
|
IconsManager::IconsManager(QObject *parent) : QObject(parent)
|
|
{
|
|
mSyntaxError = std::make_shared<QPixmap>(":/icons/images/editor/syntaxerror.png");
|
|
mSyntaxWarning = std::make_shared<QPixmap>(":/icons/images/editor/syntaxwarning.png");
|
|
mBreakpoint = std::make_shared<QPixmap>(":/icons/images/editor/breakpoint.png");
|
|
mActiveBreakpoint = std::make_shared<QPixmap>(":/icons/images/editor/currentline.png");
|
|
mBookmark = std::make_shared<QPixmap>(":/icons/images/editor/bookmark.png");
|
|
mFolder = std::make_shared<QPixmap>(":/icons/images/newlook24/090-explorer.png");
|
|
}
|
|
|
|
const PIcon &IconsManager::syntaxError() const
|
|
{
|
|
return mSyntaxError;
|
|
}
|
|
|
|
const PIcon &IconsManager::syntaxWarning() const
|
|
{
|
|
return mSyntaxWarning;
|
|
}
|
|
|
|
const PIcon &IconsManager::breakpoint() const
|
|
{
|
|
return mBreakpoint;
|
|
}
|
|
|
|
const PIcon &IconsManager::activeBreakpoint() const
|
|
{
|
|
return mActiveBreakpoint;
|
|
}
|
|
|
|
const PIcon &IconsManager::bookmark() const
|
|
{
|
|
return mBookmark;
|
|
}
|
|
|
|
const PIcon &IconsManager::folder() const
|
|
{
|
|
return mFolder;
|
|
}
|