#include <qt_ui_service.h>
Inherits SERVICEBASECLASS, and adtf::ui::ant::cQtWindow.
|
|
| 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 |
| |
|
adtf::base::property_variable< adtf::util::cString > | m_strTitle |
| | title property variable will be set while window creating
|
| |
template<typename SERVICEBASECLASS>
class adtf::ui::ant::qt_ui_service< SERVICEBASECLASS >
Implemenation template which implements an IWindow interface and creates a window on the adtf::ui::riddler::IQtXSystem while initializing.
- Template Parameters
-
| SERVICEBASECLASS | a adtf::system::ant::cADTFService implementation. The ServiceInit and ServiceShutdown method will be override. |
◆ qt_ui_service()
template<typename SERVICEBASECLASS>
default CTOR This will register the common property "title" to the services IConfiguration
◆ ServiceInit()
template<typename SERVICEBASECLASS>
Override ServiceInit method of the service to create a window.
- Returns
- Standard Return Code. Returning an error will result in breaking intializing of system.
◆ ServiceShutdown()
template<typename SERVICEBASECLASS>
Override ServiceShutdown method of the service to destroy a window.
- 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: