hivemind 1.0.0
Loading...
Searching...
No Matches
tab_widget.h
Go to the documentation of this file.
1#pragma once
2
3#include "gui/launcher.h"
4#include "gui/planner.h"
5#include "gui/simulator.h"
6
7#include <QTabWidget>
8
9namespace Gui
10{
11
12 /// \brief The tab widget of the main window.
13 ///
14 // This widget is responsible for containing the core functionality of
15 /// Hivemind; planning, simulating and launching. They are separated in
16 /// their own tabs as a user should only need to access one of these at
17 /// any point in time.
18 class TabWidget : public QTabWidget
19 {
20 public:
21 /// \brief Constructs the tab widget.
22 /// \param parent The parent of the tab widget.
23 TabWidget(QWidget* parent = nullptr);
24
25 /// \brief Destructs the tab widget.
26 ~TabWidget();
27
28 private:
29 /// \brief The planner widget.
30 ///
31 /// Contains the graphical functionality to plan scenarios.
33
34 /// \brief The simulator widget.
35 ///
36 /// Contains the graphical functionality to simulate scenarios.
38
39 /// \brief The launcher widget.
40 ///
41 /// Contains the graphical functionality to launch a scenario.
43 };
44} // namespace Gui
The launcher widget used to launch scenarios.
Definition: launcher.h:12
The planner widget used for planning scenarios.
Definition: planner.h:14
The simulator widget used to simulate scenarios.
Definition: simulator.h:14
The tab widget of the main window.
Definition: tab_widget.h:19
Launcher * m_Launcher
The launcher widget.
Definition: tab_widget.h:42
Simulator * m_Simulator
The simulator widget.
Definition: tab_widget.h:37
~TabWidget()
Destructs the tab widget.
Definition: tab_widget.cpp:20
Planner * m_Planner
The planner widget.
Definition: tab_widget.h:32
Definition: action.h:6