Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
IFWL_ThemeProvider Class Referenceabstract

#include <ifwl_themeprovider.h>

+ Inheritance diagram for IFWL_ThemeProvider:
+ Collaboration diagram for IFWL_ThemeProvider:

Public Member Functions

virtual ~IFWL_ThemeProvider ()
 
void Trace (cppgc::Visitor *visitor) const override
 
virtual void DrawBackground (const CFWL_ThemeBackground &pParams)=0
 
virtual void DrawText (const CFWL_ThemeText &pParams)=0
 
virtual void CalcTextRect (const CFWL_ThemeText &pParams, CFX_RectF *pRect)=0
 
virtual float GetCXBorderSize () const =0
 
virtual float GetCYBorderSize () const =0
 
virtual CFX_RectF GetUIMargin (const CFWL_ThemePart &pThemePart) const =0
 
virtual float GetFontSize (const CFWL_ThemePart &pThemePart) const =0
 
virtual RetainPtr< CFGAS_GEFontGetFont (const CFWL_ThemePart &pThemePart)=0
 
virtual RetainPtr< CFGAS_GEFontGetFWLFont ()=0
 
virtual float GetLineHeight (const CFWL_ThemePart &pThemePart) const =0
 
virtual float GetScrollBarWidth () const =0
 
virtual FX_COLORREF GetTextColor (const CFWL_ThemePart &pThemePart) const =0
 
virtual CFX_SizeF GetSpaceAboveBelow (const CFWL_ThemePart &pThemePart) const =0
 

Protected Member Functions

 IFWL_ThemeProvider (cppgc::Heap *pHeap)
 
CFWL_WidgetTPGetTheme (const CFWL_Widget *pWidget) const
 

Detailed Description

Definition at line 24 of file ifwl_themeprovider.h.

Constructor & Destructor Documentation

◆ ~IFWL_ThemeProvider()

IFWL_ThemeProvider::~IFWL_ThemeProvider ( )
virtualdefault

◆ IFWL_ThemeProvider()

IFWL_ThemeProvider::IFWL_ThemeProvider ( cppgc::Heap * pHeap)
explicitprotected

Definition at line 22 of file ifwl_themeprovider.cpp.

References IFWL_ThemeProvider().

Referenced by IFWL_ThemeProvider().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Function Documentation

◆ CalcTextRect()

virtual void IFWL_ThemeProvider::CalcTextRect ( const CFWL_ThemeText & pParams,
CFX_RectF * pRect )
pure virtual

Implemented in CXFA_FWLTheme.

Referenced by CFWL_Widget::CalcTextRect(), and CFWL_Widget::CalcTextSize().

+ Here is the caller graph for this function:

◆ DrawBackground()

virtual void IFWL_ThemeProvider::DrawBackground ( const CFWL_ThemeBackground & pParams)
pure virtual

Implemented in CXFA_FWLTheme.

Referenced by CFWL_Widget::DrawBorder(), and CFWL_CheckBox::DrawWidget().

+ Here is the caller graph for this function:

◆ DrawText()

virtual void IFWL_ThemeProvider::DrawText ( const CFWL_ThemeText & pParams)
pure virtual

Implemented in CXFA_FWLTheme.

Referenced by CFWL_CheckBox::DrawWidget().

+ Here is the caller graph for this function:

◆ GetCXBorderSize()

virtual float IFWL_ThemeProvider::GetCXBorderSize ( ) const
pure virtual

Implemented in CXFA_FWLTheme.

Referenced by CFWL_Widget::GetCXBorderSize().

+ Here is the caller graph for this function:

◆ GetCYBorderSize()

virtual float IFWL_ThemeProvider::GetCYBorderSize ( ) const
pure virtual

Implemented in CXFA_FWLTheme.

Referenced by CFWL_Widget::GetCYBorderSize().

+ Here is the caller graph for this function:

◆ GetFont()

virtual RetainPtr< CFGAS_GEFont > IFWL_ThemeProvider::GetFont ( const CFWL_ThemePart & pThemePart)
pure virtual

Implemented in CXFA_FWLTheme.

◆ GetFontSize()

virtual float IFWL_ThemeProvider::GetFontSize ( const CFWL_ThemePart & pThemePart) const
pure virtual

Implemented in CXFA_FWLTheme.

◆ GetFWLFont()

virtual RetainPtr< CFGAS_GEFont > IFWL_ThemeProvider::GetFWLFont ( )
pure virtual

Implemented in CXFA_FWLTheme.

◆ GetLineHeight()

virtual float IFWL_ThemeProvider::GetLineHeight ( const CFWL_ThemePart & pThemePart) const
pure virtual

Implemented in CXFA_FWLTheme.

◆ GetScrollBarWidth()

virtual float IFWL_ThemeProvider::GetScrollBarWidth ( ) const
pure virtual

Implemented in CXFA_FWLTheme.

◆ GetSpaceAboveBelow()

virtual CFX_SizeF IFWL_ThemeProvider::GetSpaceAboveBelow ( const CFWL_ThemePart & pThemePart) const
pure virtual

Implemented in CXFA_FWLTheme.

◆ GetTextColor()

virtual FX_COLORREF IFWL_ThemeProvider::GetTextColor ( const CFWL_ThemePart & pThemePart) const
pure virtual

Implemented in CXFA_FWLTheme.

◆ GetTheme()

CFWL_WidgetTP * IFWL_ThemeProvider::GetTheme ( const CFWL_Widget * pWidget) const
protected

Definition at line 62 of file ifwl_themeprovider.cpp.

References CFWL_Widget::GetClassID().

Referenced by CXFA_FWLTheme::DrawBackground().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetUIMargin()

virtual CFX_RectF IFWL_ThemeProvider::GetUIMargin ( const CFWL_ThemePart & pThemePart) const
pure virtual

Implemented in CXFA_FWLTheme.

◆ Trace()

void IFWL_ThemeProvider::Trace ( cppgc::Visitor * visitor) const
override

Definition at line 48 of file ifwl_themeprovider.cpp.


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