1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-07 18:46:06 +01:00
LibrePilot/ground/openpilotgcs/src/plugins/config/inputchannelform.h
James Cotton bbdb176409 Input configuration: Make input channel into a dropdown box and make the
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.
2011-09-07 02:13:27 -05:00

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