hivemind 1.0.0
Loading...
Searching...
No Matches
Gui::MenuBar Class Reference

The main menubar of the user interface. More...

#include <menu_bar.h>

Inheritance diagram for Gui::MenuBar:
Inheritance graph
Collaboration diagram for Gui::MenuBar:
Collaboration graph

Signals

void SaveScenario (const std::string &filename)
 
void LoadScenario (const std::string &filename)
 

Public Member Functions

 MenuBar (QWidget *parent=nullptr)
 Constructs the menu bar.
 

Detailed Description

The main menubar of the user interface.

The main menubar exists to provide the user with easy access to functionality such as creating new scenarios, opening existing scenarios etc.

Definition at line 13 of file menu_bar.h.

Constructor & Destructor Documentation

◆ MenuBar()

Gui::MenuBar::MenuBar ( QWidget *  parent = nullptr)

Constructs the menu bar.

Parameters
parentThe parent widget of the menu bar

Definition at line 13 of file menu_bar.cpp.

References LoadScenario(), and SaveScenario().

Member Function Documentation

◆ LoadScenario

void Gui::MenuBar::LoadScenario ( const std::string &  filename)
signal

Referenced by MenuBar().

Here is the caller graph for this function:

◆ SaveScenario

void Gui::MenuBar::SaveScenario ( const std::string &  filename)
signal

Referenced by MenuBar().

Here is the caller graph for this function:

The documentation for this class was generated from the following files: