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
pdfium::CFWL_WidgetTP Class Reference

#include <cfwl_widgettp.h>

Inheritance diagram for pdfium::CFWL_WidgetTP:
Collaboration diagram for pdfium::CFWL_WidgetTP:

Classes

struct  CColorData

Public Member Functions

virtual ~CFWL_WidgetTP ()
virtual void DrawBackground (const CFWL_ThemeBackground &pParams)
virtual void DrawText (const CFWL_ThemeText &pParams)
void Trace (cppgc::Visitor *visitor) const

Protected Member Functions

 CFWL_WidgetTP ()
void InitializeArrowColorData ()
void EnsureTTOInitialized (IFWL_ThemeProvider *pProvider)
void DrawBorder (CFGAS_GEGraphics *pGraphics, const CFX_RectF &rect, const CFX_Matrix &matrix)
void FillBackground (CFGAS_GEGraphics *pGraphics, const CFX_RectF &rect, const CFX_Matrix &matrix)
void FillSolidRect (CFGAS_GEGraphics *pGraphics, FX_ARGB fillColor, const CFX_RectF &rect, const CFX_Matrix &matrix)
void DrawFocus (CFGAS_GEGraphics *pGraphics, const CFX_RectF &rect, const CFX_Matrix &matrix)
void DrawArrow (CFGAS_GEGraphics *pGraphics, const CFX_RectF &rect, FWLTHEME_DIRECTION eDict, FX_ARGB argSign, const CFX_Matrix &matrix)
void DrawBtn (CFGAS_GEGraphics *pGraphics, const CFX_RectF &rect, FWLTHEME_STATE eState, const CFX_Matrix &matrix)
void DrawArrowBtn (CFGAS_GEGraphics *pGraphics, const CFX_RectF &rect, FWLTHEME_DIRECTION eDict, FWLTHEME_STATE eState, const CFX_Matrix &matrix)

Protected Attributes

std::unique_ptr< CFDE_TextOutm_pTextOut
std::unique_ptr< CColorDatam_pColorData

Detailed Description

Definition at line 29 of file cfwl_widgettp.h.

Constructor & Destructor Documentation

◆ ~CFWL_WidgetTP()

pdfium::CFWL_WidgetTP::~CFWL_WidgetTP ( )
virtualdefault

◆ CFWL_WidgetTP()

pdfium::CFWL_WidgetTP::CFWL_WidgetTP ( )
protecteddefault

Member Function Documentation

◆ DrawArrow()

void pdfium::CFWL_WidgetTP::DrawArrow ( CFGAS_GEGraphics * pGraphics,
const CFX_RectF & rect,
FWLTHEME_DIRECTION eDict,
FX_ARGB argSign,
const CFX_Matrix & matrix )
protected

Definition at line 136 of file cfwl_widgettp.cpp.

References CFGAS_GEColor::CFGAS_GEColor(), CFGAS_GEGraphics::FillPath(), CFX_RectF::height, pdfium::kDown, pdfium::kLeft, pdfium::kRight, pdfium::kUp, CFX_FillRenderOptions::kWinding, CFX_RectF::left, CFGAS_GEPath::LineTo(), CFGAS_GEPath::MoveTo(), CFGAS_GEGraphics::SetFillColor(), CFX_RectF::top, and CFX_RectF::width.

Here is the call graph for this function:

◆ DrawArrowBtn()

void pdfium::CFWL_WidgetTP::DrawArrowBtn ( CFGAS_GEGraphics * pGraphics,
const CFX_RectF & rect,
FWLTHEME_DIRECTION eDict,
FWLTHEME_STATE eState,
const CFX_Matrix & matrix )
protected

Definition at line 200 of file cfwl_widgettp.cpp.

References DrawBtn(), and InitializeArrowColorData().

Referenced by pdfium::CFWL_ComboBoxTP::DrawBackground(), pdfium::CFWL_DateTimePickerTP::DrawBackground(), and pdfium::CFWL_MonthCalendarTP::DrawBackground().

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

◆ DrawBackground()

◆ DrawBorder()

void pdfium::CFWL_WidgetTP::DrawBorder ( CFGAS_GEGraphics * pGraphics,
const CFX_RectF & rect,
const CFX_Matrix & matrix )
protected

◆ DrawBtn()

void pdfium::CFWL_WidgetTP::DrawBtn ( CFGAS_GEGraphics * pGraphics,
const CFX_RectF & rect,
FWLTHEME_STATE eState,
const CFX_Matrix & matrix )
protected

