From 1e61e25fdc541bc78e767ebb50fb53b225412e2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Du=C5=A1an=20Poizl?= Date: Sat, 9 Apr 2022 14:39:16 +0200 Subject: [PATCH] Convert svg icon to png --- bayer.png | Bin 0 -> 380 bytes bayer.svg | 101 ----------------------------------------------- mainwindow.cpp | 2 +- resources.qrc | 2 +- stretchpanel.cpp | 2 +- 5 files changed, 3 insertions(+), 104 deletions(-) create mode 100644 bayer.png delete mode 100644 bayer.svg diff --git a/bayer.png b/bayer.png new file mode 100644 index 0000000000000000000000000000000000000000..018c34d5536e658f6953f310682255fc350e8693 GIT binary patch literal 380 zcmeAS@N?(olHy`uVBq!ia0vp^RUpj73=%P4Uk;>L(j9#r85lP9bN@+X1@aY=J%W6J zYSb7Q8d?|_egTCVUNA6}8Za=tN?>5Hn!&&zUNC1@pbb!hC%`AfmEk`S0>OVE*rC=j z1;}Jf@^*J&7Uc2y1mtiQctjR6Fz~$uVMabUHpiEBhjN@7W>RdP`(kYX@0Ff!6LFwr%z3^6pZGB&d^HPSXPvNAAO z_4t_{iiX_$l+3hB+!}80i<<=0APKS|I6tkVJh3R1p}f3YFEcN@I61K(RWH9NefB#W QDWD<-Pgg&ebxsLQ0CoXy`Tzg` literal 0 HcmV?d00001 diff --git a/bayer.svg b/bayer.svg deleted file mode 100644 index a80e1b9..0000000 --- a/bayer.svg +++ /dev/null @@ -1,101 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - diff --git a/mainwindow.cpp b/mainwindow.cpp index 0decca3..433f718 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -72,7 +72,7 @@ MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent) databaseViewDock->setWidget(m_databaseView); databaseViewDock->setObjectName("databaseViewDock"); databaseViewDock->hide(); - addDockWidget(Qt::RightDockWidgetArea, databaseViewDock); + addDockWidget(Qt::BottomDockWidgetArea, databaseViewDock); setWindowTitle(tr("Tenmon")); diff --git a/resources.qrc b/resources.qrc index 03c2096..0baf72f 100644 --- a/resources.qrc +++ b/resources.qrc @@ -5,8 +5,8 @@ icon.png - bayer.svg invert.png nuke.png + bayer.png diff --git a/stretchpanel.cpp b/stretchpanel.cpp index 13b36c8..e9a09c7 100644 --- a/stretchpanel.cpp +++ b/stretchpanel.cpp @@ -42,7 +42,7 @@ StretchPanel::StretchPanel(QWidget *parent) : QWidget(parent) connect(invertButton, SIGNAL(toggled(bool)), this, SIGNAL(invert(bool))); QToolButton *superPixelButton = new QToolButton(this); - superPixelButton->setIcon(QIcon(":/bayer.svg")); + superPixelButton->setIcon(QIcon(":/bayer.png")); superPixelButton->setCheckable(true); superPixelButton->setToolTip(tr("Superpixel CFA draw 2x2 pixel as one")); connect(superPixelButton, SIGNAL(toggled(bool)), this, SIGNAL(superPixel(bool)));