From 0f7f268a0a7e8ac83934f1e3b72bf4ad3c57d1c8 Mon Sep 17 00:00:00 2001 From: Fredrik Arvidsson Date: Wed, 2 Mar 2016 09:12:00 +0100 Subject: [PATCH] LP-235 Added some default buttons as widgets so that they are greyed out when board is disconnected. --- .../config/configstabilizationwidget.cpp | 3 +++ .../gcs/src/plugins/config/stabilization.ui | 20 +++++++++---------- 2 files changed, 13 insertions(+), 10 deletions(-) diff --git a/ground/gcs/src/plugins/config/configstabilizationwidget.cpp b/ground/gcs/src/plugins/config/configstabilizationwidget.cpp index 5c5f2ecdd..ec73b62ca 100644 --- a/ground/gcs/src/plugins/config/configstabilizationwidget.cpp +++ b/ground/gcs/src/plugins/config/configstabilizationwidget.cpp @@ -107,6 +107,9 @@ ConfigStabilizationWidget::ConfigStabilizationWidget(QWidget *parent) : ConfigTa addWidget(ui->pushButton_9); addWidget(ui->pushButton_10); addWidget(ui->pushButton_11); + addWidget(ui->pushButton_12); + addWidget(ui->pushButton_13); + addWidget(ui->pushButton_14); addWidget(ui->pushButton_20); addWidget(ui->pushButton_22); addWidget(ui->pushButton_23); diff --git a/ground/gcs/src/plugins/config/stabilization.ui b/ground/gcs/src/plugins/config/stabilization.ui index 8ae4efc37..4ab25b6d9 100644 --- a/ground/gcs/src/plugins/config/stabilization.ui +++ b/ground/gcs/src/plugins/config/stabilization.ui @@ -95,7 +95,7 @@ QTabWidget::Rounded - 0 + 1 false @@ -135,9 +135,9 @@ 0 - -104 - 866 - 767 + 0 + 877 + 764 @@ -7773,8 +7773,8 @@ border-radius: 5; 0 0 - 866 - 697 + 877 + 765 @@ -17192,8 +17192,8 @@ border-radius: 5; 0 0 - 879 - 663 + 877 + 671 @@ -23038,8 +23038,8 @@ font:bold; 0 0 - 879 - 663 + 877 + 671