mirror of
https://github.com/modelec/ihm.git
synced 2026-01-19 00:57:27 +01:00
make the close button BIGGGGER
This commit is contained in:
@@ -31,7 +31,8 @@ public:
|
||||
|
||||
this->quit = new QPushButton("", this);
|
||||
this->quit->setIcon(QPixmap(":/img/close.png", "PNG"));
|
||||
this->quit->setStyleSheet("background-color: red; border: none;");
|
||||
this->quit->setIconSize(QSize(51, 51));
|
||||
this->quit->setStyleSheet("background-color: transparent; border: none;");
|
||||
|
||||
connect(this->quit, &QPushButton::pressed, this, [=]() {
|
||||
this->close();
|
||||
|
||||
Reference in New Issue
Block a user