ADTF Qt5
Loading...
Searching...
No Matches
adtf::ui::v2::IQtXSystem Class Referenceabstract

Interface definition for the ADTF XSystem based on Qt. Use this interface to create your own displays within the Qt5 ADTF XSystem UI Service. More...

#include <qtxsystem_intf.h>

Inherits adtf::ui::v1::IQtXSystem.

Public Types

enum  eThemeMode { System = 0x00 , Light = 0x01 , Dark = 0x02 }
 Theme mode. More...
 
- Public Types inherited from adtf::ui::osborn::IQtXSystem
enum  eWindowCreationFlags {
  WCF_None = 0x00 , WCF_DestroyOnClose = 0x01 , WCF_HasWindowState = 0x02 , WCF_HideOnCloseDestroyOnRemove = 0x04 ,
  WCF_DockWindowStateOnExport = 0x08
}
 Windows creation flags used within CreateWindow. More...
 

Public Member Functions

 ADTF_IID (IQtXSystem, "qt_xsystem.v2.services.adtf.iid")
 interface id for adtf::ucom::ant::ucom_cast
 
virtual tResult SetTheme (eThemeMode mode) noexcept=0
 
virtual tResult SetScaling (double fFactor) noexcept=0
 
- Public Member Functions inherited from adtf::ui::v1::IQtXSystem
 ADTF_IID (IQtXSystem, "qt_xsystem.v1.services.adtf.iid")
 interface id for adtf::ucom::ant::ucom_cast
 
- Public Member Functions inherited from adtf::ui::spider::IQtXSystem
 ADTF_IID (IQtXSystem, "qt_xsystem.spider.services.adtf.iid")
 interface id for adtf::ucom::ant::ucom_cast
 
- Public Member Functions inherited from adtf::ui::riddler::IQtXSystem
 ADTF_IID (IQtXSystem, "qt_xsystem.riddler.services.adtf.iid")
 interface id for adtf::ucom::ant::ucom_cast
 
- Public Member Functions inherited from adtf::ui::osborn::IQtXSystem
 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.
 
virtual tResult CreateWindow (IWindow &oWindow)=0
 Create and register a window to the XSystem.
 
- Public Member Functions inherited from adtf::ui::ant::IQtXSystem
 ADTF_IID (IQtXSystem, "qt_xsystem.ant.services.adtf.iid")
 interface id for adtf::ucom::ant::ucom_cast
 
virtual tResult DestroyWindow (IWindow &oWindow)=0
 Destroy and unregister a window from the XSystem.
 

Protected Member Functions

 ~IQtXSystem ()=default
 protected DTOR
 
- Protected Member Functions inherited from adtf::ui::v1::IQtXSystem
 ~IQtXSystem ()=default
 protected DTOR
 
- Protected Member Functions inherited from adtf::ui::spider::IQtXSystem
 ~IQtXSystem ()=default
 protected DTOR
 
- Protected Member Functions inherited from adtf::ui::riddler::IQtXSystem
 ~IQtXSystem ()=default
 protected DTOR
 
- Protected Member Functions inherited from adtf::ui::osborn::IQtXSystem
 ~IQtXSystem ()=default
 protected DTOR
 
- Protected Member Functions inherited from adtf::ui::ant::IQtXSystem
 ~IQtXSystem ()=default
 protected DTOR
 

Detailed Description

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. See Qt5 ADTF XSystem UI Service how to use it. A Default implementation is provided via Qt5 ADTF XSystem UI Service.

Member Enumeration Documentation

◆ eThemeMode

Theme mode.

Enumerator
System 

System theme mode.

Light 

Light theme mode.

Dark 

Dark theme mode.

Member Function Documentation

◆ SetScaling()

virtual tResult adtf::ui::v2::IQtXSystem::SetScaling ( double fFactor)
pure virtualnoexcept

Set the scaling of the XSystem.

Parameters
[in]fFactorScaling factor.
Returns
Error code.
Return values
ERR_NOERROROn success.

◆ SetTheme()

virtual tResult adtf::ui::v2::IQtXSystem::SetTheme ( eThemeMode mode)
pure virtualnoexcept

Set the theme of the XSystem.

Parameters
[in]modeTheme mode.
Returns
Error code.
Return values
ERR_NOERROROn success.

The documentation for this class was generated from the following file: