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
9
namespace
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.
32
Planner
*
m_Planner
;
33
34
/// \brief The simulator widget.
35
///
36
/// Contains the graphical functionality to simulate scenarios.
37
Simulator
*
m_Simulator
;
38
39
/// \brief The launcher widget.
40
///
41
/// Contains the graphical functionality to launch a scenario.
42
Launcher
*
m_Launcher
;
43
};
44
}
// namespace Gui
Gui::Launcher
The launcher widget used to launch scenarios.
Definition:
launcher.h:12
Gui::Planner
The planner widget used for planning scenarios.
Definition:
planner.h:14
Gui::Simulator
The simulator widget used to simulate scenarios.
Definition:
simulator.h:14
Gui::TabWidget
The tab widget of the main window.
Definition:
tab_widget.h:19
Gui::TabWidget::m_Launcher
Launcher * m_Launcher
The launcher widget.
Definition:
tab_widget.h:42
Gui::TabWidget::m_Simulator
Simulator * m_Simulator
The simulator widget.
Definition:
tab_widget.h:37
Gui::TabWidget::~TabWidget
~TabWidget()
Destructs the tab widget.
Definition:
tab_widget.cpp:20
Gui::TabWidget::m_Planner
Planner * m_Planner
The planner widget.
Definition:
tab_widget.h:32
launcher.h
Gui
Definition:
action.h:6
planner.h
simulator.h
include
gui
tab_widget.h
Generated by
1.9.6