2014-05-18 15:52:39 +00:00
|
|
|
#ifndef INCLUDE_BUTTONSWITCH_H
|
|
|
|
#define INCLUDE_BUTTONSWITCH_H
|
|
|
|
|
|
|
|
#include <QToolButton>
|
|
|
|
|
2018-03-20 12:49:21 +00:00
|
|
|
#include "export.h"
|
2018-03-03 19:23:38 +00:00
|
|
|
|
|
|
|
class SDRGUI_API ButtonSwitch : public QToolButton {
|
2014-05-18 15:52:39 +00:00
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
ButtonSwitch(QWidget* parent = NULL);
|
2017-02-10 03:35:08 +00:00
|
|
|
void doToggle(bool checked);
|
2020-08-01 22:59:42 +00:00
|
|
|
void setColor(QColor color);
|
|
|
|
void resetColor();
|
2014-05-18 15:52:39 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // INCLUDE_BUTTONSWITCH_H
|