13#include <adtf_utils.h>
14#include <adtfucom3/adtf_ucom3.h>
21#define CID_ADTF_XSYSTEM "qt_xsystem.ui_service.adtf.cid"
76 virtual tResult
Create(
const char* strWindowID, QWidget& oParentWidget) = 0;
92 virtual tResult
Destroy(QWidget& oParentWidget) = 0;
316 virtual void OnSaveState(
const QString& strStateFolder)
const = 0;
502 virtual void OnLoadState(
const QString& strStateFolder, uint32_t ui32LoadStateFlags) = 0;
523 virtual void OnSaveState(
const QString& strStateFolder, uint32_t ui32SaveStateFlags)
const = 0;
Definition qtxsystem_intf.h:413
Definition qtxsystem_intf.h:56
virtual tResult Create(const char *strWindowID, QWidget &oParentWidget)=0
Callback which in called within the applications main th thread to create a window.
virtual tResult OnIdle()=0
virtual tResult OnTimer()=0
virtual tResult Destroy(QWidget &oParentWidget)=0
Callback which in called within the applications main th thread to deliver a destroy message to the w...
Interface definition for the ADTF XSystem based on Qt. Use this interface to create your own displays...
Definition qtxsystem_intf.h:43
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.
~IQtXSystem()=default
protected DTOR
virtual tResult DestroyWindow(IWindow &oWindow)=0
Destroy and unregister a window from the XSystem.
Interface definition for the ADTF XSystem based on Qt. Use this interface to create your own displays...
Definition qtxsystem_intf.h:159
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.
eWindowCreationFlags
Windows creation flags used within CreateWindow.
Definition qtxsystem_intf.h:172
@ WCF_HideOnCloseDestroyOnRemove
This will close the window on "X" and "Close" via menu. An additional "Remove" menu entry will destro...
Definition qtxsystem_intf.h:190
@ WCF_DestroyOnClose
Destroy window and all child widgets when the window is closed.
Definition qtxsystem_intf.h:180
@ WCF_None
no flag set.
Definition qtxsystem_intf.h:176
@ WCF_HasWindowState
Enable the window state calls for IQtXSystem::IWindowState.
Definition qtxsystem_intf.h:185
@ WCF_DockWindowStateOnExport
This requests to save and restore the xsystems dock windows state when exporting/importing.
Definition qtxsystem_intf.h:194
~IQtXSystem()=default
protected DTOR
Definition qtxsystem_intf.h:252
virtual QString GetStateIdentifier() const =0
~IWindowState()=default
protected DTOR
virtual void OnSaveState(const QString &strStateFolder) const =0
virtual void OnLoadState(const QString &strStateFolder)=0
Interface definition for the ADTF XSystem based on Qt. Use this interface to create your own displays...
Definition qtxsystem_intf.h:224
~IQtXSystem()=default
protected DTOR
ADTF_IID(IQtXSystem, "qt_xsystem.riddler.services.adtf.iid")
interface id for adtf::ucom::ant::ucom_cast
Definition qtxsystem_intf.h:353
virtual QString GetHelpLink() const =0
~IHelp()=default
protected DTOR
Interface definition for the ADTF XSystem based on Qt. Use this interface to create your own displays...
Definition qtxsystem_intf.h:339
~IQtXSystem()=default
protected DTOR
ADTF_IID(IQtXSystem, "qt_xsystem.spider.services.adtf.iid")
interface id for adtf::ucom::ant::ucom_cast
virtual void OnLoadState(const QString &strStateFolder, uint32_t ui32LoadStateFlags)=0
virtual QString GetStateIdentifier() const =0
StateFlags
State flags indicating the reason of the call and folder location within OnLoadState and OnSaveState.
Definition qtxsystem_intf.h:432
@ Content
If state exists restore or save it partially. Content in the meaning of:
Definition qtxsystem_intf.h:439
@ Layout
If state exists update or save layout of existing views only. Layout in the meaning of:
Definition qtxsystem_intf.h:447
@ Interactive
State folder was created on export/import actions by user interaction.
Definition qtxsystem_intf.h:453
~IWindowState()=default
protected DTOR
virtual void OnSaveState(const QString &strStateFolder, uint32_t ui32SaveStateFlags) const =0
Interface definition for the ADTF XSystem based on Qt. Use this interface to create your own displays...
Definition qtxsystem_intf.h:385
ADTF_IID(IQtXSystem, "qt_xsystem.v1.services.adtf.iid")
interface id for adtf::ucom::ant::ucom_cast
~IQtXSystem()=default
protected DTOR
Legacy version namespace for all functionality of the ADTF UI SDK taken over from ADTF v3....
Definition qt_control_metrics.h:23
Legacy version namespace for all functionality of the ADTF UI SDK taken over from ADTF v3....
Definition qt_ui_filter.h:119
QString get_window_state_folder_name(const QString &strSessionDataDir, const QString &strShortPathName)
Get the default window state folder name.
Legacy version namespace for all functionality of the ADTF UI SDK taken over from ADTF v3....
Definition qt_ui_filter.h:239
Namespace for all ui classes and interfaces provided since v1.0.0.
Definition adtfui_pkg.h:13
QString get_window_state_folder_name(const QString &strSessionDataDir, const QString &strShortPathName)
Get the default window state folder name.
Namespace for all functionality provided by ADTF and its SDKs.
Definition adtfui_pkg.h:13