trikRuntime
|
Wrapper that adapts DisplayWidgetInterface to LazyMainWidget. More...
#include <lazyMainWidgetWrapper.h>
Public Member Functions | |
LazyMainWidgetWrapper (trikControl::DisplayWidgetInterface *wrappedWidget, QWidget *parent=nullptr) | |
Constructor. More... | |
~LazyMainWidgetWrapper () override | |
void | renewFocus () override |
Set focus properly on this widget or one of its children. More... | |
Public Member Functions inherited from trikGui::LazyMainWidget | |
LazyMainWidget (QWidget *parent=0) | |
Constructor. More... | |
Public Member Functions inherited from trikGui::MainWidget | |
MainWidget (QWidget *parent) | |
Constructor. More... | |
Additional Inherited Members | |
Public Types inherited from trikGui::MainWidget | |
enum | FileManagerRootType { FileManagerRootType::scriptsDir, FileManagerRootType::allFS } |
Signals inherited from trikGui::LazyMainWidget | |
void | showMe (trikGui::MainWidget &widget) |
Emitted when the widget wants it to be shown. More... | |
void | hideMe () |
Emitted when the widget wants it to be hidden. More... | |
Signals inherited from trikGui::MainWidget | |
void | newWidget (trikGui::MainWidget &widget) |
Emitted when the widget created a new one and wants it to be shown. More... | |
Wrapper that adapts DisplayWidgetInterface to LazyMainWidget.
LazyMainWidgetWrapper::LazyMainWidgetWrapper | ( | trikControl::DisplayWidgetInterface * | wrappedWidget, |
QWidget * | parent = nullptr |
||
) |
Constructor.
wrappedWidget | - widget to be wrapped into LazyMainWidget interface. Does not take ownership. |
parent | - parent of this wrapper in Qt Widgets parent/child system. |
|
override |
|
overridevirtual |
Set focus properly on this widget or one of its children.
Implements trikGui::MainWidget.