dRonin  adbada4
dRonin GCS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Groups Pages
inputchannelform.h
Go to the documentation of this file.
1 #ifndef INPUTCHANNELFORM_H
2 #define INPUTCHANNELFORM_H
3 
4 #include <QWidget>
5 #include "configinputwidget.h"
6 namespace Ui {
7 class InputChannelForm;
8 }
9 
11 {
12  Q_OBJECT
13 
14 public:
16 
17  explicit inputChannelForm(QWidget *parent = nullptr, bool showlegend = false, bool showSlider = true,
18  ChannelFunc chanType = CHANNELFUNC_RC);
20  friend class ConfigInputWidget;
21  void setName(QString &name);
22  bool assigned();
23 
24 Q_SIGNALS:
25  void assignmentChanged();
26 
27 private slots:
28  void minMaxUpdated();
29  void groupUpdated();
30  void channelDropdownUpdated(int);
31  void channelNumberUpdated(int);
32  void reverseChannel();
33 
34 private:
35  Ui::InputChannelForm *ui;
36  ChannelFunc m_chanType;
37  QSpinBox *sbChannelCurrent;
38 };
39 
40 #endif // INPUTCHANNELFORM_H
bool assigned()
Is an input assigned to this channel?
inputChannelForm(QWidget *parent=nullptr, bool showlegend=false, bool showSlider=true, ChannelFunc chanType=CHANNELFUNC_RC)
void assignmentChanged()
void setName(QString &name)