ADTF
3.18.2
|
Interface definition for the ADTF XSystem based on Qt. More...
Public Types | |
enum | eWindowCreationFlags { WCF_None = 0x00 , WCF_DestroyOnClose = 0x01 , WCF_HasWindowState = 0x02 } |
Windows creation flags used within CreateWindow. More... | |
Public Member Functions | |
ADTF_IID (IQtXSystem, "qt_xsystem.osborn.services.adtf.iid") | |
interface id for adtf::ucom::ant::ucom_cast | |
virtual tResult | CreateWindow (IWindow &oWindow, uint32_t nFlags)=0 |
Create and register a window to the XSystem. More... | |
Public Member Functions inherited from IQtXSystem | |
ADTF_IID (IQtXSystem, "qt_xsystem.ant.services.adtf.iid") | |
interface id for adtf::ucom::ant::ucom_cast | |
virtual tResult | CreateWindow (IWindow &oWindow)=0 |
Create and register a window to the XSystem. More... | |
virtual tResult | DestroyWindow (IWindow &oWindow)=0 |
Destroy and unregister a window from the XSystem. More... | |
Public Member Functions inherited from IObject | |
ADTF_IID (IObject, "object.ant.ucom.adtf.iid") | |
Marks the IObject to be castable with the ucom_cast() More... | |
Protected Member Functions | |
~IQtXSystem ()=default | |
protected DTOR | |
Protected Member Functions inherited from IQtXSystem | |
~IQtXSystem ()=default | |
protected DTOR | |
Protected Member Functions inherited from IObject | |
~IObject ()=default | |
Protected destructor --> Use implemented Destroy() instead of delete! | |
Interface definition for the ADTF XSystem based on Qt.
Use this interface to create your own displays within the Qt5 ADTF XSystem UI Service.
Since Qt is NOT binary compatible between Release and Debug versions the QWidget
class of Qt is used to provide Consider Basics how to use it. A Default implementation is provided via Qt5 ADTF XSystem UI Service.
Definition at line 152 of file qtxsystem_intf.h.
enum eWindowCreationFlags |
Windows creation flags used within CreateWindow.
Enumerator | |
---|---|
WCF_None | no flag set. |
WCF_DestroyOnClose | Destroy window and all child widgets when the window is closed. |
WCF_HasWindowState | Enable the window state calls for IQtXSystem::IWindowState. |
Definition at line 165 of file qtxsystem_intf.h.
Create and register a window to the XSystem.
CreateWindow is a blocking call for window creation and can be called within any context. Depending on the implementation the IWindow::Create
method to pWindow
will be called. The implementation has to make sure the window creation is done only within the main message queue thread. Otherwise it may fail.
[in] | oWindow | Window implementation. Consider adtf::ui::ant::cQtWindow. |
[in] | nFlags | Window screation flags, |
IWindow::Create
method.