This commit is contained in:
ackimixs
2024-01-31 23:14:02 +01:00
parent 76a899e48f
commit d7264e054d

View File

@@ -39,19 +39,11 @@ public:
private slots:
void onGoPressed()
{
qInfo() << "go !";
// Récupérer les valeurs des TestModeBtn
int xValue = X->getValue();
int yValue = Y->getValue();
int thetaValue = Theta->getValue();
// Utiliser les valeurs comme nécessaire
qInfo() << "Valeur de X : " << xValue;
qInfo() << "Valeur de Y : " << yValue;
qInfo() << "Valeur de Theta : " << thetaValue;
emit goPressed(this->X->getValue(), this->Y->getValue(), this->Theta->getValue());
}
signals:
void goPressed(int x, int y, int theta);
private:
QVBoxLayout* mainLayout;