hivemind 1.0.0
Loading...
Searching...
No Matches
menu_bar.h
Go to the documentation of this file.
1#pragma once
2
3#include <QMenuBar>
4
5namespace Gui
6{
7
8 /// \brief The main menubar of the user interface.
9 ///
10 /// The main menubar exists to provide the user with easy access to
11 /// functionality such as creating new scenarios, opening existing scenarios
12 /// etc.
13 class MenuBar : public QMenuBar
14 {
15 Q_OBJECT
16 public:
17 /// \brief Constructs the menu bar
18 /// \param parent The parent widget of the menu bar
19 MenuBar(QWidget* parent = nullptr);
20
21 signals:
22 void SaveScenario(const std::string& filename);
23 void LoadScenario(const std::string& filename);
24
25 private:
26 };
27} // namespace Gui
The main menubar of the user interface.
Definition: menu_bar.h:14
void LoadScenario(const std::string &filename)
void SaveScenario(const std::string &filename)
Definition: action.h:6