mirror of
https://github.com/modelec/ihm.git
synced 2026-03-18 21:30:52 +01:00
Add teamchooser debug log
This commit is contained in:
@@ -39,26 +39,32 @@ TeamChooser::TeamChooser(QWidget* parent) : QWidget(parent)
|
|||||||
this->bottomLayout->addWidget(spawnPoint6, 0, Qt::AlignBottom | Qt::AlignRight);
|
this->bottomLayout->addWidget(spawnPoint6, 0, Qt::AlignBottom | Qt::AlignRight);
|
||||||
|
|
||||||
connect(this->spawnPoint1, &QPushButton::pressed, this, [=]() {
|
connect(this->spawnPoint1, &QPushButton::pressed, this, [=]() {
|
||||||
|
qDebug() << "Spawn point 1 clicked";
|
||||||
spawnPointClicked(1);
|
spawnPointClicked(1);
|
||||||
});
|
});
|
||||||
|
|
||||||
connect(this->spawnPoint2, &QPushButton::pressed, this, [=]() {
|
connect(this->spawnPoint2, &QPushButton::pressed, this, [=]() {
|
||||||
|
qDebug() << "Spawn point 2 clicked";
|
||||||
spawnPointClicked(2);
|
spawnPointClicked(2);
|
||||||
});
|
});
|
||||||
|
|
||||||
connect(this->spawnPoint3, &QPushButton::pressed, this, [=]() {
|
connect(this->spawnPoint3, &QPushButton::pressed, this, [=]() {
|
||||||
|
qDebug() << "Spawn point 3 clicked";
|
||||||
spawnPointClicked(3);
|
spawnPointClicked(3);
|
||||||
});
|
});
|
||||||
|
|
||||||
connect(this->spawnPoint4, &QPushButton::pressed, this, [=]() {
|
connect(this->spawnPoint4, &QPushButton::pressed, this, [=]() {
|
||||||
|
qDebug() << "Spawn point 4 clicked";
|
||||||
spawnPointClicked(4);
|
spawnPointClicked(4);
|
||||||
});
|
});
|
||||||
|
|
||||||
connect(this->spawnPoint5, &QPushButton::pressed, this, [=]() {
|
connect(this->spawnPoint5, &QPushButton::pressed, this, [=]() {
|
||||||
|
qDebug() << "Spawn point 5 clicked";
|
||||||
spawnPointClicked(5);
|
spawnPointClicked(5);
|
||||||
});
|
});
|
||||||
|
|
||||||
connect(this->spawnPoint6, &QPushButton::pressed, this, [=]() {
|
connect(this->spawnPoint6, &QPushButton::pressed, this, [=]() {
|
||||||
|
qDebug() << "Spawn point 6 clicked";
|
||||||
spawnPointClicked(6);
|
spawnPointClicked(6);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user