mirror of
https://github.com/modelec/ihm.git
synced 2026-03-18 21:30:52 +01:00
close img to png
This commit is contained in:
@@ -30,7 +30,7 @@ public:
|
||||
this->topLayout = new QHBoxLayout;
|
||||
|
||||
this->quit = new QPushButton("", this);
|
||||
this->quit->setIcon(QIcon(":/img/close.svg"));
|
||||
this->quit->setIcon(QPixmap(":/img/close.png", "PNG"));
|
||||
this->quit->setStyleSheet("background-color: red; border: none;");
|
||||
|
||||
connect(this->quit, &QPushButton::pressed, this, [=]() {
|
||||
|
||||
BIN
img/close.png
Normal file
BIN
img/close.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 339 B |
@@ -5,5 +5,6 @@
|
||||
<file>img/logo_without_background.png</file>
|
||||
<file>img/table.jpg</file>
|
||||
<file>img/close.svg</file>
|
||||
<file>img/close.png</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
Reference in New Issue
Block a user