mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 06:40:05 +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); |    resizeDocks({ui->radarToolboxDock}, {150}, Qt::Horizontal); | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | void MainWindow::on_actionExit_triggered() | ||||||
|  | { | ||||||
|  |    close(); | ||||||
|  | } | ||||||
|  | 
 | ||||||
| void MainWindowImpl::InitializeConnections() | void MainWindowImpl::InitializeConnections() | ||||||
| { | { | ||||||
|    connect( |    connect( | ||||||
|  |  | ||||||
|  | @ -29,6 +29,9 @@ public: | ||||||
|    bool event(QEvent* event) override; |    bool event(QEvent* event) override; | ||||||
|    void showEvent(QShowEvent* event) override; |    void showEvent(QShowEvent* event) override; | ||||||
| 
 | 
 | ||||||
|  | private slots: | ||||||
|  |    void on_actionExit_triggered(); | ||||||
|  | 
 | ||||||
| private: | private: | ||||||
|    std::unique_ptr<MainWindowImpl> p; |    std::unique_ptr<MainWindowImpl> p; | ||||||
|    Ui::MainWindow*                 ui; |    Ui::MainWindow*                 ui; | ||||||
|  |  | ||||||
|  | @ -11,7 +11,7 @@ | ||||||
|    </rect> |    </rect> | ||||||
|   </property> |   </property> | ||||||
|   <property name="windowTitle"> |   <property name="windowTitle"> | ||||||
|    <string>MainWindow</string> |    <string>Supercell Wx</string> | ||||||
|   </property> |   </property> | ||||||
|   <widget class="QWidget" name="centralwidget"> |   <widget class="QWidget" name="centralwidget"> | ||||||
|    <layout class="QHBoxLayout"> |    <layout class="QHBoxLayout"> | ||||||
|  | @ -38,6 +38,20 @@ | ||||||
|      <height>21</height> |      <height>21</height> | ||||||
|     </rect> |     </rect> | ||||||
|    </property> |    </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> | ||||||
|   <widget class="QStatusBar" name="statusbar"/> |   <widget class="QStatusBar" name="statusbar"/> | ||||||
|   <widget class="QDockWidget" name="radarToolboxDock"> |   <widget class="QDockWidget" name="radarToolboxDock"> | ||||||
|  | @ -223,6 +237,16 @@ | ||||||
|     </layout> |     </layout> | ||||||
|    </widget> |    </widget> | ||||||
|   </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> |  </widget> | ||||||
|  <resources/> |  <resources/> | ||||||
|  <connections/> |  <connections/> | ||||||
|  |  | ||||||
|  | @ -4,69 +4,89 @@ | ||||||
| <context> | <context> | ||||||
|     <name>MainWindow</name> |     <name>MainWindow</name> | ||||||
|     <message> |     <message> | ||||||
|         <location filename="../source/scwx/qt/main/main_window.ui" line="14"/> |         <location filename="../source/scwx/qt/main/main_window.ui" line="59"/> | ||||||
|         <source>MainWindow</source> |  | ||||||
|         <translation type="unfinished"></translation> |  | ||||||
|     </message> |  | ||||||
|     <message> |  | ||||||
|         <location filename="../source/scwx/qt/main/main_window.ui" line="45"/> |  | ||||||
|         <source>Toolbox</source> |         <source>Toolbox</source> | ||||||
|         <translation type="unfinished"></translation> |         <translation type="unfinished"></translation> | ||||||
|     </message> |     </message> | ||||||
|     <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> |         <source>...</source> | ||||||
|         <translation type="unfinished"></translation> |         <translation type="unfinished"></translation> | ||||||
|     </message> |     </message> | ||||||
|     <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> |         <source>Level 3</source> | ||||||
|         <translation type="unfinished"></translation> |         <translation type="unfinished"></translation> | ||||||
|     </message> |     </message> | ||||||
|     <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> |         <source>Settings</source> | ||||||
|         <translation type="unfinished"></translation> |         <translation type="unfinished"></translation> | ||||||
|     </message> |     </message> | ||||||
|     <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> |         <source>Declutter</source> | ||||||
|         <translation type="unfinished"></translation> |         <translation type="unfinished"></translation> | ||||||
|     </message> |     </message> | ||||||
|     <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> |         <source>Radar Site</source> | ||||||
|         <translation type="unfinished"></translation> |         <translation type="unfinished"></translation> | ||||||
|     </message> |     </message> | ||||||
|     <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> |         <source>Volume Coverage Pattern</source> | ||||||
|         <translation type="unfinished"></translation> |         <translation type="unfinished"></translation> | ||||||
|     </message> |     </message> | ||||||
|     <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> |         <source>VCP</source> | ||||||
|         <translation type="unfinished"></translation> |         <translation type="unfinished"></translation> | ||||||
|     </message> |     </message> | ||||||
|     <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> |         <source>Clear Air Mode</source> | ||||||
|         <translation type="unfinished"></translation> |         <translation type="unfinished"></translation> | ||||||
|     </message> |     </message> | ||||||
|     <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> |         <source>Radar Products</source> | ||||||
|         <translation type="unfinished"></translation> |         <translation type="unfinished"></translation> | ||||||
|     </message> |     </message> | ||||||
|     <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> |         <source>Level 2</source> | ||||||
|         <translation type="unfinished"></translation> |         <translation type="unfinished"></translation> | ||||||
|     </message> |     </message> | ||||||
|     <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> |         <source>Elevation</source> | ||||||
|         <translation type="unfinished"></translation> |         <translation type="unfinished"></translation> | ||||||
|     </message> |     </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> | </context> | ||||||
| </TS> | </TS> | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat