mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 06:10:04 +00:00 
			
		
		
		
	Updating title, adding menu
This commit is contained in:
		
							parent
							
								
									1c093d01f4
								
							
						
					
					
						commit
						1db9b40394
					
				
					 4 changed files with 70 additions and 18 deletions
				
			
		|  | @ -157,6 +157,11 @@ void MainWindow::showEvent(QShowEvent* event) | |||
|    resizeDocks({ui->radarToolboxDock}, {150}, Qt::Horizontal); | ||||
| } | ||||
| 
 | ||||
| void MainWindow::on_actionExit_triggered() | ||||
| { | ||||
|    close(); | ||||
| } | ||||
| 
 | ||||
| void MainWindowImpl::InitializeConnections() | ||||
| { | ||||
|    connect( | ||||
|  |  | |||
|  | @ -29,6 +29,9 @@ public: | |||
|    bool event(QEvent* event) override; | ||||
|    void showEvent(QShowEvent* event) override; | ||||
| 
 | ||||
| private slots: | ||||
|    void on_actionExit_triggered(); | ||||
| 
 | ||||
| private: | ||||
|    std::unique_ptr<MainWindowImpl> p; | ||||
|    Ui::MainWindow*                 ui; | ||||
|  |  | |||
|  | @ -11,7 +11,7 @@ | |||
|    </rect> | ||||
|   </property> | ||||
|   <property name="windowTitle"> | ||||
|    <string>MainWindow</string> | ||||
|    <string>Supercell Wx</string> | ||||
|   </property> | ||||
|   <widget class="QWidget" name="centralwidget"> | ||||
|    <layout class="QHBoxLayout"> | ||||
|  | @ -38,6 +38,20 @@ | |||
|      <height>21</height> | ||||
|     </rect> | ||||
|    </property> | ||||
|    <widget class="QMenu" name="menu_File"> | ||||
|     <property name="title"> | ||||
|      <string>&File</string> | ||||
|     </property> | ||||
|     <addaction name="actionExit"/> | ||||
|    </widget> | ||||
|    <widget class="QMenu" name="menu_Help"> | ||||
|     <property name="title"> | ||||
|      <string>&Help</string> | ||||
|     </property> | ||||
|     <addaction name="actionAboutSupercellWx"/> | ||||
|    </widget> | ||||
|    <addaction name="menu_File"/> | ||||
|    <addaction name="menu_Help"/> | ||||
|   </widget> | ||||
|   <widget class="QStatusBar" name="statusbar"/> | ||||
|   <widget class="QDockWidget" name="radarToolboxDock"> | ||||
|  | @ -223,6 +237,16 @@ | |||
|     </layout> | ||||
|    </widget> | ||||
|   </widget> | ||||
|   <action name="actionExit"> | ||||
|    <property name="text"> | ||||
|     <string>E&xit</string> | ||||
|    </property> | ||||
|   </action> | ||||
|   <action name="actionAboutSupercellWx"> | ||||
|    <property name="text"> | ||||
|     <string>About &Supercell Wx...</string> | ||||
|    </property> | ||||
|   </action> | ||||
|  </widget> | ||||
|  <resources/> | ||||
|  <connections/> | ||||
|  |  | |||
|  | @ -4,69 +4,89 @@ | |||
| <context> | ||||
|     <name>MainWindow</name> | ||||
|     <message> | ||||
|         <location filename="../source/scwx/qt/main/main_window.ui" line="14"/> | ||||
|         <source>MainWindow</source> | ||||
|         <translation type="unfinished"></translation> | ||||
|     </message> | ||||
|     <message> | ||||
|         <location filename="../source/scwx/qt/main/main_window.ui" line="45"/> | ||||
|         <location filename="../source/scwx/qt/main/main_window.ui" line="59"/> | ||||
|         <source>Toolbox</source> | ||||
|         <translation type="unfinished"></translation> | ||||
|     </message> | ||||
|     <message> | ||||
|         <location filename="../source/scwx/qt/main/main_window.ui" line="82"/> | ||||
|         <location filename="../source/scwx/qt/main/main_window.ui" line="96"/> | ||||
|         <source>...</source> | ||||
|         <translation type="unfinished"></translation> | ||||
|     </message> | ||||
|     <message> | ||||
|         <location filename="../source/scwx/qt/main/main_window.ui" line="170"/> | ||||
|         <location filename="../source/scwx/qt/main/main_window.ui" line="184"/> | ||||
|         <source>Level 3</source> | ||||
|         <translation type="unfinished"></translation> | ||||
|     </message> | ||||
|     <message> | ||||
|         <location filename="../source/scwx/qt/main/main_window.ui" line="197"/> | ||||
|         <location filename="../source/scwx/qt/main/main_window.ui" line="211"/> | ||||
|         <source>Settings</source> | ||||
|         <translation type="unfinished"></translation> | ||||
|     </message> | ||||
|     <message> | ||||
|         <location filename="../source/scwx/qt/main/main_window.ui" line="203"/> | ||||
|         <location filename="../source/scwx/qt/main/main_window.ui" line="217"/> | ||||
|         <source>Declutter</source> | ||||
|         <translation type="unfinished"></translation> | ||||
|     </message> | ||||
|     <message> | ||||
|         <location filename="../source/scwx/qt/main/main_window.ui" line="113"/> | ||||
|         <location filename="../source/scwx/qt/main/main_window.ui" line="127"/> | ||||
|         <source>Radar Site</source> | ||||
|         <translation type="unfinished"></translation> | ||||
|     </message> | ||||
|     <message> | ||||
|         <location filename="../source/scwx/qt/main/main_window.ui" line="96"/> | ||||
|         <location filename="../source/scwx/qt/main/main_window.ui" line="14"/> | ||||
|         <source>Supercell Wx</source> | ||||
|         <translation type="unfinished"></translation> | ||||
|     </message> | ||||
|     <message> | ||||
|         <location filename="../source/scwx/qt/main/main_window.ui" line="43"/> | ||||
|         <source>&File</source> | ||||
|         <translation type="unfinished"></translation> | ||||
|     </message> | ||||
|     <message> | ||||
|         <location filename="../source/scwx/qt/main/main_window.ui" line="49"/> | ||||
|         <source>&Help</source> | ||||
|         <translation type="unfinished"></translation> | ||||
|     </message> | ||||
|     <message> | ||||
|         <location filename="../source/scwx/qt/main/main_window.ui" line="110"/> | ||||
|         <source>Volume Coverage Pattern</source> | ||||
|         <translation type="unfinished"></translation> | ||||
|     </message> | ||||
|     <message> | ||||
|         <location filename="../source/scwx/qt/main/main_window.ui" line="99"/> | ||||
|         <location filename="../source/scwx/qt/main/main_window.ui" line="113"/> | ||||
|         <source>VCP</source> | ||||
|         <translation type="unfinished"></translation> | ||||
|     </message> | ||||
|     <message> | ||||
|         <location filename="../source/scwx/qt/main/main_window.ui" line="120"/> | ||||
|         <location filename="../source/scwx/qt/main/main_window.ui" line="134"/> | ||||
|         <source>Clear Air Mode</source> | ||||
|         <translation type="unfinished"></translation> | ||||
|     </message> | ||||
|     <message> | ||||
|         <location filename="../source/scwx/qt/main/main_window.ui" line="137"/> | ||||
|         <location filename="../source/scwx/qt/main/main_window.ui" line="151"/> | ||||
|         <source>Radar Products</source> | ||||
|         <translation type="unfinished"></translation> | ||||
|     </message> | ||||
|     <message> | ||||
|         <location filename="../source/scwx/qt/main/main_window.ui" line="143"/> | ||||
|         <location filename="../source/scwx/qt/main/main_window.ui" line="157"/> | ||||
|         <source>Level 2</source> | ||||
|         <translation type="unfinished"></translation> | ||||
|     </message> | ||||
|     <message> | ||||
|         <location filename="../source/scwx/qt/main/main_window.ui" line="190"/> | ||||
|         <location filename="../source/scwx/qt/main/main_window.ui" line="204"/> | ||||
|         <source>Elevation</source> | ||||
|         <translation type="unfinished"></translation> | ||||
|     </message> | ||||
|     <message> | ||||
|         <location filename="../source/scwx/qt/main/main_window.ui" line="242"/> | ||||
|         <source>E&xit</source> | ||||
|         <translation type="unfinished"></translation> | ||||
|     </message> | ||||
|     <message> | ||||
|         <location filename="../source/scwx/qt/main/main_window.ui" line="247"/> | ||||
|         <source>About &Supercell Wx...</source> | ||||
|         <translation type="unfinished"></translation> | ||||
|     </message> | ||||
| </context> | ||||
| </TS> | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat