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
CXFA_FWLTheme Class Referencefinal

#include <cxfa_fwltheme.h>

+ Inheritance diagram for CXFA_FWLTheme:
+ Collaboration diagram for CXFA_FWLTheme:

Public Member Functions

 ~CXFA_FWLTheme () override
 
void PreFinalize ()
 
void Trace (cppgc::Visitor *visitor) const override
 
void DrawBackground (const CFWL_ThemeBackground &pParams) override
 
void DrawText (const CFWL_ThemeText &pParams) override
 
void CalcTextRect (const CFWL_ThemeText &pParams, CFX_RectF *pRect) override
 
float GetCXBorderSize () const override
 
float GetCYBorderSize () const override
 
CFX_RectF GetUIMargin (const CFWL_ThemePart &pThemePart) const override
 
float GetFontSize (const CFWL_ThemePart &pThemePart) const override
 
RetainPtr< CFGAS_GEFontGetFont (const CFWL_ThemePart &pThemePart) override
 
RetainPtr< CFGAS_GEFontGetFWLFont () override
 
float GetLineHeight (const CFWL_ThemePart &pThemePart) const override
 
float GetScrollBarWidth () const override
 
FX_COLORREF GetTextColor (const CFWL_ThemePart &pThemePart) const override
 
CFX_SizeF GetSpaceAboveBelow (const CFWL_ThemePart &pThemePart) const override
 
bool LoadCalendarFont (CXFA_FFDoc *doc)
 
- Public Member Functions inherited from IFWL_ThemeProvider
virtual ~IFWL_ThemeProvider ()
 
void Trace (cppgc::Visitor *visitor) const override
 

Public Attributes

 CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED
 

Additional Inherited Members

- Protected Member Functions inherited from IFWL_ThemeProvider
 IFWL_ThemeProvider (cppgc::Heap *pHeap)
 
CFWL_WidgetTPGetTheme (const CFWL_Widget *pWidget) const
 

Detailed Description

Definition at line 24 of file cxfa_fwltheme.h.

Constructor & Destructor Documentation

◆ ~CXFA_FWLTheme()

CXFA_FWLTheme::~CXFA_FWLTheme ( )
overridedefault

Member Function Documentation

◆ CalcTextRect()

void CXFA_FWLTheme::CalcTextRect ( const CFWL_ThemeText & pParams,
CFX_RectF * pRect )
overridevirtual

Implements IFWL_ThemeProvider.

Definition at line 230 of file cxfa_fwltheme.cpp.

References CXFA_FFWidget::GetNode(), CFWL_ThemePart::GetWidget(), and MonthCalendar.

+ Here is the call graph for this function:

◆ DrawBackground()

void CXFA_FWLTheme::DrawBackground ( const CFWL_ThemeBackground & pParams)
overridevirtual

Implements IFWL_ThemeProvider.

Definition at line 83 of file cxfa_fwltheme.cpp.

References IFWL_ThemeProvider::GetTheme(), and CFWL_ThemePart::GetWidget().

+ Here is the call graph for this function:

◆ DrawText()

void CXFA_FWLTheme::DrawText ( const CFWL_ThemeText & pParams)
overridevirtual

Implements IFWL_ThemeProvider.

Definition at line 87 of file cxfa_fwltheme.cpp.

References CFX_Matrix::Concat(), CFWL_ThemeText::GetGraphics(), CFGAS_GEGraphics::GetMatrix(), CXFA_FFWidget::GetNode(), CFWL_ThemePart::GetPart(), CFGAS_GEGraphics::GetRenderDevice(), CFWL_ThemePart::GetWidget(), CFWL_ThemePart::kDatesIn, kFlagged, kHovered, kSelected, CFWL_ThemePart::m_matrix, and MonthCalendar.

+ Here is the call graph for this function:

◆ GetCXBorderSize()

float CXFA_FWLTheme::GetCXBorderSize ( ) const
overridevirtual

Implements IFWL_ThemeProvider.

