Merged in f5soh/librepilot/update_credits (pull request #529)
[librepilot.git] / ground / gcs / src / plugins / config / inputchannelform.h
blob7c4464d8c8c16e615c7fde8a5f89d5e1591adb82
1 #ifndef INPUTCHANNELFORM_H
2 #define INPUTCHANNELFORM_H
4 #include "channelform.h"
5 #include "configinputwidget.h"
7 #include <QWidget>
9 namespace Ui {
10 class InputChannelForm;
13 class InputChannelForm : public ChannelForm {
14 Q_OBJECT
16 public:
17 explicit InputChannelForm(const int index, QWidget *parent = NULL);
18 ~InputChannelForm();
20 friend class ConfigInputWidget;
22 virtual QString name();
23 virtual void setName(const QString &name);
25 private slots:
26 void updateNeutralMark();
27 void minMaxUpdated();
28 void neutralUpdated();
29 void reversedUpdated();
30 void groupUpdated();
32 private:
33 Ui::InputChannelForm *ui;
36 #endif // INPUTCHANNELFORM_H