1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-03 23:41:16 -05:00
sdrangel/sdrgui/gui/buttonswitch.h

19 lines
342 B
C
Raw Normal View History

#ifndef INCLUDE_BUTTONSWITCH_H
#define INCLUDE_BUTTONSWITCH_H
#include <QToolButton>
#include "export.h"
2018-03-03 14:23:38 -05:00
class SDRGUI_API ButtonSwitch : public QToolButton {
Q_OBJECT
public:
ButtonSwitch(QWidget* parent = NULL);
void doToggle(bool checked);
void setColor(QColor color);
void resetColor();
};
#endif // INCLUDE_BUTTONSWITCH_H