mirror of
https://github.com/modelec/ihm.git
synced 2026-03-18 21:30:52 +01:00
Add background image to InGame
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
InGame::InGame(QWidget *parent) : QWidget(parent) {
|
||||
this->mainLayout = new QVBoxLayout(this);
|
||||
this->mainLayout->setAlignment(Qt::AlignCenter);
|
||||
this->setStyleSheet("background-image: url(:/img/ISEN-Nantes.png); background-repeat: no-repeat; background-position: center; background-color: white;");
|
||||
this->pts = new QLabel("Points : 0", this);
|
||||
this->pts->setStyleSheet("font-size: 96px; color: black;");
|
||||
this->x = new QLabel("X : 0", this);
|
||||
|
||||
BIN
img/ISEN-Nantes.png
Normal file
BIN
img/ISEN-Nantes.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 22 KiB |
@@ -6,5 +6,6 @@
|
||||
<file>img/table.jpg</file>
|
||||
<file>img/close.svg</file>
|
||||
<file>img/close.png</file>
|
||||
<file>img/ISEN-Nantes.png</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
Reference in New Issue
Block a user