1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-19 04:52:12 +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_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);

View File

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