Mercurial > repos > IBBoard.WarFoundry.GUI.QtSharp
comparison MainWindow.cs @ 5:1bd8febee385
Re #242: Create Qt# UI for WarFoundry
* Add logging library
* Set up WarFoundry environment
* Log load errors
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Mon, 25 Jan 2010 20:54:33 +0000 |
parents | d8f82945a6ab |
children | bbf40d66dfe4 |
comparison
equal
deleted
inserted
replaced
4:d8f82945a6ab | 5:1bd8febee385 |
---|---|
36 layout.actionAbout.icon = new QIcon("icons/ui/help-about.png"); | 36 layout.actionAbout.icon = new QIcon("icons/ui/help-about.png"); |
37 } | 37 } |
38 | 38 |
39 private void ConnectMenuActions() | 39 private void ConnectMenuActions() |
40 { | 40 { |
41 QObject.Connect(layout.actionCreateArmy, Qt.SIGNAL("triggered()"), CreateNewArmy); | 41 QObject.Connect(layout.actionCreateArmy, "triggered()", CreateNewArmy); |
42 } | 42 } |
43 | 43 |
44 private void CreateNewArmy() | 44 private void CreateNewArmy() |
45 { | 45 { |
46 NewArmyDialog dialog = new NewArmyDialog(); | 46 NewArmyDialog dialog = new NewArmyDialog(); |