Convert svg icon to png
This commit is contained in:
@@ -1,101 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
||||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
|
||||||
|
|
||||||
<svg
|
|
||||||
width="32mm"
|
|
||||||
height="32mm"
|
|
||||||
viewBox="0 0 32 32"
|
|
||||||
version="1.1"
|
|
||||||
id="svg5"
|
|
||||||
inkscape:version="1.1.1 (3bf5ae0d25, 2021-09-20)"
|
|
||||||
sodipodi:docname="bayer.svg"
|
|
||||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
|
||||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
|
||||||
xmlns="http://www.w3.org/2000/svg"
|
|
||||||
xmlns:svg="http://www.w3.org/2000/svg">
|
|
||||||
<sodipodi:namedview
|
|
||||||
id="namedview7"
|
|
||||||
pagecolor="#ffffff"
|
|
||||||
bordercolor="#666666"
|
|
||||||
borderopacity="1.0"
|
|
||||||
inkscape:pageshadow="2"
|
|
||||||
inkscape:pageopacity="0.0"
|
|
||||||
inkscape:pagecheckerboard="0"
|
|
||||||
inkscape:document-units="mm"
|
|
||||||
showgrid="false"
|
|
||||||
width="32mm"
|
|
||||||
inkscape:zoom="3.7543719"
|
|
||||||
inkscape:cx="37.423037"
|
|
||||||
inkscape:cy="62.194158"
|
|
||||||
inkscape:window-width="1868"
|
|
||||||
inkscape:window-height="1136"
|
|
||||||
inkscape:window-x="52"
|
|
||||||
inkscape:window-y="27"
|
|
||||||
inkscape:window-maximized="1"
|
|
||||||
inkscape:current-layer="layer1" />
|
|
||||||
<defs
|
|
||||||
id="defs2">
|
|
||||||
<clipPath
|
|
||||||
clipPathUnits="userSpaceOnUse"
|
|
||||||
id="clipPath2897">
|
|
||||||
<circle
|
|
||||||
style="opacity:1;fill:#ffff00;fill-opacity:0.677435;stroke:#00000d;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
|
||||||
id="circle2899"
|
|
||||||
cx="16"
|
|
||||||
cy="16"
|
|
||||||
r="15.999999" />
|
|
||||||
</clipPath>
|
|
||||||
<clipPath
|
|
||||||
clipPathUnits="userSpaceOnUse"
|
|
||||||
id="clipPath3346">
|
|
||||||
<rect
|
|
||||||
style="opacity:1;fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
|
||||||
id="rect3348"
|
|
||||||
width="15.999999"
|
|
||||||
height="31.999998"
|
|
||||||
x="5.6671934e-07"
|
|
||||||
y="5.6671934e-07" />
|
|
||||||
</clipPath>
|
|
||||||
</defs>
|
|
||||||
<g
|
|
||||||
inkscape:label="Vrstva 1"
|
|
||||||
inkscape:groupmode="layer"
|
|
||||||
id="layer1">
|
|
||||||
<ellipse
|
|
||||||
style="opacity:1;fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
|
||||||
id="ellipse3320"
|
|
||||||
cx="16"
|
|
||||||
cy="16.016155"
|
|
||||||
ry="6.0161538"
|
|
||||||
rx="5.9999995"
|
|
||||||
clip-path="url(#clipPath3346)" />
|
|
||||||
<rect
|
|
||||||
style="opacity:1;fill:#00ff00;fill-opacity:1;stroke:#000000;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
|
||||||
id="rect3583"
|
|
||||||
width="15.999998"
|
|
||||||
height="15.999999"
|
|
||||||
x="1.0560926e-06"
|
|
||||||
y="1.0560926e-06" />
|
|
||||||
<rect
|
|
||||||
style="opacity:1;fill:#00ff00;fill-opacity:1;stroke:#000000;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
|
||||||
id="rect3687"
|
|
||||||
width="15.999998"
|
|
||||||
height="15.999999"
|
|
||||||
x="15.999999"
|
|
||||||
y="16" />
|
|
||||||
<rect
|
|
||||||
style="opacity:1;fill:#ff0000;fill-opacity:1;stroke:#000000;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
|
||||||
id="rect3689"
|
|
||||||
width="15.999998"
|
|
||||||
height="15.999999"
|
|
||||||
x="15.999999"
|
|
||||||
y="1.0560926e-06" />
|
|
||||||
<rect
|
|
||||||
style="opacity:1;fill:#0000ff;fill-opacity:1;stroke:#000000;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
|
||||||
id="rect3691"
|
|
||||||
width="15.999998"
|
|
||||||
height="15.999999"
|
|
||||||
x="1.0560926e-06"
|
|
||||||
y="16" />
|
|
||||||
</g>
|
|
||||||
</svg>
|
|
||||||
|
Before Width: | Height: | Size: 3.5 KiB |
+1
-1
@@ -72,7 +72,7 @@ MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent)
|
|||||||
databaseViewDock->setWidget(m_databaseView);
|
databaseViewDock->setWidget(m_databaseView);
|
||||||
databaseViewDock->setObjectName("databaseViewDock");
|
databaseViewDock->setObjectName("databaseViewDock");
|
||||||
databaseViewDock->hide();
|
databaseViewDock->hide();
|
||||||
addDockWidget(Qt::RightDockWidgetArea, databaseViewDock);
|
addDockWidget(Qt::BottomDockWidgetArea, databaseViewDock);
|
||||||
|
|
||||||
setWindowTitle(tr("Tenmon"));
|
setWindowTitle(tr("Tenmon"));
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -5,8 +5,8 @@
|
|||||||
</qresource>
|
</qresource>
|
||||||
<qresource prefix="/">
|
<qresource prefix="/">
|
||||||
<file>icon.png</file>
|
<file>icon.png</file>
|
||||||
<file>bayer.svg</file>
|
|
||||||
<file>invert.png</file>
|
<file>invert.png</file>
|
||||||
<file>nuke.png</file>
|
<file>nuke.png</file>
|
||||||
|
<file>bayer.png</file>
|
||||||
</qresource>
|
</qresource>
|
||||||
</RCC>
|
</RCC>
|
||||||
|
|||||||
+1
-1
@@ -42,7 +42,7 @@ StretchPanel::StretchPanel(QWidget *parent) : QWidget(parent)
|
|||||||
connect(invertButton, SIGNAL(toggled(bool)), this, SIGNAL(invert(bool)));
|
connect(invertButton, SIGNAL(toggled(bool)), this, SIGNAL(invert(bool)));
|
||||||
|
|
||||||
QToolButton *superPixelButton = new QToolButton(this);
|
QToolButton *superPixelButton = new QToolButton(this);
|
||||||
superPixelButton->setIcon(QIcon(":/bayer.svg"));
|
superPixelButton->setIcon(QIcon(":/bayer.png"));
|
||||||
superPixelButton->setCheckable(true);
|
superPixelButton->setCheckable(true);
|
||||||
superPixelButton->setToolTip(tr("Superpixel CFA draw 2x2 pixel as one"));
|
superPixelButton->setToolTip(tr("Superpixel CFA draw 2x2 pixel as one"));
|
||||||
connect(superPixelButton, SIGNAL(toggled(bool)), this, SIGNAL(superPixel(bool)));
|
connect(superPixelButton, SIGNAL(toggled(bool)), this, SIGNAL(superPixel(bool)));
|
||||||
|
|||||||
Reference in New Issue
Block a user