OpenChartProject / OpenChart

✨ NEW REPO ✨ https://github.com/OpenChartProject/OpenChart-web
https://github.com/OpenChartProject/OpenChart-web
Other
8 stars 3 forks source link

Add menu bar to the main window #62

Closed Kangaroux closed 4 years ago

Kangaroux commented 4 years ago

Closes #51

Kangaroux commented 4 years ago

The model for the menu is defined in MenuModel.cs

The MenuBar widget binds to the model using the "app" namespace since the actions are added at the Application level, not the Window level.

Finally, actions are added to the app on startup in InitActions

I added a QuitAction just to test it. Hotkeys for the menu aren't working at the moment

image