Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <cxfa_fwltheme.h>
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_GEFont > | GetFont (const CFWL_ThemePart &pThemePart) override |
RetainPtr< CFGAS_GEFont > | GetFWLFont () 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_WidgetTP * | GetTheme (const CFWL_Widget *pWidget) const |
Definition at line 24 of file cxfa_fwltheme.h.
|
overridedefault |
|
overridevirtual |
Implements IFWL_ThemeProvider.
Definition at line 230 of file cxfa_fwltheme.cpp.
References CXFA_FFWidget::GetNode(), CFWL_ThemePart::GetWidget(), and MonthCalendar.
|
overridevirtual |
Implements IFWL_ThemeProvider.
Definition at line 83 of file cxfa_fwltheme.cpp.
References IFWL_ThemeProvider::GetTheme(), and CFWL_ThemePart::GetWidget().
|
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.
|
overridevirtual |
Implements IFWL_ThemeProvider.
Definition at line 171 of file cxfa_fwltheme.cpp.
|
overridevirtual |
Implements IFWL_ThemeProvider.
Definition at line 175 of file cxfa_fwltheme.cpp.
|
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().
|
overridevirtual |
Implements IFWL_ThemeProvider.
Definition at line 179 of file cxfa_fwltheme.cpp.
References CXFA_Node::GetFontSize(), CXFA_FFWidget::GetNode(), and CFWL_ThemePart::GetWidget().
|
overridevirtual |
Implements IFWL_ThemeProvider.
Definition at line 193 of file cxfa_fwltheme.cpp.
Referenced by GetFont().
|
overridevirtual |
Implements IFWL_ThemeProvider.
Definition at line 200 of file cxfa_fwltheme.cpp.
References CXFA_Node::GetLineHeight(), CXFA_FFWidget::GetNode(), and CFWL_ThemePart::GetWidget().
|
overridevirtual |
Implements IFWL_ThemeProvider.
Definition at line 206 of file cxfa_fwltheme.cpp.
|
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().
|
overridevirtual |
Implements IFWL_ThemeProvider.
Definition at line 210 of file cxfa_fwltheme.cpp.
References CXFA_FFWidget::GetNode(), CXFA_Node::GetTextColor(), and CFWL_ThemePart::GetWidget().
|
overridevirtual |
Implements IFWL_ThemeProvider.
Definition at line 145 of file cxfa_fwltheme.cpp.
References CFX_RectF::CFX_RectF(), CXFA_FFWidget::GetLayoutItem(), CXFA_Para::GetMarginLeft(), CXFA_Para::GetMarginRight(), CXFA_ContentLayoutItem::GetNext(), CXFA_FFWidget::GetNode(), CXFA_Node::GetParaIfExists(), CXFA_ContentLayoutItem::GetPrev(), CXFA_Node::GetUIMargin(), CFWL_ThemePart::GetWidget(), CFX_RectF::height, CXFA_Node::IsMultiLine(), CFX_RectF::left, CFX_RectF::top, and CFX_RectF::width.
bool CXFA_FWLTheme::LoadCalendarFont | ( | CXFA_FFDoc * | doc | ) |
Definition at line 68 of file cxfa_fwltheme.cpp.
void CXFA_FWLTheme::PreFinalize | ( | ) |
Definition at line 59 of file cxfa_fwltheme.cpp.
|
override |
Definition at line 63 of file cxfa_fwltheme.cpp.
CXFA_FWLTheme::CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED |
Definition at line 29 of file cxfa_fwltheme.h.