3#include <NDEVR/QTTools.h>
4#include <NDEVR/Button.h>
5#include <NDEVR/RibbonLayoutMode.h>
11 class QCustomTabWidget;
13 class InterfaceOrientationController;
34 void run(QBoxLayout* l, QBoxLayout::Direction horz = QBoxLayout::LeftToRight, QBoxLayout::Direction vert = QBoxLayout::TopToBottom);
37 void run(QSplitter* splitter,
bool inverted_splitter =
false);
44 struct OrienationOption :
public QObject
49 QLayout* layout =
nullptr;
50 QWidget* widget =
nullptr;
53 bool inverted =
false;
54 virtual void setHorizontal(
bool horizontal);
58 void addOption(OrienationOption* inter);
A hash-based key-value store, useful for quick associative lookups. Key features include:
Definition Dictionary.h:61
This class is responsible for notifying and providing default layout logic when the orientation of th...
Definition InterfaceOrientationController.h:27
void run(QSplitter *splitter, bool inverted_splitter=false)
void run(Ribbon *widget, RibbonLayoutMode horz_mode=RibbonLayoutMode::e_horizontal, RibbonLayoutMode vert_mode=RibbonLayoutMode::e_vertical)
void run(Button *w, Button::ButtonState horz=Button::ButtonState::e_push_button, Button::ButtonState vert=Button::ButtonState::e_large)
static bool isScreenHorizontal()
void run(PointWidget *widget, uint04 lines_horz=2, uint04 lines_vert=3)
void setHorizontal(bool is_horizontal)
void remove(QObject *widget)
void run(QCustomTabWidget *w, bool inverted_stack=false)
void run(RibbonSubGroup *widget, RibbonLayoutMode horz_mode=RibbonLayoutMode::e_horizontal, RibbonLayoutMode vert_mode=RibbonLayoutMode::e_vertical)
void run(QBoxLayout *l, QBoxLayout::Direction horz=QBoxLayout::LeftToRight, QBoxLayout::Direction vert=QBoxLayout::TopToBottom)
InterfaceOrientationController()
static InterfaceOrientationController & Default()
~InterfaceOrientationController()
The UI ribbon is a horizontal menu bar typically located at the top of the application interface or a...
Definition Ribbon.h:54
Represents a sub-section of "Tab" of a ribbon represting a grouping of buttons or widgets within a ta...
Definition RibbonSubGroup.h:47
RibbonLayoutMode
The orientations a ribbon can take on.
Definition RibbonLayoutMode.hpp:39
uint32_t uint04
-Defines an alias representing a 4 byte, unsigned integer -Can represent exact integer values 0 throu...
Definition BaseValues.hpp:96
Defines for a given type (such as sint04, fltp08, UUID, etc) a maximum, minimum, and reserved 'invali...
Definition BaseValues.hpp:233