mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 20:30:05 +00:00 
			
		
		
		
	Connecting signals and slots for radar updates
This commit is contained in:
		
							parent
							
								
									c06230ed6c
								
							
						
					
					
						commit
						817a59f741
					
				
					 6 changed files with 137 additions and 61 deletions
				
			
		|  | @ -17,19 +17,15 @@ namespace view | |||
| 
 | ||||
| class RadarViewImpl; | ||||
| 
 | ||||
| class RadarView | ||||
| class RadarView : public QObject | ||||
| { | ||||
|    Q_OBJECT | ||||
| 
 | ||||
| public: | ||||
|    explicit RadarView(std::shared_ptr<manager::RadarManager> radarManager, | ||||
|                       std::shared_ptr<QMapboxGL>             map); | ||||
|    ~RadarView(); | ||||
| 
 | ||||
|    RadarView(const RadarView&) = delete; | ||||
|    RadarView& operator=(const RadarView&) = delete; | ||||
| 
 | ||||
|    RadarView(RadarView&&) noexcept; | ||||
|    RadarView& operator=(RadarView&&) noexcept; | ||||
| 
 | ||||
|    double                       bearing() const; | ||||
|    double                       scale() const; | ||||
|    const std::vector<uint8_t>&  data_moments8() const; | ||||
|  | @ -41,6 +37,13 @@ public: | |||
|    void Initialize(); | ||||
|    void LoadColorTable(std::shared_ptr<common::ColorTable> colorTable); | ||||
| 
 | ||||
| public slots: | ||||
|    void UpdatePlot(); | ||||
| 
 | ||||
| signals: | ||||
|    void ColorTableLoaded(); | ||||
|    void PlotUpdated(); | ||||
| 
 | ||||
| private: | ||||
|    std::unique_ptr<RadarViewImpl> p; | ||||
| }; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat