SDRAngel  4.11.5
Developer docs for <a href="https://github.com/f4exb/sdrangel">SDRangel<\a>, an Open Source Qt5 / OpenGL 3.0+ SDR and signal analyzer frontend to various hardware.
basicdevicesettingsdialog.h
Go to the documentation of this file.
1 #ifndef BASICDEVICESETTINGSDIALOG_H
2 #define BASICDEVICESETTINGSDIALOG_H
3 
4 #include <QDialog>
5 
6 #include "../../exports/export.h"
7 
8 namespace Ui {
10 }
11 
12 class SDRGUI_API BasicDeviceSettingsDialog : public QDialog
13 {
14  Q_OBJECT
15 
16 public:
17  explicit BasicDeviceSettingsDialog(QWidget *parent = 0);
19  bool hasChanged() const { return m_hasChanged; }
20  bool useReverseAPI() const { return m_useReverseAPI; }
21  const QString& getReverseAPIAddress() const { return m_reverseAPIAddress; }
22  uint16_t getReverseAPIPort() const { return m_reverseAPIPort; }
23  uint16_t getReverseAPIDeviceIndex() const { return m_reverseAPIDeviceIndex; }
24  void setUseReverseAPI(bool useReverseAPI);
25  void setReverseAPIAddress(const QString& address);
26  void setReverseAPIPort(uint16_t port);
27  void setReverseAPIDeviceIndex(uint16_t deviceIndex);
28 
29 private slots:
30  void on_reverseAPI_toggled(bool checked);
31  void on_reverseAPIAddress_editingFinished();
32  void on_reverseAPIPort_editingFinished();
33  void on_reverseAPIDeviceIndex_editingFinished();
34  void accept();
35 
36 private:
37  Ui::BasicDeviceSettingsDialog *ui;
43 };
44 
45 #endif // BASICDEVICESETTINGSDIALOG_H
const QString & getReverseAPIAddress() const
Ui::BasicDeviceSettingsDialog * ui
#define SDRGUI_API
Definition: export.h:52
unsigned short uint16_t
Definition: rtptypes_win.h:44