![]() |
hivemind 1.0.0
|
The main content of the main window. More...
#include <main_content.h>
Public Member Functions | |
MainContent (QWidget *parent=nullptr) | |
Constructs the main content widget. | |
Private Attributes | |
QGridLayout * | m_Layout |
The layout of the main content. | |
Sidebar * | m_Sidebar |
The sidebar of the main content. | |
TabWidget * | m_TabWidget |
The tab widget of the main content. | |
The main content of the main window.
The main content of the main window essentially contains everything except the menu bar. It exists as a separate class to make the main window class more concise.
Definition at line 16 of file main_content.h.
Gui::MainContent::MainContent | ( | QWidget * | parent = nullptr | ) |
Constructs the main content widget.
parent | The parent widget of the main content. |
Definition at line 10 of file main_content.cpp.
References m_Layout, m_Sidebar, and m_TabWidget.
|
private |
The layout of the main content.
The main content uses a grid layout to easily be able to cover the available space in the window.
Definition at line 29 of file main_content.h.
Referenced by MainContent().
|
private |
The sidebar of the main content.
The sidebar of the main content exists to provide the user access to tools related to the active tab in the tab widget.
Definition at line 35 of file main_content.h.
Referenced by MainContent().
|
private |
The tab widget of the main content.
This widget is responsible for containing the core functionality of Hivemind; planning, simulating and launching. They are separated in their own tabs as a user should only need to access one of these at any point in time.
Definition at line 43 of file main_content.h.
Referenced by MainContent().