add bound

This commit is contained in:
ackimixs
2024-01-26 12:45:42 +01:00
parent 2ac30a537d
commit 75eeb204a5

View File

@@ -1,8 +1,7 @@
#pragma once
#include <QLabel>
#include <QPushButton>
#include <QWidget>
#include <QVBoxLayout>
#include "TestModeBtn.h"
class TestMode : public QWidget {
@@ -22,11 +21,11 @@ public:
this->textcm->setAlignment(Qt::AlignCenter);
this->mainLayout->addWidget(textcm);
this->X = new TestModeBtn("X", this);
this->X = new TestModeBtn("X", 0, 150, this);
this->mainLayout->addWidget(X);
this->Y = new TestModeBtn("Y", this);
this->Y = new TestModeBtn("Y", 0, 300, this);
this->mainLayout->addWidget(Y);
this->Theta = new TestModeBtn("θ", this);
this->Theta = new TestModeBtn("θ", -180, 180, this);
this->mainLayout->addWidget(Theta);
this->go = new QPushButton("Go", this);