Subversion Repositories Projects

Compare Revisions

Ignore whitespace Rev 157 → Rev 158

/QMK-Groundstation/trunk/Forms/dlg_Config.cpp
0,0 → 1,125
/***************************************************************************
* Copyright (C) 2008 by Manuel Schrape *
* manuel.schrape@gmx.de *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. *
* *
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
***************************************************************************/
#include "dlg_Config.h"
 
dlg_Config::dlg_Config(QWidget *parent) : QDialog(parent)
{
setupUi(this);
 
cb_Plot[0] = cb_Plot_0;
cb_Plot[1] = cb_Plot_1;
cb_Plot[2] = cb_Plot_2;
cb_Plot[3] = cb_Plot_3;
cb_Plot[4] = cb_Plot_4;
cb_Plot[5] = cb_Plot_5;
cb_Plot[6] = cb_Plot_6;
cb_Plot[7] = cb_Plot_7;
cb_Plot[8] = cb_Plot_8;
cb_Plot[9] = cb_Plot_9;
cb_Plot[10] = cb_Plot_10;
cb_Plot[11] = cb_Plot_11;
cb_Plot[12] = cb_Plot_12;
cb_Plot[13] = cb_Plot_13;
cb_Plot[14] = cb_Plot_14;
cb_Plot[15] = cb_Plot_15;
cb_Plot[16] = cb_Plot_16;
cb_Plot[17] = cb_Plot_17;
cb_Plot[18] = cb_Plot_18;
cb_Plot[19] = cb_Plot_19;
cb_Plot[20] = cb_Plot_20;
cb_Plot[21] = cb_Plot_21;
cb_Plot[22] = cb_Plot_22;
cb_Plot[23] = cb_Plot_23;
cb_Plot[24] = cb_Plot_24;
cb_Plot[25] = cb_Plot_25;
cb_Plot[26] = cb_Plot_26;
cb_Plot[27] = cb_Plot_27;
cb_Plot[28] = cb_Plot_28;
cb_Plot[29] = cb_Plot_29;
cb_Plot[30] = cb_Plot_30;
cb_Plot[31] = cb_Plot_31;
 
cb_Log[0] = cb_Log_0;
cb_Log[1] = cb_Log_1;
cb_Log[2] = cb_Log_2;
cb_Log[3] = cb_Log_3;
cb_Log[4] = cb_Log_4;
cb_Log[5] = cb_Log_5;
cb_Log[6] = cb_Log_6;
cb_Log[7] = cb_Log_7;
cb_Log[8] = cb_Log_8;
cb_Log[9] = cb_Log_9;
cb_Log[10] = cb_Log_10;
cb_Log[11] = cb_Log_11;
cb_Log[12] = cb_Log_12;
cb_Log[13] = cb_Log_13;
cb_Log[14] = cb_Log_14;
cb_Log[15] = cb_Log_15;
cb_Log[16] = cb_Log_16;
cb_Log[17] = cb_Log_17;
cb_Log[18] = cb_Log_18;
cb_Log[19] = cb_Log_19;
cb_Log[20] = cb_Log_20;
cb_Log[21] = cb_Log_21;
cb_Log[22] = cb_Log_22;
cb_Log[23] = cb_Log_23;
cb_Log[24] = cb_Log_24;
cb_Log[25] = cb_Log_25;
cb_Log[26] = cb_Log_26;
cb_Log[27] = cb_Log_27;
cb_Log[28] = cb_Log_28;
cb_Log[29] = cb_Log_29;
cb_Log[30] = cb_Log_30;
cb_Log[31] = cb_Log_31;
 
}
 
void dlg_Config::set_Settings(cSettings *Set)
{
Settings = Set;
 
for (int a = 0; a < MaxAnalog; a++)
{
cb_Plot[a]->setText(Settings->Analog[a].Name);
cb_Plot[a]->setChecked(Settings->Analog[a].Plot);
cb_Log[a]->setText(Settings->Analog[a].Name);
cb_Log[a]->setChecked(Settings->Analog[a].Log);
}
}
 
cSettings *dlg_Config::get_Settings()
{
for (int a = 0; a < MaxAnalog; a++)
{
Settings->Analog[a].Plot = cb_Plot[a]->isChecked();
}
 
for (int a = 0; a < MaxAnalog; a++)
{
Settings->Analog[a].Log = cb_Log[a]->isChecked();
}
 
return Settings;
}
 
dlg_Config::~dlg_Config()
{
}
 
 
/QMK-Groundstation/trunk/Forms/dlg_Config.h
0,0 → 1,44
/***************************************************************************
* Copyright (C) 2008 by Manuel Schrape *
* manuel.schrape@gmx.de *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. *
* *
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
***************************************************************************/
#ifndef DLG_CONFIG_H
#define DLG_CONFIG_H
 
#include <QCheckBox>
 
#include "ui_dlg_Config.h"
#include "../cSettings.h"
#include "../global.h"
 
class dlg_Config : public QDialog, public Ui::dlg_Config_UI
{
public:
dlg_Config(QWidget *parent = 0);
 
~dlg_Config();
 
cSettings *Settings;
QCheckBox *cb_Plot[MaxAnalog];
QCheckBox *cb_Log[MaxAnalog];
 
 
void set_Settings(cSettings *Set);
cSettings *get_Settings();
};
 
#endif
/QMK-Groundstation/trunk/Forms/dlg_Config.ui
0,0 → 1,685
<ui version="4.0" >
<class>dlg_Config_UI</class>
<widget class="QDialog" name="dlg_Config_UI" >
<property name="geometry" >
<rect>
<x>0</x>
<y>0</y>
<width>517</width>
<height>336</height>
</rect>
</property>
<property name="windowTitle" >
<string>Dialog</string>
</property>
<layout class="QGridLayout" name="gridLayout" >
<item row="1" column="0" >
<layout class="QHBoxLayout" >
<property name="spacing" >
<number>6</number>
</property>
<property name="margin" >
<number>0</number>
</property>
<item>
<spacer>
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0" >
<size>
<width>131</width>
<height>31</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="okButton" >
<property name="text" >
<string>OK</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="cancelButton" >
<property name="text" >
<string>Cancel</string>
</property>
</widget>
</item>
</layout>
</item>
<item row="0" column="0" >
<widget class="QTabWidget" name="tabWidget" >
<property name="currentIndex" >
<number>0</number>
</property>
<widget class="QWidget" name="ct_3" >
<property name="geometry" >
<rect>
<x>0</x>
<y>0</y>
<width>501</width>
<height>259</height>
</rect>
</property>
<attribute name="title" >
<string>Auswahl Plotter </string>
</attribute>
<layout class="QGridLayout" name="gridLayout_6" >
<item row="1" column="0" >
<widget class="QFrame" name="frame" >
<property name="frameShape" >
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow" >
<enum>QFrame::Raised</enum>
</property>
<layout class="QGridLayout" name="gridLayout_2" >
<item row="0" column="0" >
<widget class="QCheckBox" name="cb_Plot_0" >
<property name="text" >
<string>CheckBox</string>
</property>
</widget>
</item>
<item row="1" column="0" >
<widget class="QCheckBox" name="cb_Plot_1" >
<property name="text" >
<string>CheckBox</string>
</property>
</widget>
</item>
<item row="2" column="0" >
<widget class="QCheckBox" name="cb_Plot_2" >
<property name="text" >
<string>CheckBox</string>
</property>
</widget>
</item>
<item row="3" column="0" >
<widget class="QCheckBox" name="cb_Plot_3" >
<property name="text" >
<string>CheckBox</string>
</property>
</widget>
</item>
<item row="4" column="0" >
<widget class="QCheckBox" name="cb_Plot_4" >
<property name="text" >
<string>CheckBox</string>
</property>
</widget>
</item>
<item row="5" column="0" >
<widget class="QCheckBox" name="cb_Plot_5" >
<property name="text" >
<string>CheckBox</string>
</property>
</widget>
</item>
<item row="6" column="0" >
<widget class="QCheckBox" name="cb_Plot_6" >
<property name="text" >
<string>CheckBox</string>
</property>
</widget>
</item>
<item row="7" column="0" >
<widget class="QCheckBox" name="cb_Plot_7" >
<property name="text" >
<string>CheckBox</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="1" column="1" >
<widget class="QFrame" name="frame_2" >
<property name="frameShape" >
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow" >
<enum>QFrame::Raised</enum>
</property>
<layout class="QGridLayout" name="gridLayout_3" >
<item row="0" column="0" >
<widget class="QCheckBox" name="cb_Plot_8" >
<property name="text" >
<string>CheckBox</string>
</property>
</widget>
</item>
<item row="1" column="0" >
<widget class="QCheckBox" name="cb_Plot_9" >
<property name="text" >
<string>CheckBox</string>
</property>
</widget>
</item>
<item row="2" column="0" >
<widget class="QCheckBox" name="cb_Plot_10" >
<property name="text" >
<string>CheckBox</string>
</property>
</widget>
</item>
<item row="3" column="0" >
<widget class="QCheckBox" name="cb_Plot_11" >
<property name="text" >
<string>CheckBox</string>
</property>
</widget>
</item>
<item row="4" column="0" >
<widget class="QCheckBox" name="cb_Plot_12" >
<property name="text" >
<string>CheckBox</string>
</property>
</widget>
</item>
<item row="5" column="0" >
<widget class="QCheckBox" name="cb_Plot_13" >
<property name="text" >
<string>CheckBox</string>
</property>
</widget>
</item>
<item row="6" column="0" >
<widget class="QCheckBox" name="cb_Plot_14" >
<property name="text" >
<string>CheckBox</string>
</property>
</widget>
</item>
<item row="7" column="0" >
<widget class="QCheckBox" name="cb_Plot_15" >
<property name="text" >
<string>CheckBox</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="1" column="2" >
<widget class="QFrame" name="frame_3" >
<property name="frameShape" >
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow" >
<enum>QFrame::Raised</enum>
</property>
<layout class="QGridLayout" name="gridLayout_4" >
<item row="0" column="0" >
<widget class="QCheckBox" name="cb_Plot_16" >
<property name="text" >
<string>CheckBox</string>
</property>
</widget>
</item>
<item row="1" column="0" >
<widget class="QCheckBox" name="cb_Plot_17" >
<property name="text" >
<string>CheckBox</string>
</property>
</widget>
</item>
<item row="2" column="0" >
<widget class="QCheckBox" name="cb_Plot_18" >
<property name="text" >
<string>CheckBox</string>
</property>
</widget>
</item>
<item row="3" column="0" >
<widget class="QCheckBox" name="cb_Plot_19" >
<property name="text" >
<string>CheckBox</string>
</property>
</widget>
</item>
<item row="4" column="0" >
<widget class="QCheckBox" name="cb_Plot_20" >
<property name="text" >
<string>CheckBox</string>
</property>
</widget>
</item>
<item row="5" column="0" >
<widget class="QCheckBox" name="cb_Plot_21" >
<property name="text" >
<string>CheckBox</string>
</property>
</widget>
</item>
<item row="6" column="0" >
<widget class="QCheckBox" name="cb_Plot_22" >
<property name="text" >
<string>CheckBox</string>
</property>
</widget>
</item>
<item row="7" column="0" >
<widget class="QCheckBox" name="cb_Plot_23" >
<property name="text" >
<string>CheckBox</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="1" column="3" >
<widget class="QFrame" name="frame_4" >
<property name="frameShape" >
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow" >
<enum>QFrame::Raised</enum>
</property>
<layout class="QGridLayout" name="gridLayout_5" >
<item row="0" column="0" >
<widget class="QCheckBox" name="cb_Plot_24" >
<property name="text" >
<string>CheckBox</string>
</property>
</widget>
</item>
<item row="1" column="0" >
<widget class="QCheckBox" name="cb_Plot_25" >
<property name="text" >
<string>CheckBox</string>
</property>
</widget>
</item>
<item row="2" column="0" >
<widget class="QCheckBox" name="cb_Plot_26" >
<property name="text" >
<string>CheckBox</string>
</property>
</widget>
</item>
<item row="3" column="0" >
<widget class="QCheckBox" name="cb_Plot_27" >
<property name="text" >
<string>CheckBox</string>
</property>
</widget>
</item>
<item row="4" column="0" >
<widget class="QCheckBox" name="cb_Plot_28" >
<property name="text" >
<string>CheckBox</string>
</property>
</widget>
</item>
<item row="5" column="0" >
<widget class="QCheckBox" name="cb_Plot_29" >
<property name="text" >
<string>CheckBox</string>
</property>
</widget>
</item>
<item row="6" column="0" >
<widget class="QCheckBox" name="cb_Plot_30" >
<property name="text" >
<string>CheckBox</string>
</property>
</widget>
</item>
<item row="7" column="0" >
<widget class="QCheckBox" name="cb_Plot_31" >
<property name="text" >
<string>CheckBox</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="0" column="0" colspan="4" >
<widget class="QLabel" name="label" >
<property name="text" >
<string>Auswahl der Analogwerte, die im Plotter angezeigt werden.</string>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="ct_2" >
<property name="geometry" >
<rect>
<x>0</x>
<y>0</y>
<width>501</width>
<height>259</height>
</rect>
</property>
<attribute name="title" >
<string>Auswahl CSV-Record </string>
</attribute>
<layout class="QGridLayout" name="gridLayout_11" >
<item row="1" column="0" >
<widget class="QFrame" name="frame_5" >
<property name="frameShape" >
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow" >
<enum>QFrame::Raised</enum>
</property>
<layout class="QGridLayout" name="gridLayout_7" >
<item row="0" column="0" >
<widget class="QCheckBox" name="cb_Log_0" >
<property name="text" >
<string>CheckBox</string>
</property>
</widget>
</item>
<item row="1" column="0" >
<widget class="QCheckBox" name="cb_Log_1" >
<property name="text" >
<string>CheckBox</string>
</property>
</widget>
</item>
<item row="2" column="0" >
<widget class="QCheckBox" name="cb_Log_2" >
<property name="text" >
<string>CheckBox</string>
</property>
</widget>
</item>
<item row="3" column="0" >
<widget class="QCheckBox" name="cb_Log_3" >
<property name="text" >
<string>CheckBox</string>
</property>
</widget>
</item>
<item row="4" column="0" >
<widget class="QCheckBox" name="cb_Log_4" >
<property name="text" >
<string>CheckBox</string>
</property>
</widget>
</item>
<item row="5" column="0" >
<widget class="QCheckBox" name="cb_Log_5" >
<property name="text" >
<string>CheckBox</string>
</property>
</widget>
</item>
<item row="6" column="0" >
<widget class="QCheckBox" name="cb_Log_6" >
<property name="text" >
<string>CheckBox</string>
</property>
</widget>
</item>
<item row="7" column="0" >
<widget class="QCheckBox" name="cb_Log_7" >
<property name="text" >
<string>CheckBox</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="1" column="1" >
<widget class="QFrame" name="frame_6" >
<property name="frameShape" >
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow" >
<enum>QFrame::Raised</enum>
</property>
<layout class="QGridLayout" name="gridLayout_8" >
<item row="0" column="0" >
<widget class="QCheckBox" name="cb_Log_8" >
<property name="text" >
<string>CheckBox</string>
</property>
</widget>
</item>
<item row="1" column="0" >
<widget class="QCheckBox" name="cb_Log_9" >
<property name="text" >
<string>CheckBox</string>
</property>
</widget>
</item>
<item row="2" column="0" >
<widget class="QCheckBox" name="cb_Log_10" >
<property name="text" >
<string>CheckBox</string>
</property>
</widget>
</item>
<item row="3" column="0" >
<widget class="QCheckBox" name="cb_Log_11" >
<property name="text" >
<string>CheckBox</string>
</property>
</widget>
</item>
<item row="4" column="0" >
<widget class="QCheckBox" name="cb_Log_12" >
<property name="text" >
<string>CheckBox</string>
</property>
</widget>
</item>
<item row="5" column="0" >
<widget class="QCheckBox" name="cb_Log_13" >
<property name="text" >
<string>CheckBox</string>
</property>
</widget>
</item>
<item row="6" column="0" >
<widget class="QCheckBox" name="cb_Log_14" >
<property name="text" >
<string>CheckBox</string>
</property>
</widget>
</item>
<item row="7" column="0" >
<widget class="QCheckBox" name="cb_Log_15" >
<property name="text" >
<string>CheckBox</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="1" column="2" >
<widget class="QFrame" name="frame_7" >
<property name="frameShape" >
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow" >
<enum>QFrame::Raised</enum>
</property>
<layout class="QGridLayout" name="gridLayout_9" >
<item row="0" column="0" >
<widget class="QCheckBox" name="cb_Log_16" >
<property name="text" >
<string>CheckBox</string>
</property>
</widget>
</item>
<item row="1" column="0" >
<widget class="QCheckBox" name="cb_Log_17" >
<property name="text" >
<string>CheckBox</string>
</property>
</widget>
</item>
<item row="2" column="0" >
<widget class="QCheckBox" name="cb_Log_18" >
<property name="text" >
<string>CheckBox</string>
</property>
</widget>
</item>
<item row="3" column="0" >
<widget class="QCheckBox" name="cb_Log_19" >
<property name="text" >
<string>CheckBox</string>
</property>
</widget>
</item>
<item row="4" column="0" >
<widget class="QCheckBox" name="cb_Log_20" >
<property name="text" >
<string>CheckBox</string>
</property>
</widget>
</item>
<item row="5" column="0" >
<widget class="QCheckBox" name="cb_Log_21" >
<property name="text" >
<string>CheckBox</string>
</property>
</widget>
</item>
<item row="6" column="0" >
<widget class="QCheckBox" name="cb_Log_22" >
<property name="text" >
<string>CheckBox</string>
</property>
</widget>
</item>
<item row="7" column="0" >
<widget class="QCheckBox" name="cb_Log_23" >
<property name="text" >
<string>CheckBox</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="1" column="3" >
<widget class="QFrame" name="frame_8" >
<property name="frameShape" >
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow" >
<enum>QFrame::Raised</enum>
</property>
<layout class="QGridLayout" name="gridLayout_10" >
<item row="0" column="0" >
<widget class="QCheckBox" name="cb_Log_24" >
<property name="text" >
<string>CheckBox</string>
</property>
</widget>
</item>
<item row="1" column="0" >
<widget class="QCheckBox" name="cb_Log_25" >
<property name="text" >
<string>CheckBox</string>
</property>
</widget>
</item>
<item row="2" column="0" >
<widget class="QCheckBox" name="cb_Log_26" >
<property name="text" >
<string>CheckBox</string>
</property>
</widget>
</item>
<item row="3" column="0" >
<widget class="QCheckBox" name="cb_Log_27" >
<property name="text" >
<string>CheckBox</string>
</property>
</widget>
</item>
<item row="4" column="0" >
<widget class="QCheckBox" name="cb_Log_28" >
<property name="text" >
<string>CheckBox</string>
</property>
</widget>
</item>
<item row="5" column="0" >
<widget class="QCheckBox" name="cb_Log_29" >
<property name="text" >
<string>CheckBox</string>
</property>
</widget>
</item>
<item row="6" column="0" >
<widget class="QCheckBox" name="cb_Log_30" >
<property name="text" >
<string>CheckBox</string>
</property>
</widget>
</item>
<item row="7" column="0" >
<widget class="QCheckBox" name="cb_Log_31" >
<property name="text" >
<string>CheckBox</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="0" column="0" colspan="4" >
<widget class="QLabel" name="label_2" >
<property name="text" >
<string>Auswahl der Analogwerte, die ins Log-File geschrieben werden.</string>
</property>
</widget>
</item>
</layout>
</widget>
</widget>
</item>
</layout>
</widget>
<resources/>
<connections>
<connection>
<sender>okButton</sender>
<signal>clicked()</signal>
<receiver>dlg_Config_UI</receiver>
<slot>accept()</slot>
<hints>
<hint type="sourcelabel" >
<x>278</x>
<y>253</y>
</hint>
<hint type="destinationlabel" >
<x>96</x>
<y>254</y>
</hint>
</hints>
</connection>
<connection>
<sender>cancelButton</sender>
<signal>clicked()</signal>
<receiver>dlg_Config_UI</receiver>
<slot>reject()</slot>
<hints>
<hint type="sourcelabel" >
<x>369</x>
<y>253</y>
</hint>
<hint type="destinationlabel" >
<x>179</x>
<y>282</y>
</hint>
</hints>
</connection>
</connections>
</ui>
/QMK-Groundstation/trunk/Forms/dlg_Motortest.cpp
0,0 → 1,41
/***************************************************************************
* Copyright (C) 2008 by Manuel Schrape *
* manuel.schrape@gmx.de *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. *
* *
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
***************************************************************************/
#include "dlg_Motortest.h"
 
dlg_Motortest::dlg_Motortest(QWidget *parent) : QDialog(parent)
{
setupUi(this);
connect(sl_Left, SIGNAL(valueChanged(int)), this, SLOT(slot_Motortest(int)));
connect(sl_Right, SIGNAL(valueChanged(int)), this, SLOT(slot_Motortest(int)));
connect(sl_Front, SIGNAL(valueChanged(int)), this, SLOT(slot_Motortest(int)));
connect(sl_Back, SIGNAL(valueChanged(int)), this, SLOT(slot_Motortest(int)));
connect(sl_All, SIGNAL(valueChanged(int)), this, SLOT(slot_Motortest(int)));
}
 
void dlg_Motortest::slot_Motortest(int Wert)
{
Wert = Wert;
emit updateMotor(sl_Front->value(),sl_Back->value(),sl_Left->value(),sl_Right->value());
}
 
dlg_Motortest::~dlg_Motortest()
{
}
 
 
/QMK-Groundstation/trunk/Forms/dlg_Motortest.h
0,0 → 1,42
/***************************************************************************
* Copyright (C) 2008 by Manuel Schrape *
* manuel.schrape@gmx.de *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. *
* *
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
***************************************************************************/
#ifndef DLG_MOTORTEST_H
#define DLG_MOTORTEST_H
 
#include <QObject>
 
#include "ui_dlg_Motortest.h"
#include "../global.h"
 
class dlg_Motortest : public QDialog, public Ui::dlg_Motortest_UI
{
Q_OBJECT
 
public:
dlg_Motortest(QWidget *parent = 0);
~dlg_Motortest();
 
private slots:
void slot_Motortest(int Wert);
 
signals:
void updateMotor(int Motor1, int Motor2, int Motor3, int Motor4);
};
 
#endif
/QMK-Groundstation/trunk/Forms/dlg_Motortest.ui
0,0 → 1,226
<ui version="4.0" >
<class>dlg_Motortest_UI</class>
<widget class="QDialog" name="dlg_Motortest_UI" >
<property name="geometry" >
<rect>
<x>0</x>
<y>0</y>
<width>253</width>
<height>193</height>
</rect>
</property>
<property name="windowTitle" >
<string>Motortest</string>
</property>
<layout class="QGridLayout" name="gridLayout" >
<item row="0" column="0" >
<widget class="QLabel" name="label_133" >
<property name="text" >
<string>Links</string>
</property>
</widget>
</item>
<item row="0" column="1" >
<widget class="QSlider" name="sl_Left" >
<property name="minimumSize" >
<size>
<width>200</width>
<height>0</height>
</size>
</property>
<property name="maximum" >
<number>255</number>
</property>
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
<item row="1" column="0" >
<widget class="QLabel" name="label_135" >
<property name="text" >
<string>Rechts</string>
</property>
</widget>
</item>
<item row="1" column="1" >
<widget class="QSlider" name="sl_Right" >
<property name="maximum" >
<number>255</number>
</property>
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
<item row="2" column="0" >
<widget class="QLabel" name="label_136" >
<property name="text" >
<string>Vorn</string>
</property>
</widget>
</item>
<item row="2" column="1" >
<widget class="QSlider" name="sl_Front" >
<property name="maximum" >
<number>255</number>
</property>
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
<item row="3" column="0" >
<widget class="QLabel" name="label_137" >
<property name="text" >
<string>Hinten</string>
</property>
</widget>
</item>
<item row="3" column="1" >
<widget class="QSlider" name="sl_Back" >
<property name="maximum" >
<number>255</number>
</property>
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
<item row="4" column="0" colspan="2" >
<widget class="Line" name="line" >
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
<item row="5" column="0" >
<widget class="QLabel" name="label_138" >
<property name="text" >
<string>Alle</string>
</property>
</widget>
</item>
<item row="5" column="1" >
<widget class="QSlider" name="sl_All" >
<property name="maximum" >
<number>255</number>
</property>
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
<item row="7" column="0" colspan="2" >
<widget class="Line" name="line_2" >
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
<item row="8" column="1" >
<widget class="QPushButton" name="pb_OK" >
<property name="text" >
<string>OK</string>
</property>
</widget>
</item>
</layout>
<zorder>sl_All</zorder>
<zorder>sl_Left</zorder>
<zorder>sl_Right</zorder>
<zorder>label_137</zorder>
<zorder>label_136</zorder>
<zorder>sl_Front</zorder>
<zorder>label_138</zorder>
<zorder>sl_Back</zorder>
<zorder>label_133</zorder>
<zorder>label_135</zorder>
<zorder>line</zorder>
<zorder>line_2</zorder>
<zorder>pb_OK</zorder>
</widget>
<resources/>
<connections>
<connection>
<sender>sl_All</sender>
<signal>valueChanged(int)</signal>
<receiver>sl_Back</receiver>
<slot>setValue(int)</slot>
<hints>
<hint type="sourcelabel" >
<x>132</x>
<y>133</y>
</hint>
<hint type="destinationlabel" >
<x>131</x>
<y>108</y>
</hint>
</hints>
</connection>
<connection>
<sender>sl_All</sender>
<signal>valueChanged(int)</signal>
<receiver>sl_Front</receiver>
<slot>setValue(int)</slot>
<hints>
<hint type="sourcelabel" >
<x>166</x>
<y>137</y>
</hint>
<hint type="destinationlabel" >
<x>166</x>
<y>76</y>
</hint>
</hints>
</connection>
<connection>
<sender>sl_All</sender>
<signal>valueChanged(int)</signal>
<receiver>sl_Right</receiver>
<slot>setValue(int)</slot>
<hints>
<hint type="sourcelabel" >
<x>202</x>
<y>130</y>
</hint>
<hint type="destinationlabel" >
<x>204</x>
<y>50</y>
</hint>
</hints>
</connection>
<connection>
<sender>sl_All</sender>
<signal>valueChanged(int)</signal>
<receiver>sl_Left</receiver>
<slot>setValue(int)</slot>
<hints>
<hint type="sourcelabel" >
<x>241</x>
<y>144</y>
</hint>
<hint type="destinationlabel" >
<x>240</x>
<y>17</y>
</hint>
</hints>
</connection>
<connection>
<sender>pb_OK</sender>
<signal>clicked()</signal>
<receiver>dlg_Motortest_UI</receiver>
<slot>accept()</slot>
<hints>
<hint type="sourcelabel" >
<x>63</x>
<y>174</y>
</hint>
<hint type="destinationlabel" >
<x>29</x>
<y>177</y>
</hint>
</hints>
</connection>
</connections>
</ui>
/QMK-Groundstation/trunk/Forms/mktool.cpp
0,0 → 1,1856
/***************************************************************************
* Copyright (C) 2008 by Manuel Schrape *
* manuel.schrape@gmx.de *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. *
* *
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
***************************************************************************/
 
#include <QtGui>
 
#include <QLineEdit>
#include <QString>
#include <QTimer>
#include <QIcon>
#include <QToolButton>
#include <QSpinBox>
 
#include "mktool.h"
#include "dlg_Config.h"
#include "dlg_Motortest.h"
#include "../global.h"
#include "../ToolBox.h"
 
#include <stdlib.h>
 
MKTool::MKTool()
{
setupUi(this);
 
Settings = new cSettings;
Settings->read_Settings();
Settings->read_Settings_FC();
 
init_Arrays();
init_Icons();
init_GUI();
 
init_Objects();
init_Connections();
 
init_Plot();
 
Ticker->start(500);
}
 
void MKTool::init_GUI()
{
setWindowTitle(QA_NAME + " v" + QA_VERSION);
 
#ifdef _EEEPC_
toolBar->hide();
#endif
 
resize(Settings->GUI.Size);
move(Settings->GUI.Point);
 
if (Settings->GUI.isMax)
{
showMaximized();
}
 
for (int a = 0; a < MaxAnalog; a++)
{
lb_Analog[a]->setText(Settings->Analog[a].Name);
}
 
for (int b = 0; b < 6; b++)
{
TabWidgets[b] = tab_Main->widget(b);
}
 
for (int c = 0; c < 6; c++)
{
if (Settings->GUI.TabViews[c] == false)
{
QString TabName = QString("Tab_%1").arg(c);
 
for (int d = 0; d < tab_Main->count(); d++)
{
if (tab_Main->widget(d)->objectName() == TabName)
{
tab_Main->removeTab(d);
}
}
}
}
 
ac_View0->setChecked(Settings->GUI.TabViews[0]);
ac_View1->setChecked(Settings->GUI.TabViews[1]);
ac_View2->setChecked(Settings->GUI.TabViews[2]);
ac_View3->setChecked(Settings->GUI.TabViews[3]);
ac_View4->setChecked(Settings->GUI.TabViews[4]);
ac_View5->setChecked(Settings->GUI.TabViews[5]);
 
le_Port->setText(Settings->TTY.Port);
}
 
void MKTool::init_Objects()
{
// QTimer-Instanzen
Ticker = new QTimer(this);
 
// Seriell-Port
serialPort = new ManageSerialPort;
 
// QFile-Instanz (Log-Datei)
CSVFile = new QFile("");
}
 
void MKTool::init_Connections()
{
// Seriel-Port Empfang
connect(serialPort, SIGNAL(newDataReceived(const QByteArray &)), this, SLOT(slot_newDataReceived(const QByteArray &)));
 
// Buttons und Menüpunkte / Toolbar
connect(pb_Load, SIGNAL(clicked()), this, SLOT(slot_LoadParameter()));
connect(pb_Save, SIGNAL(clicked()), this, SLOT(slot_SaveParameter()));
connect(pb_Read, SIGNAL(clicked()), this, SLOT(slot_GetParameter()));
connect(pb_Write, SIGNAL(clicked()), this, SLOT(slot_SetParameter()));
 
// Actions
connect(ac_Config, SIGNAL(triggered()), this, SLOT(slot_ac_Config()));
connect(ac_Motortest, SIGNAL(triggered()), this, SLOT(slot_ac_Motortest()));
connect(ac_StartPlotter, SIGNAL(triggered()), this, SLOT(slot_ac_StartPlotter()));
connect(ac_MehrDaten, SIGNAL(triggered()), this, SLOT(slot_ac_MehrDaten()));
connect(ac_About, SIGNAL(triggered()), this, SLOT(slot_ac_About()));
connect(ac_GetLabels, SIGNAL(triggered()), this, SLOT(slot_ac_GetLabels()));
 
// Tabs ein & ausblenden
connect(ac_View0, SIGNAL(triggered()), this, SLOT(slot_ac_View()));
connect(ac_View1, SIGNAL(triggered()), this, SLOT(slot_ac_View()));
connect(ac_View2, SIGNAL(triggered()), this, SLOT(slot_ac_View()));
connect(ac_View3, SIGNAL(triggered()), this, SLOT(slot_ac_View()));
connect(ac_View4, SIGNAL(triggered()), this, SLOT(slot_ac_View()));
connect(ac_View5, SIGNAL(triggered()), this, SLOT(slot_ac_View()));
 
connect(pb_Update, SIGNAL(clicked()), this, SLOT(slot_pb_Update()));
 
connect(ac_ConnectTTY, SIGNAL(triggered()), this, SLOT(slot_OpenPort()));
connect(ac_Quit, SIGNAL(triggered()), this, SLOT(slot_Quit()));
connect(ac_RecordCSV, SIGNAL(triggered()), this, SLOT(slot_RecordCSV()));
 
connect(ac_LogDir, SIGNAL(triggered()), this, SLOT(slot_SetLogDir()));
connect(ac_ParameterDir, SIGNAL(triggered()), this, SLOT(slot_SetParDir()));
 
// Timer-Events
// connect(timer, SIGNAL(timeout()), SLOT(slot_Timer()));
// connect(Poll, SIGNAL(timeout()), SLOT(slot_Poll()));
connect(Ticker, SIGNAL(timeout()), SLOT(slot_Ticker()));
 
// Seitenwechsel :)
connect(tab_Main, SIGNAL(currentChanged(int)), this, SLOT(slot_TabChanged(int)));
connect(tab_Par, SIGNAL(currentChanged(int)), this, SLOT(slot_TabChanged(int)));
 
// Parameterevents
connect(tb_9_6, SIGNAL(clicked()), this, SLOT(slot_tbUp()));
connect(tb_9_7, SIGNAL(clicked()), this, SLOT(slot_tbDown()));
connect(tb_9_8, SIGNAL(clicked()), this, SLOT(slot_tbLeft()));
connect(tb_9_9, SIGNAL(clicked()), this, SLOT(slot_tbRight()));
 
connect(J16_0, SIGNAL(clicked()), this, SLOT(slot_LEDtoValue()));
connect(J16_1, SIGNAL(clicked()), this, SLOT(slot_LEDtoValue()));
connect(J16_2, SIGNAL(clicked()), this, SLOT(slot_LEDtoValue()));
connect(J16_3, SIGNAL(clicked()), this, SLOT(slot_LEDtoValue()));
connect(J16_4, SIGNAL(clicked()), this, SLOT(slot_LEDtoValue()));
connect(J16_5, SIGNAL(clicked()), this, SLOT(slot_LEDtoValue()));
connect(J16_6, SIGNAL(clicked()), this, SLOT(slot_LEDtoValue()));
connect(J16_7, SIGNAL(clicked()), this, SLOT(slot_LEDtoValue()));
 
connect(J17_0, SIGNAL(clicked()), this, SLOT(slot_LEDtoValue()));
connect(J17_1, SIGNAL(clicked()), this, SLOT(slot_LEDtoValue()));
connect(J17_2, SIGNAL(clicked()), this, SLOT(slot_LEDtoValue()));
connect(J17_3, SIGNAL(clicked()), this, SLOT(slot_LEDtoValue()));
connect(J17_4, SIGNAL(clicked()), this, SLOT(slot_LEDtoValue()));
connect(J17_5, SIGNAL(clicked()), this, SLOT(slot_LEDtoValue()));
connect(J17_6, SIGNAL(clicked()), this, SLOT(slot_LEDtoValue()));
connect(J17_7, SIGNAL(clicked()), this, SLOT(slot_LEDtoValue()));
 
connect(sb_11_1, SIGNAL(valueChanged(int)), this, SLOT(slot_ValuetoLED16(int)));
connect(sb_11_3, SIGNAL(valueChanged(int)), this, SLOT(slot_ValuetoLED17(int)));
 
// Plotter
connect(scroll_plot, SIGNAL(valueChanged(int)), this, SLOT(slot_ScrollPlot(int)));
 
// About-QT Dialog einfügen
menu_Help->addAction(trUtf8("Über &Qt"), qApp, SLOT(aboutQt()));
}
 
void MKTool::init_Arrays()
{
lb_Analog[0] = lb_A_0;
lb_Analog[1] = lb_A_1;
lb_Analog[2] = lb_A_2;
lb_Analog[3] = lb_A_3;
lb_Analog[4] = lb_A_4;
lb_Analog[5] = lb_A_5;
lb_Analog[6] = lb_A_6;
lb_Analog[7] = lb_A_7;
lb_Analog[8] = lb_A_8;
lb_Analog[9] = lb_A_9;
lb_Analog[10] = lb_A_10;
lb_Analog[11] = lb_A_11;
lb_Analog[12] = lb_A_12;
lb_Analog[13] = lb_A_13;
lb_Analog[14] = lb_A_14;
lb_Analog[15] = lb_A_15;
lb_Analog[16] = lb_A_16;
lb_Analog[17] = lb_A_17;
lb_Analog[18] = lb_A_18;
lb_Analog[19] = lb_A_19;
lb_Analog[20] = lb_A_20;
lb_Analog[21] = lb_A_21;
lb_Analog[22] = lb_A_22;
lb_Analog[23] = lb_A_23;
lb_Analog[24] = lb_A_24;
lb_Analog[25] = lb_A_25;
lb_Analog[26] = lb_A_26;
lb_Analog[27] = lb_A_27;
lb_Analog[28] = lb_A_28;
lb_Analog[29] = lb_A_29;
lb_Analog[30] = lb_A_30;
lb_Analog[31] = lb_A_31;
}
 
void MKTool::init_Plot()
{
NextPlot = 0;
 
qwtPlot->setCanvasBackground(QColor(QRgb(0x00000000)));
 
qwtPlot->insertLegend(new QwtLegend(), QwtPlot::RightLegend);
 
QwtPlotGrid *Grid = new QwtPlotGrid();
Grid->setMajPen(QPen(Qt::gray, 0, Qt::DotLine));
 
 
Grid->attach(qwtPlot);
 
qwtPlot->setAxisScale(QwtPlot::xBottom,0,PlotWide,0);
 
for (int a = 0; a < MaxAnalog; a++)
{
Plot[a] = new QwtPlotCurve(Settings->Analog[a].Name);
Plot[a]->setPen(QPen(QColor(Settings->Analog[a].Color)));
// Plot[a]->setRenderHint(QwtPlotItem::RenderAntialiased);
 
if (Settings->Analog[a].Plot)
Plot[a]->attach(qwtPlot);
}
qwtPlot->replot();
}
 
void MKTool::init_Icons()
{
Icons[0].addPixmap(QPixmap(QString::fromUtf8(":/LED/Images/16X16/ledred.png")), QIcon::Normal, QIcon::Off);
Icons[1].addPixmap(QPixmap(QString::fromUtf8(":/LED/Images/16X16/ledyellow.png")), QIcon::Normal, QIcon::Off);
Icons[3].addPixmap(QPixmap(QString::fromUtf8(":/LED/Images/16X16/ledyellow.png")), QIcon::Normal, QIcon::Off);
Icons[4].addPixmap(QPixmap(QString::fromUtf8(":/LED/Images/16X16/ledoff.png")), QIcon::Normal, QIcon::Off);
 
Icons[5].addPixmap(QPixmap(QString::fromUtf8(":/Actions/Images/22X22/application-exit.png")), QIcon::Normal, QIcon::Off);
Icons[6].addPixmap(QPixmap(QString::fromUtf8(":/Actions/Images/22X22/media-playback-stop.png")), QIcon::Normal, QIcon::Off);
Icons[7].addPixmap(QPixmap(QString::fromUtf8(":/Actions/Images/22X22/media-record.png")), QIcon::Normal, QIcon::Off);
Icons[8].addPixmap(QPixmap(QString::fromUtf8(":/Actions/Images/22X22/network-connect.png")), QIcon::Normal, QIcon::Off);
Icons[9].addPixmap(QPixmap(QString::fromUtf8(":/Actions/Images/22X22/network-disconnect.png")), QIcon::Normal, QIcon::Off);
Icons[10].addPixmap(QPixmap(QString::fromUtf8(":/Actions/Images/22X22/utilities-system-monitor.png")), QIcon::Normal, QIcon::Off);
 
Icons[20].addPixmap(QPixmap(QString::fromUtf8(":/Arrows/Images/32X32/arrow-up-double.png")), QIcon::Normal, QIcon::Off);
Icons[21].addPixmap(QPixmap(QString::fromUtf8(":/Arrows/Images/32X32/arrow-up.png")), QIcon::Normal, QIcon::Off);
Icons[22].addPixmap(QPixmap(QString::fromUtf8(":/Arrows/Images/32X32/arrow-down-double.png")), QIcon::Normal, QIcon::Off);
Icons[23].addPixmap(QPixmap(QString::fromUtf8(":/Arrows/Images/32X32/arrow-down.png")), QIcon::Normal, QIcon::Off);
Icons[24].addPixmap(QPixmap(QString::fromUtf8(":/Arrows/Images/32X32/arrow-left-double.png")), QIcon::Normal, QIcon::Off);
Icons[25].addPixmap(QPixmap(QString::fromUtf8(":/Arrows/Images/32X32/arrow-left.png")), QIcon::Normal, QIcon::Off);
Icons[26].addPixmap(QPixmap(QString::fromUtf8(":/Arrows/Images/32X32/arrow-right-double.png")), QIcon::Normal, QIcon::Off);
Icons[27].addPixmap(QPixmap(QString::fromUtf8(":/Arrows/Images/32X32/arrow-right.png")), QIcon::Normal, QIcon::Off);
}
 
 
// Ticker-Event
///////////////
void MKTool::slot_Ticker()
{
if (TickerDiv)
TickerDiv = false;
else
TickerDiv = true;
 
if (ac_MehrDaten->isChecked())
{
send_Data('f', TX_Data, 0);
}
 
for (int a = 0; a < MaxTickerEvents; a++)
{
if (TickerEvent[a] == true)
{
switch(a)
{
case 0 :
if (TickerDiv)
{
QByteArray Temp(LastSend.toUtf8());
serialPort->sendData(Temp);
}
break;
 
case 1 :
TX_Data[0] = 255;
TX_Data[1] = 255;
send_Data('h', TX_Data, 2, false);
break;
}
}
}
}
 
 
// Slots der Actions (Menüpunkte, Buttons)
//////////////////////////////////////////
void MKTool::slot_ac_Motortest()
{
dlg_Motortest *f_Motortest = new dlg_Motortest(this);
 
connect(f_Motortest, SIGNAL(updateMotor(int, int, int, int)), this, SLOT(slot_Motortest(int, int, int, int)));
 
if (f_Motortest->exec()==QDialog::Accepted)
{
}
 
disconnect(f_Motortest, 0,0,0);
slot_Motortest(0,0,0,0);
}
 
void MKTool::slot_Motortest(int Motor1, int Motor2, int Motor3, int Motor4)
{
TX_Data[0] = Motor1;
TX_Data[1] = Motor2;
TX_Data[2] = Motor3;
TX_Data[3] = Motor4;
send_Data('t', TX_Data, 4, false);
}
 
void MKTool::slot_ac_Config()
{
set_Analog Old_Analog[MaxAnalog];
memcpy(Old_Analog, Settings->Analog, sizeof(Settings->Analog));
 
dlg_Config *f_Config = new dlg_Config(this);
f_Config->set_Settings(Settings);
 
if (f_Config->exec()==QDialog::Accepted)
{
Settings = f_Config->get_Settings();
Settings->write_Settings_FC();
 
for (int a = 0; a < MaxAnalog; a++)
{
if (Old_Analog[a].Plot == Settings->Analog[a].Plot)
continue;
else
{
config_Plot();
break;
}
}
 
if (CSVFile->isOpen())
{
for (int a = 0; a < MaxAnalog; a++)
{
if (Old_Analog[a].Log == Settings->Analog[a].Log)
continue;
else
{
slot_RecordCSV();
slot_RecordCSV();
break;
}
}
}
 
}
}
 
void MKTool::slot_ac_StartPlotter()
{
if (ac_StartPlotter->isChecked())
{
ac_StartPlotter->setText("Stop Plotter");
pb_StartPlotter->setText("Stop Plotter");
}
else
{
ac_StartPlotter->setText("Start Plotter");
pb_StartPlotter->setText("Start Plotter");
}
}
 
void MKTool::slot_ac_View()
{
int Aktive;
 
QAction *Action = (QAction*)sender();
 
if (Action->objectName() == QString("ac_View0"))
Aktive = 0;
if (Action->objectName() == QString("ac_View1"))
Aktive = 1;
if (Action->objectName() == QString("ac_View2"))
Aktive = 2;
if (Action->objectName() == QString("ac_View3"))
Aktive = 3;
if (Action->objectName() == QString("ac_View4"))
Aktive = 4;
if (Action->objectName() == QString("ac_View5"))
Aktive = 5;
 
QString TabName = QString("Tab_%1").arg(Aktive);
 
if (!Action->isChecked())
{
for (int a = 0; a < tab_Main->count(); a++)
{
if (tab_Main->widget(a)->objectName() == TabName)
{
tab_Main->removeTab(a);
}
}
 
// Action->setChecked(false);
}
else
{
// Action->setChecked(true);
tab_Main->insertTab(Aktive, TabWidgets[Aktive], Action->text());
}
}
 
void MKTool::slot_ac_MehrDaten()
{
if (ac_MehrDaten->isChecked())
{
Ticker->setInterval(100);
}
else
{
Ticker->setInterval(500);
}
}
 
void MKTool::slot_ac_About()
{
QMessageBox::about(this, trUtf8(("Über ")) + QA_NAME, QA_ABOUT);
}
 
void MKTool::slot_ac_GetLabels()
{
TX_Data[0] = 0;
send_Data('a', TX_Data, 1, false);
}
 
// Daten-Plotter
/////////////////
void MKTool::update_Plot()
{
for (int a = 0; a < MaxAnalog; a++)
{
Plot[a]->setData(aID,aData[a],NextPlot - 1);
}
 
if ((NextPlot > PlotWide))
{
scroll_plot->setMaximum(NextPlot - PlotWide);
}
 
if ((scroll_plot->value() == NextPlot - (PlotWide + 1)))
{
qwtPlot->setAxisScale(QwtPlot::xBottom,NextPlot - PlotWide,NextPlot,0);
scroll_plot->setValue(NextPlot - PlotWide);
}
 
qwtPlot->replot();
}
 
void MKTool::config_Plot()
{
for (int a = 0; a < MaxAnalog; a++)
{
Plot[a]->detach();
Plot[a]->setPen(QPen(QColor(Settings->Analog[a].Color)));
 
if (Settings->Analog[a].Plot)
Plot[a]->attach(qwtPlot);
}
}
 
void MKTool::slot_ScrollPlot(int Pos)
{
qwtPlot->setAxisScale(QwtPlot::xBottom,Pos,Pos + PlotWide,0);
qwtPlot->replot();
}
 
 
// Firmeware-Update
///////////////////
void MKTool::slot_pb_Update()
{
diskfree = new QProcess();
QByteArray ausgabe;
const QString programm = "find";
const QStringList argumente = (QStringList() << "/home/Manuel/");
 
te_Shell->setText(""); // Ausgabefenster säubern
diskfree->start(programm, argumente); // Programmaufruf
// diskfree.waitForFinished(); // auf Rückmeldung warten
// diskfree.close(); // Kanal schließen
connect(diskfree, SIGNAL(readyReadStandardOutput()), this, SLOT(slot_UpdateShell()) );
}
 
void MKTool::slot_UpdateShell()
{
QByteArray ausgabe;
// te_Shell->setText(""); // Ausgabefenster säubern
// ausgabe = diskfree->readAllStandardOutput(); // Shellausgabe an Variable
 
te_Shell->moveCursor(QTextCursor::End, QTextCursor::MoveAnchor);
te_Shell->insertPlainText(QString::fromUtf8(ausgabe));
 
// te_Shell->setText(QString::fromUtf8(ausgabe)); // ...und endlich: Ausgabe im QLabel
// qDebug("Shell");
}
 
 
// Configuration -> Verzeichnisse
/////////////////////////////////
void MKTool::slot_SetLogDir()
{
QString directory = QFileDialog::getExistingDirectory(this, "Verzeichniss für CSV-Logdateien", Settings->DIR.Logging, QFileDialog::DontResolveSymlinks | QFileDialog::ShowDirsOnly);
 
if ((!directory.isEmpty()) && (Settings->DIR.Logging != directory))
{
Settings->DIR.Logging = directory;
Settings->write_Settings();
}
}
 
void MKTool::slot_SetParDir()
{
QString directory = QFileDialog::getExistingDirectory(this, "Verzeichniss für Parameter-Dateien", Settings->DIR.Parameter, QFileDialog::DontResolveSymlinks | QFileDialog::ShowDirsOnly);
 
if ((!directory.isEmpty()) && (Settings->DIR.Parameter != directory))
{
Settings->DIR.Parameter = directory;
Settings->write_Settings();
}
 
}
 
 
// Settings-Bereich
///////////////////
 
void MKTool::slot_LEDtoValue()
{
QToolButton *ToolButton = (QToolButton*)sender();
if (ToolButton->text() == QString("0"))
{
set_LED(ToolButton, true);
sb_11_1->setValue(sb_11_1->value() + ToolButton->toolTip().toInt());
}
else if (ToolButton->text() == QString("1"))
{
set_LED(ToolButton);
sb_11_1->setValue(sb_11_1->value() - ToolButton->toolTip().toInt());
}
else if (ToolButton->text() == QString("00"))
{
set_LED(ToolButton, true);
sb_11_3->setValue(sb_11_3->value() + ToolButton->toolTip().toInt());
}
else if (ToolButton->text() == QString("11"))
{
set_LED(ToolButton);
sb_11_3->setValue(sb_11_3->value() - ToolButton->toolTip().toInt());
}
}
 
void MKTool::slot_ValuetoLED16(int Wert)
{
// QSpinBox *SpinBox = (QSpinBox*)sender();
 
// int Wert = SpinBox->value();
 
set_LED(J16_0);
set_LED(J16_1);
set_LED(J16_2);
set_LED(J16_3);
set_LED(J16_4);
set_LED(J16_5);
set_LED(J16_6);
set_LED(J16_7);
 
for (int a = 0; a < 8; a++)
{
if (Wert > 127)
{
set_LED(J16_0, true);
Wert = Wert - 128;
}
if (Wert > 63)
{
set_LED(J16_1, true);
Wert = Wert - 64;
}
if (Wert > 31)
{
set_LED(J16_2, true);
Wert = Wert - 32;
}
if (Wert > 15)
{
set_LED(J16_3, true);
Wert = Wert - 16;
}
if (Wert > 7)
{
set_LED(J16_4, true);
Wert = Wert - 8;
}
if (Wert > 3)
{
set_LED(J16_5, true);
Wert = Wert - 4;
}
if (Wert > 1)
{
set_LED(J16_6, true);
Wert = Wert - 2;
}
if (Wert > 0)
{
set_LED(J16_7, true);
Wert = Wert - 1;
}
}
}
 
void MKTool::slot_ValuetoLED17(int Wert)
{
// QSpinBox *SpinBox = (QSpinBox*)sender();
 
// int Wert = SpinBox->value();
 
set_LED(J17_0);
set_LED(J17_1);
set_LED(J17_2);
set_LED(J17_3);
set_LED(J17_4);
set_LED(J17_5);
set_LED(J17_6);
set_LED(J17_7);
 
for (int a = 0; a < 8; a++)
{
if (Wert > 127)
{
set_LED(J17_0, true);
Wert = Wert - 128;
}
if (Wert > 63)
{
set_LED(J17_1, true);
Wert = Wert - 64;
}
if (Wert > 31)
{
set_LED(J17_2, true);
Wert = Wert - 32;
}
if (Wert > 15)
{
set_LED(J17_3, true);
Wert = Wert - 16;
}
if (Wert > 7)
{
set_LED(J17_4, true);
Wert = Wert - 8;
}
if (Wert > 3)
{
set_LED(J17_5, true);
Wert = Wert - 4;
}
if (Wert > 1)
{
set_LED(J17_6, true);
Wert = Wert - 2;
}
if (Wert > 0)
{
set_LED(J17_7, true);
Wert = Wert - 1;
}
}
}
 
void MKTool::set_LED(QToolButton *ToolButton, bool On)
{
if (ToolButton->text() == QString("0") && On)
{
ToolButton->setIcon(Icons[0]);
ToolButton->setText("1");
}
else if (ToolButton->text() == QString("1") && !On)
{
ToolButton->setIcon(Icons[4]);
ToolButton->setText("0");
}
else if (ToolButton->text() == QString("00") && On)
{
ToolButton->setIcon(Icons[0]);
ToolButton->setText("11");
}
else if (ToolButton->text() == QString("11") && !On)
{
ToolButton->setIcon(Icons[4]);
ToolButton->setText("00");
}
}
 
void MKTool::slot_tbUp()
{
if (tb_9_6->text() == QString("0"))
{
tb_9_6->setIcon(Icons[20]);
tb_9_6->setText("1");
}
else
{
tb_9_6->setIcon(Icons[21]);
tb_9_6->setText("0");
}
}
 
void MKTool::slot_tbDown()
{
if (tb_9_7->text() == QString("0"))
{
tb_9_7->setIcon(Icons[22]);
tb_9_7->setText("1");
}
else
{
tb_9_7->setIcon(Icons[23]);
tb_9_7->setText("0");
}
}
 
void MKTool::slot_tbLeft()
{
if (tb_9_8->text() == QString("0"))
{
tb_9_8->setIcon(Icons[24]);
tb_9_8->setText("1");
}
else
{
tb_9_8->setIcon(Icons[25]);
tb_9_8->setText("0");
}
}
 
void MKTool::slot_tbRight()
{
if (tb_9_9->text() == QString("0"))
{
tb_9_9->setIcon(Icons[26]);
tb_9_9->setText("1");
}
else
{
tb_9_9->setIcon(Icons[27]);
tb_9_9->setText("0");
}
}
 
QComboBox *MKTool::setCombo(QComboBox *Combo, int Set, int Wert)
{
if (ParameterSet[Set][Wert] <= 250)
{
Combo->setItemText(4, QString("%1").arg(ParameterSet[Set][Wert]));
Combo->setCurrentIndex(4);
}
else
{
Combo->setCurrentIndex(ParameterSet[Set][Wert] - 251);
}
return Combo;
}
 
int MKTool::get_Value(QComboBox *Combo)
{
if (Combo->currentText() == QString("Poti 1"))
return 251;
if (Combo->currentText() == QString("Poti 2"))
return 252;
if (Combo->currentText() == QString("Poti 3"))
return 253;
if (Combo->currentText() == QString("Poti 4"))
return 254;
return Combo->currentText().toInt();
}
 
