mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 04:30:05 +00:00 
			
		
		
		
	Alert dock
This commit is contained in:
		
							parent
							
								
									3f647cc8c3
								
							
						
					
					
						commit
						54f38b6c1a
					
				
					 4 changed files with 106 additions and 1 deletions
				
			
		|  | @ -129,6 +129,9 @@ MainWindow::MainWindow(QWidget* parent) : | |||
| { | ||||
|    ui->setupUi(this); | ||||
| 
 | ||||
|    // Assign the bottom left corner to the left dock widget
 | ||||
|    setCorner(Qt::BottomLeftCorner, Qt::LeftDockWidgetArea); | ||||
| 
 | ||||
|    ui->vcpLabel->setVisible(false); | ||||
|    ui->vcpValueLabel->setVisible(false); | ||||
|    ui->vcpDescriptionLabel->setVisible(false); | ||||
|  | @ -145,12 +148,22 @@ MainWindow::MainWindow(QWidget* parent) : | |||
|       tr("&Resource Explorer")); | ||||
|    ui->actionResourceExplorer->setVisible(false); | ||||
| 
 | ||||
|    // Configure Docks
 | ||||
|    ui->menuView->insertAction(ui->actionAlerts, | ||||
|                               ui->alertDock->toggleViewAction()); | ||||
|    ui->alertDock->toggleViewAction()->setText(tr("&Alerts")); | ||||
|    ui->actionAlerts->setVisible(false); | ||||
| 
 | ||||
|    // Configure Resource Explorer Dock
 | ||||
|    ui->resourceExplorerDock->setVisible(false); | ||||
| 
 | ||||
|    p->radarProductModel_ = std::make_shared<model::RadarProductModel>(); | ||||
|    ui->resourceTreeView->setModel(p->radarProductModel_->model()); | ||||
| 
 | ||||
|    // Configure Alert Dock
 | ||||
|    ui->alertDock->setVisible(false); | ||||
| 
 | ||||
|    ui->alertSettings->addAction(ui->actionActiveAlerts); | ||||
| 
 | ||||
|    // Configure Map
 | ||||
|    p->ConfigureMapLayout(); | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat