mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-11-04 14:20:06 +00:00 
			
		
		
		
	Add Radar Product Manager debug dump
- Allows visibility of currently loaded products
This commit is contained in:
		
							parent
							
								
									6e10ca88d5
								
							
						
					
					
						commit
						871cae68dd
					
				
					 5 changed files with 73 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -357,6 +357,11 @@ void MainWindow::on_actionImGuiDebug_triggered()
 | 
			
		|||
   p->imGuiDebugDialog_->show();
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void MainWindow::on_actionDumpRadarProductRecords_triggered()
 | 
			
		||||
{
 | 
			
		||||
   manager::RadarProductManager::DumpRecords();
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void MainWindow::on_actionUserManual_triggered()
 | 
			
		||||
{
 | 
			
		||||
   QDesktopServices::openUrl(QUrl {"https://supercell-wx.readthedocs.io/"});
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -37,6 +37,7 @@ private slots:
 | 
			
		|||
   void on_actionSettings_triggered();
 | 
			
		||||
   void on_actionExit_triggered();
 | 
			
		||||
   void on_actionImGuiDebug_triggered();
 | 
			
		||||
   void on_actionDumpRadarProductRecords_triggered();
 | 
			
		||||
   void on_actionUserManual_triggered();
 | 
			
		||||
   void on_actionDiscord_triggered();
 | 
			
		||||
   void on_actionGitHubRepository_triggered();
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -83,6 +83,8 @@
 | 
			
		|||
     <string>&Debug</string>
 | 
			
		||||
    </property>
 | 
			
		||||
    <addaction name="actionImGuiDebug"/>
 | 
			
		||||
    <addaction name="separator"/>
 | 
			
		||||
    <addaction name="actionDumpRadarProductRecords"/>
 | 
			
		||||
   </widget>
 | 
			
		||||
   <addaction name="menuFile"/>
 | 
			
		||||
   <addaction name="menuView"/>
 | 
			
		||||
| 
						 | 
				
			
			@ -397,6 +399,11 @@
 | 
			
		|||
    <string>&GitHub Repository</string>
 | 
			
		||||
   </property>
 | 
			
		||||
  </action>
 | 
			
		||||
  <action name="actionDumpRadarProductRecords">
 | 
			
		||||
   <property name="text">
 | 
			
		||||
    <string>Dump Radar &Product Records</string>
 | 
			
		||||
   </property>
 | 
			
		||||
  </action>
 | 
			
		||||
 </widget>
 | 
			
		||||
 <resources>
 | 
			
		||||
  <include location="../../../../scwx-qt.qrc"/>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue