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.
sdrgui
soapygui
itemsettinggui.h
Go to the documentation of this file.
1
// Copyright (C) 2018 Edouard Griffiths, F4EXB //
3
// //
4
// This program is free software; you can redistribute it and/or modify //
5
// it under the terms of the GNU General Public License as published by //
6
// the Free Software Foundation as version 3 of the License, or //
7
// (at your option) any later version. //
8
// //
9
// This program is distributed in the hope that it will be useful, //
10
// but WITHOUT ANY WARRANTY; without even the implied warranty of //
11
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
12
// GNU General Public License V3 for more details. //
13
// //
14
// You should have received a copy of the GNU General Public License //
15
// along with this program. If not, see <http://www.gnu.org/licenses/>. //
17
18
// This is an interface to an elementary GUI item used to get/set setting from the GUI
19
20
#ifndef PLUGINS_SAMPLESOURCE_SOAPYSDRINPUT_ITEMSETTINGGUI_H_
21
#define PLUGINS_SAMPLESOURCE_SOAPYSDRINPUT_ITEMSETTINGGUI_H_
22
23
#include <QWidget>
24
25
#include "
export.h
"
26
27
class
SDRGUI_API
ItemSettingGUI
:
public
QWidget
28
{
29
Q_OBJECT
30
public
:
31
explicit
ItemSettingGUI
(QWidget *parent = 0);
32
virtual
~ItemSettingGUI
() {}
33
virtual
double
getCurrentValue() = 0;
34
virtual
void
setValue
(
double
value) = 0;
35
36
signals:
37
void
valueChanged(
double
value);
38
};
39
40
41
42
#endif
/* PLUGINS_SAMPLESOURCE_SOAPYSDRINPUT_ITEMSETTINGGUI_H_ */
ItemSettingGUI::~ItemSettingGUI
virtual ~ItemSettingGUI()
Definition:
itemsettinggui.h:32
export.h
ItemSettingGUI
Definition:
itemsettinggui.h:27
SDRGUI_API
#define SDRGUI_API
Definition:
export.h:52
SWGSDRangel::setValue
void setValue(void *value, QJsonValue obj, QString type, QString complexType)
Definition:
SWGHelpers.cpp:25
Generated on Fri Aug 2 2019 17:56:34 for SDRAngel by
1.8.13