mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 00:10:06 +00:00 
			
		
		
		
	Move to alert when pressing go button
- Still need an option to auto-update to nearest WSR-88D site
This commit is contained in:
		
							parent
							
								
									c117078335
								
							
						
					
					
						commit
						3692ef75f2
					
				
					 5 changed files with 23 additions and 2 deletions
				
			
		|  | @ -158,9 +158,10 @@ void AlertDockWidgetImpl::ConnectSignals() | |||
|    connect(self_->ui->alertGoButton, | ||||
|            &QPushButton::clicked, | ||||
|            this, | ||||
|            []() | ||||
|            [=]() | ||||
|            { | ||||
|               // TODO: Go to alert
 | ||||
|               emit self_->MoveMap(selectedAlertCentroid_.latitude_, | ||||
|                                   selectedAlertCentroid_.longitude_); | ||||
|            }); | ||||
| } | ||||
| 
 | ||||
|  |  | |||
|  | @ -27,6 +27,9 @@ public: | |||
| protected: | ||||
|    void showEvent(QShowEvent*) override; | ||||
| 
 | ||||
| signals: | ||||
|    void MoveMap(double latitude, double longitude); | ||||
| 
 | ||||
| public slots: | ||||
|    void HandleMapUpdate(double latitude, double longitude); | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat