Changeset 480
- Timestamp:
- 02/05/10 15:57:44 (7 months ago)
- Location:
- IBBoard.WarFoundry.GUI.QtSharp/trunk
- Files:
-
- 3 modified
-
MainWindow.cs (modified) (3 diffs)
-
qt-gui/MainWindowLayout.cs (modified) (3 diffs)
-
qt-gui/MainWindowLayout.ui (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
IBBoard.WarFoundry.GUI.QtSharp/trunk/MainWindow.cs
r479 r480 30 30 layout.SetupUi(this); 31 31 WindowIcon = new QIcon("icons/App.png"); 32 SetAppTitle(); 32 33 saveArmyDialog = new QFileDialog(this); 33 34 saveArmyDialog.acceptMode = QFileDialog.AcceptMode.AcceptSave; … … 61 62 QObject.Connect(layout.actionSaveArmyAs, SIGNAL("triggered()"), DoSaveCurrentArmyAs); 62 63 QObject.Connect(layout.actionSaveArmy, SIGNAL("triggered()"), DoSaveCurrentArmy); 64 QObject.Connect(layout.actionCloseArmy, SIGNAL("triggered()"), CloseArmy); 63 65 } 64 66 … … 362 364 //TODO enable category buttons 363 365 } 366 367 private void CloseArmy() 368 { 369 CurrentArmy = null; 370 } 364 371 } 365 372 } -
IBBoard.WarFoundry.GUI.QtSharp/trunk/qt-gui/MainWindowLayout.cs
r464 r480 2 2 ** Form generated from reading ui file 'MainWindowLayout.ui' 3 3 ** 4 ** Created: Sat Jan 23 19:54:0820105 ** by: Qt User Interface Compiler for C# version 4. 5.34 ** Created: Fri Feb 5 20:56:11 2010 5 ** by: Qt User Interface Compiler for C# version 4.6.0 6 6 ** 7 7 ** WARNING! All changes made in this file will be lost when recompiling ui file! … … 122 122 toolBar.ToolButtonStyle = Qt.ToolButtonStyle.ToolButtonIconOnly; 123 123 MainWindowLayout.AddToolBar(Qt.ToolBarArea.TopToolBarArea, toolBar); 124 MainWindowLayout.InsertToolBarBreak(toolBar);125 124 126 125 menubar.AddAction(menuFile.MenuAction()); … … 153 152 public void RetranslateUi(QMainWindow MainWindowLayout) 154 153 { 155 MainWindowLayout.WindowTitle = QApplication.Translate("MainWindowLayout", " MainWindow", null, QApplication.Encoding.UnicodeUTF8);154 MainWindowLayout.WindowTitle = QApplication.Translate("MainWindowLayout", "WarFoundry", null, QApplication.Encoding.UnicodeUTF8); 156 155 actionCreateArmy.Text = QApplication.Translate("MainWindowLayout", "&create army", null, QApplication.Encoding.UnicodeUTF8); 157 156 actionOpenArmy.Text = QApplication.Translate("MainWindowLayout", "&open army", null, QApplication.Encoding.UnicodeUTF8); -
IBBoard.WarFoundry.GUI.QtSharp/trunk/qt-gui/MainWindowLayout.ui
r461 r480 12 12 </property> 13 13 <property name="windowTitle"> 14 <string> MainWindow</string>14 <string>WarFoundry</string> 15 15 </property> 16 16 <property name="windowIcon"> … … 116 116 </attribute> 117 117 <attribute name="toolBarBreak"> 118 <bool> true</bool>118 <bool>false</bool> 119 119 </attribute> 120 120 </widget>
WarFoundry - Development