void MKTool::store_ParameterSet(int Set)
{
char *Name = le_SetName->text().toLatin1().data();
 
int a;
 
for (a = 0; a < le_SetName->text().length(); a++)
{
ParameterSet[Set][P_NAME+a] = Name[a];
}
 
while(a < 12)
{
ParameterSet[Set][P_NAME+a] = 0;
a++;
}
 
// Seite 1
ParameterSet[Set][P_GLOBAL_CONF] = 0;
 
if (cb_1_1->isChecked())
ParameterSet[Set][P_GLOBAL_CONF] = ParameterSet[Set][P_GLOBAL_CONF] | 0x01;
if (cb_1_2->isChecked())
ParameterSet[Set][P_GLOBAL_CONF] = ParameterSet[Set][P_GLOBAL_CONF] | 0x02;
if (cb_1_3->isChecked())
ParameterSet[Set][P_GLOBAL_CONF] = ParameterSet[Set][P_GLOBAL_CONF] | 0x04;
if (cb_1_4->isChecked())
ParameterSet[Set][P_GLOBAL_CONF] = ParameterSet[Set][P_GLOBAL_CONF] | 0x08;
if (cb_1_5->isChecked())
ParameterSet[Set][P_GLOBAL_CONF] = ParameterSet[Set][P_GLOBAL_CONF] | 0x10;
if (cb_1_6->isChecked())
ParameterSet[Set][P_GLOBAL_CONF] = ParameterSet[Set][P_GLOBAL_CONF] | 0x20;
if (cb_1_7->isChecked())
ParameterSet[Set][P_GLOBAL_CONF] = ParameterSet[Set][P_GLOBAL_CONF] | 0x40;
if (cb_1_8->isChecked())
ParameterSet[Set][P_GLOBAL_CONF] = ParameterSet[Set][P_GLOBAL_CONF] | 0x80;
 
// Seite 2
ParameterSet[Set][P_KANAL_NICK] = sb_2_1->value();
ParameterSet[Set][P_KANAL_ROLL] = sb_2_2->value();
ParameterSet[Set][P_KANAL_GAS] = sb_2_3->value();
ParameterSet[Set][P_KANAL_GIER] = sb_2_4->value();
ParameterSet[Set][P_KANAL_POTI1] = sb_2_5->value();
ParameterSet[Set][P_KANAL_POTI2] = sb_2_6->value();
ParameterSet[Set][P_KANAL_POTI3] = sb_2_7->value();
ParameterSet[Set][P_KANAL_POTI4] = sb_2_8->value();
 
// Seite 3
ParameterSet[Set][P_STICK_P] = sb_3_1->value();
ParameterSet[Set][P_STICK_D] = sb_3_2->value();
ParameterSet[Set][P_GIER_P] = get_Value(cb_3_3);
ParameterSet[Set][P_EXTERNAL] = get_Value(cb_3_4);
 
// Seite 4
ParameterSet[Set][P_MAXHOEHE] = get_Value(cb_4_1);
ParameterSet[Set][P_MIN_GAS] = sb_4_2->value();
ParameterSet[Set][P_HOEHE_P] = get_Value(cb_4_3);
ParameterSet[Set][P_DRUCK_D] = get_Value(cb_4_4);
ParameterSet[Set][P_HOEHE_ACC] = get_Value(cb_4_5);
ParameterSet[Set][P_HOEHE_GAIN] = sb_4_6->value();
 
// Seite 5
ParameterSet[Set][P_GYRO_P] = get_Value(cb_5_1);
ParameterSet[Set][P_GYRO_I] = get_Value(cb_5_2);
ParameterSet[Set][P_DYNAMIC_STAB] = get_Value(cb_5_3);
ParameterSet[Set][P_GYRO_ACC_FAKTOR] = sb_5_4->value();
ParameterSet[Set][P_GYRO_ACC_ABGL] = sb_5_5->value();
ParameterSet[Set][P_FAKTOR_I] = get_Value(cb_5_6);
ParameterSet[Set][P_DRIFT_KOMP] = sb_5_7->value();
 
// Seite 6
ParameterSet[Set][P_SERVO_NICK_CONT] = get_Value(cb_6_1);
ParameterSet[Set][P_SERVO_NICK_COMP] = sb_6_2->value();
ParameterSet[Set][P_SERVO_NICK_MIN] = sb_6_3->value();
ParameterSet[Set][P_SERVO_NICK_MAX] = sb_6_4->value();
ParameterSet[Set][P_SERVO_NICK_REFR] = sb_6_5->value();
ParameterSet[Set][P_SERVO_NICK_COMPI] = cb_6_6->isChecked();
 
// Seite 7
ParameterSet[Set][P_GAS_MIN] = sb_7_1->value();
ParameterSet[Set][P_GAS_MAX] = sb_7_2->value();
ParameterSet[Set][P_KOMPASS_WIRKUNG] = get_Value(cb_7_3);
ParameterSet[Set][P_UNTERSPANNUNG] = sb_7_4->value();
ParameterSet[Set][P_NOTGASZEIT] = sb_7_5->value();
ParameterSet[Set][P_NOTGAS] = sb_7_6->value();
 
// Seite 8
ParameterSet[Set][P_ACHS_KOPPLUNG] = get_Value(cb_8_1);
ParameterSet[Set][P_ACHS_GKOPPLUNG] = get_Value(cb_8_2);
 
// Seite 9
ParameterSet[Set][P_LOOP_CONFIG] = 0;
if (tb_9_6->text() == QString("1"))
ParameterSet[Set][P_LOOP_CONFIG] = ParameterSet[Set][P_LOOP_CONFIG] | 0x01;
if (tb_9_7->text() == QString("1"))
ParameterSet[Set][P_LOOP_CONFIG] = ParameterSet[Set][P_LOOP_CONFIG] | 0x02;
if (tb_9_8->text() == QString("1"))
ParameterSet[Set][P_LOOP_CONFIG] = ParameterSet[Set][P_LOOP_CONFIG] | 0x04;
if (tb_9_9->text() == QString("1"))
ParameterSet[Set][P_LOOP_CONFIG] = ParameterSet[Set][P_LOOP_CONFIG] | 0x08;
if (cb_4_7->isChecked())
ParameterSet[Set][P_LOOP_CONFIG] = ParameterSet[Set][P_LOOP_CONFIG] | 0x10;
 
ParameterSet[Set][P_LOOP_GAS_LIMIT] = get_Value(cb_9_1);
ParameterSet[Set][P_LOOP_THRESHOLD] = sb_9_2->value();
ParameterSet[Set][P_WINKEL_NICK] = sb_9_3->value();
ParameterSet[Set][P_LOOP_HYSTERESE] = sb_9_4->value();
ParameterSet[Set][P_WINKEL_ROLL] = sb_9_5->value();
 
// Seite 10
ParameterSet[Set][P_USER_1] = get_Value(cb_10_1);
ParameterSet[Set][P_USER_2] = get_Value(cb_10_2);
ParameterSet[Set][P_USER_3] = get_Value(cb_10_3);
ParameterSet[Set][P_USER_4] = get_Value(cb_10_4);
ParameterSet[Set][P_USER_5] = get_Value(cb_10_5);
ParameterSet[Set][P_USER_6] = get_Value(cb_10_6);
ParameterSet[Set][P_USER_7] = get_Value(cb_10_7);
ParameterSet[Set][P_USER_8] = get_Value(cb_10_8);
 
// Seite 11
ParameterSet[Set][P_J16_BITMASK] = sb_11_1->value();
ParameterSet[Set][P_J16_TIMING] = get_Value(cb_11_2);
ParameterSet[Set][P_J17_BITMASK] = sb_11_3->value();
ParameterSet[Set][P_J17_TIMING] = get_Value(cb_11_4);
 
// Seite 12
ParameterSet[Set][P_NAV_GPS_MODE] = get_Value(cb_12_1);
ParameterSet[Set][P_NAV_GPS_GAIN] = get_Value(cb_12_2);
ParameterSet[Set][P_NAV_STICK_THRE] = sb_12_3->value();
ParameterSet[Set][P_NAV_GPS_MIN] = sb_12_4->value();
ParameterSet[Set][P_NAV_GPS_P] = get_Value(cb_12_5);
ParameterSet[Set][P_NAV_GPS_I] = get_Value(cb_12_6);
ParameterSet[Set][P_NAV_GPS_D] = get_Value(cb_12_7);
ParameterSet[Set][P_NAV_GPS_ACC] = get_Value(cb_12_8);
 
//Seite 13
ParameterSet[Set][P_NAV_WIND_CORR] = get_Value(cb_13_1);
ParameterSet[Set][P_NAV_SPEED_COMP] = get_Value(cb_13_2);
ParameterSet[Set][P_NAV_RADIUS] = get_Value(cb_13_3);
}
 
void MKTool::slot_SaveParameter()
{
int Set = sb_Set->value() + 5;
 
QString Filename = QFileDialog::getSaveFileName(this, "Mikrokopter Parameter speichern", Settings->DIR.Parameter + le_SetName->text(), "Mikrokopter Parameter(*.mkp);;Alle Dateien (*)");
 
if (!Filename.isEmpty())
{
if (!(Filename.endsWith(".mkp", Qt::CaseInsensitive)))
{
Filename = Filename + QString(".mkp");
}
store_ParameterSet(Set);
QSettings Setting(Filename, QSettings::IniFormat);
 
Setting.beginGroup("Setup");
Setting.setValue("Name", le_SetName->text());
Setting.setValue("GlobalConfig", ParameterSet[Set][P_GLOBAL_CONF]);
Setting.endGroup();
 
Setting.beginGroup("Channels");
Setting.setValue("Nick", ParameterSet[Set][P_KANAL_NICK]);
Setting.setValue("Roll", ParameterSet[Set][P_KANAL_ROLL]);
Setting.setValue("Gas", ParameterSet[Set][P_KANAL_GAS]);
Setting.setValue("Gier", ParameterSet[Set][P_KANAL_GIER]);
Setting.setValue("Poti_1", ParameterSet[Set][P_KANAL_POTI1]);
Setting.setValue("Poti_2", ParameterSet[Set][P_KANAL_POTI2]);
Setting.setValue("Poti_3", ParameterSet[Set][P_KANAL_POTI3]);
Setting.setValue("Poti_4", ParameterSet[Set][P_KANAL_POTI4]);
Setting.endGroup();
 
Setting.beginGroup("Stick");
Setting.setValue("Nick_Roll-P", ParameterSet[Set][P_STICK_P]);
Setting.setValue("Nick_Roll-D", ParameterSet[Set][P_STICK_D]);
Setting.setValue("Gier-P", ParameterSet[Set][P_GIER_P]);
Setting.setValue("ExternalControl", ParameterSet[Set][P_EXTERNAL]);
Setting.endGroup();
 
Setting.beginGroup("Altitude");
Setting.setValue("Setpoint", ParameterSet[Set][P_MAXHOEHE]);
Setting.setValue("MinGas", ParameterSet[Set][P_MIN_GAS]);
Setting.setValue("P", ParameterSet[Set][P_HOEHE_P]);
Setting.setValue("Barometric-D", ParameterSet[Set][P_DRUCK_D]);
Setting.setValue("Z-ACC-Effect", ParameterSet[Set][P_HOEHE_ACC]);
Setting.setValue("Gain", ParameterSet[Set][P_HOEHE_GAIN]);
Setting.endGroup();
 
Setting.beginGroup("Gyro");
Setting.setValue("P", ParameterSet[Set][P_GYRO_P]);
Setting.setValue("I", ParameterSet[Set][P_GYRO_I]);
Setting.setValue("DynamicStability", ParameterSet[Set][P_DYNAMIC_STAB]);
Setting.setValue("ACC_Gyro-Factor", ParameterSet[Set][P_GYRO_ACC_FAKTOR]);
Setting.setValue("ACC_Gyro-Compensation", ParameterSet[Set][P_GYRO_ACC_ABGL]);
Setting.setValue("DriftCompensation", ParameterSet[Set][P_DRIFT_KOMP]);
Setting.setValue("Main-I", ParameterSet[Set][P_FAKTOR_I]);
Setting.endGroup();
 
Setting.beginGroup("Camera");
Setting.setValue("ServoNickControl", ParameterSet[Set][P_SERVO_NICK_CONT]);
Setting.setValue("ServoNickCompensation", ParameterSet[Set][P_SERVO_NICK_COMP]);
Setting.setValue("ServoNickInvert", ParameterSet[Set][P_SERVO_NICK_COMPI]);
Setting.setValue("ServoNickMin", ParameterSet[Set][P_SERVO_NICK_MIN]);
Setting.setValue("ServoNickMax", ParameterSet[Set][P_SERVO_NICK_MAX]);
Setting.setValue("ServoNickRefreshRate", ParameterSet[Set][P_SERVO_NICK_REFR]);
Setting.endGroup();
 
Setting.beginGroup("Others");
Setting.setValue("MinGas", ParameterSet[Set][P_GAS_MIN]);
Setting.setValue("MaxGas", ParameterSet[Set][P_GAS_MAX]);
Setting.setValue("Compass-Effect", ParameterSet[Set][P_KOMPASS_WIRKUNG]);
Setting.setValue("UnderVoltage", ParameterSet[Set][P_UNTERSPANNUNG]);
Setting.setValue("NotGas", ParameterSet[Set][P_NOTGAS]);
Setting.setValue("NotGasTime", ParameterSet[Set][P_NOTGASZEIT]);
Setting.endGroup();
 
Setting.beginGroup("Coupling");
Setting.setValue("YawPosFeedback", ParameterSet[Set][P_ACHS_KOPPLUNG]);
Setting.setValue("YawNegFeedback", ParameterSet[Set][P_ACHS_GKOPPLUNG]);
Setting.endGroup();
 
Setting.beginGroup("Loop");
Setting.setValue("Config", ParameterSet[Set][P_LOOP_CONFIG]);
Setting.setValue("GasLimit", ParameterSet[Set][P_LOOP_GAS_LIMIT]);
Setting.setValue("StickThreshold", ParameterSet[Set][P_LOOP_THRESHOLD]);
Setting.setValue("LoopHysteresis", ParameterSet[Set][P_LOOP_HYSTERESE]);
Setting.setValue("TurnOverNick", ParameterSet[Set][P_WINKEL_NICK]);
Setting.setValue("TurnOverRoll", ParameterSet[Set][P_WINKEL_ROLL]);
Setting.endGroup();
 
Setting.beginGroup("User");
Setting.setValue("Parameter_1", ParameterSet[Set][P_USER_1]);
Setting.setValue("Parameter_2", ParameterSet[Set][P_USER_2]);
Setting.setValue("Parameter_3", ParameterSet[Set][P_USER_3]);
Setting.setValue("Parameter_4", ParameterSet[Set][P_USER_4]);
Setting.setValue("Parameter_5", ParameterSet[Set][P_USER_5]);
Setting.setValue("Parameter_6", ParameterSet[Set][P_USER_6]);
Setting.setValue("Parameter_7", ParameterSet[Set][P_USER_7]);
Setting.setValue("Parameter_8", ParameterSet[Set][P_USER_8]);
Setting.endGroup();
 
Setting.beginGroup("Output");
Setting.setValue("J16_Bitmask", ParameterSet[Set][P_J16_BITMASK]);
Setting.setValue("J16_Timing", ParameterSet[Set][P_J16_TIMING]);
Setting.setValue("J17_Bitmask", ParameterSet[Set][P_J17_BITMASK]);
Setting.setValue("J17_Timing", ParameterSet[Set][P_J17_TIMING]);
Setting.endGroup();
 
Setting.beginGroup("NaviCtrl");
Setting.setValue("GPS_ModeControl", ParameterSet[Set][P_NAV_GPS_MODE]);
Setting.setValue("GPS_Gain", ParameterSet[Set][P_NAV_GPS_GAIN]);
Setting.setValue("GPS_P", ParameterSet[Set][P_NAV_GPS_P]);
Setting.setValue("GPS_I", ParameterSet[Set][P_NAV_GPS_I]);
Setting.setValue("GPS_D", ParameterSet[Set][P_NAV_GPS_D]);
Setting.setValue("GPS_Acc", ParameterSet[Set][P_NAV_GPS_ACC]);
Setting.setValue("GPS_MinSat", ParameterSet[Set][P_NAV_GPS_MIN]);
Setting.setValue("GPS_StickThreshold", ParameterSet[Set][P_NAV_STICK_THRE]);
Setting.setValue("GPS_WindCorrection", ParameterSet[Set][P_NAV_WIND_CORR]);
Setting.setValue("GPS_SpeedCompensation", ParameterSet[Set][P_NAV_SPEED_COMP]);
Setting.setValue("GPS_MaxRadius", ParameterSet[Set][P_NAV_RADIUS]);
Setting.endGroup();
}
}
 
void MKTool::slot_LoadParameter()
{
QString Filename = QFileDialog::getOpenFileName(this, "Mikrokopter Parameter laden", Settings->DIR.Parameter, "Mikrokopter Parameter(*.mkp);;Alle Dateien (*)");
 
if (!Filename.isEmpty())
{
int Set = sb_Set->value();
QSettings Setting(Filename, QSettings::IniFormat);
 
Setting.beginGroup("Setup");
QString Name = Setting.value("Name", QString("--noname--")).toString();
char *CName = Name.toLatin1().data();
int a;
 
for (a=0; a < Name.length(); a++)
{
ParameterSet[Set][P_NAME+a] = CName[a];
}
while (a < 12)
{
ParameterSet[Set][P_NAME+a] = 0;
a++;
}
 
ParameterSet[Set][P_GLOBAL_CONF] = Setting.value("GlobalConfig", 0).toInt();
Setting.endGroup();
 
Setting.beginGroup("Channels");
ParameterSet[Set][P_KANAL_NICK] = Setting.value("Nick", 1).toInt();
ParameterSet[Set][P_KANAL_ROLL] = Setting.value("Roll", 2).toInt();
ParameterSet[Set][P_KANAL_GAS] = Setting.value("Gas", 3).toInt();
ParameterSet[Set][P_KANAL_GIER] = Setting.value("Gier", 4).toInt();
ParameterSet[Set][P_KANAL_POTI1] = Setting.value("Poti_1", 5).toInt();
ParameterSet[Set][P_KANAL_POTI2] = Setting.value("Poti_2", 6).toInt();
ParameterSet[Set][P_KANAL_POTI3] = Setting.value("Poti_3", 7).toInt();
ParameterSet[Set][P_KANAL_POTI4] = Setting.value("Poti_4", 8).toInt();
Setting.endGroup();
 
Setting.beginGroup("Stick");
ParameterSet[Set][P_STICK_P] = Setting.value("Nick_Roll-P", 4).toInt();
ParameterSet[Set][P_STICK_D] = Setting.value("Nick_Roll-D", 8).toInt();
ParameterSet[Set][P_GIER_P] = Setting.value("Gier-P", 1).toInt();
ParameterSet[Set][P_EXTERNAL] = Setting.value("ExternalControl", 1).toInt();
Setting.endGroup();
 
Setting.beginGroup("Altitude");
ParameterSet[Set][P_MAXHOEHE] = Setting.value("Setpoint", 251).toInt();
ParameterSet[Set][P_MIN_GAS] = Setting.value("MinGas", 30).toInt();
ParameterSet[Set][P_HOEHE_P] = Setting.value("P", 10).toInt();
ParameterSet[Set][P_DRUCK_D] = Setting.value("Barometric-D", 30).toInt();
ParameterSet[Set][P_HOEHE_ACC] = Setting.value("Z-ACC-Effect", 30).toInt();
ParameterSet[Set][P_HOEHE_GAIN] = Setting.value("Gain", 3).toInt();
Setting.endGroup();
 
Setting.beginGroup("Gyro");
ParameterSet[Set][P_GYRO_P] = Setting.value("P", 80).toInt();
ParameterSet[Set][P_GYRO_I] = Setting.value("I", 120).toInt();
ParameterSet[Set][P_DYNAMIC_STAB] = Setting.value("DynamicStability", 75).toInt();
ParameterSet[Set][P_GYRO_ACC_FAKTOR] = Setting.value("ACC_Gyro-Factor", 30).toInt();
ParameterSet[Set][P_GYRO_ACC_ABGL] = Setting.value("ACC_Gyro-Compensation", 32).toInt();
ParameterSet[Set][P_DRIFT_KOMP] = Setting.value("DriftCompensation", 4).toInt();
ParameterSet[Set][P_FAKTOR_I] = Setting.value("Main-I", 32).toInt();
Setting.endGroup();
 
Setting.beginGroup("Camera");
ParameterSet[Set][P_SERVO_NICK_CONT] = Setting.value("ServoNickControl", 100).toInt();
ParameterSet[Set][P_SERVO_NICK_COMP] = Setting.value("ServoNickCompensation", 40).toInt();
ParameterSet[Set][P_SERVO_NICK_COMPI] = Setting.value("ServoNickInvert", 0).toInt();
ParameterSet[Set][P_SERVO_NICK_MIN] = Setting.value("ServoNickMin", 50).toInt();
ParameterSet[Set][P_SERVO_NICK_MAX] = Setting.value("ServoNickMax", 150).toInt();
ParameterSet[Set][P_SERVO_NICK_REFR] = Setting.value("ServoNickRefreshRate", 5).toInt();
Setting.endGroup();
 
Setting.beginGroup("Others");
ParameterSet[Set][P_GAS_MIN] = Setting.value("MinGas", 8).toInt();
ParameterSet[Set][P_GAS_MAX] = Setting.value("MaxGas", 230).toInt();
ParameterSet[Set][P_KOMPASS_WIRKUNG] = Setting.value("Compass-Effect", 128).toInt();
ParameterSet[Set][P_UNTERSPANNUNG] = Setting.value("UnderVoltage", 94).toInt();
ParameterSet[Set][P_NOTGAS] = Setting.value("NotGas", 35).toInt();
ParameterSet[Set][P_NOTGASZEIT] = Setting.value("NotGasTime", 30).toInt();
Setting.endGroup();
 
Setting.beginGroup("Coupling");
ParameterSet[Set][P_ACHS_KOPPLUNG] = Setting.value("YawPosFeedback", 90).toInt();
ParameterSet[Set][P_ACHS_GKOPPLUNG] = Setting.value("YawNegFeedback", 5).toInt();
Setting.endGroup();
 
Setting.beginGroup("Loop");
ParameterSet[Set][P_LOOP_CONFIG] = Setting.value("Config", 0).toInt();
ParameterSet[Set][P_LOOP_GAS_LIMIT] = Setting.value("GasLimit", 50).toInt();
ParameterSet[Set][P_LOOP_THRESHOLD] = Setting.value("StickThreshold", 90).toInt();
ParameterSet[Set][P_LOOP_HYSTERESE] = Setting.value("LoopHysteresis", 50).toInt();
ParameterSet[Set][P_WINKEL_NICK] = Setting.value("TurnOverNick", 85).toInt();
ParameterSet[Set][P_WINKEL_ROLL] = Setting.value("TurnOverRoll", 85).toInt();
Setting.endGroup();
 
Setting.beginGroup("User");
ParameterSet[Set][P_USER_1] = Setting.value("Parameter_1", 0).toInt();
ParameterSet[Set][P_USER_2] = Setting.value("Parameter_2", 0).toInt();
ParameterSet[Set][P_USER_3] = Setting.value("Parameter_3", 0).toInt();
ParameterSet[Set][P_USER_4] = Setting.value("Parameter_4", 0).toInt();
ParameterSet[Set][P_USER_5] = Setting.value("Parameter_5", 0).toInt();
ParameterSet[Set][P_USER_6] = Setting.value("Parameter_6", 0).toInt();
ParameterSet[Set][P_USER_7] = Setting.value("Parameter_7", 0).toInt();
ParameterSet[Set][P_USER_8] = Setting.value("Parameter_8", 0).toInt();
Setting.endGroup();
 
Setting.beginGroup("Output");
ParameterSet[Set][P_J16_BITMASK] = Setting.value("J16_Bitmask", 255).toInt();
ParameterSet[Set][P_J16_TIMING] = Setting.value("J16_Timing", 251).toInt();
ParameterSet[Set][P_J17_BITMASK] = Setting.value("J17_Bitmask", 255).toInt();
ParameterSet[Set][P_J17_TIMING] = Setting.value("J17_Timing", 251).toInt();
Setting.endGroup();
 
Setting.beginGroup("NaviCtrl");
ParameterSet[Set][P_NAV_GPS_MODE] = Setting.value("GPS_ModeControl", 253).toInt();
ParameterSet[Set][P_NAV_GPS_GAIN] = Setting.value("GPS_Gain", 100).toInt();
ParameterSet[Set][P_NAV_GPS_P] = Setting.value("GPS_P", 90).toInt();
ParameterSet[Set][P_NAV_GPS_I] = Setting.value("GPS_I", 90).toInt();
ParameterSet[Set][P_NAV_GPS_D] = Setting.value("GPS_D", 90).toInt();
ParameterSet[Set][P_NAV_GPS_ACC] = Setting.value("GPS_Acc", 0).toInt();
ParameterSet[Set][P_NAV_GPS_MIN] = Setting.value("GPS_MinSat", 6).toInt();
ParameterSet[Set][P_NAV_STICK_THRE] = Setting.value("GPS_StickThreshold", 8).toInt();
ParameterSet[Set][P_NAV_WIND_CORR] = Setting.value("GPS_WindCorrection", 90).toInt();
ParameterSet[Set][P_NAV_SPEED_COMP] = Setting.value("GPS_SpeedCompensation", 30).toInt();
ParameterSet[Set][P_NAV_RADIUS] = Setting.value("GPS_MaxRadius", 100).toInt();
Setting.endGroup();
 
show_ParameterSet(Set);
}
}
 
void MKTool::show_ParameterSet(int Set)
{
char Name[12];
for (int a = 0; a < 12; a++)
{
Name[a] = ParameterSet[Set][P_NAME+a];
}
le_SetName->setText(QString(Name));
 
// Seite 1
{
cb_1_1->setChecked(ParameterSet[Set][P_GLOBAL_CONF] & 0x01);
cb_1_2->setChecked(ParameterSet[Set][P_GLOBAL_CONF] & 0x02);
cb_1_3->setChecked(ParameterSet[Set][P_GLOBAL_CONF] & 0x04);
cb_1_4->setChecked(ParameterSet[Set][P_GLOBAL_CONF] & 0x08);
cb_1_5->setChecked(ParameterSet[Set][P_GLOBAL_CONF] & 0x10);
cb_1_6->setChecked(ParameterSet[Set][P_GLOBAL_CONF] & 0x20);
cb_1_7->setChecked(ParameterSet[Set][P_GLOBAL_CONF] & 0x40);
cb_1_8->setChecked(ParameterSet[Set][P_GLOBAL_CONF] & 0x80);
}
// Seite 2
{
sb_2_1->setValue(ParameterSet[Set][P_KANAL_NICK]);
sb_2_2->setValue(ParameterSet[Set][P_KANAL_ROLL]);
sb_2_3->setValue(ParameterSet[Set][P_KANAL_GAS]);
sb_2_4->setValue(ParameterSet[Set][P_KANAL_GIER]);
sb_2_5->setValue(ParameterSet[Set][P_KANAL_POTI1]);
sb_2_6->setValue(ParameterSet[Set][P_KANAL_POTI2]);
sb_2_7->setValue(ParameterSet[Set][P_KANAL_POTI3]);
sb_2_8->setValue(ParameterSet[Set][P_KANAL_POTI4]);
}
// Seite 3
{
sb_3_1->setValue(ParameterSet[Set][P_STICK_P]);
sb_3_2->setValue(ParameterSet[Set][P_STICK_D]);
cb_3_3 = setCombo(cb_3_3, Set, P_GIER_P);
cb_3_4 = setCombo(cb_3_4, Set, P_EXTERNAL);
}
// Seite 4
{
cb_4_1 = setCombo(cb_4_1, Set, P_MAXHOEHE);
sb_4_2->setValue(ParameterSet[Set][P_MIN_GAS]);
cb_4_3 = setCombo(cb_4_3, Set, P_HOEHE_P);
cb_4_4 = setCombo(cb_4_4, Set, P_DRUCK_D);
cb_4_5 = setCombo(cb_4_5, Set, P_HOEHE_ACC);
sb_4_6->setValue(ParameterSet[Set][P_HOEHE_GAIN]);
cb_4_7->setChecked(ParameterSet[Set][P_LOOP_CONFIG] & 0x10);
}
// Seite 5
{
cb_5_1 = setCombo(cb_5_1, Set, P_GYRO_P);
cb_5_2 = setCombo(cb_5_2, Set, P_GYRO_I);
cb_5_3 = setCombo(cb_5_3, Set, P_DYNAMIC_STAB);
sb_5_4->setValue(ParameterSet[Set][P_GYRO_ACC_FAKTOR]);
sb_5_5->setValue(ParameterSet[Set][P_GYRO_ACC_ABGL]);
cb_5_6 = setCombo(cb_5_6, Set, P_FAKTOR_I);
sb_5_7->setValue(ParameterSet[Set][P_DRIFT_KOMP]);
}
// Seite 6
{
cb_6_1 = setCombo(cb_6_1, Set, P_SERVO_NICK_CONT);
sb_6_2->setValue(ParameterSet[Set][P_SERVO_NICK_COMP]);
sb_6_3->setValue(ParameterSet[Set][P_SERVO_NICK_MIN]);
sb_6_4->setValue(ParameterSet[Set][P_SERVO_NICK_MAX]);
sb_6_5->setValue(ParameterSet[Set][P_SERVO_NICK_REFR]);
cb_6_6->setChecked(ParameterSet[Set][P_SERVO_NICK_COMPI]);
}
// Seite 7
{
sb_7_1->setValue(ParameterSet[Set][P_GAS_MIN]);
sb_7_2->setValue(ParameterSet[Set][P_GAS_MAX]);
cb_7_3 = setCombo(cb_7_3, Set, P_KOMPASS_WIRKUNG);
sb_7_4->setValue(ParameterSet[Set][P_UNTERSPANNUNG]);
sb_7_5->setValue(ParameterSet[Set][P_NOTGASZEIT]);
sb_7_6->setValue(ParameterSet[Set][P_NOTGAS]);
}
// Seite 8
{
cb_8_1 = setCombo(cb_8_1, Set, P_ACHS_KOPPLUNG);
cb_8_2 = setCombo(cb_8_2, Set, P_ACHS_GKOPPLUNG);
}
// Seite 9
{
if (ParameterSet[Set][P_LOOP_CONFIG] & 0x01)
{
tb_9_6->setIcon(Icons[20]);
tb_9_6->setText("1");
}
else
{
tb_9_6->setIcon(Icons[21]);
tb_9_6->setText("0");
}
 
if (ParameterSet[Set][P_LOOP_CONFIG] & 0x02)
{
tb_9_7->setIcon(Icons[22]);
tb_9_7->setText("1");
}
else
{
tb_9_7->setIcon(Icons[23]);
tb_9_7->setText("0");
}
 
if (ParameterSet[Set][P_LOOP_CONFIG] & 0x04)
{
tb_9_8->setIcon(Icons[24]);
tb_9_8->setText("1");
}
else
{
tb_9_8->setIcon(Icons[25]);
tb_9_8->setText("0");
}
 
if (ParameterSet[Set][P_LOOP_CONFIG] & 0x08)
{
tb_9_9->setIcon(Icons[26]);
tb_9_9->setText("1");
}
else
{
tb_9_9->setIcon(Icons[27]);
tb_9_9->setText("0");
}
 
cb_9_1 = setCombo(cb_9_1, Set, P_LOOP_GAS_LIMIT);
sb_9_2->setValue(ParameterSet[Set][P_LOOP_THRESHOLD]);
sb_9_3->setValue(ParameterSet[Set][P_WINKEL_NICK]);
sb_9_4->setValue(ParameterSet[Set][P_LOOP_HYSTERESE]);
sb_9_5->setValue(ParameterSet[Set][P_WINKEL_ROLL]);
}
// Seite 10
{
cb_10_1 = setCombo(cb_10_1, Set, P_USER_1);
cb_10_2 = setCombo(cb_10_2, Set, P_USER_2);
cb_10_3 = setCombo(cb_10_3, Set, P_USER_3);
cb_10_4 = setCombo(cb_10_4, Set, P_USER_4);
cb_10_5 = setCombo(cb_10_5, Set, P_USER_5);
cb_10_6 = setCombo(cb_10_6, Set, P_USER_6);
cb_10_7 = setCombo(cb_10_7, Set, P_USER_7);
cb_10_8 = setCombo(cb_10_8, Set, P_USER_8);
}
// Seite 11
{
sb_11_1->setValue(ParameterSet[Set][P_J16_BITMASK]);
cb_11_2 = setCombo(cb_11_2, Set, P_J16_TIMING);
sb_11_3->setValue(ParameterSet[Set][P_J17_BITMASK]);
cb_11_4 = setCombo(cb_11_4, Set, P_J17_TIMING);
}
// Seite 12
{
cb_12_1 = setCombo(cb_12_1, Set, P_NAV_GPS_MODE);
cb_12_2 = setCombo(cb_12_2, Set, P_NAV_GPS_GAIN);
sb_12_3->setValue(ParameterSet[Set][P_NAV_STICK_THRE]);
sb_12_4->setValue(ParameterSet[Set][P_NAV_GPS_MIN]);
cb_12_5 = setCombo(cb_12_5, Set, P_NAV_GPS_P);
cb_12_6 = setCombo(cb_12_6, Set, P_NAV_GPS_I);
cb_12_7 = setCombo(cb_12_7, Set, P_NAV_GPS_D);
cb_12_8 = setCombo(cb_12_8, Set, P_NAV_GPS_ACC);
}
 
// Seite 13
{
cb_13_1 = setCombo(cb_13_1, Set, P_NAV_WIND_CORR);
cb_13_2 = setCombo(cb_13_2, Set, P_NAV_SPEED_COMP);
cb_13_3 = setCombo(cb_13_3, Set, P_NAV_RADIUS);
}
 
 
}
 
