]> rtime.felk.cvut.cz Git - eurobot/public.git/commitdiff
robomon: Comment out vidle dial widget
authorMichal Sojka <sojkam1@fel.cvut.cz>
Fri, 21 May 2010 20:18:21 +0000 (22:18 +0200)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Fri, 21 May 2010 20:18:21 +0000 (22:18 +0200)
src/robomon/RobomonAtlantis.cpp
src/robomon/RobomonAtlantis.h

index a8560fe930ed8feb150080611f4fa9d8fb0e5eb9..4567b9d88a4bdf6ddfa12269d7c37ac8200962c3 100644 (file)
@@ -66,6 +66,9 @@ RobomonAtlantis::RobomonAtlantis(QWidget *parent)
        createRobots();
        createActions();
 
+//     connect(vidle, SIGNAL(valueChanged(int)),
+//             robotEstPosBest, SLOT(setVidle(int)));
+
        setFocusPolicy(Qt::StrongFocus);
        sharedMemoryOpened = false;
        WDBG("Youuuhouuuu!!");
@@ -223,16 +226,16 @@ void RobomonAtlantis::createActuatorsGroupBox()
        actuatorsGroupBox = new QGroupBox(tr("Actuators"));
        actuatorsGroupBox->setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Preferred);
        QHBoxLayout *layout = new QHBoxLayout();
-       vidle = new QDial();
+//     vidle = new QDial();
 
-       vidle->setMinimum(VIDLE_VYSIP);
-       vidle->setMaximum(2*(VIDLE_UP-VIDLE_VYSIP)+VIDLE_VYSIP);
-       vidle->setEnabled(false);
+//     vidle->setMinimum(VIDLE_VYSIP);
+//     vidle->setMaximum((VIDLE_UP-VIDLE_VYSIP)+VIDLE_VYSIP);
+//     vidle->setEnabled(true);
 
        //createMotorsGroupBox();
 
        layout->setAlignment(Qt::AlignLeft);
-       layout->addWidget(vidle);
+//     layout->addWidget(vidle);
        //layout->addWidget(enginesGroupBox);
        actuatorsGroupBox->setLayout(layout);
 }
index 0b6592b198645f3569b0d60445a34e430e4e4f55..d3ac3e8b364e684c91c605723bc0522656a03b77 100644 (file)
@@ -142,7 +142,7 @@ private:
 /*     QSlider *rightMotorSlider; */
 /*     QCheckBox *bothMotorsCheckBox; */
 /*     QPushButton *stopMotorsPushButton; */
-       QDial *vidle;
+       //QDial *vidle;
 
        /* power management */
        QCheckBox *voltage33CheckBox;