Update close translator icon to svg

This commit is contained in:
Luis Ángel San Martín 2022-10-21 17:58:51 +02:00
parent 0b37c7c684
commit c8f8c5661f
4 changed files with 3 additions and 2 deletions

View File

@ -57,7 +57,7 @@ YACReaderTranslator::YACReaderTranslator(Viewer *parent)
// TITLE BAR
auto titleBar = new QHBoxLayout();
auto close = new QPushButton(QIcon(QPixmap(":/images/close.png")), "");
auto close = new QPushButton(QIcon(":/images/close.svg"), "");
close->setFlat(true);
auto title = new QLabel(tr("YACReader translator"));
title->setStyleSheet("QLabel {font-size:18px; font-family:Arial; color:white;}");

View File

@ -9,7 +9,7 @@
<file>../images/flow4.png</file>
<file>../images/flow5.png</file>
<file>../images/notCover.png</file>
<file>../images/close.png</file>
<file>../images/close.svg</file>
<file>../images/up.png</file>
<file>../images/down.png</file>
<file>../images/imgCenterSlide.png</file>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 215 B

1
images/close.svg Normal file
View File

@ -0,0 +1 @@
<?xml version="1.0" encoding="UTF-8"?><svg id="Layer_1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14"><defs><style>.cls-1{fill:none;stroke:#fff;stroke-miterlimit:10;stroke-width:2.5px;}</style></defs><line class="cls-1" x1="1" y1="1" x2="13" y2="13"/><line class="cls-1" x1="13" y1="1" x2="1" y2="13"/></svg>

After

Width:  |  Height:  |  Size: 317 B