void MKTool::slot_TabChanged(int Tab)
{
Tab = Tab;
 
if ((tab_Main->currentWidget()->objectName() == QString("Tab_2")) && (tab_Par->currentIndex() == 1))
{
TickerEvent[1] = true;
// Poll->start(500);
}
else
{
TickerEvent[1] = false;
// Poll->stop();
}
}
 
void MKTool::slot_GetParameter()
{
TX_Data[0] = sb_Set->value();
TX_Data[1] = 0;
send_Data('q', TX_Data, 1);
}
 
void MKTool::slot_SetParameter()
{
store_ParameterSet(sb_Set->value());
 
for (int a = 0; a < 150; a++)
{
TX_Data[a] = ParameterSet[sb_Set->value()][a];
}
 
store_ParameterSet(sb_Set->value());
 
char Set = 'k' + sb_Set->value();
send_Data(Set, TX_Data, MaxParameter, false);
}
 
void MKTool::write_Settings()
{
QBitArray TabViews(6);
TabViews.setBit(0, ac_View0->isChecked());
TabViews.setBit(1, ac_View1->isChecked());
TabViews.setBit(2, ac_View2->isChecked());
TabViews.setBit(3, ac_View3->isChecked());
TabViews.setBit(4, ac_View4->isChecked());
TabViews.setBit(5, ac_View5->isChecked());
 
QSettings Setting("KeyOz-Net", "QMK-Groundstation");
 
Setting.beginGroup("Port");
Setting.setValue("TTY", le_Port->text());
Setting.endGroup();
 
Setting.beginGroup("GUI");
Setting.setValue("IsMax", isMaximized());
Setting.setValue("Size", size());
Setting.setValue("Point", pos());
Setting.setValue("TabViews", QBitArray(TabViews));
Setting.endGroup();
}
 
// Debug-Daten anzeigen und Aufzeichnen
///////////////////////////////////////
void MKTool::write_CSV()
{
QTextStream Out(CSVFile);
for (int a=0; a<MaxAnalog; a++)
{
if (Settings->Analog[a].Log)
{
Out << AnalogData[a];
if (a < MaxAnalog - 1)
Out << ';';
}
}
Out << "\n";
}
 
void MKTool::slot_RecordCSV()
{
if (!CSVFile->isOpen())
{
QString Filename = Settings->DIR.Logging + QDate::currentDate().toString(("yyyy-MM-dd")) + " -- " + QTime::currentTime().toString("hh-mm") + ".csv";
 
CSVFile = new QFile(Filename);
if (!CSVFile->exists())
{
CSVFile->open(QIODevice::Append | QIODevice::Text);
 
QTextStream Out(CSVFile);
 
for (int a = 0; a < MaxAnalog; a++)
{
if (Settings->Analog[a].Log)
{
Out << Settings->Analog[a].Name;
 
if (a < MaxAnalog - 1)
Out << ';';
}
}
Out << "\n";
}
else
{
CSVFile->open(QIODevice::Append | QIODevice::Text);
}
 
// QIcon icon;
// icon.addPixmap(QPixmap(QString::fromUtf8(":/Actions/Images/media-playback-stop.png")), QIcon::Normal, QIcon::Off);
pb_Record->setIcon(Icons[6]);
pb_Record->setText("CSV Stop");
ac_RecordCSV->setIcon(Icons[6]);
ac_RecordCSV->setText("CSV Stop");
}
else
{
CSVFile->close();
// QIcon icon;
// icon.addPixmap(QPixmap(QString::fromUtf8(":/Actions/Images/media-record.png")), QIcon::Normal, QIcon::Off);
pb_Record->setIcon(Icons[7]);
pb_Record->setText("CSV Aufzeichnen");
ac_RecordCSV->setIcon(Icons[7]);
ac_RecordCSV->setText("CSV Aufzeichnen");
}
}
 
void MKTool::show_DebugData()
{
if (CSVFile->isOpen())
{
write_CSV();
}
 
if (ac_StartPlotter->isChecked())
{
aID[NextPlot] = NextPlot;
 
for (int a = 0; a < MaxAnalog; a++)
{
aData[a][NextPlot] = AnalogData[a];
}
NextPlot++;
 
if ((tab_Main->currentWidget()->objectName() == QString("Tab_1")))
update_Plot();
}
 
le_A_0->setText(QString("%1").arg(AnalogData[0]));
le_A_1->setText(QString("%1").arg(AnalogData[1]));
le_A_2->setText(QString("%1").arg(AnalogData[2]));
le_A_3->setText(QString("%1").arg(AnalogData[3]));
le_A_4->setText(QString("%1").arg(AnalogData[4]));
le_A_5->setText(QString("%1").arg(AnalogData[5]));
le_A_6->setText(QString("%1").arg(AnalogData[6]));
le_A_7->setText(QString("%1").arg(AnalogData[7]));
le_A_8->setText(QString("%1").arg(AnalogData[8]));
le_A_9->setText(QString("%1").arg(AnalogData[9]));
le_A_10->setText(QString("%1").arg(AnalogData[10]));
le_A_11->setText(QString("%1").arg(AnalogData[11]));
le_A_12->setText(QString("%1").arg(AnalogData[12]));
le_A_13->setText(QString("%1").arg(AnalogData[13]));
le_A_14->setText(QString("%1").arg(AnalogData[14]));
le_A_15->setText(QString("%1").arg(AnalogData[15]));
le_A_16->setText(QString("%1").arg(AnalogData[16]));
le_A_17->setText(QString("%1").arg(AnalogData[17]));
le_A_18->setText(QString("%1").arg(AnalogData[18]));
le_A_19->setText(QString("%1").arg(AnalogData[19]));
le_A_20->setText(QString("%1").arg(AnalogData[20]));
le_A_21->setText(QString("%1").arg(AnalogData[21]));
le_A_22->setText(QString("%1").arg(AnalogData[22]));
le_A_23->setText(QString("%1").arg(AnalogData[23]));
le_A_24->setText(QString("%1").arg(AnalogData[24]));
le_A_25->setText(QString("%1").arg(AnalogData[25]));
le_A_26->setText(QString("%1").arg(AnalogData[26]));
le_A_27->setText(QString("%1").arg(AnalogData[27]));
le_A_28->setText(QString("%1").arg(AnalogData[28]));
le_A_29->setText(QString("%1").arg(AnalogData[29]));
le_A_30->setText(QString("%1").arg(AnalogData[30]));
le_A_31->setText(QString("%1").arg(AnalogData[31]));
}
 
// Seriel-Port Bereich, Befehle senden und Daten empfangen
//////////////////////////////////////////////////////////
 
// Neues Datenpacket empfangen -> Verarbeiten
void MKTool::new_RXData(sRxData RX)
{
 
if (LastSend.length() > 2)
{
}
 
switch(RX.Input[2])
{
case '0' :
if (ToolBox::Decode64(RX, true))
{
le_LCD0->setText(ToolBox::DataToString(RX.Decode));
}
break;
case '1' :
if (ToolBox::Decode64(RX, true))
{
le_LCD1->setText(ToolBox::DataToString(RX.Decode));
}
break;
case '2' :
if (ToolBox::Decode64(RX, true))
{
le_LCD2->setText(ToolBox::DataToString(RX.Decode));
}
break;
case '3' :
if (ToolBox::Decode64(RX, true))
{
le_LCD3->setText(ToolBox::DataToString(RX.Decode));
}
break;
case '4' :
if (ToolBox::Decode64(RX, false))
{
pb_K1->setValue(RX.Decode[1]);
pb_K2->setValue(RX.Decode[2]);
pb_K3->setValue(RX.Decode[3]);
pb_K4->setValue(RX.Decode[4]);
pb_K5->setValue(RX.Decode[5]);
pb_K6->setValue(RX.Decode[6]);
pb_K7->setValue(RX.Decode[7]);
pb_K8->setValue(RX.Decode[8]);
}
break;
case 'A' :
if (ToolBox::Decode64(RX, true))
{
int Position = RX.Input[1] - 48;
if (Position < 32)
{
Settings->Analog[Position].Name = ToolBox::DataToString(RX.Decode);
Position ++;
TX_Data[0] = Position;
send_Data('a', TX_Data, 1, false);
}
if (Position == 32)
{
for (int a = 0; a < MaxAnalog; a++)
{
lb_Analog[a]->setText(Settings->Analog[a].Name);
}
Settings->write_Settings_FC();
config_Plot();
}
}
break;
case 'D' :
if (ToolBox::Decode64(RX, true))
{
for (int i = 0; i < MaxAnalog; i++)
{
AnalogData[i] = ToolBox::Data2Int(RX.Decode, (i * 2) + 2);
}
show_DebugData();
}
break;
case 'L' :
case 'M' :
case 'N' :
case 'O' :
case 'P' :
TickerEvent[0] = false;
 
ToolBox::Decode64(RX, true);
memcpy(ParameterSet[sb_Set->value()],RX.Decode, sizeof(RX.Decode));
show_ParameterSet(sb_Set->value());
break;
case 'V' :
TickerEvent[0] = false;
 
ToolBox::Decode64(RX, true);
 
Mode.ID = RX.Input[1];
Mode.Hardware = HardwareType[Mode.ID];
Mode.Version = QString("%1").arg(RX.Decode[0]) + "." + QString("%1").arg(RX.Decode[1]) + QString(RX.Decode[4] + 'a');
Mode.Compatible = RX.Decode[2];
 
setWindowTitle(QA_NAME + " v" + QA_VERSION + " - " + Mode.Hardware + " " + Mode.Version);
 
if (Mode.ID == 1)
{
if (RX.Decode[2] != FC_VERSION)
{
pb_Read->setDisabled(true);
pb_Write->setDisabled(true);
 
QMessageBox::warning(this, QA_NAME,
QA_NAME + " und Flight-Control inkompatibel.\nParameterbearbeitung nicht moeglich.", QMessageBox::Ok);
}
else
{
TX_Data[0] = 1;
TX_Data[1] = 0;
send_Data('q', TX_Data, 1);
}
}
else
{
pb_Read->setDisabled(true);
pb_Write->setDisabled(true);
 
QMessageBox::warning(this, QA_NAME,
"Keine Verbindung zur FlightCtrl. \nParameterbearbeitung nicht moeglich.", QMessageBox::Ok);
}
break;
}
}
 
// Neue Daten an der Schnittstelle
void MKTool::slot_newDataReceived(const QByteArray &dataReceived)
{
const char *RXt;
RXt = dataReceived.data();
int a = 0;
 
while (RXt[a] != '\0')
{
if (RXt[a] == '\r')
{
while ((RxData.String.length() > 1) && (RxData.String.at(1) == '#'))
{
RxData.String.remove(0,1);
}
 
if (ToolBox::check_CRC(RxData.String))
{
RxData.Input = RxData.String.toLatin1().data();
new_RXData(RxData);
 
if ((cb_ShowData->isChecked()) && (tab_Main->currentWidget()->objectName() == QString("Tab_3")))
{
te_RX->moveCursor(QTextCursor::End, QTextCursor::MoveAnchor);
te_RX->insertPlainText(RxData.String + '\r');
}
}
else
{
if ((cb_ShowMSG->isChecked()) && (tab_Main->currentWidget()->objectName() == QString("Tab_3")))
{
te_RX->moveCursor(QTextCursor::End, QTextCursor::MoveAnchor);
te_RX->insertPlainText(RxData.String + '\r');
}
}
RxData.String = QString("");
}
else
{
{
RxData.String = RxData.String + QString(RXt[a]);
}
}
a++;
}
}
 
// Seriellen Port öffnen
void MKTool::slot_OpenPort()
{
if (serialPort->isOpen())
{
TX_Data[0] = 0;
TX_Data[1] = 0;
TX_Data[2] = 0;
TX_Data[3] = 0;
send_Data('t', TX_Data, 4, false);
 
// timer->stop();
serialPort->close();
pb_Open->setText("Verbinden");
ac_ConnectTTY->setText("Verbinden");
pb_Open->setIcon(Icons[9]);
ac_ConnectTTY->setIcon(Icons[9]);
}
else
{
serialPort->setPort(le_Port->text()); //Port
 
serialPort->setBaudRate(BAUD57600); //BaudRate
serialPort->setDataBits(DATA_8); //DataBits
serialPort->setParity(PAR_NONE); //Parity
serialPort->setStopBits(STOP_1); //StopBits
serialPort->setFlowControl(FLOW_OFF); //FlowControl
 
serialPort->setTimeout(0, 10);
serialPort->enableSending();
serialPort->enableReceiving();
 
serialPort->open();
if (serialPort->isOpen())
{
serialPort->receiveData();
 
send_Data('v', TX_Data, 0, true);
pb_Open->setText("Trennen");
ac_ConnectTTY->setText("Trennen");
pb_Open->setIcon(Icons[8]);
ac_ConnectTTY->setIcon(Icons[8]);
}
}
}
 
// Daten senden
void MKTool::send_Data(char CMD, char Data[150],unsigned int Length, bool Resend)
{
if (serialPort->isOpen())
{
QString TX_Data = ToolBox::Encode64(Data, Length);
 
TX_Data = QString("#0") + QString(CMD) + TX_Data;
 
// qDebug(TX_Data.toLatin1().data());
 
TX_Data = ToolBox::add_CRC(TX_Data) + '\r';
 
// qDebug(TX_Data.toLatin1().data());
 
 
if (Resend)
{
LastSend = TX_Data;
TickerEvent[0] = true;
}
 
QByteArray Temp(TX_Data.toUtf8());
serialPort->sendData(Temp);
}
}
 
 
// Programm beenden
///////////////////
void MKTool::slot_Quit()
{
if (serialPort->isOpen())
{
serialPort->close();
}
 
write_Settings();
 
if (CSVFile->isOpen())
{
CSVFile->close();
}
 
close();
}
 
MKTool::~MKTool()
{
write_Settings();
qDebug("Ende");
}
 
/QMK-Groundstation/trunk/Forms/mktool.h
0,0 → 1,182
/***************************************************************************
* Copyright (C) 2008 by Manuel Schrape *
* manuel.schrape@gmx.de *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. *
* *
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
***************************************************************************/
 
 
#ifndef MKTOOL_H
#define MKTOOL_H
 
#include <QMainWindow>
#include <QSettings>
#include <QString>
#include <QTimer>
#include <QComboBox>
#include <QIcon>
#include <QProcess>
 
#include <qwt_plot_curve.h>
#include <qwt_plot_grid.h>
#include <qwt_legend.h>
#include <qwt_plot.h>
#include "ui_mktool.h"
 
#include "../SerialPort/ManageSerialPort.h"
#include "../cSettings.h"
 
class QextSerialPort;
 
class MKTool : public QMainWindow, public Ui::dlg_mktool_UI
{
Q_OBJECT
 
public:
MKTool();
~MKTool();
 
private:
// Object für Serielport
ManageSerialPort *serialPort;
 
// Settings-Object
cSettings *Settings;
 
// Default-Ticker
QTimer *Ticker;
 
// Die Tabs des Hauptfensters
QWidget *TabWidgets[6];
 
// Analogwert-Beschreibungen
QLabel *lb_Analog[MaxAnalog];
 
// Analogwerte
int AnalogData[MaxAnalog];
 
// Plots für die Analogwerte
QwtPlotCurve *Plot[MaxAnalog];
 
// Datenspeicher für die Plots
double aData[MaxAnalog][MaxPlot];
double aID[MaxPlot];
int NextPlot;
 
// Ticker-Event-Array
bool TickerEvent[MaxTickerEvents];
bool TickerDiv;
 
// Alle Icons
QIcon Icons[30];
 
// QByteArray allDataReceived;
 
// Object für das Datenfile;
QFile *CSVFile;
 
sMode Mode;
sRxData RxData;
 
QString RXS;
QString LastSend;
 
// TestOnly
QProcess *diskfree;
 
 
// int DecodeData[150];
char TX_Data[150];
 
int ParameterSet[11][MaxParameter];
 
// Programm Initialisieren
void init_GUI();
void init_Objects();
void init_Connections();
void init_Arrays();
void init_Icons();
void init_Plot();
 
// Daten-Plotter
void update_Plot();
void config_Plot();
 
// Settings-Bereich
QComboBox *setCombo(QComboBox *Combo, int Set, int Wert);
int get_Value(QComboBox *Combo);
void show_ParameterSet(int Set);
void store_ParameterSet(int Set);
void set_LED(QToolButton *ToolButton, bool On=false);
 
// Daten Senden, Empfangen und verarbeiten
void send_Data(char CMD, char Data[150],unsigned int Length, bool Resend = true);
void new_RXData(sRxData RX);
 
// Debugdaten anzeigen und speichern.
void show_DebugData();
void write_CSV();
 
// Programmeinstellungen speichern
void write_Settings();
 
private slots:
void slot_ac_Config();
void slot_ac_StartPlotter();
void slot_ac_View();
void slot_ac_MehrDaten();
void slot_ac_About();
void slot_ac_GetLabels();
void slot_ac_Motortest();
 
// Default-Ticker
void slot_Ticker();
 
void slot_Motortest(int Motor1, int Motor2, int Motor3, int Motor4);
 
void slot_pb_Update();
 
void slot_UpdateShell();
 
// Seriell-Port Slots
void slot_newDataReceived(const QByteArray &dataReceived);
void slot_OpenPort();
 
void slot_Quit();
 
void slot_tbUp();
void slot_tbDown();
void slot_tbLeft();
void slot_tbRight();
void slot_LEDtoValue();
void slot_ValuetoLED16(int Wert);
void slot_ValuetoLED17(int Wert);
 
void slot_TabChanged(int Tab);
 
void slot_RecordCSV();
 
void slot_ScrollPlot(int Pos);
 
void slot_GetParameter();
void slot_SetParameter();
void slot_LoadParameter();
void slot_SaveParameter();
 
void slot_SetLogDir();
void slot_SetParDir();
};
 
