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
gui
samplingdevicedialog.h
Go to the documentation of this file.
1
// Copyright (C) 2017 F4EXB //
3
// written by Edouard Griffiths //
4
// //
5
// OpenGL interface modernization. //
6
// See: http://doc.qt.io/qt-5/qopenglshaderprogram.html //
7
// //
8
// This program is free software; you can redistribute it and/or modify //
9
// it under the terms of the GNU General Public License as published by //
10
// the Free Software Foundation as version 3 of the License, or //
11
// (at your option) any later version. //
12
// //
13
// This program is distributed in the hope that it will be useful, //
14
// but WITHOUT ANY WARRANTY; without even the implied warranty of //
15
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
16
// GNU General Public License V3 for more details. //
17
// //
18
// You should have received a copy of the GNU General Public License //
19
// along with this program. If not, see <http://www.gnu.org/licenses/>. //
21
22
#ifndef SDRGUI_GUI_SAMPLINGDEVICEDIALOG_H_
23
#define SDRGUI_GUI_SAMPLINGDEVICEDIALOG_H_
24
25
#include <QDialog>
26
#include <vector>
27
28
#include "
export.h
"
29
30
namespace
Ui
{
31
class
SamplingDeviceDialog
;
32
}
33
34
class
SDRGUI_API
SamplingDeviceDialog
:
public
QDialog {
35
Q_OBJECT
36
37
public
:
38
explicit
SamplingDeviceDialog
(
int
deviceType,
int
deviceTabIndex, QWidget* parent = 0);
39
~
SamplingDeviceDialog
();
40
int
getSelectedDeviceIndex
()
const
{
return
m_selectedDeviceIndex; }
41
42
private
:
43
Ui::SamplingDeviceDialog*
ui
;
44
int
m_deviceType
;
45
int
m_deviceTabIndex
;
46
int
m_selectedDeviceIndex
;
47
std::vector<int>
m_deviceIndexes
;
48
49
private
slots:
50
void
accept();
51
};
52
53
#endif
/* SDRGUI_GUI_SAMPLINGDEVICEDIALOG_H_ */
SamplingDeviceDialog::m_deviceIndexes
std::vector< int > m_deviceIndexes
Definition:
samplingdevicedialog.h:47
export.h
Ui
Definition:
chanalyzergui.h:38
SamplingDeviceDialog::getSelectedDeviceIndex
int getSelectedDeviceIndex() const
Definition:
samplingdevicedialog.h:40
SamplingDeviceDialog::m_deviceTabIndex
int m_deviceTabIndex
Definition:
samplingdevicedialog.h:45
SDRGUI_API
#define SDRGUI_API
Definition:
export.h:52
SamplingDeviceDialog::m_deviceType
int m_deviceType
Definition:
samplingdevicedialog.h:44
SamplingDeviceDialog::m_selectedDeviceIndex
int m_selectedDeviceIndex
Definition:
samplingdevicedialog.h:46
SamplingDeviceDialog::ui
Ui::SamplingDeviceDialog * ui
Definition:
samplingdevicedialog.h:43
SamplingDeviceDialog
Definition:
samplingdevicedialog.h:34
Generated on Fri Aug 2 2019 17:56:34 for SDRAngel by
1.8.13