trikRuntime
trikGui::LazyMainWidgetWrapper Class Reference

Wrapper that adapts DisplayWidgetInterface to LazyMainWidget. More...

#include <lazyMainWidgetWrapper.h>

Inheritance diagram for trikGui::LazyMainWidgetWrapper:
Collaboration diagram for trikGui::LazyMainWidgetWrapper:

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...
 

Detailed Description

Wrapper that adapts DisplayWidgetInterface to LazyMainWidget.

Constructor & Destructor Documentation

LazyMainWidgetWrapper::LazyMainWidgetWrapper ( trikControl::DisplayWidgetInterface wrappedWidget,
QWidget *  parent = nullptr 
)

Constructor.

Parameters
wrappedWidget- widget to be wrapped into LazyMainWidget interface. Does not take ownership.
parent- parent of this wrapper in Qt Widgets parent/child system.
LazyMainWidgetWrapper::~LazyMainWidgetWrapper ( )
override

Member Function Documentation

void LazyMainWidgetWrapper::renewFocus ( )
overridevirtual

Set focus properly on this widget or one of its children.

Implements trikGui::MainWidget.


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