Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <cfwl_widgettp.h>
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_TextOut > | m_pTextOut |
std::unique_ptr< CColorData > | m_pColorData |
Definition at line 25 of file cfwl_widgettp.h.
|
virtualdefault |
|
protecteddefault |
|
protected |
Definition at line 134 of file cfwl_widgettp.cpp.
References CFGAS_GEColor::CFGAS_GEColor(), CFGAS_GEGraphics::FillPath(), CFX_RectF::height, kDown, kLeft, kRight, kUp, CFX_FillRenderOptions::kWinding, CFX_RectF::left, CFGAS_GEPath::LineTo(), CFGAS_GEPath::MoveTo(), CFGAS_GEGraphics::SetFillColor(), CFX_RectF::top, and CFX_RectF::width.
|
protected |
Definition at line 198 of file cfwl_widgettp.cpp.
References DrawBtn(), and InitializeArrowColorData().
Referenced by CFWL_ComboBoxTP::DrawBackground(), CFWL_DateTimePickerTP::DrawBackground(), and CFWL_MonthCalendarTP::DrawBackground().
|
virtual |
Reimplemented in CFWL_BarcodeTP, CFWL_CaretTP, CFWL_CheckBoxTP, CFWL_ComboBoxTP, CFWL_DateTimePickerTP, CFWL_EditTP, CFWL_ListBoxTP, CFWL_MonthCalendarTP, CFWL_PictureBoxTP, CFWL_PushButtonTP, and CFWL_ScrollBarTP.
Definition at line 30 of file cfwl_widgettp.cpp.
|
protected |
Definition at line 81 of file cfwl_widgettp.cpp.
References CFGAS_GEColor::CFGAS_GEColor(), CFGAS_GEGraphics::StateRestorer::StateRestorer(), CFGAS_GEPath::AddRectangle(), ArgbEncode(), CFGAS_GEGraphics::FillPath(), CFX_RectF::height, CFX_FillRenderOptions::kEvenOdd, CFX_RectF::left, CFGAS_GEGraphics::SetFillColor(), CFX_RectF::top, and CFX_RectF::width.
Referenced by CFWL_BarcodeTP::DrawBackground(), CFWL_ComboBoxTP::DrawBackground(), CFWL_DateTimePickerTP::DrawBackground(), CFWL_EditTP::DrawBackground(), CFWL_ListBoxTP::DrawBackground(), CFWL_MonthCalendarTP::DrawBackground(), CFWL_PictureBoxTP::DrawBackground(), and CFWL_PushButtonTP::DrawBackground().
|
protected |
Definition at line 182 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().
|
protected |
Definition at line 118 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::SetLineDash(), CFGAS_GEGraphics::SetStrokeColor(), CFGAS_GEGraphics::StrokePath(), CFX_RectF::top, and CFX_RectF::width.
Referenced by CFWL_PushButtonTP::DrawBackground().
|
virtual |
Reimplemented in CFWL_CheckBoxTP, and CFWL_MonthCalendarTP.
Definition at line 32 of file cfwl_widgettp.cpp.
References CFX_Matrix::Concat(), EnsureTTOInitialized(), CFWL_ThemeText::GetGraphics(), CFGAS_GEGraphics::GetMatrix(), CFWL_ThemePart::GetWidget(), and CFWL_ThemePart::m_matrix.
Referenced by CFWL_CheckBoxTP::DrawText(), and CFWL_MonthCalendarTP::DrawText().
|
protected |
Definition at line 71 of file cfwl_widgettp.cpp.
Referenced by CFWL_CheckBoxTP::DrawText(), CFWL_MonthCalendarTP::DrawText(), and DrawText().
|
protected |
Definition at line 97 of file cfwl_widgettp.cpp.
References FillSolidRect().
Referenced by CFWL_BarcodeTP::DrawBackground().
|
protected |
Definition at line 103 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 CFWL_ListBoxTP::DrawBackground(), and FillBackground().
|
protected |
Definition at line 48 of file cfwl_widgettp.cpp.
Referenced by DrawArrowBtn(), and DrawBtn().
void CFWL_WidgetTP::Trace | ( | cppgc::Visitor * | visitor | ) | const |
Definition at line 28 of file cfwl_widgettp.cpp.
|
protected |
Definition at line 77 of file cfwl_widgettp.h.
|
protected |
Definition at line 76 of file cfwl_widgettp.h.