1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-31 16:52:10 +01:00

LP-235 Added some default buttons as widgets so that they are greyed out when board is disconnected.

This commit is contained in:
Fredrik Arvidsson 2016-03-02 09:12:00 +01:00
parent 8a96904e8a
commit 0f7f268a0a
2 changed files with 13 additions and 10 deletions

View File

@ -107,6 +107,9 @@ ConfigStabilizationWidget::ConfigStabilizationWidget(QWidget *parent) : ConfigTa
addWidget(ui->pushButton_9); addWidget(ui->pushButton_9);
addWidget(ui->pushButton_10); addWidget(ui->pushButton_10);
addWidget(ui->pushButton_11); addWidget(ui->pushButton_11);
addWidget(ui->pushButton_12);
addWidget(ui->pushButton_13);
addWidget(ui->pushButton_14);
addWidget(ui->pushButton_20); addWidget(ui->pushButton_20);
addWidget(ui->pushButton_22); addWidget(ui->pushButton_22);
addWidget(ui->pushButton_23); addWidget(ui->pushButton_23);

View File

@ -95,7 +95,7 @@
<enum>QTabWidget::Rounded</enum> <enum>QTabWidget::Rounded</enum>
</property> </property>
<property name="currentIndex"> <property name="currentIndex">
<number>0</number> <number>1</number>
</property> </property>
<property name="documentMode"> <property name="documentMode">
<bool>false</bool> <bool>false</bool>
@ -135,9 +135,9 @@
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>0</x> <x>0</x>
<y>-104</y> <y>0</y>
<width>866</width> <width>877</width>
<height>767</height> <height>764</height>
</rect> </rect>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout_3"> <layout class="QVBoxLayout" name="verticalLayout_3">
@ -7773,8 +7773,8 @@ border-radius: 5;</string>
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>866</width> <width>877</width>
<height>697</height> <height>765</height>
</rect> </rect>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout_29"> <layout class="QVBoxLayout" name="verticalLayout_29">
@ -17192,8 +17192,8 @@ border-radius: 5;</string>
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>879</width> <width>877</width>
<height>663</height> <height>671</height>
</rect> </rect>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout_8" stretch="0,0,0,0,0,0"> <layout class="QVBoxLayout" name="verticalLayout_8" stretch="0,0,0,0,0,0">
@ -23038,8 +23038,8 @@ font:bold;</string>
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>879</width> <width>877</width>
<height>663</height> <height>671</height>
</rect> </rect>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout_18"> <layout class="QVBoxLayout" name="verticalLayout_18">