mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-07 18:46:06 +01:00
bbdb176409
neutral position into a slider. During calibration the slider moves and the min and max values are updated appropriately. Also make the collective channel skippable in the configuration wizard.
31 lines
590 B
C++
31 lines
590 B
C++
#ifndef INPUTCHANNELFORM_H
|
|
#define INPUTCHANNELFORM_H
|
|
|
|
#include <QWidget>
|
|
#include "configinputwidget.h"
|
|
namespace Ui {
|
|
class inputChannelForm;
|
|
}
|
|
|
|
class inputChannelForm : public QWidget
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit inputChannelForm(QWidget *parent = 0,bool showlegend=false);
|
|
~inputChannelForm();
|
|
friend class ConfigInputWidget;
|
|
|
|
private slots:
|
|
void minUpdated(int);
|
|
void maxUpdated(int);
|
|
void groupUpdated();
|
|
void channelDropdownUpdated(int);
|
|
void channelNumberUpdated(int);
|
|
|
|
private:
|
|
Ui::inputChannelForm *ui;
|
|
};
|
|
|
|
#endif // INPUTCHANNELFORM_H
|