Gui: add image icon resources

This commit is contained in:
wmayer
2023-03-19 21:53:15 +01:00
parent d76e22702f
commit ea93a2f76d
7 changed files with 1394 additions and 1 deletions

View File

@@ -43,6 +43,7 @@
#endif
#include "ImageView.h"
#include "BitmapFactory.h"
using namespace Gui;
@@ -62,6 +63,7 @@ ImageView::ImageView(QWidget* parent)
scrollArea->setVisible(false);
setCentralWidget(scrollArea);
setAcceptDrops(true);
setWindowIcon(Gui::BitmapFactory().pixmap("colors"));
}
bool ImageView::loadFile(const QString& fileName)