#include "CentralWidgetManager.h"
|
virtual void | resizeEvent (QResizeEvent *_event) override |
|
◆ CentralWidgetManager()
Constructor.
- Parameters
-
_window | If provided the CentralWidgetManager will set itself as the central widget. This may destroy the previously set central widget. |
◆ ~CentralWidgetManager()
ot::CentralWidgetManager::~CentralWidgetManager |
( |
| ) |
|
|
virtual |
◆ getCurrentCentralWidget() [1/2]
QWidget * ot::CentralWidgetManager::getCurrentCentralWidget |
( |
void | | ) |
|
|
inline |
Returns writeable pointer to the currently set central widget. The CentralWidgetManager keeps ownership of the central widget.
◆ getCurrentCentralWidget() [2/2]
const QWidget * ot::CentralWidgetManager::getCurrentCentralWidget |
( |
void | | ) |
const |
|
inline |
Returns read-only pointer to the currently set central widget. The CentralWidgetManager keeps ownership of the central widget.
◆ getCurrentOverlayAnimation()
std::shared_ptr< QMovie > ot::CentralWidgetManager::getCurrentOverlayAnimation |
( |
void | | ) |
const |
|
inline |
◆ getOverlayAnimatioHideDelay()
int ot::CentralWidgetManager::getOverlayAnimatioHideDelay |
( |
void | | ) |
const |
◆ getOverlayAnimatioShowDelay()
int ot::CentralWidgetManager::getOverlayAnimatioShowDelay |
( |
void | | ) |
const |
◆ replaceCurrentCentralWidget()
std::unique_ptr< QWidget > ot::CentralWidgetManager::replaceCurrentCentralWidget |
( |
QWidget * | _widget | ) |
|
Replaces the current central widget. An existing widget will be hidden an returned. Caller takes ownership of the replaced widget.
◆ resizeEvent()
void ot::CentralWidgetManager::resizeEvent |
( |
QResizeEvent * | _event | ) |
|
|
overrideprotectedvirtual |
◆ setOverlayAnimatioHideDelay()
void ot::CentralWidgetManager::setOverlayAnimatioHideDelay |
( |
int | _delay | ) |
|
◆ setOverlayAnimation()
void ot::CentralWidgetManager::setOverlayAnimation |
( |
std::shared_ptr< QMovie > | _animation | ) |
|
◆ setOverlayAnimationVisible()
void ot::CentralWidgetManager::setOverlayAnimationVisible |
( |
bool | _visible, |
|
|
bool | _noDelay = false ) |
◆ setOverlayAnimatioShowDelay()
void ot::CentralWidgetManager::setOverlayAnimatioShowDelay |
( |
int | _delay | ) |
|
The documentation for this class was generated from the following files: