mirror of
				https://github.com/f4exb/sdrangel.git
				synced 2025-11-03 13:11:20 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			19 lines
		
	
	
		
			342 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			342 B
		
	
	
	
		
			C++
		
	
	
	
	
	
#ifndef INCLUDE_BUTTONSWITCH_H
 | 
						|
#define INCLUDE_BUTTONSWITCH_H
 | 
						|
 | 
						|
#include <QToolButton>
 | 
						|
 | 
						|
#include "export.h"
 | 
						|
 | 
						|
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
 |