Definition at line 184 of file cfwl_widgettp.cpp.

References CFGAS_GEPath::AddRectangle(), CFX_RectF::height, InitializeArrowColorData(), CFX_RectF::left, CFGAS_GEGraphics::StrokePath(), CFX_RectF::top, and CFX_RectF::width.

Referenced by DrawArrowBtn().

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

◆ DrawFocus()

void pdfium::CFWL_WidgetTP::DrawFocus ( CFGAS_GEGraphics * pGraphics,
const CFX_RectF & rect,
const CFX_Matrix & matrix )
protected

Definition at line 120 of file cfwl_widgettp.cpp.

References CFGAS_GEColor::CFGAS_GEColor(), CFGAS_GEGraphics::StateRestorer::StateRestorer(), CFGAS_GEPath::AddRectangle(), CFX_RectF::height, CFX_RectF::left, CFGAS_GEGraphics::SetStrokeColor(), CFGAS_GEGraphics::StrokePath(), CFX_RectF::top, and CFX_RectF::width.

Referenced by pdfium::CFWL_PushButtonTP::DrawBackground().

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

◆ DrawText()

void pdfium::CFWL_WidgetTP::DrawText ( const CFWL_ThemeText & pParams)
virtual

Reimplemented in CFWL_CheckBoxTP, CFWL_MonthCalendarTP, pdfium::CFWL_CheckBoxTP, and pdfium::CFWL_MonthCalendarTP.

Definition at line 34 of file cfwl_widgettp.cpp.

References CFX_Matrix::Concat(), EnsureTTOInitialized(), pdfium::CFWL_ThemeText::GetGraphics(), CFGAS_GEGraphics::GetMatrix(), pdfium::CFWL_ThemePart::GetWidget(), and pdfium::CFWL_ThemePart::m_matrix.

Referenced by pdfium::CFWL_CheckBoxTP::DrawText(), and pdfium::CFWL_MonthCalendarTP::DrawText().

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

◆ EnsureTTOInitialized()

void pdfium::CFWL_WidgetTP::EnsureTTOInitialized ( IFWL_ThemeProvider * pProvider)
protected

Definition at line 73 of file cfwl_widgettp.cpp.

Referenced by pdfium::CFWL_CheckBoxTP::DrawText(), pdfium::CFWL_MonthCalendarTP::DrawText(), and DrawText().

Here is the caller graph for this function:

◆ FillBackground()

void pdfium::CFWL_WidgetTP::FillBackground ( CFGAS_GEGraphics * pGraphics,
const CFX_RectF & rect,
const CFX_Matrix & matrix )
protected

Definition at line 99 of file cfwl_widgettp.cpp.

References FillSolidRect().

Referenced by pdfium::CFWL_BarcodeTP::DrawBackground().

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

◆ FillSolidRect()

void pdfium::CFWL_WidgetTP::FillSolidRect ( CFGAS_GEGraphics * pGraphics,
FX_ARGB fillColor,
const CFX_RectF & rect,
const CFX_Matrix & matrix )
protected

Definition at line 105 of file cfwl_widgettp.cpp.

References CFGAS_GEColor::CFGAS_GEColor(), CFGAS_GEGraphics::StateRestorer::StateRestorer(), CFGAS_GEPath::AddRectangle(), CFGAS_GEGraphics::FillPath(), CFX_RectF::height, CFX_FillRenderOptions::kWinding, CFX_RectF::left, CFGAS_GEGraphics::SetFillColor(), CFX_RectF::top, and CFX_RectF::width.

Referenced by pdfium::CFWL_ListBoxTP::DrawBackground(), and FillBackground().

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

◆ InitializeArrowColorData()

void pdfium::CFWL_WidgetTP::InitializeArrowColorData ( )
protected

Definition at line 50 of file cfwl_widgettp.cpp.

Referenced by DrawArrowBtn(), and DrawBtn().

Here is the caller graph for this function:

◆ Trace()

void pdfium::CFWL_WidgetTP::Trace ( cppgc::Visitor * visitor) const

Definition at line 30 of file cfwl_widgettp.cpp.

Member Data Documentation

◆ m_pColorData

std::unique_ptr<CColorData> pdfium::CFWL_WidgetTP::m_pColorData
protected

Definition at line 81 of file cfwl_widgettp.h.

◆ m_pTextOut

std::unique_ptr<CFDE_TextOut> pdfium::CFWL_WidgetTP::m_pTextOut
protected

Definition at line 80 of file cfwl_widgettp.h.


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