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
buttonswitch.h
Go to the documentation of this file.
1
#ifndef INCLUDE_BUTTONSWITCH_H
2
#define INCLUDE_BUTTONSWITCH_H
3
4
#include <QToolButton>
5
6
#include "
export.h
"
7
8
class
SDRGUI_API
ButtonSwitch
:
public
QToolButton {
9
Q_OBJECT
10
11
public
:
12
ButtonSwitch
(QWidget* parent = NULL);
13
void
doToggle(
bool
checked);
14
15
private
slots:
16
void
onToggled(
bool
checked);
17
18
private
:
19
QPalette
m_originalPalette
;
20
};
21
22
#endif // INCLUDE_BUTTONSWITCH_H
ButtonSwitch
Definition:
buttonswitch.h:8
ButtonSwitch::m_originalPalette
QPalette m_originalPalette
Definition:
buttonswitch.h:19
export.h
SDRGUI_API
#define SDRGUI_API
Definition:
export.h:52
Generated on Fri Aug 2 2019 17:56:33 for SDRAngel by
1.8.13