roviz  0.7
Code Documentation of roviz
Classes | Enumerations
gui_manager.h File Reference
#include <QObject>
#include <QMainWindow>
#include <functional>
#include "appcore.h"
#include "helper/singleton.h"
Include dependency graph for gui_manager.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  GuiManager
 The GuiManager class handels widgets and actions on the main window. More...
 

Enumerations

enum  WidgetType {
  WidgetType::DockWidget, WidgetType::ToolBar, WidgetType::CentralWidget, WidgetType::MenuBar,
  WidgetType::StatusBar
}
 Information about the type of a widget. More...
 
enum  WidgetArea {
  WidgetArea::NoArea = 0, WidgetArea::Left = 0x1, WidgetArea::Right = 0x2, WidgetArea::Top = 0x4,
  WidgetArea::Bottom = 0x8, WidgetArea::AllAreas = 0xf
}
 Information about the area where a widget should be placed, Compatible with Qt::DockWidgetArea and Qt::ToolBarArea. More...
 
enum  GuiMode { GuiMode::ShowGui = 0, GuiMode::Headless }
 

Enumeration Type Documentation

◆ GuiMode

enum GuiMode
strong
Enumerator
ShowGui 

Show GUI (default)

Headless 

Do not show GUI. Useful for non-interactive usage, e.g. in tests.

◆ WidgetArea

enum WidgetArea
strong

Information about the area where a widget should be placed, Compatible with Qt::DockWidgetArea and Qt::ToolBarArea.

Enumerator
NoArea 

No area, use for widget that don't need an area.

Left 

Left Area.

Right 

Right Area.

Top 

Top Area.

Bottom 

Bottom Area.

AllAreas 

Mask for all areas.

◆ WidgetType

enum WidgetType
strong

Information about the type of a widget.

Enumerator
DockWidget 

Widget that can be casted to a QDockwidget.

ToolBar 

Widget that can be casted into a Toolbar.

CentralWidget 

Widget that is placed in the center, only one can exist within a QMainWindow.

MenuBar 

Widget that can be casted into a QMenuBar, only one can exist within a QMainWindow.

StatusBar 

Widget that can be casted into a QStatusBar, only one can exist within a QMainWindow.