Skip to content
Snippets Groups Projects
Commit 929383ba authored by beuchatp's avatar beuchatp
Browse files

Added first draft of the new Tuning GUI. Needs connecting in Qt and in ROS

parent 27872271
No related branches found
No related tags found
No related merge requests found
Showing
with 1018 additions and 63 deletions
......@@ -27,7 +27,8 @@ SOURCES += src/main.cpp\
src/coordinatorrow.cpp \
src/studentcontrollertab.cpp \
src/defaultcontrollertab.cpp \
src/pickercontrollertab.cpp
src/pickercontrollertab.cpp \
src/tuningcontrollertab.cpp
HEADERS += include/mainwindow.h \
include/topbanner.h \
......@@ -40,8 +41,10 @@ HEADERS += include/mainwindow.h \
include/studentcontrollertab.h \
include/defaultcontrollertab.h \
include/pickercontrollertab.h \
include/tuningcontrollertab.h \
include/Constants_for_Qt_compile.h
FORMS += forms/mainwindow.ui \
forms/topbanner.ui \
forms/connectstartstopbar.ui \
......@@ -52,7 +55,8 @@ FORMS += forms/mainwindow.ui \
forms/coordinatorrow.ui \
forms/studentcontrollertab.ui \
forms/defaultcontrollertab.ui \
forms/pickercontrollertab.ui
forms/pickercontrollertab.ui \
forms/tuningcontrollertab.ui
RESOURCES += \
flyingagentgui.qrc
......@@ -28,7 +28,7 @@
<item row="0" column="0">
<widget class="QTabWidget" name="controller_tabs_widget">
<property name="currentIndex">
<number>0</number>
<number>3</number>
</property>
<property name="movable">
<bool>true</bool>
......@@ -63,13 +63,23 @@
</item>
</layout>
</widget>
<widget class="QWidget" name="tuning_tab">
<attribute name="title">
<string>Tuning</string>
</attribute>
<layout class="QGridLayout" name="gridLayout_6">
<item row="0" column="0">
<widget class="TuningControllerTab" name="tuning_controller_tab_widget" native="true"/>
</item>
</layout>
</widget>
<widget class="QWidget" name="safe_tab">
<attribute name="title">
<string>Safe</string>
</attribute>
<layout class="QGridLayout" name="gridLayout_3">
<item row="0" column="0">
<widget class="SafeControllerTab" name="widget_2" native="true"/>
<widget class="SafeControllerTab" name="safe_controller_tab_widget" native="true"/>
</item>
</layout>
</widget>
......@@ -102,6 +112,12 @@
<header>pickercontrollertab.h</header>
<container>1</container>
</customwidget>
<customwidget>
<class>TuningControllerTab</class>
<extends>QWidget</extends>
<header>tuningcontrollertab.h</header>
<container>1</container>
</customwidget>
</customwidgets>
<resources/>
<connections/>
......
......@@ -30,8 +30,8 @@
<property name="spacing">
<number>12</number>
</property>
<item row="0" column="4">
<widget class="QPushButton" name="enable_safe_button">
<item row="0" column="2">
<widget class="QPushButton" name="enable_student_button">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
<horstretch>0</horstretch>
......@@ -57,12 +57,12 @@
</font>
</property>
<property name="text">
<string>Safe</string>
<string>Student</string>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QLabel" name="enable_controller_label">
<item row="1" column="0">
<widget class="QLabel" name="load_yaml_label">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
......@@ -88,15 +88,28 @@
</font>
</property>
<property name="text">
<string>Enable</string>
<string>Load YAML</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QPushButton" name="enable_default_button">
<item row="0" column="6">
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="0" column="5">
<widget class="QPushButton" name="enable_safe_button">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
<horstretch>0</horstretch>
......@@ -122,46 +135,37 @@
</font>
</property>
<property name="text">
<string>Default</string>
<string>Safe</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="load_yaml_label">
<item row="1" column="3">
<widget class="QPushButton" name="load_yaml_picker_button">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<width>60</width>
<height>50</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<width>180</width>
<height>50</height>
</size>
</property>
<property name="font">
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>Load YAML</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
<string>Picker</string>
</property>
</widget>
</item>
<item row="1" column="4">
<widget class="QPushButton" name="load_yaml_safe_button">
<item row="1" column="2">
<widget class="QPushButton" name="load_yaml_student_button">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
<horstretch>0</horstretch>
......@@ -181,12 +185,12 @@
</size>
</property>
<property name="text">
<string>Safe</string>
<string>Student</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QPushButton" name="load_yaml_default_button">
<item row="0" column="1">
<widget class="QPushButton" name="enable_default_button">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
<horstretch>0</horstretch>
......@@ -205,13 +209,53 @@
<height>50</height>
</size>
</property>
<property name="font">
<font>
<weight>50</weight>
<bold>false</bold>
</font>
</property>
<property name="text">
<string>Default</string>
</property>
</widget>
</item>
<item row="1" column="2">
<widget class="QPushButton" name="load_yaml_student_button">
<item row="0" column="0">
<widget class="QLabel" name="enable_controller_label">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>50</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>50</height>
</size>
</property>
<property name="font">
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>Enable</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="1" column="5">
<widget class="QPushButton" name="load_yaml_safe_button">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
<horstretch>0</horstretch>
......@@ -231,12 +275,12 @@
</size>
</property>
<property name="text">
<string>Student</string>
<string>Safe</string>
</property>
</widget>
</item>
<item row="0" column="2">
<widget class="QPushButton" name="enable_student_button">
<item row="1" column="1">
<widget class="QPushButton" name="load_yaml_default_button">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
<horstretch>0</horstretch>
......@@ -255,14 +299,8 @@
<height>50</height>
</size>
</property>
<property name="font">
<font>
<weight>50</weight>
<bold>false</bold>
</font>
</property>
<property name="text">
<string>Student</string>
<string>Default</string>
</property>
</widget>
</item>
......@@ -297,8 +335,8 @@
</property>
</widget>
</item>
<item row="1" column="3">
<widget class="QPushButton" name="load_yaml_picker_button">
<item row="0" column="4">
<widget class="QPushButton" name="enable_tuning_button">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
<horstretch>0</horstretch>
......@@ -318,22 +356,34 @@
</size>
</property>
<property name="text">
<string>Picker</string>
<string>Tuning</string>
</property>
</widget>
</item>
<item row="0" column="5">
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
<item row="1" column="4">
<widget class="QPushButton" name="load_yaml_tuning_button">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="sizeHint" stdset="0">
<property name="minimumSize">
<size>
<width>40</width>
<height>20</height>
<width>60</width>
<height>50</height>
</size>
</property>
</spacer>
<property name="maximumSize">
<size>
<width>180</width>
<height>50</height>
</size>
</property>
<property name="text">
<string>Tuning</string>
</property>
</widget>
</item>
</layout>
</item>
......
......@@ -213,6 +213,7 @@
<addaction name="action_showHideController_default"/>
<addaction name="action_showHideController_student"/>
<addaction name="action_showHideController_picker"/>
<addaction name="action_showHideController_tuning"/>
<addaction name="action_showHideController_safe"/>
</widget>
<addaction name="menuFile"/>
......@@ -290,6 +291,17 @@
<string>Safe</string>
</property>
</action>
<action name="action_showHideController_tuning">
<property name="checkable">
<bool>true</bool>
</property>
<property name="checked">
<bool>true</bool>
</property>
<property name="text">
<string>Tuning</string>
</property>
</action>
</widget>
<layoutdefault spacing="6" margin="11"/>
<customwidgets>
......
......@@ -88,6 +88,9 @@
<height>60</height>
</size>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="0" column="2">
......@@ -174,6 +177,9 @@
<height>60</height>
</size>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="1" column="2">
......@@ -190,6 +196,9 @@
<height>60</height>
</size>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="1" column="3">
......@@ -206,6 +215,9 @@
<height>60</height>
</size>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="1" column="4">
......@@ -222,6 +234,9 @@
<height>60</height>
</size>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
</layout>
......@@ -278,6 +293,9 @@
<property name="text">
<string>xx.xx</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
......@@ -438,6 +456,9 @@
<family>Courier</family>
</font>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item>
......@@ -493,6 +514,9 @@
<property name="text">
<string>xx.xx</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
......@@ -520,6 +544,9 @@
<property name="text">
<string>xx.xx</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
......@@ -563,6 +590,9 @@
<property name="text">
<string>xx.xx</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
......@@ -590,6 +620,9 @@
<property name="text">
<string>xx.xx</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
......@@ -617,6 +650,9 @@
<property name="text">
<string>xx.xx</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
......@@ -644,6 +680,9 @@
<property name="text">
<string>xx.xx</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
......@@ -784,6 +823,9 @@
<property name="text">
<string>xx.xx</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
......@@ -811,6 +853,9 @@
<property name="text">
<string>xx.xx</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
......@@ -838,6 +883,9 @@
<property name="text">
<string>xx.xx</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
......@@ -881,6 +929,9 @@
<property name="text">
<string>xx.xx</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
......@@ -908,6 +959,9 @@
<property name="text">
<string>xx.xx</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
......@@ -935,6 +989,9 @@
<property name="text">
<string>xx.xx</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
......@@ -962,6 +1019,9 @@
<property name="text">
<string>xx.xx</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
......@@ -1002,6 +1062,9 @@
<family>Courier</family>
</font>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="7" column="4">
......@@ -1042,6 +1105,9 @@
<family>Courier</family>
</font>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="5" column="4">
......@@ -1063,6 +1129,9 @@
<family>Courier</family>
</font>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="3" column="4">
......@@ -1084,6 +1153,9 @@
<family>Courier</family>
</font>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="1" column="6">
......@@ -1136,6 +1208,9 @@
<family>Courier</family>
</font>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item>
......@@ -1199,6 +1274,9 @@
<family>Courier</family>
</font>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item>
......@@ -1262,6 +1340,9 @@
<family>Courier</family>
</font>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item>
......
This diff is collapsed.
......@@ -50,6 +50,7 @@ public:
void showHideController_default_changed();
void showHideController_student_changed();
void showHideController_picker_changed();
void showHideController_tuning_changed();
void showHideController_safe_changed();
......
......@@ -64,6 +64,7 @@ public:
void showHideController_default_changed();
void showHideController_student_changed();
void showHideController_picker_changed();
void showHideController_tuning_changed();
void showHideController_safe_changed();
......@@ -75,12 +76,14 @@ private slots:
// ENABLE CONTROLLER BUTTONS ON-CLICK CALLBACK
void on_enable_safe_button_clicked();
void on_enable_tuning_button_clicked();
void on_enable_picker_button_clicked();
void on_enable_student_button_clicked();
void on_enable_default_button_clicked();
// LOAD YAML BUTTONS ON-CLICK CALLBACK
void on_load_yaml_safe_button_clicked();
void on_load_yaml_tuning_button_clicked();
void on_load_yaml_picker_button_clicked();
void on_load_yaml_student_button_clicked();
void on_load_yaml_default_button_clicked();
......
......@@ -127,6 +127,7 @@ private slots:
void on_action_showHideController_default_changed();
void on_action_showHideController_student_changed();
void on_action_showHideController_picker_changed();
void on_action_showHideController_tuning_changed();
void on_action_showHideController_safe_changed();
};
......
#ifndef TUNINGCONTROLLERTAB_H
#define TUNINGCONTROLLERTAB_H
#include <QWidget>
namespace Ui {
class TuningControllerTab;
}
class TuningControllerTab : public QWidget
{
Q_OBJECT
public:
explicit TuningControllerTab(QWidget *parent = 0);
~TuningControllerTab();
private:
Ui::TuningControllerTab *ui;
};
#endif // TUNINGCONTROLLERTAB_H
......@@ -164,6 +164,11 @@ void ControllerTabs::showHideController_picker_changed()
showHideController_toggle("Picker",ui->picker_tab);
}
void ControllerTabs::showHideController_tuning_changed()
{
showHideController_toggle("Tuning",ui->tuning_tab);
}
void ControllerTabs::showHideController_safe_changed()
{
showHideController_toggle("Safe",ui->safe_tab);
......@@ -302,7 +307,7 @@ void ControllerTabs::setControllerEnabled(int new_controller)
}
case TUNING_CONTROLLER:
{
//ui->controller_enabled_label->setText("Tuning");
setTextColourOfTabLabel( m_tab_text_colour_highlight , ui->tuning_tab );
break;
}
case PICKER_CONTROLLER:
......@@ -324,6 +329,7 @@ void ControllerTabs::setAllTabLabelsToNormalColouring()
setTextColourOfTabLabel( m_tab_text_colour_normal , ui->default_tab );
setTextColourOfTabLabel( m_tab_text_colour_normal , ui->student_tab );
setTextColourOfTabLabel( m_tab_text_colour_normal , ui->picker_tab );
setTextColourOfTabLabel( m_tab_text_colour_normal , ui->tuning_tab );
setTextColourOfTabLabel( m_tab_text_colour_normal , ui->safe_tab );
}
......
......@@ -61,10 +61,16 @@ void EnableControllerLoadYamlBar::showHideController_student_changed()
void EnableControllerLoadYamlBar::showHideController_picker_changed()
{
ui->enable_picker_button ->setHidden( !(ui->enable_picker_button->isHidden()) );
ui->enable_picker_button ->setHidden( !(ui->enable_picker_button->isHidden()) );
ui->load_yaml_picker_button->setHidden( !(ui->load_yaml_picker_button->isHidden()) );
}
void EnableControllerLoadYamlBar::showHideController_tuning_changed()
{
ui->enable_tuning_button ->setHidden( !(ui->enable_tuning_button->isHidden()) );
ui->load_yaml_tuning_button->setHidden( !(ui->load_yaml_tuning_button->isHidden()) );
}
void EnableControllerLoadYamlBar::showHideController_safe_changed()
{
ui->enable_safe_button ->setHidden( !(ui->enable_safe_button->isHidden()) );
......@@ -89,6 +95,17 @@ void EnableControllerLoadYamlBar::on_enable_safe_button_clicked()
#endif
}
void EnableControllerLoadYamlBar::on_enable_tuning_button_clicked()
{
#ifdef CATKIN_MAKE
d_fall_pps::IntWithHeader msg;
fillIntMessageHeader(msg);
msg.data = CMD_USE_TUNING_CONTROLLER;
this->commandPublisher.publish(msg);
ROS_INFO("[ENABLE CONTROLLER LOAD YAML GUI BAR] Enable Tuning Controller");
#endif
}
void EnableControllerLoadYamlBar::on_enable_picker_button_clicked()
{
#ifdef CATKIN_MAKE
......@@ -114,11 +131,11 @@ void EnableControllerLoadYamlBar::on_enable_student_button_clicked()
void EnableControllerLoadYamlBar::on_enable_default_button_clicked()
{
#ifdef CATKIN_MAKE
//d_fall_pps::IntWithHeader msg;
//fillIntMessageHeader(msg);
//msg.data = CMD_USE_STUDENT_CONTROLLER;
//this->commandPublisher.publish(msg);
//ROS_INFO("[ENABLE CONTROLLER LOAD YAML GUI BAR] Enable Student Controller");
d_fall_pps::IntWithHeader msg;
fillIntMessageHeader(msg);
msg.data = CMD_USE_SAFE_CONTROLLER;
this->commandPublisher.publish(msg);
ROS_INFO("[ENABLE CONTROLLER LOAD YAML GUI BAR] Enable Safe Controller");
#endif
}
......@@ -132,6 +149,22 @@ void EnableControllerLoadYamlBar::on_load_yaml_safe_button_clicked()
#endif
}
void EnableControllerLoadYamlBar::on_load_yaml_tuning_button_clicked()
{
#ifdef CATKIN_MAKE
// Create a local variable for the message
d_fall_pps::StringWithHeader yaml_filename_msg;
// Set for whom this applies to
fillStringMessageHeader(yaml_filename_msg);
// Specify the data
yaml_filename_msg.data = "TuningController";
// Send the message
m_requestLoadYamlFilenamePublisher.publish(yaml_filename_msg);
// Inform the user that the menu item was selected
ROS_INFO("[ENABLE CONTROLLER LOAD YAML GUI BAR] Load Tuning Controller YAML was clicked.");
#endif
}
void EnableControllerLoadYamlBar::on_load_yaml_picker_button_clicked()
{
#ifdef CATKIN_MAKE
......
......@@ -140,6 +140,8 @@ MainWindow::MainWindow(int argc, char **argv, QWidget *parent) :
// > For the picker controller
ui->action_showHideController_picker->trigger();
// > For the tuning controller
ui->action_showHideController_tuning->trigger();
// > For the safe controller
ui->action_showHideController_safe->trigger();
......@@ -234,6 +236,13 @@ void MainWindow::on_action_showHideController_picker_changed()
ui->customWidget_controller_tabs->showHideController_picker_changed();
}
void MainWindow::on_action_showHideController_tuning_changed()
{
// Notify the UI elements of this change
ui->customWidget_enableControllerLoadYamlBar->showHideController_tuning_changed();
ui->customWidget_controller_tabs->showHideController_tuning_changed();
}
void MainWindow::on_action_showHideController_safe_changed()
{
// Notify the UI elements of this change
......
#include "tuningcontrollertab.h"
#include "ui_tuningcontrollertab.h"
TuningControllerTab::TuningControllerTab(QWidget *parent) :
QWidget(parent),
ui(new Ui::TuningControllerTab)
{
ui->setupUi(this);
}
TuningControllerTab::~TuningControllerTab()
{
delete ui;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment