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
CFWL_ThemePart Class Reference

#include <cfwl_themepart.h>

+ Inheritance diagram for CFWL_ThemePart:
+ Collaboration diagram for CFWL_ThemePart:

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_WidgetGetWidget () const
 
FWLTHEME_STATE GetThemeState () const
 

Public Attributes

CFX_Matrix m_matrix
 
CFX_RectF m_PartRect
 
UnownedPtr< const CFX_RectFm_pRtData
 
Mask< CFWL_PartStatem_dwStates = CFWL_PartState::kNormal
 
bool m_bMaximize = false
 
bool m_bStaticBackground = false
 

Detailed Description

Definition at line 37 of file cfwl_themepart.h.

Member Enumeration Documentation

◆ Part

enum class CFWL_ThemePart::Part : uint8_t
strong
Enumerator
kNone 
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 

Definition at line 39 of file cfwl_themepart.h.

Constructor & Destructor Documentation

◆ CFWL_ThemePart()

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().

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

◆ ~CFWL_ThemePart()

CFWL_ThemePart::~CFWL_ThemePart ( )
default

Member Function Documentation

◆ FX_STACK_ALLOCATED()

CFWL_ThemePart::FX_STACK_ALLOCATED ( )

◆ GetPart()

◆ GetThemeState()

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().

+ Here is the caller graph for this function:

◆ GetWidget()

Member Data Documentation

◆ m_bMaximize

bool CFWL_ThemePart::m_bMaximize = false

Definition at line 98 of file cfwl_themepart.h.

◆ m_bStaticBackground

bool CFWL_ThemePart::m_bStaticBackground = false

Definition at line 99 of file cfwl_themepart.h.

Referenced by CFWL_EditTP::DrawBackground().

◆ m_dwStates

Mask<CFWL_PartState> CFWL_ThemePart::m_dwStates = CFWL_PartState::kNormal

Definition at line 97 of file cfwl_themepart.h.

◆ m_matrix

◆ m_PartRect

◆ m_pRtData

UnownedPtr<const CFX_RectF> CFWL_ThemePart::m_pRtData

Definition at line 96 of file cfwl_themepart.h.


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