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_themepart.h>
Public Types | |
enum class | Part : uint8_t { kNone = 0 , kBackArrow , kBackground , kBorder , kCaption , kCheck , kCheckBox , kCloseBox , kCombTextLine , kDateInBK , kDateInCircle , kDatesIn , kDatesOut , kDownButton , kDropDownButton , kForeArrow , kHSeparator , kHeadText , kHeader , kIcon , kImage , kLBtn , kListItem , kLowerTrack , kMinimizeBox , kMaximizeBox , kNarrowCaption , kRBtn , kThumb , kThumbBackArrow , kThumbForeArrow , kThumbLowerTrack , kThumbThumb , kThumbUpperTrack , kToday , kTodayCircle , kUpButton , kUpperTrack , kVSeparator , kWeek , kWeekNum , kWeekNumSep } |
Public Member Functions | |
FX_STACK_ALLOCATED () | |
CFWL_ThemePart (Part iPart, CFWL_Widget *pWidget) | |
~CFWL_ThemePart () | |
Part | GetPart () const |
CFWL_Widget * | GetWidget () const |
FWLTHEME_STATE | GetThemeState () const |
Public Attributes | |
CFX_Matrix | m_matrix |
CFX_RectF | m_PartRect |
UnownedPtr< const CFX_RectF > | m_pRtData |
Mask< CFWL_PartState > | m_dwStates = CFWL_PartState::kNormal |
bool | m_bMaximize = false |
bool | m_bStaticBackground = false |
Definition at line 37 of file cfwl_themepart.h.
|
strong |
Definition at line 39 of file cfwl_themepart.h.
CFWL_ThemePart::CFWL_ThemePart | ( | Part | iPart, |
CFWL_Widget * | pWidget ) |
Definition at line 9 of file cfwl_themepart.cpp.
References CFWL_ThemePart().
Referenced by CFWL_ThemeBackground::CFWL_ThemeBackground(), CFWL_ThemePart(), and CFWL_ThemeText::CFWL_ThemeText().
|
default |
CFWL_ThemePart::FX_STACK_ALLOCATED | ( | ) |
|
inline |
Definition at line 90 of file cfwl_themepart.h.
Referenced by CFWL_BarcodeTP::DrawBackground(), CFWL_CaretTP::DrawBackground(), CFWL_CheckBoxTP::DrawBackground(), CFWL_ComboBoxTP::DrawBackground(), CFWL_DateTimePickerTP::DrawBackground(), CFWL_EditTP::DrawBackground(), CFWL_ListBoxTP::DrawBackground(), CFWL_MonthCalendarTP::DrawBackground(), CFWL_PictureBoxTP::DrawBackground(), CFWL_PushButtonTP::DrawBackground(), CFWL_ScrollBarTP::DrawBackground(), CFWL_MonthCalendarTP::DrawText(), and CXFA_FWLTheme::DrawText().
FWLTHEME_STATE CFWL_ThemePart::GetThemeState | ( | ) | const |
Definition at line 14 of file cfwl_themepart.cpp.
References kDisable, kHover, kNormal, and kPressed.
Referenced by CFWL_ComboBoxTP::DrawBackground(), CFWL_DateTimePickerTP::DrawBackground(), CFWL_MonthCalendarTP::DrawBackground(), and CFWL_ScrollBarTP::DrawBackground().
|
inline |
Definition at line 91 of file cfwl_themepart.h.
Referenced by CXFA_FWLTheme::CalcTextRect(), CFWL_CheckBoxTP::DrawBackground(), CFWL_EditTP::DrawBackground(), CFWL_ScrollBarTP::DrawBackground(), CXFA_FWLTheme::DrawBackground(), CFWL_CheckBoxTP::DrawText(), CFWL_MonthCalendarTP::DrawText(), CFWL_WidgetTP::DrawText(), CXFA_FWLTheme::DrawText(), CXFA_FWLTheme::GetFont(), CXFA_FWLTheme::GetFontSize(), CXFA_FWLTheme::GetLineHeight(), CXFA_FWLTheme::GetSpaceAboveBelow(), CXFA_FWLTheme::GetTextColor(), and CXFA_FWLTheme::GetUIMargin().
bool CFWL_ThemePart::m_bMaximize = false |
Definition at line 98 of file cfwl_themepart.h.
bool CFWL_ThemePart::m_bStaticBackground = false |
Definition at line 99 of file cfwl_themepart.h.
Referenced by CFWL_EditTP::DrawBackground().
Mask<CFWL_PartState> CFWL_ThemePart::m_dwStates = CFWL_PartState::kNormal |
Definition at line 97 of file cfwl_themepart.h.
CFX_Matrix CFWL_ThemePart::m_matrix |
Definition at line 94 of file cfwl_themepart.h.
Referenced by CFWL_BarcodeTP::DrawBackground(), CFWL_CaretTP::DrawBackground(), CFWL_CheckBoxTP::DrawBackground(), CFWL_ComboBoxTP::DrawBackground(), CFWL_DateTimePickerTP::DrawBackground(), CFWL_EditTP::DrawBackground(), CFWL_ListBoxTP::DrawBackground(), CFWL_MonthCalendarTP::DrawBackground(), CFWL_PictureBoxTP::DrawBackground(), CFWL_PushButtonTP::DrawBackground(), CFWL_ScrollBarTP::DrawBackground(), CFWL_Widget::DrawBorder(), CFWL_WidgetTP::DrawText(), CXFA_FWLTheme::DrawText(), and CFWL_CheckBox::DrawWidget().
CFX_RectF CFWL_ThemePart::m_PartRect |
Definition at line 95 of file cfwl_themepart.h.
Referenced by CFWL_BarcodeTP::DrawBackground(), CFWL_CaretTP::DrawBackground(), CFWL_CheckBoxTP::DrawBackground(), CFWL_ComboBoxTP::DrawBackground(), CFWL_DateTimePickerTP::DrawBackground(), CFWL_EditTP::DrawBackground(), CFWL_ListBoxTP::DrawBackground(), CFWL_MonthCalendarTP::DrawBackground(), CFWL_PictureBoxTP::DrawBackground(), CFWL_PushButtonTP::DrawBackground(), CFWL_ScrollBarTP::DrawBackground(), CFWL_Widget::DrawBorder(), CFWL_CheckBox::DrawWidget(), and CFWL_ComboBox::DrawWidget().
UnownedPtr<const CFX_RectF> CFWL_ThemePart::m_pRtData |
Definition at line 96 of file cfwl_themepart.h.