Definition at line 171 of file cxfa_fwltheme.cpp.

◆ GetCYBorderSize()

float CXFA_FWLTheme::GetCYBorderSize ( ) const
overridevirtual

Implements IFWL_ThemeProvider.

Definition at line 175 of file cxfa_fwltheme.cpp.

◆ GetFont()

RetainPtr< CFGAS_GEFont > CXFA_FWLTheme::GetFont ( const CFWL_ThemePart & pThemePart)
overridevirtual

Implements IFWL_ThemeProvider.

Definition at line 185 of file cxfa_fwltheme.cpp.

References CXFA_FFWidget::GetDoc(), CXFA_Node::GetFGASFont(), GetFWLFont(), CXFA_FFWidget::GetNode(), and CFWL_ThemePart::GetWidget().

+ Here is the call graph for this function:

◆ GetFontSize()

float CXFA_FWLTheme::GetFontSize ( const CFWL_ThemePart & pThemePart) const
overridevirtual

Implements IFWL_ThemeProvider.

Definition at line 179 of file cxfa_fwltheme.cpp.

References CXFA_Node::GetFontSize(), CXFA_FFWidget::GetNode(), and CFWL_ThemePart::GetWidget().

+ Here is the call graph for this function:

◆ GetFWLFont()

RetainPtr< CFGAS_GEFont > CXFA_FWLTheme::GetFWLFont ( )
overridevirtual

Implements IFWL_ThemeProvider.

Definition at line 193 of file cxfa_fwltheme.cpp.

Referenced by GetFont().

+ Here is the caller graph for this function:

◆ GetLineHeight()

float CXFA_FWLTheme::GetLineHeight ( const CFWL_ThemePart & pThemePart) const
overridevirtual

Implements IFWL_ThemeProvider.

Definition at line 200 of file cxfa_fwltheme.cpp.

References CXFA_Node::GetLineHeight(), CXFA_FFWidget::GetNode(), and CFWL_ThemePart::GetWidget().

+ Here is the call graph for this function:

◆ GetScrollBarWidth()

float CXFA_FWLTheme::GetScrollBarWidth ( ) const
overridevirtual

Implements IFWL_ThemeProvider.

Definition at line 206 of file cxfa_fwltheme.cpp.

◆ GetSpaceAboveBelow()

CFX_SizeF CXFA_FWLTheme::GetSpaceAboveBelow ( const CFWL_ThemePart & pThemePart) const
overridevirtual

Implements IFWL_ThemeProvider.

Definition at line 217 of file cxfa_fwltheme.cpp.

References CXFA_FFWidget::GetNode(), CXFA_Node::GetParaIfExists(), CXFA_Para::GetSpaceAbove(), CXFA_Para::GetSpaceBelow(), and CFWL_ThemePart::GetWidget().

+ Here is the call graph for this function:

◆ GetTextColor()

FX_COLORREF CXFA_FWLTheme::GetTextColor ( const CFWL_ThemePart & pThemePart) const
overridevirtual

Implements IFWL_ThemeProvider.

Definition at line 210 of file cxfa_fwltheme.cpp.

References CXFA_FFWidget::GetNode(), CXFA_Node::GetTextColor(), and CFWL_ThemePart::GetWidget().

+ Here is the call graph for this function:

◆ GetUIMargin()

CFX_RectF CXFA_FWLTheme::GetUIMargin ( const CFWL_ThemePart & pThemePart) const
overridevirtual

◆ LoadCalendarFont()

bool CXFA_FWLTheme::LoadCalendarFont ( CXFA_FFDoc * doc)

Definition at line 68 of file cxfa_fwltheme.cpp.

◆ PreFinalize()

void CXFA_FWLTheme::PreFinalize ( )

Definition at line 59 of file cxfa_fwltheme.cpp.

◆ Trace()

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

Definition at line 63 of file cxfa_fwltheme.cpp.

Member Data Documentation

◆ CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED

CXFA_FWLTheme::CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED

Definition at line 29 of file cxfa_fwltheme.h.


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