mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-18 03:52:11 +01:00
OP-1525 Added gui for Acro+ factor setting.
Changed name of PID banks to Settings Banks. Cleaned up the Stabilization configuration GUI.
This commit is contained in:
parent
270f6d87cd
commit
53cd70981b
@ -43,6 +43,10 @@
|
|||||||
#include "altitudeholdsettings.h"
|
#include "altitudeholdsettings.h"
|
||||||
#include "stabilizationsettings.h"
|
#include "stabilizationsettings.h"
|
||||||
|
|
||||||
|
#include "qwt/src/qwt.h"
|
||||||
|
#include "qwt/src/qwt_plot.h"
|
||||||
|
#include "qwt/src/qwt_plot_curve.h"
|
||||||
|
|
||||||
ConfigStabilizationWidget::ConfigStabilizationWidget(QWidget *parent) : ConfigTaskWidget(parent),
|
ConfigStabilizationWidget::ConfigStabilizationWidget(QWidget *parent) : ConfigTaskWidget(parent),
|
||||||
boardModel(0), m_pidBankCount(0), m_currentPIDBank(0)
|
boardModel(0), m_pidBankCount(0), m_currentPIDBank(0)
|
||||||
{
|
{
|
||||||
@ -59,7 +63,7 @@ ConfigStabilizationWidget::ConfigStabilizationWidget(QWidget *parent) : ConfigTa
|
|||||||
m_pidTabBars.append(ui->advancedPIDBankTabBar);
|
m_pidTabBars.append(ui->advancedPIDBankTabBar);
|
||||||
foreach(QTabBar * tabBar, m_pidTabBars) {
|
foreach(QTabBar * tabBar, m_pidTabBars) {
|
||||||
for (int i = 0; i < m_pidBankCount; i++) {
|
for (int i = 0; i < m_pidBankCount; i++) {
|
||||||
tabBar->addTab(tr("PID Bank %1").arg(i + 1));
|
tabBar->addTab(tr("Settings Bank %1").arg(i + 1));
|
||||||
tabBar->setTabData(i, QString("StabilizationSettingsBank%1").arg(i + 1));
|
tabBar->setTabData(i, QString("StabilizationSettingsBank%1").arg(i + 1));
|
||||||
}
|
}
|
||||||
tabBar->setExpanding(false);
|
tabBar->setExpanding(false);
|
||||||
|
@ -116,8 +116,8 @@
|
|||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>772</width>
|
<width>774</width>
|
||||||
<height>514</height>
|
<height>505</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QGridLayout" name="gridLayout">
|
<layout class="QGridLayout" name="gridLayout">
|
||||||
@ -542,8 +542,8 @@
|
|||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>724</width>
|
<width>758</width>
|
||||||
<height>497</height>
|
<height>542</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QGridLayout" name="gridLayout_7" rowstretch="1,0,0,0">
|
<layout class="QGridLayout" name="gridLayout_7" rowstretch="1,0,0,0">
|
||||||
@ -1228,7 +1228,7 @@ margin:1px;
|
|||||||
font:bold;</string>
|
font:bold;</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>PID Bank</string>
|
<string>Settings Bank</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="alignment">
|
<property name="alignment">
|
||||||
<set>Qt::AlignCenter</set>
|
<set>Qt::AlignCenter</set>
|
||||||
@ -2044,8 +2044,8 @@ Setup the flight mode channel on the RC Input tab if you have not done so alread
|
|||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>407</width>
|
<width>565</width>
|
||||||
<height>138</height>
|
<height>159</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QVBoxLayout" name="verticalLayout_2">
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
||||||
|
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user