API Documentation
Loading...
Searching...
No Matches
InterfaceOrientationController.h File Reference
#include "DLLInfo.h"
#include <NDEVR/QTTools.h>
#include <NDEVR/Button.h>
#include <NDEVR/RibbonLayoutMode.h>
#include <QBoxLayout>
Include dependency graph for InterfaceOrientationController.h:

Go to the source code of this file.

Classes

class  InterfaceOrientationController
 This class is responsible for notifying and providing default layout logic when the orientation of the widget changes, such as for a screen rotaton. Espcially useful for phones that may change orientation. For example, QBoxLayouts will be set to vertical when the screen is vertical and horizontal when the screen is horizontal. Widgets can be added inverted, meaning the opposite of the default layout behavior will occur. Widget will be layed out as soon as run is called on it, and subsequently when the interface layout changes. Provided widget is destroyed on the main thread, there is no need to automatically remove it from the controller. More...
 

Namespaces

namespace  NDEVR