mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 05:20:06 +00:00 
			
		
		
		
	Implementing default Radar Product Model methods
This commit is contained in:
		
							parent
							
								
									8abee4cda1
								
							
						
					
					
						commit
						b917e1a818
					
				
					 4 changed files with 33 additions and 4 deletions
				
			
		|  | @ -6,6 +6,7 @@ | |||
| #include <scwx/qt/manager/radar_product_manager.hpp> | ||||
| #include <scwx/qt/manager/settings_manager.hpp> | ||||
| #include <scwx/qt/map/map_widget.hpp> | ||||
| #include <scwx/qt/model/radar_product_model.hpp> | ||||
| #include <scwx/qt/ui/flow_layout.hpp> | ||||
| #include <scwx/qt/ui/level2_products_widget.hpp> | ||||
| #include <scwx/qt/ui/level2_settings_widget.hpp> | ||||
|  | @ -140,6 +141,8 @@ MainWindow::MainWindow(QWidget* parent) : | |||
|    // Configure Docks
 | ||||
|    ui->resourceExplorerDock->setVisible(false); | ||||
| 
 | ||||
|    ui->resourceTreeView->setModel(new model::RadarProductModel()); | ||||
| 
 | ||||
|    // Add Level 2 Products
 | ||||
|    p->level2ProductsWidget_ = new ui::Level2ProductsWidget(this); | ||||
|    ui->radarProductGroupBox->layout()->replaceWidget(ui->level2ProductFrame, | ||||
|  |  | |||
|  | @ -232,7 +232,13 @@ | |||
|    <attribute name="dockWidgetArea"> | ||||
|     <number>8</number> | ||||
|    </attribute> | ||||
|    <widget class="QWidget" name="dockWidgetContents"/> | ||||
|    <widget class="QWidget" name="dockWidgetContents"> | ||||
|     <layout class="QVBoxLayout" name="verticalLayout_3"> | ||||
|      <item> | ||||
|       <widget class="QTreeView" name="resourceTreeView"/> | ||||
|      </item> | ||||
|     </layout> | ||||
|    </widget> | ||||
|   </widget> | ||||
|   <action name="actionExit"> | ||||
|    <property name="text"> | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat