hivemind 1.0.0
Loading...
Searching...
No Matches
sidebar.h
Go to the documentation of this file.
1#pragma once
2
4#include "core/types.h"
8#include "gui/tab_widget.h"
11
12#include <QVBoxLayout>
13#include <QWidget>
14
15namespace Gui
16{
17
18 /// \brief The sidebar of the main window
19 ///
20 /// The sidebar of the main content exists to provide the user access to
21 /// tools related to the active tab in the tab widget.
22 class Sidebar : public QWidget
23 {
24 Q_OBJECT
25
26 public:
27 /// \brief Construct the sidebar.
28 /// \param parent The parent of the sidebar.
29 Sidebar(QWidget* parent = nullptr);
30
31 signals:
32 /// \brief Signal emitted when scenario data is ready to be processed.
33 /// \param coord The UTM coordinate of the center of the scenario.
34 /// \param size The size of the scenario in meters.
36
37 private slots:
38
39 // ///
40 // /// \brief Handle the keyframe data received from the
41 // AddKeyFrameDialog.
42 // /// \param agentId The ID of the agent associated with the
43 // keyframe.
44 // /// \param timeStamp The timestamp of the keyframe.
45 // /// \param x The x-coordinate of the keyframe.
46 // /// \param y The y-coordinate of the keyframe.
47 // /// \param z The z-coordinate of the keyframe.
48 // void OnAddKeyframeDialogDataReady(int agentId, float
49 // timeStamp, float x, float y, float z);
50
51 // ///
52 // /// \brief Handle the map data received from the MapDialog.
53 // /// \param latitude The latitude-coordinate of the center of
54 // the map.
55 // /// \param longitude The longitude-coordinate of the center of
56 // the map.
57 // /// \param size The size of the map in meters.
58 // void OnMapDataReady(float latitude, float longitude, float
59 // size);
60
61 private:
62 /// \brief The layout of the sidebar.
63 QVBoxLayout* m_Layout;
64
68 };
69
70} // namespace Gui
The sidebar of the main window.
Definition: sidebar.h:23
ScenarioControls * m_ScenarioControls
Definition: sidebar.h:65
AgentControls * m_AgentControls
Definition: sidebar.h:66
QVBoxLayout * m_Layout
The layout of the sidebar.
Definition: sidebar.h:63
void scenarioDataReady(Core::UTMCoordinate coord, int size)
Signal emitted when scenario data is ready to be processed.
KeyframeControls * m_KeyframeControls
Definition: sidebar.h:67
Definition: action.h:6
\ A structure that represents a coordinate in the Universal Transverse Mercator coordinate system
Definition: types.h:46