#endif
/QMK-Groundstation/trunk/Forms/mktool.ui
0,0 → 1,6336
<ui version="4.0" >
<class>dlg_mktool_UI</class>
<widget class="QMainWindow" name="dlg_mktool_UI" >
<property name="geometry" >
<rect>
<x>0</x>
<y>0</y>
<width>770</width>
<height>419</height>
</rect>
</property>
<property name="windowTitle" >
<string>MK-Tool</string>
</property>
<property name="windowIcon" >
<iconset resource="../MKTool.qrc" >
<normaloff>:/Icon/Images/128X128/utilities-system-monitor.png</normaloff>:/Icon/Images/128X128/utilities-system-monitor.png</iconset>
</property>
<widget class="QWidget" name="centralwidget" >
<layout class="QGridLayout" name="gridLayout_34" >
<item row="0" column="1" >
<widget class="QTabWidget" name="tab_Main" >
<property name="currentIndex" >
<number>0</number>
</property>
<widget class="QWidget" name="Tab_0" >
<attribute name="title" >
<string>Debug-Daten </string>
</attribute>
<layout class="QGridLayout" name="gridLayout_7" >
<item row="0" column="0" >
<layout class="QHBoxLayout" name="horizontalLayout" >
<item>
<widget class="QFrame" name="frame_15" >
<property name="frameShape" >
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow" >
<enum>QFrame::Raised</enum>
</property>
<layout class="QGridLayout" name="gridLayout_5" >
<item row="0" column="0" >
<widget class="QLabel" name="lb_A_0" >
<property name="text" >
<string>Analog 0</string>
</property>
</widget>
</item>
<item row="0" column="1" >
<widget class="QLineEdit" name="le_A_0" >
<property name="font" >
<font>
<family>Adobe Courier</family>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>0</string>
</property>
<property name="alignment" >
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="readOnly" >
<bool>true</bool>
</property>
</widget>
</item>
<item row="1" column="0" >
<widget class="QLabel" name="lb_A_1" >
<property name="text" >
<string>Analog 1</string>
</property>
</widget>
</item>
<item row="1" column="1" >
<widget class="QLineEdit" name="le_A_1" >
<property name="font" >
<font>
<family>Adobe Courier</family>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>0</string>
</property>
<property name="alignment" >
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="readOnly" >
<bool>true</bool>
</property>
</widget>
</item>
<item row="2" column="0" >
<widget class="QLabel" name="lb_A_2" >
<property name="text" >
<string>Analog 2</string>
</property>
</widget>
</item>
<item row="2" column="1" >
<widget class="QLineEdit" name="le_A_2" >
<property name="font" >
<font>
<family>Adobe Courier</family>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>0</string>
</property>
<property name="alignment" >
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="readOnly" >
<bool>true</bool>
</property>
</widget>
</item>
<item row="3" column="0" >
<widget class="QLabel" name="lb_A_3" >
<property name="text" >
<string>Analog 3</string>
</property>
</widget>
</item>
<item row="3" column="1" >
<widget class="QLineEdit" name="le_A_3" >
<property name="font" >
<font>
<family>Adobe Courier</family>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>0</string>
</property>
<property name="alignment" >
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="readOnly" >
<bool>true</bool>
</property>
</widget>
</item>
<item row="4" column="0" >
<widget class="QLabel" name="lb_A_4" >
<property name="text" >
<string>Analog 4</string>
</property>
</widget>
</item>
<item row="4" column="1" >
<widget class="QLineEdit" name="le_A_4" >
<property name="font" >
<font>
<family>Adobe Courier</family>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>0</string>
</property>
<property name="alignment" >
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="readOnly" >
<bool>true</bool>
</property>
</widget>
</item>
<item row="5" column="0" >
<widget class="QLabel" name="lb_A_5" >
<property name="text" >
<string>Analog 5</string>
</property>
</widget>
</item>
<item row="5" column="1" >
<widget class="QLineEdit" name="le_A_5" >
<property name="font" >
<font>
<family>Adobe Courier</family>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>0</string>
</property>
<property name="alignment" >
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="readOnly" >
<bool>true</bool>
</property>
</widget>
</item>
<item row="6" column="0" >
<widget class="QLabel" name="lb_A_6" >
<property name="text" >
<string>Analog 6</string>
</property>
</widget>
</item>
<item row="6" column="1" >
<widget class="QLineEdit" name="le_A_6" >
<property name="font" >
<font>
<family>Adobe Courier</family>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>0</string>
</property>
<property name="alignment" >
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="readOnly" >
<bool>true</bool>
</property>
</widget>
</item>
<item row="7" column="0" >
<widget class="QLabel" name="lb_A_7" >
<property name="text" >
<string>Analog 7</string>
</property>
</widget>
</item>
<item row="7" column="1" >
<widget class="QLineEdit" name="le_A_7" >
<property name="font" >
<font>
<family>Adobe Courier</family>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>0</string>
</property>
<property name="alignment" >
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="readOnly" >
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QFrame" name="frame_14" >
<property name="frameShape" >
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow" >
<enum>QFrame::Raised</enum>
</property>
<layout class="QGridLayout" name="gridLayout_4" >
<item row="0" column="0" >
<widget class="QLabel" name="lb_A_8" >
<property name="text" >
<string>Analog 8</string>
</property>
</widget>
</item>
<item row="0" column="1" >
<widget class="QLineEdit" name="le_A_8" >
<property name="font" >
<font>
<family>Adobe Courier</family>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>0</string>
</property>
<property name="alignment" >
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="readOnly" >
<bool>true</bool>
</property>
</widget>
</item>
<item row="1" column="0" >
<widget class="QLabel" name="lb_A_9" >
<property name="text" >
<string>Analog 9</string>
</property>
</widget>
</item>
<item row="1" column="1" >
<widget class="QLineEdit" name="le_A_9" >
<property name="font" >
<font>
<family>Adobe Courier</family>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>0</string>
</property>
<property name="alignment" >
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="readOnly" >
<bool>true</bool>
</property>
</widget>
</item>
<item row="2" column="0" >
<widget class="QLabel" name="lb_A_10" >
<property name="text" >
<string>Analog 10</string>
</property>
</widget>
</item>
<item row="2" column="1" >
<widget class="QLineEdit" name="le_A_10" >
<property name="font" >
<font>
<family>Adobe Courier</family>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>0</string>
</property>
<property name="alignment" >
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="readOnly" >
<bool>true</bool>
</property>
</widget>
</item>
<item row="3" column="0" >
<widget class="QLabel" name="lb_A_11" >
<property name="text" >
<string>Analog 11</string>
</property>
</widget>
</item>
<item row="3" column="1" >
<widget class="QLineEdit" name="le_A_11" >
<property name="font" >
<font>
<family>Adobe Courier</family>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>0</string>
</property>
<property name="alignment" >
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="readOnly" >
<bool>true</bool>
</property>
</widget>
</item>
<item row="4" column="0" >
<widget class="QLabel" name="lb_A_12" >
<property name="text" >
<string>Analog 12</string>
</property>
</widget>
</item>
<item row="4" column="1" >
<widget class="QLineEdit" name="le_A_12" >
<property name="font" >
<font>
<family>Adobe Courier</family>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>0</string>
</property>
<property name="alignment" >
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="readOnly" >
<bool>true</bool>
</property>
</widget>
</item>
<item row="5" column="0" >
<widget class="QLabel" name="lb_A_13" >
<property name="text" >
<string>Analog 13</string>
</property>
</widget>
</item>
<item row="5" column="1" >
<widget class="QLineEdit" name="le_A_13" >
<property name="font" >
<font>
<family>Adobe Courier</family>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>0</string>
</property>
<property name="alignment" >
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="readOnly" >
<bool>true</bool>
</property>
</widget>
</item>
<item row="6" column="0" >
<widget class="QLabel" name="lb_A_14" >
<property name="text" >
<string>Analog 14</string>
</property>
</widget>
</item>
<item row="6" column="1" >
<widget class="QLineEdit" name="le_A_14" >
<property name="font" >
<font>
<family>Adobe Courier</family>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>0</string>
</property>
<property name="alignment" >
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="readOnly" >
<bool>true</bool>
</property>
</widget>
</item>
<item row="7" column="0" >
<widget class="QLabel" name="lb_A_15" >
<property name="text" >
<string>Analog 15</string>
</property>
</widget>
</item>
<item row="7" column="1" >
<widget class="QLineEdit" name="le_A_15" >
<property name="font" >
<font>
<family>Adobe Courier</family>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>0</string>
</property>
<property name="alignment" >
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="readOnly" >
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QFrame" name="frame_16" >
<property name="frameShape" >
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow" >
<enum>QFrame::Raised</enum>
</property>
<layout class="QGridLayout" name="gridLayout_3" >
<item row="0" column="0" >
<widget class="QLabel" name="lb_A_16" >
<property name="text" >
<string>Analog 16</string>
</property>
</widget>
</item>
<item row="0" column="1" >
<widget class="QLineEdit" name="le_A_16" >
<property name="font" >
<font>
<family>Adobe Courier</family>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>0</string>
</property>
<property name="alignment" >
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="readOnly" >
<bool>true</bool>
</property>
</widget>
</item>
<item row="1" column="0" >
<widget class="QLabel" name="lb_A_17" >
<property name="text" >
<string>Analog 17</string>
</property>
</widget>
</item>
<item row="1" column="1" >
<widget class="QLineEdit" name="le_A_17" >
<property name="font" >
<font>
<family>Adobe Courier</family>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>0</string>
</property>
<property name="alignment" >
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="readOnly" >
<bool>true</bool>
</property>
</widget>
</item>
<item row="2" column="0" >
<widget class="QLabel" name="lb_A_18" >
<property name="text" >
<string>Analog 18</string>
</property>
</widget>
</item>
<item row="2" column="1" >
<widget class="QLineEdit" name="le_A_18" >
<property name="font" >
<font>
<family>Adobe Courier</family>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>0</string>
</property>
<property name="alignment" >
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="readOnly" >
<bool>true</bool>
</property>
</widget>
</item>
<item row="3" column="0" >
<widget class="QLabel" name="lb_A_19" >
<property name="text" >
<string>Analog 19</string>
</property>
</widget>
</item>
<item row="3" column="1" >
<widget class="QLineEdit" name="le_A_19" >
<property name="font" >
<font>
<family>Adobe Courier</family>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>0</string>
</property>
<property name="alignment" >
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="readOnly" >
<bool>true</bool>
</property>
</widget>
</item>
<item row="4" column="0" >
<widget class="QLabel" name="lb_A_20" >
<property name="text" >
<string>Analog 20</string>
</property>
</widget>
</item>
<item row="4" column="1" >
<widget class="QLineEdit" name="le_A_20" >
<property name="font" >
<font>
<family>Adobe Courier</family>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>0</string>
</property>
<property name="alignment" >
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="readOnly" >
<bool>true</bool>
</property>
</widget>
</item>
<item row="5" column="0" >
<widget class="QLabel" name="lb_A_21" >
<property name="text" >
<string>Analog 21</string>
</property>
</widget>
</item>
<item row="5" column="1" >
<widget class="QLineEdit" name="le_A_21" >
<property name="font" >
<font>
<family>Adobe Courier</family>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>0</string>
</property>
<property name="alignment" >
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="readOnly" >
<bool>true</bool>
</property>
</widget>
</item>
<item row="6" column="0" >
<widget class="QLabel" name="lb_A_22" >
<property name="text" >
<string>Analog 22</string>
</property>
</widget>
</item>
<item row="6" column="1" >
<widget class="QLineEdit" name="le_A_22" >
<property name="font" >
<font>
<family>Adobe Courier</family>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>0</string>
</property>
<property name="alignment" >
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="readOnly" >
<bool>true</bool>
</property>
</widget>
</item>
<item row="7" column="0" >
<widget class="QLabel" name="lb_A_23" >
<property name="text" >
<string>Analog 23</string>
</property>
</widget>
</item>
<item row="7" column="1" >
<widget class="QLineEdit" name="le_A_23" >
<property name="font" >
<font>
<family>Adobe Courier</family>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>0</string>
</property>
<property name="alignment" >
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="readOnly" >
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QFrame" name="frame_17" >
<property name="frameShape" >
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow" >
<enum>QFrame::Raised</enum>
</property>
<layout class="QGridLayout" name="gridLayout_6" >
<item row="0" column="0" >
<widget class="QLabel" name="lb_A_24" >
<property name="text" >
<string>Analog 24</string>
</property>
</widget>
</item>
<item row="0" column="1" >
<widget class="QLineEdit" name="le_A_24" >
<property name="font" >
<font>
<family>Adobe Courier</family>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>0</string>
</property>
<property name="alignment" >
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="readOnly" >
<bool>true</bool>
</property>
</widget>
</item>
<item row="1" column="0" >
<widget class="QLabel" name="lb_A_25" >
<property name="text" >
<string>Analog 25</string>
</property>
</widget>
</item>
<item row="1" column="1" >
<widget class="QLineEdit" name="le_A_25" >
<property name="font" >
<font>
<family>Adobe Courier</family>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>0</string>
</property>
<property name="alignment" >
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="readOnly" >
<bool>true</bool>
</property>
</widget>
</item>
<item row="2" column="0" >
<widget class="QLabel" name="lb_A_26" >
<property name="text" >
<string>Analog 26</string>
</property>
</widget>
</item>
<item row="2" column="1" >
<widget class="QLineEdit" name="le_A_26" >
<property name="font" >
<font>
<family>Adobe Courier</family>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>0</string>
</property>
<property name="alignment" >
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="readOnly" >
<bool>true</bool>
</property>
</widget>
</item>
<item row="3" column="0" >
<widget class="QLabel" name="lb_A_27" >
<property name="text" >
<string>Analog 27</string>
</property>
</widget>
</item>
<item row="3" column="1" >
<widget class="QLineEdit" name="le_A_27" >
<property name="font" >
<font>
<family>Adobe Courier</family>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>0</string>
</property>
<property name="alignment" >
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="readOnly" >
<bool>true</bool>
</property>
</widget>
</item>
<item row="4" column="0" >
<widget class="QLabel" name="lb_A_28" >
<property name="text" >
<string>Analog 28</string>
</property>
</widget>
</item>
<item row="4" column="1" >
<widget class="QLineEdit" name="le_A_28" >
<property name="font" >
<font>
<family>Adobe Courier</family>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>0</string>
</property>
<property name="alignment" >
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="readOnly" >
<bool>true</bool>
</property>
</widget>
</item>
<item row="5" column="0" >
<widget class="QLabel" name="lb_A_29" >
<property name="text" >
<string>Analog 29</string>
</property>
</widget>
</item>
<item row="5" column="1" >
<widget class="QLineEdit" name="le_A_29" >
<property name="font" >
<font>
<family>Adobe Courier</family>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>0</string>
</property>
<property name="alignment" >
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="readOnly" >
<bool>true</bool>
</property>
</widget>
</item>
<item row="6" column="0" >
<widget class="QLabel" name="lb_A_30" >
<property name="text" >
<string>Analog 30</string>
</property>
</widget>
</item>
<item row="6" column="1" >
<widget class="QLineEdit" name="le_A_30" >
<property name="font" >
<font>
<family>Adobe Courier</family>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>0</string>
</property>
<property name="alignment" >
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="readOnly" >
<bool>true</bool>
</property>
</widget>
</item>
<item row="7" column="0" >
<widget class="QLabel" name="lb_A_31" >
<property name="text" >
<string>Analog 31</string>
</property>
</widget>
</item>
<item row="7" column="1" >
<widget class="QLineEdit" name="le_A_31" >
<property name="font" >
<font>
<family>Adobe Courier</family>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>0</string>
</property>
<property name="alignment" >
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="readOnly" >
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</item>
<item row="1" column="0" >
<layout class="QHBoxLayout" name="horizontalLayout_3" >
<item>
<widget class="QLabel" name="label" >
<property name="text" >
<string>Device</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="le_Port" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text" >
<string>/dev/ttyUSB0</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pb_Open" >
<property name="text" >
<string>Verbinden</string>
</property>
<property name="icon" >
<iconset resource="../MKTool.qrc" >
<normaloff>:/Actions/Images/22X22/network-disconnect.png</normaloff>:/Actions/Images/22X22/network-disconnect.png</iconset>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer" >
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0" >
<size>
<width>200</width>
<height>26</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="pb_Record" >
<property name="text" >
<string>CSV Aufzeichen</string>
</property>
<property name="icon" >
<iconset resource="../MKTool.qrc" >
<normaloff>:/Actions/Images/22X22/media-record.png</normaloff>:/Actions/Images/22X22/media-record.png</iconset>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pb_Quit" >
<property name="text" >
<string>Beenden</string>
</property>
<property name="icon" >
<iconset resource="../MKTool.qrc" >
<normaloff>:/Actions/Images/22X22/application-exit.png</normaloff>:/Actions/Images/22X22/application-exit.png</iconset>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
<widget class="QWidget" name="Tab_1" >
<attribute name="title" >
<string>Plotter</string>
</attribute>
<layout class="QGridLayout" name="gridLayout_35" >
<item row="0" column="0" >
<widget class="QwtPlot" name="qwtPlot" />
</item>
<item row="1" column="0" >
<layout class="QHBoxLayout" name="horizontalLayout_2" >
<item>
<widget class="QScrollBar" name="scroll_plot" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Fixed" hsizetype="Expanding" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="maximum" >
<number>0</number>
</property>
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pb_StartPlotter" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text" >
<string>Start Plotter</string>
</property>
<property name="icon" >
<iconset resource="../MKTool.qrc" >
<normaloff>:/Actions/Images/22X22/utilities-system-monitor.png</normaloff>:/Actions/Images/22X22/utilities-system-monitor.png</iconset>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
<widget class="QWidget" name="Tab_2" >
<attribute name="title" >
<string>Parameter </string>
</attribute>
<layout class="QGridLayout" name="gridLayout_19" >
<item row="0" column="0" >
<widget class="QFrame" name="frame_18" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Preferred" hsizetype="Preferred" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="maximumSize" >
<size>
<width>120</width>
<height>16777215</height>
</size>
</property>
<property name="frameShape" >
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow" >
<enum>QFrame::Raised</enum>
</property>
<layout class="QGridLayout" name="gridLayout_30" >
<item row="0" column="0" >
<widget class="QLabel" name="label_2" >
<property name="text" >
<string>Parametersatz</string>
</property>
</widget>
</item>
<item row="1" column="0" >
<widget class="QSpinBox" name="sb_Set" >
<property name="minimum" >
<number>1</number>
</property>
<property name="maximum" >
<number>5</number>
</property>
</widget>
</item>
<item row="2" column="0" >
<widget class="QLineEdit" name="le_SetName" />
</item>
<item row="3" column="0" >
<widget class="QToolButton" name="pb_Read" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Fixed" hsizetype="Expanding" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text" >
<string>Lesen</string>
</property>
</widget>
</item>
<item row="4" column="0" >
<widget class="QToolButton" name="pb_Write" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Fixed" hsizetype="Expanding" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text" >
<string>Schreiben</string>
</property>
</widget>
</item>
<item row="5" column="0" >
<widget class="QToolButton" name="pb_Load" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Fixed" hsizetype="Expanding" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text" >
<string>Laden</string>
</property>
</widget>
</item>
<item row="6" column="0" >
<widget class="QToolButton" name="pb_Save" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Fixed" hsizetype="Expanding" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text" >
<string>Speichern</string>
</property>
</widget>
</item>
<item row="7" column="0" >
<spacer name="verticalSpacer_13" >
<property name="orientation" >
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0" >
<size>
<width>20</width>
<height>83</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</item>
<item row="0" column="1" >
<widget class="QTabWidget" name="tab_Par" >
<property name="currentIndex" >
<number>0</number>
</property>
<widget class="QWidget" name="Tab_P1" >
<attribute name="title" >
<string>Konfiguration </string>
</attribute>
<layout class="QGridLayout" name="gridLayout_8" >
<item row="0" column="0" >
<widget class="QFrame" name="frame_4" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Preferred" hsizetype="Expanding" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="frameShape" >
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow" >
<enum>QFrame::Raised</enum>
</property>
<layout class="QGridLayout" name="gridLayout_15" >
<item row="0" column="0" >
<widget class="QCheckBox" name="cb_1_1" >
<property name="font" >
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>Höhenregler</string>
</property>
</widget>
</item>
<item row="1" column="0" >
<widget class="QCheckBox" name="cb_1_2" >
<property name="font" >
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>-- Höhenfunktion per Schalter</string>
</property>
</widget>
</item>
<item row="2" column="0" >
<widget class="QCheckBox" name="cb_1_3" >
<property name="font" >
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>Heading Hold</string>
</property>
</widget>
</item>
<item row="3" column="0" >
<widget class="QCheckBox" name="cb_1_4" >
<property name="font" >
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>Kompass</string>
</property>
</widget>
</item>
<item row="4" column="0" >
<widget class="QCheckBox" name="cb_1_5" >
<property name="font" >
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>-- Kompass Ausrichtung fest</string>
</property>
</widget>
</item>
<item row="5" column="0" >
<widget class="QCheckBox" name="cb_1_6" >
<property name="font" >
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>GPS</string>
</property>
</widget>
</item>
<item row="6" column="0" >
<widget class="QCheckBox" name="cb_1_7" >
<property name="font" >
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>Achsenkopplung</string>
</property>
</widget>
</item>
<item row="7" column="0" >
<widget class="QCheckBox" name="cb_1_8" >
<property name="font" >
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>Drehratenbegrenzung</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="0" column="1" >
<widget class="QTextEdit" name="te_Help_1" >
<property name="minimumSize" >
<size>
<width>200</width>
<height>0</height>
</size>
</property>
<property name="maximumSize" >
<size>
<width>200</width>
<height>16777215</height>
</size>
</property>
<property name="readOnly" >
<bool>true</bool>
</property>
<property name="html" >
<string>&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;style type="text/css">
p, li { white-space: pre-wrap; }
&lt;/style>&lt;/head>&lt;body style=" font-family:'Sans Serif'; font-size:11pt; font-weight:400; font-style:normal;">
&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-weight:600; text-decoration: underline;">Diese Seite dient der Konfiguration der Hardware bzw. der verschiedenen Funktionen des Mikrokopters.&lt;/span>&lt;/p>
&lt;p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-weight:600;">Höhenregler&lt;/span>: Häkchen setzen, wenn der Luftdrucksensor bestückt ist und die Höhenregelung benutzt werden soll. &lt;/p>
&lt;p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-weight:600;">Höhenfunktion per Schalter&lt;/span>: wenn die Fernsteuerung mit einem Kippschalter auf einem freien Kanal erweitert wurde, kann die Funktion „Halten der aktuell geflogenen Höhe“ zugeschaltet werden. Wenn dies nicht angewählt wird, gilt der Setpoint (siehe unten), also z.B. ein Poti. &lt;/p>
&lt;p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-weight:600;">Heading Hold&lt;/span>: In diesem Modus richtet sich der MikroKopter nicht waagerecht aus wenn der Stick in Neutralstellung ist. Diese Funktion ist eher etwas für erfahrenen Piloten, oder Piloten, die an X-3D-Steuerung gewöhnt sind. Mit dieser Einstellung sind alle Arten der Loopings möglich. &lt;/p>
&lt;ul style="-qt-list-indent: 1;">&lt;li style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">--&amp;gt; Achtung: Wer HH fliegen möchte, muss den I-Anteil des Hauptreglers erhöhen (auf 30 z.B.)! &lt;/li>&lt;/ul>
&lt;p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-weight:600;">Kompass&lt;/span>: Häkchen setzen, wenn das Kompassmodul angeschlossen ist und genutzt werden soll. &lt;/p>
&lt;p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-weight:600;">Kompass Ausrichtung fest&lt;/span>: Der MikroKopter richtet sich dann immer wieder in die Richtung aus, in die er beim Start gestanden hat. Ist das Feld nicht markiert, lässt sich die Richtung mit dem Gier-Stick ändern. &lt;/p>
&lt;p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-weight:600;">GPS&lt;/span>: alternative Software-Versionen unterstützen ein ublox-GPS-Modul. Damit sind dann GPS-Funktionen wie Position halten, Position anfliegen, coming home und das Abfliegen von Waypoints möglich. Stichwort "Autonomes Fliegen".&lt;/p>
&lt;p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-weight:600;">Achsenkopplung&lt;/span>:Hier lässt sich die Achsenkopplung global aktivieren oder deaktivieren. Die Achsenkopplung verhindert, dass der MikroKopter nach einer Kurve schief steht, weil die Winkel intern beim Gieren korrigiert werden. Sollte immer aktiviert sein. &lt;/p>
&lt;p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-weight:600;">Drehratenbegrenzung&lt;/span>: Zusätzliche Begrenzung der Drehrate. Mit dieser Option wird die Kennlinie des Gyros an den Enden angehoben. Dies verhindert schnelle Manöver, da ab einer bestimmten Drehrate stärker gegengeregelt wird. Betrifft nur Nick und Roll. (Nur für Anfänger interessant) &lt;/p>&lt;/body>&lt;/html></string>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="Tab_P2" >
<attribute name="title" >
<string>Kanäle </string>
</attribute>
<layout class="QGridLayout" name="gridLayout_11" >
<item row="0" column="0" >
<widget class="QFrame" name="frame_2" >
<property name="frameShape" >
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow" >
<enum>QFrame::Raised</enum>
</property>
<layout class="QGridLayout" name="gridLayout_9" >
<item row="5" column="1" >
<widget class="QSpinBox" name="sb_2_6" >
<property name="minimum" >
<number>1</number>
</property>
<property name="maximum" >
<number>8</number>
</property>
</widget>
</item>
<item row="3" column="0" >
<widget class="QLabel" name="label_8" >
<property name="font" >
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>Roll:</string>
</property>
</widget>
</item>
<item row="3" column="1" >
<widget class="QSpinBox" name="sb_2_4" >
<property name="minimum" >
<number>1</number>
</property>
<property name="maximum" >
<number>8</number>
</property>
</widget>
</item>
<item row="0" column="1" >
<widget class="QSpinBox" name="sb_2_1" >
<property name="minimum" >
<number>1</number>
</property>
<property name="maximum" >
<number>8</number>
</property>
</widget>
</item>
<item row="2" column="0" >
<widget class="QLabel" name="label_7" >
<property name="font" >
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>Nick:</string>
</property>
</widget>
</item>
<item row="6" column="1" >
<widget class="QSpinBox" name="sb_2_7" >
<property name="minimum" >
<number>1</number>
</property>
<property name="maximum" >
<number>8</number>
</property>
</widget>
</item>
<item row="7" column="0" >
<widget class="QLabel" name="label_12" >
<property name="font" >
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>Poti 4:</string>
</property>
</widget>
</item>
<item row="5" column="0" >
<widget class="QLabel" name="label_10" >
<property name="font" >
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>Poti 2:</string>
</property>
</widget>
</item>
<item row="4" column="0" >
<widget class="QLabel" name="label_9" >
<property name="font" >
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>Poti 1:</string>
</property>
</widget>
</item>
<item row="4" column="1" >
<widget class="QSpinBox" name="sb_2_5" >
<property name="minimum" >
<number>1</number>
</property>
<property name="maximum" >
<number>8</number>
</property>
</widget>
</item>
<item row="6" column="0" >
<widget class="QLabel" name="label_11" >
<property name="font" >
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>Poti 3:</string>
</property>
</widget>
</item>
<item row="1" column="1" >
<widget class="QSpinBox" name="sb_2_2" >
<property name="minimum" >
<number>1</number>
</property>
<property name="maximum" >
<number>8</number>
</property>
</widget>
</item>
<item row="0" column="0" >
<widget class="QLabel" name="label_5" >
<property name="font" >
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>Gas:</string>
</property>
</widget>
</item>
<item row="2" column="1" >
<widget class="QSpinBox" name="sb_2_3" >
<property name="minimum" >
<number>1</number>
</property>
<property name="maximum" >
<number>8</number>
</property>
</widget>
</item>
<item row="1" column="0" >
<widget class="QLabel" name="label_6" >
<property name="font" >
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>Gier:</string>
</property>
</widget>
</item>
<item row="7" column="1" >
<widget class="QSpinBox" name="sb_2_8" >
<property name="minimum" >
<number>1</number>
</property>
<property name="maximum" >
<number>8</number>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="0" column="1" >
<widget class="QFrame" name="frame" >
<property name="frameShape" >
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow" >
<enum>QFrame::Raised</enum>
</property>
<layout class="QGridLayout" name="gridLayout_10" >
<item row="5" column="0" >
<widget class="QLabel" name="label_16" >
<property name="text" >
<string>Kanal 6:</string>
</property>
</widget>
</item>
<item row="0" column="0" >
<widget class="QLabel" name="label_3" >
<property name="text" >
<string>Kanal 1:</string>
</property>
</widget>
</item>
<item row="5" column="1" >
<widget class="QProgressBar" name="pb_K6" >
<property name="minimum" >
<number>-128</number>
</property>
<property name="maximum" >
<number>128</number>
</property>
<property name="value" >
<number>0</number>
</property>
<property name="textDirection" >
<enum>QProgressBar::TopToBottom</enum>
</property>
<property name="format" >
<string> %v</string>
</property>
</widget>
</item>
<item row="4" column="1" >
<widget class="QProgressBar" name="pb_K5" >
<property name="minimum" >
<number>-128</number>
</property>
<property name="maximum" >
<number>128</number>
</property>
<property name="value" >
<number>0</number>
</property>
<property name="textDirection" >
<enum>QProgressBar::TopToBottom</enum>
</property>
<property name="format" >
<string> %v</string>
</property>
</widget>
</item>
<item row="2" column="0" >
<widget class="QLabel" name="label_13" >
<property name="text" >
<string>Kanal 3:</string>
</property>
</widget>
</item>
<item row="6" column="0" >
<widget class="QLabel" name="label_17" >
<property name="text" >
<string>Kanal 7:</string>
</property>
</widget>
</item>
<item row="2" column="1" >
<widget class="QProgressBar" name="pb_K3" >
<property name="minimum" >
<number>-128</number>
</property>
<property name="maximum" >
<number>128</number>
</property>
<property name="value" >
<number>0</number>
</property>
<property name="textDirection" >
<enum>QProgressBar::TopToBottom</enum>
</property>
<property name="format" >
<string> %v</string>
</property>
</widget>
</item>
<item row="3" column="0" >
<widget class="QLabel" name="label_14" >
<property name="text" >
<string>Kanal 4:</string>
</property>
</widget>
</item>
<item row="7" column="1" >
<widget class="QProgressBar" name="pb_K8" >
<property name="minimum" >
<number>-128</number>
</property>
<property name="maximum" >
<number>128</number>
</property>
<property name="value" >
<number>0</number>
</property>
<property name="textDirection" >
<enum>QProgressBar::TopToBottom</enum>
</property>
<property name="format" >
<string> %v</string>
</property>
</widget>
</item>
<item row="4" column="0" >
<widget class="QLabel" name="label_15" >
<property name="text" >
<string>Kanal 5:</string>
</property>
</widget>
</item>
<item row="1" column="1" >
<widget class="QProgressBar" name="pb_K2" >
<property name="minimum" >
<number>-128</number>
</property>
<property name="maximum" >
<number>128</number>
</property>
<property name="value" >
<number>0</number>
</property>
<property name="invertedAppearance" >
<bool>false</bool>
</property>
<property name="textDirection" >
<enum>QProgressBar::TopToBottom</enum>
</property>
<property name="format" >
<string> %v</string>
</property>
</widget>
</item>
<item row="3" column="1" >
<widget class="QProgressBar" name="pb_K4" >
<property name="minimum" >
<number>-128</number>
</property>
<property name="maximum" >
<number>128</number>
</property>
<property name="value" >
<number>0</number>
</property>
<property name="textDirection" >
<enum>QProgressBar::TopToBottom</enum>
</property>
<property name="format" >
<string> %v</string>
</property>
</widget>
</item>
<item row="1" column="0" >
<widget class="QLabel" name="label_4" >
<property name="text" >
<string>Kanal 2:</string>
</property>
</widget>
</item>
<item row="6" column="1" >
<widget class="QProgressBar" name="pb_K7" >
<property name="minimum" >
<number>-128</number>
</property>
<property name="maximum" >
<number>128</number>
</property>
<property name="value" >
<number>0</number>
</property>
<property name="textDirection" >
<enum>QProgressBar::TopToBottom</enum>
</property>
<property name="format" >
<string> %v</string>
</property>
</widget>
</item>
<item row="0" column="1" >
<widget class="QProgressBar" name="pb_K1" >
<property name="minimum" >
<number>-128</number>
</property>
<property name="maximum" >
<number>128</number>
</property>
<property name="value" >
<number>0</number>
</property>
<property name="textDirection" >
<enum>QProgressBar::TopToBottom</enum>
</property>
<property name="format" >
<string> %v</string>
</property>
</widget>
</item>
<item row="7" column="0" >
<widget class="QLabel" name="label_18" >
<property name="text" >
<string>Kanal 8:</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="0" column="2" >
<widget class="QTextEdit" name="te_Help_2" >
<property name="minimumSize" >
<size>
<width>200</width>
<height>0</height>
</size>
</property>
<property name="maximumSize" >
<size>
<width>200</width>
<height>16777215</height>
</size>
</property>
<property name="readOnly" >
<bool>true</bool>
</property>
<property name="html" >
<string>&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;style type="text/css">
p, li { white-space: pre-wrap; }
&lt;/style>&lt;/head>&lt;body style=" font-family:'Sans Serif'; font-size:11pt; font-weight:400; font-style:normal;">
&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-weight:600; text-decoration: underline;">Hier können die vom Sender übertragenen Kanäle den Funktionen des MikroKopters zugeordnet werden. &lt;/span>&lt;/p>
&lt;p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;/p>
&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Port 1-4 sind per Sender frei einstellbare Werte.&lt;/p>
&lt;p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;/p>
&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Die Balken zeigen den Ausschlag des jeweiligen Kanals an.&lt;/p>&lt;/body>&lt;/html></string>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="Tab_P3" >
<attribute name="title" >
<string>Stick </string>
</attribute>
<layout class="QGridLayout" name="gridLayout_13" >
<item row="1" column="2" >
<widget class="QTextEdit" name="te_Help_3" >
<property name="minimumSize" >
<size>
<width>200</width>
<height>0</height>
</size>
</property>
<property name="maximumSize" >
<size>
<width>200</width>
<height>16777215</height>
</size>
</property>
<property name="readOnly" >
<bool>true</bool>
</property>
<property name="html" >
<string>&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;style type="text/css">
p, li { white-space: pre-wrap; }
&lt;/style>&lt;/head>&lt;body style=" font-family:'Sans Serif'; font-size:11pt; font-weight:400; font-style:normal;">
&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-weight:600; text-decoration: underline;">Diese Parameter dienen zur Einstellung der Stickwirkung.&lt;/span>&lt;/p>
&lt;p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;/p>
&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-weight:600;">P-Anteil:&lt;/span> Stick-Verstärkung. Je grösser, desto stärker reagiert der MK auf die Stickbewegungen. &lt;/p>
&lt;p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;/p>
&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-weight:600;">D-Anteil:&lt;/span> Der MikroKopter folgt den Bewegungen des Sticks umso spontaner, je grösser dieser Wert ist. Genaugenommen wirkt hier zusätzlich die Stick&lt;span style=" font-weight:600;">geschwindigkeit&lt;/span> auf den MK. &lt;/p>
&lt;p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;/p>
&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-weight:600;">Gier-P: &lt;/span>Verhältnis Gier-Geschwindigkeit zum Stickausschlag.&lt;/p>&lt;/body>&lt;/html></string>
</property>
</widget>
</item>
<item row="1" column="1" >
<widget class="QFrame" name="frame_3" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Preferred" hsizetype="Expanding" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="frameShape" >
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow" >
<enum>QFrame::Raised</enum>
</property>
<layout class="QGridLayout" name="gridLayout" >
<item row="0" column="0" >
<widget class="QLabel" name="label_19" >
<property name="font" >
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>Nick / Roll P-Anteil:</string>
</property>
</widget>
</item>
<item row="0" column="1" >
<widget class="QSpinBox" name="sb_3_1" >
<property name="maximum" >
<number>64</number>
</property>
<property name="value" >
<number>4</number>
</property>
</widget>
</item>
<item row="0" column="2" >
<widget class="QLabel" name="label_22" >
<property name="text" >
<string>[1..6]</string>
</property>
</widget>
</item>
<item row="1" column="0" >
<widget class="QLabel" name="label_20" >
<property name="font" >
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>Nick / Roll D-Anteil:</string>
</property>
</widget>
</item>
<item row="1" column="1" >
<widget class="QSpinBox" name="sb_3_2" >
<property name="maximum" >
<number>64</number>
</property>
<property name="value" >
<number>1</number>
</property>
</widget>
</item>
<item row="1" column="2" >
<widget class="QLabel" name="label_23" >
<property name="text" >
<string>[0..64]</string>
</property>
</widget>
</item>
<item row="2" column="1" >
<spacer name="verticalSpacer_4" >
<property name="orientation" >
<enum>Qt::Vertical</enum>
</property>
<property name="sizeType" >
<enum>QSizePolicy::Fixed</enum>
</property>
<property name="sizeHint" stdset="0" >
<size>
<width>20</width>
<height>10</height>
</size>
</property>
</spacer>
</item>
<item row="3" column="0" >
<widget class="QLabel" name="label_21" >
<property name="font" >
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>Gier P-Anteil:</string>
</property>
</widget>
</item>
<item row="3" column="1" >
<widget class="QComboBox" name="cb_3_3" >
<property name="editable" >
<bool>true</bool>
</property>
<item>
<property name="text" >
<string>Poti 1</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 2</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 3</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 4</string>
</property>
</item>
<item>
<property name="text" >
<string>0</string>
</property>
</item>
</widget>
</item>
<item row="3" column="2" >
<widget class="QLabel" name="label_24" >
<property name="text" >
<string>[1..20]</string>
</property>
</widget>
</item>
<item row="4" column="0" colspan="3" >
<widget class="Line" name="line" >
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
<item row="5" column="0" >
<widget class="QLabel" name="label_51" >
<property name="font" >
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>External Control:</string>
</property>
</widget>
</item>
<item row="5" column="1" >
<widget class="QComboBox" name="cb_3_4" >
<property name="editable" >
<bool>true</bool>
</property>
<item>
<property name="text" >
<string>Poti 1</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 2</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 3</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 4</string>
</property>
</item>
<item>
<property name="text" >
<string>0</string>
</property>
</item>
</widget>
</item>
<item row="5" column="2" >
<layout class="QVBoxLayout" name="verticalLayout" >
<item>
<widget class="QLabel" name="label_52" >
<property name="text" >
<string>0=OFF, Dubwise: Gain, </string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_53" >
<property name="text" >
<string>Riddim > 128 = ON</string>
</property>
</widget>
</item>
</layout>
</item>
<item row="6" column="1" >
<spacer name="verticalSpacer_5" >
<property name="orientation" >
<enum>Qt::Vertical</enum>
</property>
<property name="sizeType" >
<enum>QSizePolicy::Expanding</enum>
</property>
<property name="sizeHint" stdset="0" >
<size>
<width>20</width>
<height>85</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="Tab_P4" >
<attribute name="title" >
<string>Höhe </string>
</attribute>
<layout class="QGridLayout" name="gridLayout_16" >
<item row="0" column="2" >
<widget class="QTextEdit" name="te_Help_4" >
<property name="minimumSize" >
<size>
<width>200</width>
<height>0</height>
</size>
</property>
<property name="maximumSize" >
<size>
<width>200</width>
<height>16777215</height>
</size>
</property>
<property name="readOnly" >
<bool>true</bool>
</property>
<property name="html" >
<string>&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;style type="text/css">
p, li { white-space: pre-wrap; }
&lt;/style>&lt;/head>&lt;body style=" font-family:'Sans Serif'; font-size:11pt; font-weight:400; font-style:normal;">
&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-weight:600; text-decoration: underline;">Hier kann der Höhenregler parametriert werden.&lt;/span>&lt;/p>
&lt;p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-weight:600; text-decoration: underline;">&lt;/p>
&lt;p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-weight:600;">Setpoint:&lt;/span> Gibt die maximale Höhe an. Normalerweise wird hier ein Poti als Kanal der Funke eingetragen. Kleine Werte ermöglichen nur niedrige Maximalhöhen.&lt;span style=" font-weight:600;"> &lt;/span>&lt;/p>
&lt;p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Fluganfänger sollten das Feature nutzen, hier evtl. 0 eintragen und den Höhenregler aktivieren (siehe oben). Dann kann es nicht passieren, dass der MikroKopter zu hoch steigt. Bei Nutzung des Höhenreglers als Schalter ist hier auch das entsprechende Poti einzutragen, um den Kanal der Funke damit festzulegen. &lt;/p>
&lt;p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-weight:600;">Min Gas:&lt;/span> unter diesen Wert wird das Gas nicht gestellt, wenn die Höhe überschritten wurde. &lt;/p>
&lt;p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-weight:600;">P-Anteil:&lt;/span> Abhängigkeit von Rücknahme von Gas bei Höhe über. Je höher dieser Wert, desto kleiner ist der Flugbereich oberhalb der Maximalhöhe. &lt;/p>
&lt;p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-weight:600;">Luftdruck-D:&lt;/span> Dämpft das Schwingverhalten des Höhenreglers. Geringste Luftdruckänderungen haben damit grosse Wirkung auf Gas. &lt;/p>
&lt;p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-weight:600;">Z-ACC:&lt;/span> Dämpft das Schwingverhalten mittels des Beschleunigungssensors. &lt;/p>
&lt;p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-weight:600;">Verstärkung:&lt;/span> ermöglicht grössere Flughöhen, wenn dieser Wert vergrößert wird. Der Setpiont wird mit diesem Wert multipliziert. &lt;/p>&lt;/body>&lt;/html></string>
</property>
</widget>
</item>
<item row="0" column="0" >
<widget class="QFrame" name="frame_5" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Preferred" hsizetype="Expanding" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="frameShape" >
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow" >
<enum>QFrame::Raised</enum>
</property>
<layout class="QGridLayout" name="gridLayout_17" >
<item row="0" column="0" >
<widget class="QLabel" name="label_25" >
<property name="font" >
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>Soll-Höhe:</string>
</property>
</widget>
</item>
<item row="0" column="1" colspan="2" >
<widget class="QComboBox" name="cb_4_1" >
<property name="editable" >
<bool>true</bool>
</property>
<item>
<property name="text" >
<string>Poti 1</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 2</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 3</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 4</string>
</property>
</item>
<item>
<property name="text" >
<string>0</string>
</property>
</item>
</widget>
</item>
<item row="0" column="3" >
<widget class="QLabel" name="label_31" >
<property name="text" >
<string>[0..250]</string>
</property>
</widget>
</item>
<item rowspan="2" row="1" column="0" >
<widget class="QLabel" name="label_26" >
<property name="font" >
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>Min. Gas:</string>
</property>
</widget>
</item>
<item rowspan="2" row="1" column="1" colspan="2" >
<widget class="QSpinBox" name="sb_4_2" >
<property name="maximum" >
<number>250</number>
</property>
</widget>
</item>
<item rowspan="2" row="1" column="3" >
<widget class="QLabel" name="label_32" >
<property name="text" >
<string>[0..250]</string>
</property>
</widget>
</item>
<item rowspan="2" row="5" column="0" >
<widget class="QLabel" name="label_27" >
<property name="font" >
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>Höhe P-Anteil:</string>
</property>
</widget>
</item>
<item rowspan="2" row="5" column="1" colspan="2" >
<widget class="QComboBox" name="cb_4_3" >
<property name="editable" >
<bool>true</bool>
</property>
<item>
<property name="text" >
<string>Poti 1</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 2</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 3</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 4</string>
</property>
</item>
<item>
<property name="text" >
<string>0</string>
</property>
</item>
</widget>
</item>
<item rowspan="2" row="5" column="3" >
<widget class="QLabel" name="label_33" >
<property name="text" >
<string>[0..32]</string>
</property>
</widget>
</item>
<item rowspan="2" row="7" column="0" >
<widget class="QLabel" name="label_28" >
<property name="font" >
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>Luftdruck D-Anteil:</string>
</property>
</widget>
</item>
<item rowspan="2" row="7" column="1" colspan="2" >
<widget class="QComboBox" name="cb_4_4" >
<property name="editable" >
<bool>true</bool>
</property>
<item>
<property name="text" >
<string>Poti 1</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 2</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 3</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 4</string>
</property>
</item>
<item>
<property name="text" >
<string>0</string>
</property>
</item>
</widget>
</item>
<item rowspan="2" row="7" column="3" >
<widget class="QLabel" name="label_34" >
<property name="text" >
<string>[0..250]</string>
</property>
</widget>
</item>
<item rowspan="4" row="10" column="0" >
<widget class="QLabel" name="label_29" >
<property name="font" >
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>Z-Acc Wirkung:</string>
</property>
</widget>
</item>
<item rowspan="4" row="10" column="1" colspan="2" >
<widget class="QComboBox" name="cb_4_5" >
<property name="editable" >
<bool>true</bool>
</property>
<item>
<property name="text" >
<string>Poti 1</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 2</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 3</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 4</string>
</property>
</item>
<item>
<property name="text" >
<string>0</string>
</property>
</item>
</widget>
</item>
<item rowspan="4" row="10" column="3" >
<widget class="QLabel" name="label_35" >
<property name="text" >
<string>[0..250]</string>
</property>
</widget>
</item>
<item row="14" column="0" >
<widget class="QLabel" name="label_30" >
<property name="font" >
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>Verstärkung:</string>
</property>
</widget>
</item>
<item row="14" column="1" colspan="2" >
<widget class="QSpinBox" name="sb_4_6" >
<property name="maximum" >
<number>50</number>
</property>
</widget>
</item>
<item row="14" column="3" >
<widget class="QLabel" name="label_36" >
<property name="text" >
<string>[0..50]</string>
</property>
</widget>
</item>
<item row="4" column="1" >
<spacer name="verticalSpacer_6" >
<property name="orientation" >
<enum>Qt::Vertical</enum>
</property>
<property name="sizeType" >
<enum>QSizePolicy::Fixed</enum>
</property>
<property name="sizeHint" stdset="0" >
<size>
<width>20</width>
<height>10</height>
</size>
</property>
</spacer>
</item>
<item row="9" column="1" >
<spacer name="verticalSpacer_8" >
<property name="orientation" >
<enum>Qt::Vertical</enum>
</property>
<property name="sizeType" >
<enum>QSizePolicy::Fixed</enum>
</property>
<property name="sizeHint" stdset="0" >
<size>
<width>77</width>
<height>10</height>
</size>
</property>
</spacer>
</item>
<item row="15" column="1" >
<spacer name="verticalSpacer_10" >
<property name="orientation" >
<enum>Qt::Vertical</enum>
</property>
<property name="sizeType" >
<enum>QSizePolicy::Expanding</enum>
</property>
<property name="sizeHint" stdset="0" >
<size>
<width>74</width>
<height>34</height>
</size>
</property>
</spacer>
</item>
<item row="3" column="1" >
<widget class="QCheckBox" name="cb_4_7" >
<property name="text" >
<string>3fach Schalter </string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="Tab_P5" >
<attribute name="title" >
<string>Gyro </string>
</attribute>
<layout class="QGridLayout" name="gridLayout_18" >
<item row="0" column="0" >
<widget class="QFrame" name="frame_6" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Preferred" hsizetype="Expanding" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="frameShape" >
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow" >
<enum>QFrame::Raised</enum>
</property>
<layout class="QGridLayout" name="gridLayout_12" >
<item row="0" column="0" >
<widget class="QLabel" name="label_37" >
<property name="font" >
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>Gyro P-Anteil:</string>
</property>
</widget>
</item>
<item row="0" column="1" >
<widget class="QComboBox" name="cb_5_1" >
<property name="editable" >
<bool>true</bool>
</property>
<item>
<property name="text" >
<string>Poti 1</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 2</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 3</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 4</string>
</property>
</item>
<item>
<property name="text" >
<string>0</string>
</property>
</item>
</widget>
</item>
<item row="0" column="2" >
<widget class="QLabel" name="label_44" >
<property name="text" >
<string>[0..250]</string>
</property>
</widget>
</item>
<item row="1" column="0" >
<widget class="QLabel" name="label_38" >
<property name="font" >
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>Gyro I-Anteil:</string>
</property>
</widget>
</item>
<item row="1" column="1" >
<widget class="QComboBox" name="cb_5_2" >
<property name="editable" >
<bool>true</bool>
</property>
<item>
<property name="text" >
<string>Poti 1</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 2</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 3</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 4</string>
</property>
</item>
<item>
<property name="text" >
<string>0</string>
</property>
</item>
</widget>
</item>
<item row="1" column="2" >
<widget class="QLabel" name="label_45" >
<property name="text" >
<string>[0..250] (Winkels-&lt;br>tabilität)</string>
</property>
</widget>
</item>
<item row="2" column="0" >
<widget class="QLabel" name="label_39" >
<property name="font" >
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>Dynamic Stability:</string>
</property>
</widget>
</item>
<item row="2" column="1" >
<widget class="QComboBox" name="cb_5_3" >
<property name="editable" >
<bool>true</bool>
</property>
<item>
<property name="text" >
<string>Poti 1</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 2</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 3</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 4</string>
</property>
</item>
<item>
<property name="text" >
<string>0</string>
</property>
</item>
</widget>
</item>
<item row="2" column="2" >
<widget class="QLabel" name="label_46" >
<property name="text" >
<string>[0..250]</string>
</property>
</widget>
</item>
<item row="3" column="0" >
<widget class="QLabel" name="label_40" >
<property name="font" >
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>ACC/Gyro-Faktor:</string>
</property>
</widget>
</item>
<item row="3" column="1" >
<widget class="QSpinBox" name="sb_5_4" >
<property name="maximum" >
<number>250</number>
</property>
</widget>
</item>
<item row="3" column="2" >
<widget class="QLabel" name="label_47" >
<property name="text" >
<string>[0..250]</string>
</property>
</widget>
</item>
<item row="4" column="0" >
<widget class="QLabel" name="label_41" >
<property name="font" >
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>ACC/Gyro-Comp.:</string>
</property>
</widget>
</item>
<item row="4" column="1" >
<widget class="QSpinBox" name="sb_5_5" >
<property name="maximum" >
<number>250</number>
</property>
</widget>
</item>
<item row="4" column="2" >
<widget class="QLabel" name="label_48" >
<property name="text" >
<string>[0..250] (1/x)</string>
</property>
</widget>
</item>
<item row="5" column="0" >
<widget class="QLabel" name="label_42" >
<property name="font" >
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>Hauptregler I-Anteil:</string>
</property>
</widget>
</item>
<item row="5" column="1" >
<widget class="QComboBox" name="cb_5_6" >
<property name="editable" >
<bool>true</bool>
</property>
<item>
<property name="text" >
<string>Poti 1</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 2</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 3</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 4</string>
</property>
</item>
<item>
<property name="text" >
<string>0</string>
</property>
</item>
</widget>
</item>
<item row="5" column="2" >
<widget class="QLabel" name="label_49" >
<property name="text" >
<string>[0..250]</string>
</property>
</widget>
</item>
<item row="6" column="0" >
<widget class="QLabel" name="label_43" >
<property name="font" >
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>Driftkompensation:</string>
</property>
</widget>
</item>
<item row="6" column="1" >
<widget class="QSpinBox" name="sb_5_7" >
<property name="maximum" >
<number>250</number>
</property>
</widget>
</item>
<item row="6" column="2" >
<widget class="QLabel" name="label_50" >
<property name="text" >
<string>[0..250]</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="0" column="1" >
<widget class="QTextEdit" name="te_Help_5" >
<property name="minimumSize" >
<size>
<width>200</width>
<height>0</height>
</size>
</property>
<property name="maximumSize" >
<size>
<width>200</width>
<height>16777215</height>
</size>
</property>
<property name="readOnly" >
<bool>true</bool>
</property>
<property name="html" >
<string>&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;style type="text/css">
p, li { white-space: pre-wrap; }
&lt;/style>&lt;/head>&lt;body style=" font-family:'Sans Serif'; font-size:11pt; font-weight:400; font-style:normal;">
&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-weight:600; text-decoration: underline;">Hier werden die Parameter für die Gyroskope eingestellt.&lt;/span>&lt;/p>
&lt;p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-weight:600;">Gyro-P: &lt;/span>Einfluss des Gyros auf die Nick- und Rollgeschwindigkeit. Je höher wer Wert, desto träger bewegt sich der MikroKopter. &lt;/p>
&lt;p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-weight:600;">Gyro-I&lt;/span>: Lagestabilisierung. Je höher der Wert, desto stärker der Zusammenhang von Stickwinkel und Lagewinkel. Führt bei zu grossen Werten (gegenüber Gyro-P) zum Schwingen. &lt;/p>
&lt;p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-weight:600;">Dynamic Stability&lt;/span> Mit diesem Wert lässt sich nun einstellen, wieviel Schub die Achsenregelung zur Verfügung hat, um zu Regeln Einige haben sich daran gestört, dass der MK beim starken Regeln steigt. Das war auch der Grund für das Steigen bei Wind oder sonstigen Phänomenen wie Lagerschaden zum Beispiel. Ausserdem haben Anfänger Probleme mit dem Springen bei der Landung, was auch diese Ursache hat. Kleiner 64 -&amp;gt; der Schub wird auf unter Gas limitiert -&amp;gt; kein Steigen bei starkem Regeln Grösser 64 -&amp;gt; der Schub darf grösser werden als Gas -&amp;gt; hartes Regeln der Achsen -&amp;gt; Steigen bei starken Regeln In den Settings ist es so verteilt: 1.Sport: 100 -&amp;gt; steigt 2.Normal: 75 -&amp;gt; steigt etwas 3.Beginner: 50 -&amp;gt; steigt nicht &lt;/p>
&lt;p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-weight:600;">ACC/Gyro-Faktor: &lt;/span>: Abhängigkeit zwischen ACC-Sensorwert und Gyrointegral. Wird der MK einige Grad gekippt, müssen ACC-Linie und Gyro-Integral deckungsgleich sein. Ggf. kann das hier korrigiert werden. &lt;/p>
&lt;p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-weight:600;">ACC/Gyro-Comp.: &lt;/span>: Grad des Fusion zwischen ACC und Gyro (reziprok). Je kleiner der Wert, desto schneller wird der Gyrowinkel dem ACC-Sensor angepasst. Zum Schweben sind größere Werte vorteilhaft (&amp;gt;100). Zum Heizen sollte man kleine Werte nehmen (10-50) &lt;/p>
&lt;p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-weight:600;">Hauptregler I&lt;/span>: Summe der Winkelfehler. Sorgt für grössere Präzision zwischen Stick und Lage. Sollte beim Fliegen mit Heading Hold (oben) erhöht werden. Kann bei zu grossen Werten überschwingen. &lt;/p>
&lt;p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-weight:600;">Driftkompensation:&lt;/span> Gibt an, wieviel Digits pro 500ms der Drift nachgeführt werden darf. Hier sollte ein kleiner Wert (1-3) angestrebt werden. Wert zu klein -&amp;gt; Gyrodrift (z.B. bei Temperaturänderungen) zieht den MK stark in eine Richtung. Wert zu gross -&amp;gt; MK schwebt nicht so gern still auf einer Stelle. Null -&amp;gt; Driftkompensation aus, Standart ist 4, also eher konservativ &lt;/p>&lt;/body>&lt;/html></string>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="Tab_P6" >
<attribute name="title" >
<string>Kamera </string>
</attribute>
<layout class="QGridLayout" name="gridLayout_20" >
<item row="0" column="0" >
<widget class="QFrame" name="frame_7" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Preferred" hsizetype="Expanding" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="frameShape" >
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow" >
<enum>QFrame::Raised</enum>
</property>
<layout class="QGridLayout" name="gridLayout_21" >
<item row="0" column="0" >
<widget class="QLabel" name="label_55" >
<property name="font" >
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>Servo Control:</string>
</property>
</widget>
</item>
<item row="0" column="1" colspan="2" >
<widget class="QComboBox" name="cb_6_1" >
<property name="editable" >
<bool>true</bool>
</property>
<item>
<property name="text" >
<string>Poti 1</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 2</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 3</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 4</string>
</property>
</item>
<item>
<property name="text" >
<string>0</string>
</property>
</item>
</widget>
</item>
<item row="0" column="3" >
<widget class="QLabel" name="label_54" >
<property name="text" >
<string>[0..250]</string>
</property>
</widget>
</item>
<item rowspan="2" row="1" column="0" >
<widget class="QLabel" name="label_56" >
<property name="font" >
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>Nick-Kompensation</string>
</property>
</widget>
</item>
<item rowspan="2" row="1" column="1" colspan="2" >
<widget class="QSpinBox" name="sb_6_2" >
<property name="maximum" >
<number>250</number>
</property>
</widget>
</item>
<item rowspan="2" row="1" column="3" >
<widget class="QCheckBox" name="cb_6_6" >
<property name="text" >
<string>Invert direction</string>
</property>
</widget>
</item>
<item row="4" column="0" >
<widget class="QLabel" name="label_57" >
<property name="font" >
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>Servo min:</string>
</property>
</widget>
</item>
<item row="4" column="1" colspan="2" >
<widget class="QSpinBox" name="sb_6_3" >
<property name="maximum" >
<number>250</number>
</property>
</widget>
</item>
<item row="4" column="3" >
<widget class="QLabel" name="label_61" >
<property name="text" >
<string>[0..250]</string>
</property>
</widget>
</item>
<item row="5" column="0" >
<widget class="QLabel" name="label_58" >
<property name="font" >
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>Servo max:</string>
</property>
</widget>
</item>
<item row="5" column="1" colspan="2" >
<widget class="QSpinBox" name="sb_6_4" >
<property name="maximum" >
<number>250</number>
</property>
</widget>
</item>
<item row="5" column="3" >
<widget class="QLabel" name="label_62" >
<property name="text" >
<string>[0..250]</string>
</property>
</widget>
</item>
<item row="8" column="0" >
<widget class="QLabel" name="label_59" >
<property name="font" >
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>Servo refresh rate:</string>
</property>
</widget>
</item>
<item row="8" column="1" colspan="2" >
<widget class="QSpinBox" name="sb_6_5" >
<property name="maximum" >
<number>250</number>
</property>
</widget>
</item>
<item row="8" column="3" >
<widget class="QLabel" name="label_63" >
<property name="text" >
<string>[0..250]</string>
</property>
</widget>
</item>
<item row="3" column="1" >
<spacer name="verticalSpacer" >
<property name="orientation" >
<enum>Qt::Vertical</enum>
</property>
<property name="sizeType" >
<enum>QSizePolicy::Fixed</enum>
</property>
<property name="sizeHint" stdset="0" >
<size>
<width>20</width>
<height>10</height>
</size>
</property>
</spacer>
</item>
<item row="7" column="1" >
<spacer name="verticalSpacer_2" >
<property name="orientation" >
<enum>Qt::Vertical</enum>
</property>
<property name="sizeType" >
<enum>QSizePolicy::Fixed</enum>
</property>
<property name="sizeHint" stdset="0" >
<size>
<width>121</width>
<height>10</height>
</size>
</property>
</spacer>
</item>
<item row="9" column="1" >
<spacer name="verticalSpacer_3" >
<property name="orientation" >
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0" >
<size>
<width>20</width>
<height>65</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</item>
<item row="0" column="1" >
<widget class="QTextEdit" name="te_Help_6" >
<property name="minimumSize" >
<size>
<width>200</width>
<height>0</height>
</size>
</property>
<property name="maximumSize" >
<size>
<width>200</width>
<height>16777215</height>
</size>
</property>
<property name="readOnly" >
<bool>true</bool>
</property>
<property name="html" >
<string>&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;style type="text/css">
p, li { white-space: pre-wrap; }
&lt;/style>&lt;/head>&lt;body style=" font-family:'Sans Serif'; font-size:11pt; font-weight:400; font-style:normal;">
&lt;p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-weight:600; text-decoration: underline;">Einstellungen für das Kamera-Servo an J7 der FlightCtrl.&lt;/span>&lt;/p>
&lt;p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-weight:600;">Servo-Control: &lt;/span>Servowert zum Schwenken der Kamera. Entweder fixen Wert, oder Poti eintragen. &lt;/p>
&lt;p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-weight:600;">Nick-Kompensation: &lt;/span>Einfluss des Nickwinkels auf den Servo. &lt;/p>
&lt;p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-weight:600;">Invert direction:&lt;/span> Drehrichtung invertieren. &lt;/p>
&lt;p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-weight:600;">Servo Min:&lt;/span> Minimalwert als Anschlag. &lt;/p>
&lt;p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-weight:600;">Servo Max:&lt;/span> Maximalwert als Anschlag. &lt;/p>
&lt;p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-weight:600;">Servo Refresh-Rate:&lt;/span> Ansteuergeschwindigkeit. Einige Servos können nicht mit schnellen Werten angesteuert werden &lt;/p>&lt;/body>&lt;/html></string>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="Tab_P7" >
<attribute name="title" >
<string>Sonstiges </string>
</attribute>
<layout class="QGridLayout" name="gridLayout_22" >
<item row="0" column="0" >
<widget class="QFrame" name="frame_8" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Preferred" hsizetype="Expanding" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="frameShape" >
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow" >
<enum>QFrame::Raised</enum>
</property>
<layout class="QGridLayout" name="gridLayout_23" >
<item row="0" column="0" >
<widget class="QLabel" name="label_68" >
<property name="font" >
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>Min. Gas:</string>
</property>
</widget>
</item>
<item row="0" column="1" >
<widget class="QSpinBox" name="sb_7_1" >
<property name="maximum" >
<number>250</number>
</property>
</widget>
</item>
<item row="0" column="2" >
<widget class="QLabel" name="label_67" >
<property name="text" >
<string>[0..250]</string>
</property>
</widget>
</item>
<item row="1" column="0" >
<widget class="QLabel" name="label_65" >
<property name="font" >
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>Max. Gas:</string>
</property>
</widget>
</item>
<item row="1" column="1" >
<widget class="QSpinBox" name="sb_7_2" >
<property name="maximum" >
<number>250</number>
</property>
</widget>
</item>
<item row="1" column="2" >
<widget class="QLabel" name="label_64" >
<property name="text" >
<string>[0..250]</string>
</property>
</widget>
</item>
<item row="3" column="0" >
<widget class="QLabel" name="label_66" >
<property name="font" >
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>Kompass-Wirkung:</string>
</property>
</widget>
</item>
<item row="3" column="1" >
<widget class="QComboBox" name="cb_7_3" >
<property name="editable" >
<bool>true</bool>
</property>
<item>
<property name="text" >
<string>Poti 1</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 2</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 3</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 4</string>
</property>
</item>
<item>
<property name="text" >
<string>0</string>
</property>
</item>
</widget>
</item>
<item row="3" column="2" >
<widget class="QLabel" name="label_60" >
<property name="text" >
<string>[0..250]</string>
</property>
</widget>
</item>
<item row="4" column="1" >
<spacer name="verticalSpacer_7" >
<property name="orientation" >
<enum>Qt::Vertical</enum>
</property>
<property name="sizeType" >
<enum>QSizePolicy::Fixed</enum>
</property>
<property name="sizeHint" stdset="0" >
<size>
<width>20</width>
<height>10</height>
</size>
</property>
</spacer>
</item>
<item row="5" column="0" >
<widget class="QLabel" name="label_70" >
<property name="font" >
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>Unterspannung [0.1V]:</string>
</property>
</widget>
</item>
<item row="5" column="1" >
<widget class="QSpinBox" name="sb_7_4" >
<property name="maximum" >
<number>250</number>
</property>
</widget>
</item>
<item row="5" column="2" >
<widget class="QLabel" name="label_69" >
<property name="text" >
<string>[0..250]</string>
</property>
</widget>
</item>
<item row="7" column="0" colspan="3" >
<widget class="QLabel" name="label_75" >
<property name="text" >
<string>Bei Empfangsverlust:</string>
</property>
</widget>
</item>
<item row="8" column="0" >
<widget class="QLabel" name="label_72" >
<property name="font" >
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>Not-Gas Zeit [0.1s]:</string>
</property>
</widget>
</item>
<item row="8" column="1" >
<widget class="QSpinBox" name="sb_7_5" >
<property name="maximum" >
<number>250</number>
</property>
</widget>
</item>
<item row="8" column="2" >
<widget class="QLabel" name="label_71" >
<property name="text" >
<string>[0..250]</string>
</property>
</widget>
</item>
<item row="9" column="0" >
<widget class="QLabel" name="label_74" >
<property name="font" >
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>Not-Gas:</string>
</property>
</widget>
</item>
<item row="9" column="1" >
<widget class="QSpinBox" name="sb_7_6" >
<property name="maximum" >
<number>250</number>
</property>
</widget>
</item>
<item row="9" column="2" >
<widget class="QLabel" name="label_73" >
<property name="text" >
<string>[0..250]</string>
</property>
</widget>
</item>
<item row="2" column="1" >
<spacer name="verticalSpacer_9" >
<property name="orientation" >
<enum>Qt::Vertical</enum>
</property>
<property name="sizeType" >
<enum>QSizePolicy::Fixed</enum>
</property>
<property name="sizeHint" stdset="0" >
<size>
<width>61</width>
<height>10</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</item>
<item row="0" column="1" >
<widget class="QTextEdit" name="te_Help_7" >
<property name="minimumSize" >
<size>
<width>200</width>
<height>0</height>
</size>
</property>
<property name="maximumSize" >
<size>
<width>200</width>
<height>16777215</height>
</size>
</property>
<property name="readOnly" >
<bool>true</bool>
</property>
<property name="html" >
<string>&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;style type="text/css">
p, li { white-space: pre-wrap; }
&lt;/style>&lt;/head>&lt;body style=" font-family:'Sans Serif'; font-size:11pt; font-weight:400; font-style:normal;">
&lt;p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Bei Empfangsverlust: Geht der Funkempfang verloren (außer Reichweite oder Sender aus), tritt die Not-Gas-Regelung in Kraft um dem Piloten Zeit für Gegenmaßnahmen zu geben. Die gesamte Not-Gas-Regelung wird allerdings erst aktiv, wenn ein Gas-Wert von 40 für mindestens 4 Sekunden überschritten war (d.h. der Kopter wahrscheinlich fliegt)! &lt;/p>
&lt;p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:1; text-indent:1px;">&lt;span style=" font-weight:600;">Min.Gas &lt;/span>Minimaler Gaswert, der an die Motoren geht &lt;/p>
&lt;p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:1; text-indent:1px;">&lt;span style=" font-weight:600;">Max.Gas &lt;/span>Maximaler Gaswert, der an die Motoren geht. &lt;/p>
&lt;p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:1; text-indent:1px;">&lt;span style=" font-weight:600;">Kompasswirkung &lt;/span>:Ist ein Kompass angeschlossen, kann hiermit der Einfluss auf Gier eingestellt werden &lt;/p>
&lt;p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:1; text-indent:1px;">&lt;span style=" font-weight:600;">Unterspannung &lt;/span>Schwellwert in 0,1V zum Melden der Akku-Unterspannung &lt;/p>
&lt;p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:1; text-indent:1px;">&lt;span style=" font-weight:600;">Not-Gas Zeit [0.1s]:&lt;/span> Hier wird die Zeit in Zehntelsekunden eingetragen, für die das Not-Gas nach Empfangsverlust aktiv wird. &lt;/p>
&lt;p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:1; text-indent:1px;">&lt;span style=" font-weight:600;">Not-Gas:&lt;/span> Wert für das Not-Gas. &lt;/p>&lt;/body>&lt;/html></string>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="Tab_P8" >
<attribute name="title" >
<string>Kopplung </string>
</attribute>
<layout class="QGridLayout" name="gridLayout_24" >
<item row="0" column="0" >
<widget class="QFrame" name="frame_9" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Preferred" hsizetype="Expanding" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="frameShape" >
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow" >
<enum>QFrame::Raised</enum>
</property>
<layout class="QGridLayout" name="gridLayout_29" >
<item row="0" column="0" >
<layout class="QVBoxLayout" name="verticalLayout_3" >
<item>
<widget class="QLabel" name="label_77" >
<property name="font" >
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>Gier / yaw</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_80" >
<property name="font" >
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>pos. feedback</string>
</property>
</widget>
</item>
</layout>
</item>
<item row="0" column="1" >
<widget class="QComboBox" name="cb_8_1" >
<property name="editable" >
<bool>true</bool>
</property>
<item>
<property name="text" >
<string>Poti 1</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 2</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 3</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 4</string>
</property>
</item>
<item>
<property name="text" >
<string>0</string>
</property>
</item>
</widget>
</item>
<item row="0" column="2" >
<widget class="QLabel" name="label_76" >
<property name="text" >
<string>[0..250]</string>
</property>
</widget>
</item>
<item row="1" column="0" >
<layout class="QVBoxLayout" name="verticalLayout_2" >
<item>
<widget class="QLabel" name="label_79" >
<property name="font" >
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>Gier / yaw</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_81" >
<property name="font" >
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>neg. feedback</string>
</property>
</widget>
</item>
</layout>
</item>
<item row="1" column="1" >
<widget class="QComboBox" name="cb_8_2" >
<property name="editable" >
<bool>true</bool>
</property>
<item>
<property name="text" >
<string>Poti 1</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 2</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 3</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 4</string>
</property>
</item>
<item>
<property name="text" >
<string>0</string>
</property>
</item>
</widget>
</item>
<item row="1" column="2" >
<widget class="QLabel" name="label_78" >
<property name="text" >
<string>[0..250]</string>
</property>
</widget>
</item>
<item row="2" column="1" >
<spacer name="verticalSpacer_11" >
<property name="orientation" >
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0" >
<size>
<width>20</width>
<height>156</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</item>
<item row="0" column="1" >
<widget class="QTextEdit" name="te_Help_8" >
<property name="minimumSize" >
<size>
<width>200</width>
<height>0</height>
</size>
</property>
<property name="maximumSize" >
<size>
<width>200</width>
<height>16777215</height>
</size>
</property>
<property name="readOnly" >
<bool>true</bool>
</property>
<property name="html" >
<string>&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;style type="text/css">
p, li { white-space: pre-wrap; }
&lt;/style>&lt;/head>&lt;body style=" font-family:'Sans Serif'; font-size:11pt; font-weight:400; font-style:normal;">
&lt;p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-weight:600; text-decoration: underline;">Achskopplung&lt;/span>&lt;/p>
&lt;p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Eine Gierbewegung verkoppelt jetzt Nick und Roll. Das bedeutet, dass der MK jetzt eine Kurve fliegt, wenn man z.B. nickt und gleichzeitig giert. Es verhindert, dass dem MK nach Kurven schwindelig wird &lt;/p>
&lt;p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:1; text-indent:1px;">&lt;span style=" font-weight:600;">Gier/yaw pos. feedback &lt;/span>: Der Grad der Achsenkopplung. Ist der Wert zu klein, hängt der MK bei (und nach) einer Linkskurve nach rechts &lt;/p>
&lt;p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:1; text-indent:1px;">&lt;span style=" font-weight:600;">Gier/yaw neg. feedback&lt;/span>: Gegenkopplung der Achsenkopplung. Nimmt die Nase in der Kurve hoch. Ist der Wert zu gross, hängt der MK nach einer Kurve (z.B. Vorwärts links) nach hinten &lt;/p>&lt;/body>&lt;/html></string>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="Tab_P9" >
<attribute name="title" >
<string>Looping </string>
</attribute>
<layout class="QGridLayout" name="gridLayout_25" >
<item row="0" column="0" >
<widget class="QFrame" name="frame_10" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Preferred" hsizetype="Expanding" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="frameShape" >
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow" >
<enum>QFrame::Raised</enum>
</property>
<layout class="QGridLayout" name="gridLayout_31" >
<item row="0" column="0" colspan="4" >
<layout class="QVBoxLayout" name="verticalLayout_5" >
<property name="spacing" >
<number>0</number>
</property>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_8" >
<item>
<spacer name="horizontalSpacer_6" >
<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>
<widget class="QLabel" name="label_104" >
<property name="text" >
<string>loop, while stick up</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_7" >
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0" >
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_6" >
<item>
<layout class="QHBoxLayout" name="horizontalLayout_5" >
<item>
<spacer name="horizontalSpacer_2" >
<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>
<widget class="QLabel" name="label_105" >
<property name="text" >
<string>Loop, while&lt;br> stick left</string>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="tb_9_8" >
<property name="text" >
<string>0</string>
</property>
<property name="icon" >
<iconset resource="../MKTool.qrc" >
<normaloff>:/Arrows/Images/32X32/arrow-left.png</normaloff>:/Arrows/Images/32X32/arrow-left.png</iconset>
</property>
<property name="iconSize" >
<size>
<width>32</width>
<height>32</height>
</size>
</property>
<property name="autoRaise" >
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout_4" >
<property name="spacing" >
<number>0</number>
</property>
<item>
<widget class="QToolButton" name="tb_9_6" >
<property name="text" >
<string>0</string>
</property>
<property name="icon" >
<iconset resource="../MKTool.qrc" >
<normaloff>:/Arrows/Images/32X32/arrow-up.png</normaloff>:/Arrows/Images/32X32/arrow-up.png</iconset>
</property>
<property name="iconSize" >
<size>
<width>32</width>
<height>32</height>
</size>
</property>
<property name="autoRaise" >
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="tb_9_7" >
<property name="text" >
<string>0</string>
</property>
<property name="icon" >
<iconset resource="../MKTool.qrc" >
<normaloff>:/Arrows/Images/32X32/arrow-down.png</normaloff>:/Arrows/Images/32X32/arrow-down.png</iconset>
</property>
<property name="iconSize" >
<size>
<width>32</width>
<height>32</height>
</size>
</property>
<property name="toolButtonStyle" >
<enum>Qt::ToolButtonIconOnly</enum>
</property>
<property name="autoRaise" >
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_4" >
<item>
<widget class="QToolButton" name="tb_9_9" >
<property name="text" >
<string>0</string>
</property>
<property name="icon" >
<iconset resource="../MKTool.qrc" >
<normaloff>:/Arrows/Images/32X32/arrow-right.png</normaloff>:/Arrows/Images/32X32/arrow-right.png</iconset>
</property>
<property name="iconSize" >
<size>
<width>32</width>
<height>32</height>
</size>
</property>
<property name="checked" >
<bool>false</bool>
</property>
<property name="autoRaise" >
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_106" >
<property name="text" >
<string>&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;style type="text/css">
p, li { white-space: pre-wrap; }
&lt;/style>&lt;/head>&lt;body style=" font-family:'Sans Serif'; font-size:11pt; font-weight:400; font-style:normal;">
&lt;p align="right" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Loop, while&lt;br />stick right&lt;/p>&lt;/body>&lt;/html></string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_3" >
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0" >
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_7" >
<item>
<spacer name="horizontalSpacer_4" >
<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>
<widget class="QLabel" name="label_103" >
<property name="text" >
<string>Loop, while stick down</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_5" >
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0" >
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
</layout>
</item>
<item row="1" column="0" >
<widget class="QLabel" name="label_99" >
<property name="font" >
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>Gas limit:</string>
</property>
</widget>
</item>
<item row="1" column="1" >
<widget class="QComboBox" name="cb_9_1" >
<property name="editable" >
<bool>true</bool>
</property>
<item>
<property name="text" >
<string>Poti 1</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 2</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 3</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 4</string>
</property>
</item>
<item>
<property name="text" >
<string>0</string>
</property>
</item>
</widget>
</item>
<item row="2" column="0" >
<widget class="QLabel" name="label_98" >
<property name="font" >
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>Ansprechschwelle:</string>
</property>
</widget>
</item>
<item row="2" column="1" >
<widget class="QSpinBox" name="sb_9_2" >
<property name="maximum" >
<number>250</number>
</property>
</widget>
</item>
<item row="2" column="2" >
<widget class="QLabel" name="label_102" >
<property name="font" >
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>Hysterese:</string>
</property>
</widget>
</item>
<item row="2" column="3" >
<widget class="QSpinBox" name="sb_9_4" >
<property name="maximum" >
<number>250</number>
</property>
</widget>
</item>
<item row="3" column="0" >
<widget class="QLabel" name="label_100" >
<property name="font" >
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>Turn over Nick:</string>
</property>
</widget>
</item>
<item row="3" column="1" >
<widget class="QSpinBox" name="sb_9_3" >
<property name="maximum" >
<number>250</number>
</property>
</widget>
</item>
<item row="3" column="3" >
<widget class="QSpinBox" name="sb_9_5" >
<property name="maximum" >
<number>250</number>
</property>
</widget>
</item>
<item row="3" column="2" >
<widget class="QLabel" name="label_101" >
<property name="font" >
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>Turn over Roll:</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="0" column="1" >
<widget class="QTextEdit" name="te_Help_9" >
<property name="minimumSize" >
<size>
<width>20</width>
<height>0</height>
</size>
</property>
<property name="maximumSize" >
<size>
<width>200</width>
<height>16777215</height>
</size>
</property>
<property name="readOnly" >
<bool>true</bool>
</property>
<property name="html" >
<string>&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;style type="text/css">
p, li { white-space: pre-wrap; }
&lt;/style>&lt;/head>&lt;body style=" font-family:'Sans Serif'; font-size:11pt; font-weight:400; font-style:normal;">
&lt;p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-weight:600;">Pfeile:&lt;/span> Der Looping wird in diese entsprechende Richtung zugelassen. Dabei zeigt der Pfeil den entsprechenden Stickanschlag an &lt;/p>
&lt;p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-weight:600;">Gas Limit:&lt;/span> Auf diesen Wert wird das Gas während des Loopings begrenzt &lt;/p>
&lt;p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-weight:600;">Ansprechschwelle:&lt;/span> Ab diesen Stickwert wird aus der Lageregelung eine Drehratenregelung, um den Looping durchzuführen &lt;/p>
&lt;p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-weight:600;">Hysteresis:&lt;/span> Stick-Hysterese für die Ansprechschwelle. In der Regel immer niedriger, als die Ansprechschwelle &lt;/p>
&lt;p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-weight:600;">TurnOver Nick: &lt;/span>100 bedeutet 100% einer 360° Drehung. Wenn nach dem Looping der MK zu weit dreht, muss der Wert verringert werden. Dreht er nicht weit genug, muss der Wert vergrößert werden. Also entspricht 1 einem Winkel von 3,6° &lt;/p>
&lt;p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-weight:600;">TurnOver Roll:&lt;/span> analog &lt;span style=" font-weight:600;">TurnOver Nick&lt;/span> &lt;/p>
&lt;p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-weight:600;">Wichtig:&lt;/span> Ansprechschwelle - Hysteresis sollte etwa bei 20-40 liegen, da sonst der Kopter beim verlassen der Loopingfunktion versucht, sehr schnell die Schräglage, die man mit dem Stick vorgibt, einzunehmen. Dies kann gerade bei sehr flotten Settings dazu führen, das der Kopter bei der Drehung "springt" und einige Gerade der Winkelbewegung nicht mitbekommt, was dazu führt, das sich der Kopter sehr schräg steht. &lt;/p>&lt;/body>&lt;/html></string>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="Tab_P10" >
<attribute name="title" >
<string>User </string>
</attribute>
<layout class="QGridLayout" name="gridLayout_26" >
<item row="0" column="1" >
<widget class="QTextEdit" name="te_Help_10" >
<property name="minimumSize" >
<size>
<width>200</width>
<height>0</height>
</size>
</property>
<property name="maximumSize" >
<size>
<width>200</width>
<height>16777215</height>
</size>
</property>
<property name="readOnly" >
<bool>true</bool>
</property>
<property name="html" >
<string>&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;style type="text/css">
p, li { white-space: pre-wrap; }
&lt;/style>&lt;/head>&lt;body style=" font-family:'Sans Serif'; font-size:11pt; font-weight:400; font-style:normal;">
&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-weight:600; text-decoration: underline;">Frei definierbare Parameter für eigene Erweiterungen im Quellcode. &lt;/span>&lt;/p>
&lt;p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Die Werte sind für Softwareentwickler zur freien Verfügung &lt;/p>&lt;/body>&lt;/html></string>
</property>
</widget>
</item>
<item row="0" column="0" >
<widget class="QFrame" name="frame_11" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Preferred" hsizetype="Expanding" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="frameShape" >
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow" >
<enum>QFrame::Raised</enum>
</property>
<layout class="QGridLayout" name="gridLayout_14" >
<item row="0" column="0" >
<widget class="QLabel" name="label_83" >
<property name="font" >
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>Parameter 1:</string>
</property>
</widget>
</item>
<item row="0" column="1" >
<widget class="QComboBox" name="cb_10_1" >
<property name="editable" >
<bool>true</bool>
</property>
<item>
<property name="text" >
<string>Poti 1</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 2</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 3</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 4</string>
</property>
</item>
<item>
<property name="text" >
<string>0</string>
</property>
</item>
</widget>
</item>
<item row="0" column="2" >
<widget class="QLabel" name="label_82" >
<property name="text" >
<string>[0..250]</string>
</property>
</widget>
</item>
<item row="1" column="0" >
<widget class="QLabel" name="label_85" >
<property name="font" >
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>Parameter 2:</string>
</property>
</widget>
</item>
<item row="1" column="1" >
<widget class="QComboBox" name="cb_10_2" >
<property name="editable" >
<bool>true</bool>
</property>
<item>
<property name="text" >
<string>Poti 1</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 2</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 3</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 4</string>
</property>
</item>
<item>
<property name="text" >
<string>0</string>
</property>
</item>
</widget>
</item>
<item row="1" column="2" >
<widget class="QLabel" name="label_84" >
<property name="text" >
<string>[0..250]</string>
</property>
</widget>
</item>
<item row="2" column="0" >
<widget class="QLabel" name="label_87" >
<property name="font" >
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>Parameter 3:</string>
</property>
</widget>
</item>
<item row="2" column="1" >
<widget class="QComboBox" name="cb_10_3" >
<property name="editable" >
<bool>true</bool>
</property>
<item>
<property name="text" >
<string>Poti 1</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 2</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 3</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 4</string>
</property>
</item>
<item>
<property name="text" >
<string>0</string>
</property>
</item>
</widget>
</item>
<item row="2" column="2" >
<widget class="QLabel" name="label_86" >
<property name="text" >
<string>[0..250]</string>
</property>
</widget>
</item>
<item row="3" column="0" >
<widget class="QLabel" name="label_89" >
<property name="font" >
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>Parameter 4:</string>
</property>
</widget>
</item>
<item row="3" column="1" >
<widget class="QComboBox" name="cb_10_4" >
<property name="editable" >
<bool>true</bool>
</property>
<item>
<property name="text" >
<string>Poti 1</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 2</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 3</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 4</string>
</property>
</item>
<item>
<property name="text" >
<string>0</string>
</property>
</item>
</widget>
</item>
<item row="3" column="2" >
<widget class="QLabel" name="label_88" >
<property name="text" >
<string>[0..250]</string>
</property>
</widget>
</item>
<item row="4" column="0" >
<widget class="QLabel" name="label_91" >
<property name="font" >
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>Parameter 5:</string>
</property>
</widget>
</item>
<item row="4" column="1" >
<widget class="QComboBox" name="cb_10_5" >
<property name="editable" >
<bool>true</bool>
</property>
<item>
<property name="text" >
<string>Poti 1</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 2</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 3</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 4</string>
</property>
</item>
<item>
<property name="text" >
<string>0</string>
</property>
</item>
</widget>
</item>
<item row="4" column="2" >
<widget class="QLabel" name="label_90" >
<property name="text" >
<string>[0..250]</string>
</property>
</widget>
</item>
<item row="5" column="0" >
<widget class="QLabel" name="label_93" >
<property name="font" >
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>Parameter 6:</string>
</property>
</widget>
</item>
<item row="5" column="1" >
<widget class="QComboBox" name="cb_10_6" >
<property name="editable" >
<bool>true</bool>
</property>
<item>
<property name="text" >
<string>Poti 1</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 2</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 3</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 4</string>
</property>
</item>
<item>
<property name="text" >
<string>0</string>
</property>
</item>
</widget>
</item>
<item row="5" column="2" >
<widget class="QLabel" name="label_92" >
<property name="text" >
<string>[0..250]</string>
</property>
</widget>
</item>
<item row="6" column="0" >
<widget class="QLabel" name="label_95" >
<property name="font" >
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>Parameter 7:</string>
</property>
</widget>
</item>
<item row="6" column="1" >
<widget class="QComboBox" name="cb_10_7" >
<property name="editable" >
<bool>true</bool>
</property>
<item>
<property name="text" >
<string>Poti 1</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 2</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 3</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 4</string>
</property>
</item>
<item>
<property name="text" >
<string>0</string>
</property>
</item>
</widget>
</item>
<item row="6" column="2" >
<widget class="QLabel" name="label_94" >
<property name="text" >
<string>[0..250]</string>
</property>
</widget>
</item>
<item row="7" column="0" >
<widget class="QLabel" name="label_97" >
<property name="font" >
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>Parameter 8:</string>
</property>
</widget>
</item>
<item row="7" column="1" >
<widget class="QComboBox" name="cb_10_8" >
<property name="editable" >
<bool>true</bool>
</property>
<item>
<property name="text" >
<string>Poti 1</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 2</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 3</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 4</string>
</property>
</item>
<item>
<property name="text" >
<string>0</string>
</property>
</item>
</widget>
</item>
<item row="7" column="2" >
<widget class="QLabel" name="label_96" >
<property name="text" >
<string>[0..250]</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="Tab_P11" >
<attribute name="title" >
<string>Output </string>
</attribute>
<layout class="QGridLayout" name="gridLayout_27" >
<item row="0" column="2" >
<widget class="QTextEdit" name="te_Help_11" >
<property name="minimumSize" >
<size>
<width>200</width>
<height>0</height>
</size>
</property>
<property name="maximumSize" >
<size>
<width>200</width>
<height>16777215</height>
</size>
</property>
<property name="readOnly" >
<bool>true</bool>
</property>
<property name="html" >
<string>&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;style type="text/css">
p, li { white-space: pre-wrap; }
&lt;/style>&lt;/head>&lt;body style=" font-family:'Sans Serif'; font-size:11pt; font-weight:400; font-style:normal;">
&lt;p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-weight:600; text-decoration: underline;">Einstellungen für die Ausgänge J16 und J17.&lt;/span>&lt;/p>
&lt;p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-weight:600;">Blinkmuster&lt;/span>&lt;br />Man kann ein Blinkmuster (von links nach rechts) und das Timing dafür im Koptertool einstellen. Automatisches Schalten von 10ms bis 20sek ist damit möglich&lt;/p>
&lt;p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-weight:600;">Schaltfunktion&lt;/span>&lt;br />Wenn man als Timing einen Schalter auf der Funke belegt, kann man auch den Ausgang damit schalten. Dann nimmt der Ausgang den Pegel des obersten Bits (in der Darstellung links) an. Wenn damit etwas geschaltet werden soll (z.B. Kameraauslöser usw.), ist es besser, kein Blinkmuster einzugeben, sondern dann alle Bits entweder ein- oder auszuschalten. Ansonsten könnte das Blinkmuster während des Umschaltens einmal kurz durchlaufen.&lt;/p>&lt;/body>&lt;/html></string>
</property>
</widget>
</item>
<item row="0" column="1" >
<widget class="QFrame" name="frame_12" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Preferred" hsizetype="Expanding" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="frameShape" >
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow" >
<enum>QFrame::Raised</enum>
</property>
<layout class="QGridLayout" name="gridLayout_32" >
<item row="1" column="0" >
<spacer name="horizontalSpacer_8" >
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0" >
<size>
<width>121</width>
<height>23</height>
</size>
</property>
</spacer>
</item>
<item row="1" column="1" colspan="3" >
<layout class="QHBoxLayout" name="horizontalLayout_9" >
<property name="spacing" >
<number>2</number>
</property>
<item>
<widget class="QToolButton" name="J16_0" >
<property name="toolTip" >
<string>128</string>
</property>
<property name="text" >
<string>0</string>
</property>
<property name="icon" >
<iconset resource="../MKTool.qrc" >
<normaloff>:/LED/Images/16X16/ledoff.png</normaloff>:/LED/Images/16X16/ledoff.png</iconset>
</property>
<property name="autoRaise" >
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="J16_1" >
<property name="toolTip" >
<string>64</string>
</property>
<property name="text" >
<string>0</string>
</property>
<property name="icon" >
<iconset resource="../MKTool.qrc" >
<normaloff>:/LED/Images/16X16/ledoff.png</normaloff>:/LED/Images/16X16/ledoff.png</iconset>
</property>
<property name="autoRaise" >
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="J16_2" >
<property name="toolTip" >
<string>32</string>
</property>
<property name="text" >
<string>0</string>
</property>
<property name="icon" >
<iconset resource="../MKTool.qrc" >
<normaloff>:/LED/Images/16X16/ledoff.png</normaloff>:/LED/Images/16X16/ledoff.png</iconset>
</property>
<property name="autoRaise" >
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="J16_3" >
<property name="toolTip" >
<string>16</string>
</property>
<property name="text" >
<string>0</string>
</property>
<property name="icon" >
<iconset resource="../MKTool.qrc" >
<normaloff>:/LED/Images/16X16/ledoff.png</normaloff>:/LED/Images/16X16/ledoff.png</iconset>
</property>
<property name="autoRaise" >
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="J16_4" >
<property name="toolTip" >
<string>8</string>
</property>
<property name="text" >
<string>0</string>
</property>
<property name="icon" >
<iconset resource="../MKTool.qrc" >
<normaloff>:/LED/Images/16X16/ledoff.png</normaloff>:/LED/Images/16X16/ledoff.png</iconset>
</property>
<property name="autoRaise" >
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="J16_5" >
<property name="toolTip" >
<string>4</string>
</property>
<property name="text" >
<string>0</string>
</property>
<property name="icon" >
<iconset resource="../MKTool.qrc" >
<normaloff>:/LED/Images/16X16/ledoff.png</normaloff>:/LED/Images/16X16/ledoff.png</iconset>
</property>
<property name="autoRaise" >
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="J16_6" >
<property name="toolTip" >
<string>2</string>
</property>
<property name="text" >
<string>0</string>
</property>
<property name="icon" >
<iconset resource="../MKTool.qrc" >
<normaloff>:/LED/Images/16X16/ledoff.png</normaloff>:/LED/Images/16X16/ledoff.png</iconset>
</property>
<property name="autoRaise" >
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="J16_7" >
<property name="toolTip" >
<string>1</string>
</property>
<property name="text" >
<string>0</string>
</property>
<property name="icon" >
<iconset resource="../MKTool.qrc" >
<normaloff>:/LED/Images/16X16/ledoff.png</normaloff>:/LED/Images/16X16/ledoff.png</iconset>
</property>
<property name="autoRaise" >
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</item>
<item row="1" column="4" >
<spacer name="horizontalSpacer_9" >
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0" >
<size>
<width>108</width>
<height>23</height>
</size>
</property>
</spacer>
</item>
<item row="4" column="0" >
<widget class="QLabel" name="label_109" >
<property name="font" >
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>Bitmaske:</string>
</property>
</widget>
</item>
<item row="4" column="1" colspan="2" >
<widget class="QSpinBox" name="sb_11_1" >
<property name="maximum" >
<number>255</number>
</property>
</widget>
</item>
<item row="4" column="3" colspan="2" >
<widget class="QLabel" name="label_108" >
<property name="text" >
<string>[0..255]</string>
</property>
</widget>
</item>
<item row="5" column="0" >
<widget class="QLabel" name="label_107" >
<property name="font" >
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>Timing:</string>
</property>
</widget>
</item>
<item row="5" column="1" colspan="2" >
<widget class="QComboBox" name="cb_11_2" >
<property name="editable" >
<bool>true</bool>
</property>
<item>
<property name="text" >
<string>Poti 1</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 2</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 3</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 4</string>
</property>
</item>
<item>
<property name="text" >
<string>0</string>
</property>
</item>
</widget>
</item>
<item row="5" column="3" colspan="2" >
<widget class="QLabel" name="label_110" >
<property name="text" >
<string>[x 10ms]</string>
</property>
</widget>
</item>
<item row="7" column="0" >
<spacer name="horizontalSpacer_10" >
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0" >
<size>
<width>121</width>
<height>23</height>
</size>
</property>
</spacer>
</item>
<item row="7" column="1" colspan="3" >
<layout class="QHBoxLayout" name="horizontalLayout_10" >
<property name="spacing" >
<number>2</number>
</property>
<item>
<widget class="QToolButton" name="J17_0" >
<property name="toolTip" >
<string>128</string>
</property>
<property name="text" >
<string>00</string>
</property>
<property name="icon" >
<iconset resource="../MKTool.qrc" >
<normaloff>:/LED/Images/16X16/ledoff.png</normaloff>:/LED/Images/16X16/ledoff.png</iconset>
</property>
<property name="autoRaise" >
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="J17_1" >
<property name="toolTip" >
<string>64</string>
</property>
<property name="text" >
<string>00</string>
</property>
<property name="icon" >
<iconset resource="../MKTool.qrc" >
<normaloff>:/LED/Images/16X16/ledoff.png</normaloff>:/LED/Images/16X16/ledoff.png</iconset>
</property>
<property name="autoRaise" >
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="J17_2" >
<property name="toolTip" >
<string>32</string>
</property>
<property name="text" >
<string>00</string>
</property>
<property name="icon" >
<iconset resource="../MKTool.qrc" >
<normaloff>:/LED/Images/16X16/ledoff.png</normaloff>:/LED/Images/16X16/ledoff.png</iconset>
</property>
<property name="autoRaise" >
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="J17_3" >
<property name="toolTip" >
<string>16</string>
</property>
<property name="text" >
<string>00</string>
</property>
<property name="icon" >
<iconset resource="../MKTool.qrc" >
<normaloff>:/LED/Images/16X16/ledoff.png</normaloff>:/LED/Images/16X16/ledoff.png</iconset>
</property>
<property name="autoRaise" >
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="J17_4" >
<property name="toolTip" >
<string>8</string>
</property>
<property name="text" >
<string>00</string>
</property>
<property name="icon" >
<iconset resource="../MKTool.qrc" >
<normaloff>:/LED/Images/16X16/ledoff.png</normaloff>:/LED/Images/16X16/ledoff.png</iconset>
</property>
<property name="autoRaise" >
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="J17_5" >
<property name="toolTip" >
<string>4</string>
</property>
<property name="text" >
<string>00</string>
</property>
<property name="icon" >
<iconset resource="../MKTool.qrc" >
<normaloff>:/LED/Images/16X16/ledoff.png</normaloff>:/LED/Images/16X16/ledoff.png</iconset>
</property>
<property name="autoRaise" >
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="J17_6" >
<property name="toolTip" >
<string>2</string>
</property>
<property name="text" >
<string>00</string>
</property>
<property name="icon" >
<iconset resource="../MKTool.qrc" >
<normaloff>:/LED/Images/16X16/ledoff.png</normaloff>:/LED/Images/16X16/ledoff.png</iconset>
</property>
<property name="autoRaise" >
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="J17_7" >
<property name="toolTip" >
<string>1</string>
</property>
<property name="text" >
<string>00</string>
</property>
<property name="icon" >
<iconset resource="../MKTool.qrc" >
<normaloff>:/LED/Images/16X16/ledoff.png</normaloff>:/LED/Images/16X16/ledoff.png</iconset>
</property>
<property name="autoRaise" >
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</item>
<item row="7" column="4" >
<spacer name="horizontalSpacer_11" >
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0" >
<size>
<width>108</width>
<height>23</height>
</size>
</property>
</spacer>
</item>
<item row="8" column="0" >
<widget class="QLabel" name="label_111" >
<property name="font" >
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>Bitmaske:</string>
</property>
</widget>
</item>
<item row="8" column="1" colspan="2" >
<widget class="QSpinBox" name="sb_11_3" >
<property name="maximum" >
<number>255</number>
</property>
</widget>
</item>
<item row="8" column="3" colspan="2" >
<widget class="QLabel" name="label_114" >
<property name="text" >
<string>[0..255]</string>
</property>
</widget>
</item>
<item row="9" column="0" >
<widget class="QLabel" name="label_112" >
<property name="font" >
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>Timing:</string>
</property>
</widget>
</item>
<item row="9" column="1" colspan="2" >
<widget class="QComboBox" name="cb_11_4" >
<property name="editable" >
<bool>true</bool>
</property>
<item>
<property name="text" >
<string>Poti 1</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 2</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 3</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 4</string>
</property>
</item>
<item>
<property name="text" >
<string>0</string>
</property>
</item>
</widget>
</item>
<item row="9" column="3" colspan="2" >
<widget class="QLabel" name="label_113" >
<property name="text" >
<string>[x 10ms]</string>
</property>
</widget>
</item>
<item row="10" column="3" >
<spacer name="verticalSpacer_12" >
<property name="orientation" >
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0" >
<size>
<width>57</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="6" column="1" >
<widget class="QLabel" name="label_115" >
<property name="font" >
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>Ausgang J17</string>
</property>
</widget>
</item>
<item row="0" column="1" >
<widget class="QLabel" name="label_116" >
<property name="font" >
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>Ausgang J16</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="Tab_P12" >
<attribute name="title" >
<string>Navi-Ctrl </string>
</attribute>
<layout class="QGridLayout" name="gridLayout_28" >
<item row="0" column="0" >
<widget class="QFrame" name="frame_13" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Preferred" hsizetype="Expanding" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="frameShape" >
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow" >
<enum>QFrame::Raised</enum>
</property>
<layout class="QGridLayout" name="gridLayout_33" >
<item row="0" column="0" >
<widget class="QLabel" name="label_120" >
<property name="font" >
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>GPS Mode Control:</string>
</property>
</widget>
</item>
<item row="0" column="1" >
<widget class="QComboBox" name="cb_12_1" >
<property name="editable" >
<bool>true</bool>
</property>
<item>
<property name="text" >
<string>Poti 1</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 2</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 3</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 4</string>
</property>
</item>
<item>
<property name="text" >
<string>0</string>
</property>
</item>
</widget>
</item>
<item row="0" column="2" >
<widget class="QLabel" name="label_117" >
<property name="text" >
<string/>
</property>
</widget>
</item>
<item row="1" column="0" >
<widget class="QLabel" name="label_123" >
<property name="font" >
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>GPS Gain:</string>
</property>
</widget>
</item>
<item row="1" column="1" >
<widget class="QComboBox" name="cb_12_2" >
<property name="editable" >
<bool>true</bool>
</property>
<item>
<property name="text" >
<string>Poti 1</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 2</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 3</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 4</string>
</property>
</item>
<item>
<property name="text" >
<string>0</string>
</property>
</item>
</widget>
</item>
<item row="1" column="2" >
<widget class="QLabel" name="label_124" >
<property name="text" >
<string>[%]</string>
</property>
</widget>
</item>
<item row="2" column="0" >
<widget class="QLabel" name="label_119" >
<property name="font" >
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>GPS Stick Threshold:</string>
</property>
</widget>
</item>
<item row="2" column="1" >
<widget class="QSpinBox" name="sb_12_3" >
<property name="maximum" >
<number>250</number>
</property>
</widget>
</item>
<item row="2" column="2" >
<widget class="QLabel" name="label_118" >
<property name="text" >
<string/>
</property>
</widget>
</item>
<item row="3" column="0" >
<widget class="QLabel" name="label_122" >
<property name="font" >
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>Min. Sat.</string>
</property>
</widget>
</item>
<item row="3" column="1" >
<widget class="QSpinBox" name="sb_12_4" >
<property name="maximum" >
<number>250</number>
</property>
</widget>
</item>
<item row="3" column="2" >
<widget class="QLabel" name="label_121" >
<property name="text" >
<string/>
</property>
</widget>
</item>
<item row="4" column="0" >
<widget class="QLabel" name="label_125" >
<property name="font" >
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>GPS P:</string>
</property>
</widget>
</item>
<item row="4" column="1" >
<widget class="QComboBox" name="cb_12_5" >
<property name="editable" >
<bool>true</bool>
</property>
<item>
<property name="text" >
<string>Poti 1</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 2</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 3</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 4</string>
</property>
</item>
<item>
<property name="text" >
<string>0</string>
</property>
</item>
</widget>
</item>
<item row="4" column="2" >
<widget class="QLabel" name="label_126" >
<property name="text" >
<string/>
</property>
</widget>
</item>
<item row="5" column="0" >
<widget class="QLabel" name="label_127" >
<property name="font" >
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>GPS I:</string>
</property>
</widget>
</item>
<item row="5" column="1" >
<widget class="QComboBox" name="cb_12_6" >
<property name="editable" >
<bool>true</bool>
</property>
<item>
<property name="text" >
<string>Poti 1</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 2</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 3</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 4</string>
</property>
</item>
<item>
<property name="text" >
<string>0</string>
</property>
</item>
</widget>
</item>
<item row="5" column="2" >
<widget class="QLabel" name="label_128" >
<property name="text" >
<string/>
</property>
</widget>
</item>
<item row="6" column="0" >
<widget class="QLabel" name="label_129" >
<property name="font" >
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>GPS D:</string>
</property>
</widget>
</item>
<item row="6" column="1" >
<widget class="QComboBox" name="cb_12_7" >
<property name="editable" >
<bool>true</bool>
</property>
<item>
<property name="text" >
<string>Poti 1</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 2</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 3</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 4</string>
</property>
</item>
<item>
<property name="text" >
<string>0</string>
</property>
</item>
</widget>
</item>
<item row="6" column="2" >
<widget class="QLabel" name="label_130" >
<property name="text" >
<string/>
</property>
</widget>
</item>
<item row="7" column="0" >
<widget class="QLabel" name="label_131" >
<property name="font" >
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>GPS ACC:</string>
</property>
</widget>
</item>
<item row="7" column="1" >
<widget class="QComboBox" name="cb_12_8" >
<property name="editable" >
<bool>true</bool>
</property>
<item>
<property name="text" >
<string>Poti 1</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 2</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 3</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 4</string>
</property>
</item>
<item>
<property name="text" >
<string>0</string>
</property>
</item>
</widget>
</item>
<item row="7" column="2" >
<widget class="QLabel" name="label_132" >
<property name="text" >
<string/>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="0" column="1" >
<widget class="QTextEdit" name="te_Help_12" >
<property name="minimumSize" >
<size>
<width>200</width>
<height>0</height>
</size>
</property>
<property name="maximumSize" >
<size>
<width>200</width>
<height>16777215</height>
</size>
</property>
<property name="readOnly" >
<bool>true</bool>
</property>
<property name="html" >
<string>&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;style type="text/css">
p, li { white-space: pre-wrap; }
&lt;/style>&lt;/head>&lt;body style=" font-family:'Sans Serif'; font-size:11pt; font-weight:400; font-style:normal;">
&lt;p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-weight:600; text-decoration: underline;">Einstellungen für das Navi-Ctrl.&lt;/span>&lt;/p>
&lt;p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-weight:600;">GPS Mode Control:&lt;/span>&lt;/p>
&lt;p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">0 = AID, 100 = Free, 200 = Coming Home&lt;/p>
&lt;p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-weight:600;">GPS Stick Threshold:&lt;/span>&lt;/p>
&lt;p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">0 = Position Hold by Mode Control&lt;/p>&lt;/body>&lt;/html></string>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="Tab_P13" >
<attribute name="title" >
<string>Navi-Ctrl 2</string>
</attribute>
<layout class="QGridLayout" name="gridLayout_40" >
<item row="0" column="0" >
<widget class="QFrame" name="frame_19" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Preferred" hsizetype="Expanding" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="frameShape" >
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow" >
<enum>QFrame::Raised</enum>
</property>
<layout class="QGridLayout" name="gridLayout_39" >
<item row="0" column="0" >
<widget class="QLabel" name="label_134" >
<property name="font" >
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>GPS Wind Correction:</string>
</property>
</widget>
</item>
<item row="0" column="1" >
<widget class="QComboBox" name="cb_13_1" >
<property name="editable" >
<bool>true</bool>
</property>
<item>
<property name="text" >
<string>Poti 1</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 2</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 3</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 4</string>
</property>
</item>
<item>
<property name="text" >
<string>0</string>
</property>
</item>
</widget>
</item>
<item row="0" column="2" >
<widget class="QLabel" name="label_139" >
<property name="text" >
<string>[%]</string>
</property>
</widget>
</item>
<item row="1" column="0" >
<widget class="QLabel" name="label_140" >
<property name="font" >
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>Speed Compensation:</string>
</property>
</widget>
</item>
<item row="1" column="1" >
<widget class="QComboBox" name="cb_13_2" >
<property name="editable" >
<bool>true</bool>
</property>
<item>
<property name="text" >
<string>Poti 1</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 2</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 3</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 4</string>
</property>
</item>
<item>
<property name="text" >
<string>0</string>
</property>
</item>
</widget>
</item>
<item row="1" column="2" >
<widget class="QLabel" name="label_141" >
<property name="text" >
<string>[%]</string>
</property>
</widget>
</item>
<item row="2" column="0" >
<widget class="QLabel" name="label_148" >
<property name="font" >
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>GPS max Radius:</string>
</property>
</widget>
</item>
<item row="2" column="1" >
<widget class="QComboBox" name="cb_13_3" >
<property name="editable" >
<bool>true</bool>
</property>
<item>
<property name="text" >
<string>Poti 1</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 2</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 3</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 4</string>
</property>
</item>
<item>
<property name="text" >
<string>0</string>
</property>
</item>
</widget>
</item>
<item row="2" column="2" >
<widget class="QLabel" name="label_149" >
<property name="text" >
<string>[m]</string>
</property>
</widget>
</item>
<item row="3" column="1" >
<spacer name="verticalSpacer_15" >
<property name="orientation" >
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0" >
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</item>
<item row="0" column="1" >
<widget class="QTextEdit" name="te_Help_13" >
<property name="minimumSize" >
<size>
<width>200</width>
<height>0</height>
</size>
</property>
<property name="maximumSize" >
<size>
<width>200</width>
<height>16777215</height>
</size>
</property>
<property name="readOnly" >
<bool>true</bool>
</property>
<property name="html" >
<string>&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;style type="text/css">
p, li { white-space: pre-wrap; }
&lt;/style>&lt;/head>&lt;body style=" font-family:'Sans Serif'; font-size:11pt; font-weight:400; font-style:normal;">
&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-weight:600; text-decoration: underline;">Einstellungen für das Navi-Ctrl (Seite 2).&lt;/span>&lt;/p>
&lt;p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-weight:600; text-decoration: underline;">&lt;/p>
&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-weight:600;">Speed Compensation:&lt;/span>&lt;/p>
&lt;p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-weight:600; text-decoration: underline;">&lt;/p>
&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">only for AID mode.&lt;/p>&lt;/body>&lt;/html></string>
</property>
</widget>
</item>
</layout>
</widget>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="Tab_3" >
<attribute name="title" >
<string>Terminal </string>
</attribute>
<layout class="QGridLayout" name="gridLayout_2" >
<item row="0" column="0" colspan="3" >
<widget class="QTextEdit" name="te_RX" >
<property name="font" >
<font>
<family>Adobe Courier</family>
<pointsize>10</pointsize>
</font>
</property>
</widget>
</item>
<item row="1" column="0" >
<widget class="QCheckBox" name="cb_ShowData" >
<property name="text" >
<string>Datenpackete anzeigen</string>
</property>
</widget>
</item>
<item row="1" column="1" >
<widget class="QCheckBox" name="cb_ShowMSG" >
<property name="text" >
<string>Meldungen anzeigen</string>
</property>
<property name="checked" >
<bool>true</bool>
</property>
</widget>
</item>
<item row="1" column="2" >
<spacer name="horizontalSpacer_13" >
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0" >
<size>
<width>376</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
<widget class="QWidget" name="Tab_4" >
<property name="toolTip" >
<string>Motortest / LCD</string>
</property>
<attribute name="title" >
<string>Cockpit</string>
</attribute>
<layout class="QGridLayout" name="gridLayout_41" >
<item row="0" column="0" >
<layout class="QHBoxLayout" name="horizontalLayout_12" >
<item>
<widget class="QGroupBox" name="groupBox_2" >
<property name="title" >
<string>LCD</string>
</property>
<layout class="QGridLayout" name="gridLayout_38" >
<property name="spacing" >
<number>0</number>
</property>
<item row="0" column="0" colspan="2" >
<widget class="QLineEdit" name="le_LCD0" >
<property name="minimumSize" >
<size>
<width>200</width>
<height>0</height>
</size>
</property>
<property name="font" >
<font>
<family>Courier 10 Pitch</family>
<pointsize>12</pointsize>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string/>
</property>
<property name="alignment" >
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="1" column="0" colspan="2" >
<widget class="QLineEdit" name="le_LCD1" >
<property name="minimumSize" >
<size>
<width>200</width>
<height>0</height>
</size>
</property>
<property name="font" >
<font>
<family>Courier 10 Pitch</family>
<pointsize>12</pointsize>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string/>
</property>
<property name="alignment" >
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="2" column="0" colspan="2" >
<widget class="QLineEdit" name="le_LCD2" >
<property name="minimumSize" >
<size>
<width>200</width>
<height>0</height>
</size>
</property>
<property name="font" >
<font>
<family>Courier 10 Pitch</family>
<pointsize>12</pointsize>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string/>
</property>
<property name="alignment" >
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="3" column="0" colspan="2" >
<widget class="QLineEdit" name="le_LCD3" >
<property name="minimumSize" >
<size>
<width>200</width>
<height>0</height>
</size>
</property>
<property name="font" >
<font>
<family>Courier 10 Pitch</family>
<pointsize>12</pointsize>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string/>
</property>
<property name="alignment" >
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="4" column="0" >
<widget class="QPushButton" name="pb_LCDdown" >
<property name="text" >
<string/>
</property>
<property name="icon" >
<iconset resource="../MKTool.qrc" >
<normaloff>:/Arrows/Images/32X32/arrow-left.png</normaloff>:/Arrows/Images/32X32/arrow-left.png</iconset>
</property>
</widget>
</item>
<item row="4" column="1" >
<widget class="QPushButton" name="pb_LCDup" >
<property name="text" >
<string/>
</property>
<property name="icon" >
<iconset resource="../MKTool.qrc" >
<normaloff>:/Arrows/Images/32X32/arrow-right.png</normaloff>:/Arrows/Images/32X32/arrow-right.png</iconset>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</item>
<item row="0" column="1" >
<layout class="QVBoxLayout" name="verticalLayout_6" >
<item>
<widget class="QLabel" name="label_142" >
<property name="font" >
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>Flugrichtung</string>
</property>
<property name="alignment" >
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item>
<widget class="QwtCompass" name="Compass" >
<property name="minimumSize" >
<size>
<width>100</width>
<height>0</height>
</size>
</property>
<property name="lineWidth" >
<number>4</number>
</property>
</widget>
</item>
<item>
<spacer name="verticalSpacer_16" >
<property name="orientation" >
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0" >
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
<item row="0" column="2" >
<spacer name="horizontalSpacer_12" >
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0" >
<size>
<width>252</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="1" column="0" >
<spacer name="verticalSpacer_14" >
<property name="orientation" >
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0" >
<size>
<width>20</width>
<height>109</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
<widget class="QWidget" name="Tab_5" >
<property name="toolTip" >
<string>Firmeware Update</string>
</property>
<attribute name="title" >
<string>Firmeware Update </string>
</attribute>
<layout class="QGridLayout" name="gridLayout_37" >
<item row="0" column="0" >
<widget class="QTextEdit" name="te_Shell" >
<property name="font" >
<font>
<family>Adobe Courier</family>
<pointsize>10</pointsize>
</font>
</property>
</widget>
</item>
<item row="1" column="0" >
<layout class="QHBoxLayout" name="horizontalLayout_11" >
<item>
<widget class="QPushButton" name="pushButton" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text" >
<string>Firmeware-Datei auswählen</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="lineEdit" />
</item>
<item>
<widget class="QPushButton" name="pb_Update" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text" >
<string>Updaten</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
</widget>
</item>
</layout>
</widget>
<widget class="QMenuBar" name="menubar" >
<property name="geometry" >
<rect>
<x>0</x>
<y>0</y>
<width>770</width>
<height>25</height>
</rect>
</property>
<widget class="QMenu" name="menuProgramm" >
<property name="title" >
<string>&amp;Programm</string>
</property>
<addaction name="ac_ConnectTTY" />
<addaction name="separator" />
<addaction name="ac_Quit" />
</widget>
<widget class="QMenu" name="menuEinstellungen" >
<property name="title" >
<string>&amp;Einstellungen</string>
</property>
<widget class="QMenu" name="menuVerzeichnisse" >
<property name="title" >
<string>Verzeichnisse</string>
</property>
<addaction name="ac_LogDir" />
<addaction name="ac_ParameterDir" />
</widget>
<addaction name="ac_Config" />
<addaction name="acCfgAllgemein" />
<addaction name="separator" />
<addaction name="menuVerzeichnisse" />
</widget>
<widget class="QMenu" name="menu_Help" >
<property name="title" >
<string>Hilfe</string>
</property>
<addaction name="ac_About" />
</widget>
<widget class="QMenu" name="menuDaten" >
<property name="title" >
<string>&amp;Daten</string>
</property>
<addaction name="ac_RecordCSV" />
<addaction name="ac_StartPlotter" />
<addaction name="separator" />
<addaction name="ac_MehrDaten" />
<addaction name="ac_GetLabels" />
</widget>
<widget class="QMenu" name="menuAnsicht" >
<property name="title" >
<string>&amp;Ansicht</string>
</property>
<widget class="QMenu" name="menuBereiche" >
<property name="title" >
<string>Bereiche</string>
</property>
<addaction name="ac_View0" />
<addaction name="ac_View1" />
<addaction name="ac_View2" />
<addaction name="ac_View3" />
<addaction name="ac_View4" />
<addaction name="ac_View5" />
</widget>
<addaction name="menuBereiche" />
</widget>
<widget class="QMenu" name="menuWerkzeuge" >
<property name="title" >
<string>Werkzeuge</string>
</property>
<addaction name="ac_Motortest" />
</widget>
<addaction name="menuProgramm" />
<addaction name="menuAnsicht" />
<addaction name="menuDaten" />
<addaction name="menuEinstellungen" />
<addaction name="menuWerkzeuge" />
<addaction name="menu_Help" />
</widget>
<widget class="QToolBar" name="toolBar" >
<property name="windowTitle" >
<string>toolBar</string>
</property>
<property name="movable" >
<bool>false</bool>
</property>
<property name="iconSize" >
<size>
<width>22</width>
<height>22</height>
</size>
</property>
<attribute name="toolBarArea" >
<enum>TopToolBarArea</enum>
</attribute>
<attribute name="toolBarBreak" >
<bool>false</bool>
</attribute>
<addaction name="ac_ConnectTTY" />
<addaction name="separator" />
<addaction name="ac_RecordCSV" />
<addaction name="ac_StartPlotter" />
<addaction name="ac_MehrDaten" />
<addaction name="separator" />
<addaction name="ac_Config" />
<addaction name="ac_Quit" />
</widget>
<action name="ac_LogDir" >
<property name="text" >
<string>Log-Verzeichniss</string>
</property>
</action>
<action name="ac_ParameterDir" >
<property name="text" >
<string>Parameter-Verzeichniss</string>
</property>
</action>
<action name="ac_Quit" >
<property name="icon" >
<iconset resource="../MKTool.qrc" >
<normaloff>:/Actions/Images/22X22/application-exit.png</normaloff>:/Actions/Images/22X22/application-exit.png</iconset>
</property>
<property name="text" >
<string>&amp;Beenden</string>
</property>
</action>
<action name="ac_About" >
<property name="text" >
<string>Über QMK-Groundstation</string>
</property>
</action>
<action name="ac_ConnectTTY" >
<property name="icon" >
<iconset resource="../MKTool.qrc" >
<normaloff>:/Actions/Images/22X22/network-disconnect.png</normaloff>:/Actions/Images/22X22/network-disconnect.png</iconset>
</property>
<property name="text" >
<string>Verbinden</string>
</property>
</action>
<action name="ac_RecordCSV" >
<property name="icon" >
<iconset resource="../MKTool.qrc" >
<normaloff>:/Actions/Images/22X22/media-record.png</normaloff>:/Actions/Images/22X22/media-record.png</iconset>
</property>
<property name="text" >
<string>CSV Aufzeichnen</string>
</property>
</action>
<action name="ac_StartPlotter" >
<property name="checkable" >
<bool>true</bool>
</property>
<property name="icon" >
<iconset resource="../MKTool.qrc" >
<normaloff>:/Actions/Images/22X22/utilities-system-monitor.png</normaloff>:/Actions/Images/22X22/utilities-system-monitor.png</iconset>
</property>
<property name="text" >
<string>Start Plotter</string>
</property>
</action>
<action name="ac_Config" >
<property name="icon" >
<iconset resource="../MKTool.qrc" >
<normaloff>:/Actions/Images/22X22/configure.png</normaloff>:/Actions/Images/22X22/configure.png</iconset>
</property>
<property name="text" >
<string>Datenfelder</string>
</property>
</action>
<action name="ac_MehrDaten" >
<property name="checkable" >
<bool>true</bool>
</property>
<property name="icon" >
<iconset resource="../MKTool.qrc" >
<normaloff>:/Actions/Images/22X22/clock.png</normaloff>:/Actions/Images/22X22/clock.png</iconset>
</property>
<property name="text" >
<string>Mehr Daten</string>
</property>
</action>
<action name="ac_View0" >
<property name="checkable" >
<bool>true</bool>
</property>
<property name="checked" >
<bool>false</bool>
</property>
<property name="text" >
<string>Debug-Daten</string>
</property>
</action>
<action name="ac_View1" >
<property name="checkable" >
<bool>true</bool>
</property>
<property name="checked" >
<bool>false</bool>
</property>
<property name="text" >
<string>Plotter</string>
</property>
</action>
<action name="ac_View2" >
<property name="checkable" >
<bool>true</bool>
</property>
<property name="checked" >
<bool>false</bool>
</property>
<property name="text" >
<string>Parameter</string>
</property>
</action>
<action name="ac_View3" >
<property name="checkable" >
<bool>true</bool>
</property>
<property name="checked" >
<bool>false</bool>
</property>
<property name="text" >
<string>Terminal</string>
</property>
</action>
<action name="ac_View4" >
<property name="checkable" >
<bool>true</bool>
</property>
<property name="checked" >
<bool>false</bool>
</property>
<property name="text" >
<string>Cockpit</string>
</property>
</action>
<action name="ac_View5" >
<property name="checkable" >
<bool>true</bool>
</property>
<property name="checked" >
<bool>false</bool>
</property>
<property name="text" >
<string>Firmware Update</string>
</property>
</action>
<action name="ac_GetLabels" >
<property name="text" >
<string>Beschreibungen abfragen</string>
</property>
</action>
<action name="acCfgAllgemein" >
<property name="icon" >
<iconset resource="../MKTool.qrc" >
<normaloff>:/Actions/Images/22X22/configure.png</normaloff>:/Actions/Images/22X22/configure.png</iconset>
</property>
<property name="text" >
<string>Allgemein</string>
</property>
</action>
<action name="ac_Motortest" >
<property name="text" >
<string>Motortest</string>
</property>
</action>
</widget>
<customwidgets>
<customwidget>
<class>QwtPlot</class>
<extends>QFrame</extends>
<header>qwt_plot.h</header>
<container>1</container>
</customwidget>
<customwidget>
<class>QwtCompass</class>
<extends>QwtDial</extends>
<header>qwt_compass.h</header>
</customwidget>
</customwidgets>
<resources>
<include location="../MKTool.qrc" />
</resources>
<connections>
<connection>
<sender>pb_StartPlotter</sender>
<signal>clicked()</signal>
<receiver>ac_StartPlotter</receiver>
<slot>trigger()</slot>
<hints>
<hint type="sourcelabel" >
<x>657</x>
<y>399</y>
</hint>
<hint type="destinationlabel" >
<x>-1</x>
<y>-1</y>
</hint>
</hints>
</connection>
<connection>
<sender>pb_Quit</sender>
<signal>clicked()</signal>
<receiver>ac_Quit</receiver>
<slot>trigger()</slot>
<hints>
<hint type="sourcelabel" >
<x>659</x>
<y>385</y>
</hint>
<hint type="destinationlabel" >
<x>-1</x>
<y>-1</y>
</hint>
</hints>
</connection>
<connection>
<sender>pb_Open</sender>
<signal>clicked()</signal>
<receiver>ac_ConnectTTY</receiver>
<slot>trigger()</slot>
<hints>
<hint type="sourcelabel" >
<x>249</x>
<y>385</y>
</hint>
<hint type="destinationlabel" >
<x>-1</x>
<y>-1</y>
</hint>
</hints>
</connection>
<connection>
<sender>pb_Record</sender>
<signal>clicked()</signal>
<receiver>ac_RecordCSV</receiver>
<slot>trigger()</slot>
<hints>
<hint type="sourcelabel" >
<x>506</x>
<y>385</y>
</hint>
<hint type="destinationlabel" >
<x>-1</x>
<y>-1</y>
</hint>
</hints>
</connection>
</connections>
</ui>