API Documentation
Loading...
Searching...
No Matches
InterfaceOrientationController Class Reference

#include <InterfaceOrientationController.h>

Collaboration diagram for InterfaceOrientationController:
[legend]

Public Member Functions

 InterfaceOrientationController ()
 
 ~InterfaceOrientationController ()
 
bool isHorizontalMode ()
 
void setHorizontal (bool is_horizontal)
 
void run (QBoxLayout *l, QBoxLayout::Direction horz=QBoxLayout::LeftToRight, QBoxLayout::Direction vert=QBoxLayout::TopToBottom)
 
void run (QCustomTabWidget *w, bool inverted_stack=false)
 
void run (Button *w, Button::ButtonState horz=Button::ButtonState::e_push_button, Button::ButtonState vert=Button::ButtonState::e_large)
 
void run (QSplitter *splitter, bool inverted_splitter=false)
 
void run (PointWidget *widget, uint04 lines_horz=2, uint04 lines_vert=3)
 
void run (Ribbon *widget, RibbonLayoutMode horz_mode=RibbonLayoutMode::e_horizontal, RibbonLayoutMode vert_mode=RibbonLayoutMode::e_vertical)
 
void run (RibbonSubGroup *widget, RibbonLayoutMode horz_mode=RibbonLayoutMode::e_horizontal, RibbonLayoutMode vert_mode=RibbonLayoutMode::e_vertical)
 
void remove (QObject *widget)
 

Static Public Member Functions

static bool isScreenHorizontal ()
 
static InterfaceOrientationControllerDefault ()
 

Public Attributes

Dictionary< QObject *, OrienationOption * > m_orientation_options
 

Protected Member Functions

void addOption (OrienationOption *inter)
 

Protected Attributes

bool m_is_horizontal
 

Constructor & Destructor Documentation

◆ InterfaceOrientationController()

◆ ~InterfaceOrientationController()

Member Function Documentation

◆ addOption()

void addOption ( OrienationOption * inter)
protected

◆ Default()

InterfaceOrientationController & Default ( )
static

◆ isHorizontalMode()

bool isHorizontalMode ( )

◆ isScreenHorizontal()

bool isScreenHorizontal ( )
static

◆ remove()

void remove ( QObject * widget)

◆ run() [1/7]

◆ run() [2/7]

void run ( PointWidget * widget,
uint04 lines_horz = 2,
uint04 lines_vert = 3 )

◆ run() [3/7]

void run ( QBoxLayout * l,
QBoxLayout::Direction horz = QBoxLayout::LeftToRight,
QBoxLayout::Direction vert = QBoxLayout::TopToBottom )

◆ run() [4/7]

void run ( QCustomTabWidget * w,
bool inverted_stack = false )

◆ run() [5/7]

void run ( QSplitter * splitter,
bool inverted_splitter = false )

◆ run() [6/7]

◆ run() [7/7]

◆ setHorizontal()

void setHorizontal ( bool is_horizontal)

Member Data Documentation

◆ m_is_horizontal

bool m_is_horizontal
protected

◆ m_orientation_options

Dictionary<QObject*, OrienationOption*> m_orientation_options

The documentation for this class was generated from the following files: