mirror of
				https://github.com/f4exb/sdrangel.git
				synced 2025-10-30 20:40:20 -04:00 
			
		
		
		
	
		
			
	
	
		
			33 lines
		
	
	
		
			607 B
		
	
	
	
		
			C
		
	
	
	
	
	
		
		
			
		
	
	
			33 lines
		
	
	
		
			607 B
		
	
	
	
		
			C
		
	
	
	
	
	
|  | #ifndef BASICCHANNELSETTINGSDIALOG_H
 | ||
|  | #define BASICCHANNELSETTINGSDIALOG_H
 | ||
|  | 
 | ||
|  | #include <QDialog>
 | ||
|  | 
 | ||
|  | namespace Ui { | ||
|  |     class BasicChannelSettingsDialog; | ||
|  | } | ||
|  | 
 | ||
|  | class ChannelMarker; | ||
|  | 
 | ||
|  | class BasicChannelSettingsDialog : public QDialog | ||
|  | { | ||
|  |     Q_OBJECT | ||
|  | 
 | ||
|  | public: | ||
|  |     explicit BasicChannelSettingsDialog(ChannelMarker* marker, QWidget *parent = 0); | ||
|  |     ~BasicChannelSettingsDialog(); | ||
|  | 
 | ||
|  | private slots: | ||
|  |     void on_colorBtn_clicked(); | ||
|  |     void accept(); | ||
|  | 
 | ||
|  | private: | ||
|  |     Ui::BasicChannelSettingsDialog *ui; | ||
|  |     ChannelMarker* m_channelMarker; | ||
|  |     QColor m_color; | ||
|  | 
 | ||
|  |     void paintColor(); | ||
|  | }; | ||
|  | 
 | ||
|  | #endif // BASICCHANNELSETTINGSDIALOG_H
 |