mirror of
https://github.com/modelec/ihm.git
synced 2026-01-18 16:47:32 +01:00
add bound
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user