ADTF
|
Implemenation template which implements an IWindow interface and creates a window on the adtf::ui::riddler::IQtXSystem while initializing. More...
Public Member Functions | |
qt_ui_service () | |
default CTOR This will register the common property "title" to the services IConfiguration | |
~qt_ui_service ()=default | |
DTOR. | |
tResult | ServiceInit () override |
Override ServiceInit method of the service to create a window. More... | |
tResult | ServiceShutdown () override |
Override ServiceShutdown method of the service to destroy a window. More... | |
Private Attributes | |
adtf::ucom::object_ptr< adtf::ui::ant::IQtXSystem > | m_pXSystem |
The XSystem reference. | |
Additional Inherited Members | |
Protected Member Functions inherited from cQtWindow | |
cQtWindow ()=default | |
default CTOR | |
virtual | ~cQtWindow ()=default |
default DTOR | |
virtual QWidget * | CreateView ()=0 |
Callback you have to implement and return a newly QWidget which will be embed to the oParentWidget of the Create . More... | |
virtual void | ReleaseView ()=0 |
Callback you have to implement to cleanup while destroying of the parents window. More... | |
tResult | Create (const char *strWindowID, QWidget &oParentWidget) override |
Callback which in called within the applications main th thread to create a window. More... | |
tResult | Destroy (QWidget &) override |
Callback which in called within the applications main th thread to deliver a destroy message to the windows implementation. More... | |
tResult | OnIdle () override |
Callback for actions within a idle thread. More... | |
tResult | OnTimer () override |
Callback for actions within a steady timer. More... | |
Protected Attributes inherited from cQtWindow | |
adtf::base::property_variable< adtf::util::cString > | m_strTitle |
title property variable will be set while window creating | |
Implemenation template which implements an IWindow interface and creates a window on the adtf::ui::riddler::IQtXSystem while initializing.
SERVICEBASECLASS | a adtf::system::ant::cADTFService implementation. The ServiceInit and ServiceShutdown method will be override. |
Definition at line 33 of file qt_ui_service.h.
|
inlineoverride |
Override ServiceInit method of the service to create a window.
Definition at line 54 of file qt_ui_service.h.
References _runtime, IRuntime::GetObject(), qt_ui_service< SERVICEBASECLASS >::m_pXSystem, cQtWindow::m_strTitle, and RETURN_IF_FAILED.
|
inlineoverride |
Override ServiceShutdown method of the service to destroy a window.
Definition at line 70 of file qt_ui_service.h.
References qt_ui_service< SERVICEBASECLASS >::m_pXSystem, and RETURN_IF_POINTER_NULL.