#include <qt_ui_filter.h>
Inherits FILTERBASECLASS, and adtf::ui::spider::cQtWindow.
|
| | qt_ui_filter () |
| |
|
| ~qt_ui_filter ()=default |
| | DTOR.
|
| |
| tResult | Init (typename FILTERBASECLASS::tInitStage eStage) override |
| |
| tResult | Shutdown (typename FILTERBASECLASS::tInitStage eStage) override |
| |
| QString | GetStateIdentifier () const |
| | Get the State Identifier for the Window State callbacks "OnLoadState" and "OnSaveState".
|
| |
| QString | GetHelpLink () const |
| |
| void | OnLoadState (const QString &strStateFolder) override |
| |
| void | OnSaveState (const QString &strStateFolder) const override |
| |
|
| void | EnableWindowState () |
| | Enables the Window state callbacks. We recommend to use this only within your filters CTOR.
|
| |
| bool | IsWindowStateEnabled () const |
| |
|
| cQtWindow ()=default |
| | default CTOR
|
| |
|
virtual | ~cQtWindow ()=default |
| | default DTOR
|
| |
| virtual QWidget * | CreateView ()=0 |
| |
| virtual void | ReleaseView ()=0 |
| |
| tResult | Create (const char *strWindowID, QWidget &oParentWidget) override |
| | Callback which in called within the applications main th thread to create a window.
|
| |
| tResult | Destroy (QWidget &) override |
| | Callback which in called within the applications main th thread to deliver a destroy message to the windows implementation.
|
| |
| tResult | OnIdle () override |
| |
| tResult | OnTimer () override |
| |
|
| ~IWindowState ()=default |
| | protected DTOR
|
| |
|
| ~IHelp ()=default |
| | protected DTOR
|
| |
|
adtf::base::property_variable< adtf::util::cString > | m_strTitle |
| | title property variable will be set while window creating
|
| |
template<typename FILTERBASECLASS, typename QTWINDOWBASECLASS = spider::cQtWindow>
class adtf::ui::qt_ui_filter< FILTERBASECLASS, QTWINDOWBASECLASS >
Implementation template which implements a filter that derives from
FILTERBASECLASS type
QTWINDOWBASECLASS type
The FILTERBASECLASS type must fulfill following concept requirements:
- implements a adtf::filter::hollow::cFilter
The QTWINDOWBASECLASS type must fulfill following concept requirements:
- Template Parameters
-
| FILTERBASECLASS | A adtf::streaming::ant::IFilter implementation. The Init and Shutdown method will be override. |
| QTWINDOWBASECLASS | A IQtXSystem::IWindow implementation implementation. By default the adtf::ui::spider::cQtWindow type is used. |
◆ qt_ui_filter()
template<typename FILTERBASECLASS, typename QTWINDOWBASECLASS = spider::cQtWindow>
default CTOR This will register the common property "title" to the filters IConfiguration
◆ GetHelpLink()
template<typename FILTERBASECLASS, typename QTWINDOWBASECLASS = spider::cQtWindow>
Returns a filesystem help link to the windows documentation page.
- Return values
-
| empty | The link will be ignored. |
| not-empty | The filesystem help link to the windows documentation page. |
- Returns
- It will return the property entry set by adtf::streaming::hollow::set_help_link
Reimplemented from adtf::ui::spider::cQtWindow.
◆ GetStateIdentifier()
template<typename FILTERBASECLASS, typename QTWINDOWBASECLASS = spider::cQtWindow>
◆ Init()
template<typename FILTERBASECLASS, typename QTWINDOWBASECLASS = spider::cQtWindow>
Override init method of the filter. The FILTERBASECLASS init method will be called. The window is created while adtf::filter::ant::cFilter::tInitStage::StagePostConnect.
- Parameters
-
| [in] | eStage | current init stage |
- Returns
- Standard Return Code. Returning an error will result in breaking intializing of filtergraph.
- See also
- adtf::ui::riddler::IQtXSystem::IWindowState
◆ Shutdown()
template<typename FILTERBASECLASS, typename QTWINDOWBASECLASS = spider::cQtWindow>
Override shutdon method of the filter. The filters shutdown method will be called. The window is destroyed while adtf::filter::ant::cFilter::tInitStage::StagePostConnect.
- Parameters
-
| [in] | eStage | current shutdown stage |
- Returns
- Standard Return Code. Error code will only be logged. Breaking shutdown is not possible.
The documentation for this class was generated from the following file: