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_PushButton Class Referencefinal

#include <cfwl_pushbutton.h>

+ Inheritance diagram for CFWL_PushButton:
+ Collaboration diagram for CFWL_PushButton:

Public Member Functions

 ~CFWL_PushButton () override
 
FWL_Type GetClassID () const override
 
void SetStates (uint32_t dwStates) override
 
void Update () override
 
void DrawWidget (CFGAS_GEGraphics *pGraphics, const CFX_Matrix &matrix) override
 
void OnProcessMessage (CFWL_Message *pMessage) override
 
void OnDrawWidget (CFGAS_GEGraphics *pGraphics, const CFX_Matrix &matrix) override
 
- Public Member Functions inherited from CFWL_Widget
 ~CFWL_Widget () override
 
virtual void PreFinalize ()
 
void Trace (cppgc::Visitor *visitor) const override
 
virtual bool IsForm () const
 
virtual CFX_RectF GetAutosizedWidgetRect ()
 
virtual CFX_RectF GetWidgetRect ()
 
virtual CFX_RectF GetClientRect ()
 
virtual void ModifyStyleExts (uint32_t dwStyleExtsAdded, uint32_t dwStyleExtsRemoved)
 
virtual void RemoveStates (uint32_t dwStates)
 
virtual FWL_WidgetHit HitTest (const CFX_PointF &point)
 
void OnProcessMessage (CFWL_Message *pMessage) override
 
void OnProcessEvent (CFWL_Event *pEvent) override
 
void InflateWidgetRect (CFX_RectF &rect)
 
void SetWidgetRect (const CFX_RectF &rect)
 
bool IsVisible () const
 
bool IsOverLapper () const
 
bool IsPopup () const
 
bool IsChild () const
 
CFWL_WidgetMgrGetWidgetMgr () const
 
CFWL_WidgetGetOuter () const
 
CFWL_WidgetGetOutmost () const
 
void ModifyStyles (uint32_t dwStylesAdded, uint32_t dwStylesRemoved)
 
uint32_t GetStyleExts () const
 
uint32_t GetStates () const
 
CFX_PointF TransformTo (CFWL_Widget *pWidget, const CFX_PointF &point)
 
CFX_Matrix GetMatrix () const
 
IFWL_ThemeProviderGetThemeProvider () const
 
void SetDelegate (IFWL_WidgetDelegate *delegate)
 
IFWL_WidgetDelegateGetDelegate ()
 
const IFWL_WidgetDelegateGetDelegate () const
 
CFWL_AppGetFWLApp () const
 
uint64_t GetEventKey () const
 
void SetEventKey (uint64_t key)
 
AdapterIfaceGetAdapterIface () const
 
void SetAdapterIface (AdapterIface *pItem)
 
void RepaintRect (const CFX_RectF &pRect)
 
- Public Member Functions inherited from IFWL_WidgetDelegate
virtual ~IFWL_WidgetDelegate ()=default
 

Public Attributes

 CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED
 
- Public Attributes inherited from CFWL_Widget
 CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED
 

Additional Inherited Members

- Protected Member Functions inherited from CFWL_Widget
 CFWL_Widget (CFWL_App *app, const Properties &properties, CFWL_Widget *pOuter)
 
bool IsEnabled () const
 
bool IsLocked () const
 
bool HasBorder () const
 
CFX_RectF GetEdgeRect () const
 
float GetCXBorderSize () const
 
float GetCYBorderSize () const
 
CFX_RectF GetRelativeRect () const
 
CFX_SizeF CalcTextSize (const WideString &wsText, bool bMultiLine)
 
void CalcTextRect (const WideString &wsText, const FDE_TextStyle &dwTTOStyles, FDE_TextAlignment iTTOAlign, CFX_RectF *pRect)
 
void SetGrab (bool bSet)
 
void UnregisterEventTarget ()
 
void DispatchEvent (CFWL_Event *pEvent)
 
void DrawBorder (CFGAS_GEGraphics *pGraphics, CFWL_ThemePart::Part iPartBorder, const CFX_Matrix &pMatrix)
 
- Protected Attributes inherited from CFWL_Widget
Properties m_Properties
 
CFX_RectF m_WidgetRect
 

Detailed Description

Definition at line 19 of file cfwl_pushbutton.h.

Constructor & Destructor Documentation

◆ ~CFWL_PushButton()

CFWL_PushButton::~CFWL_PushButton ( )
overridedefault

Member Function Documentation

◆ DrawWidget()

void CFWL_PushButton::DrawWidget ( CFGAS_GEGraphics * pGraphics,
const CFX_Matrix & matrix )
overridevirtual

Implements CFWL_Widget.

Definition at line 45 of file cfwl_pushbutton.cpp.

References CFWL_Widget::DrawBorder(), CFWL_Widget::HasBorder(), and CFWL_ThemePart::kBorder.

Referenced by OnDrawWidget().

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

◆ GetClassID()

FWL_Type CFWL_PushButton::GetClassID ( ) const
overridevirtual

Implements CFWL_Widget.

Definition at line 25 of file cfwl_pushbutton.cpp.

References PushButton.

◆ OnDrawWidget()

void CFWL_PushButton::OnDrawWidget ( CFGAS_GEGraphics * pGraphics,
const CFX_Matrix & matrix )
overridevirtual

Implements IFWL_WidgetDelegate.

Definition at line 126 of file cfwl_pushbutton.cpp.

References DrawWidget().

+ Here is the call graph for this function:

◆ OnProcessMessage()

void CFWL_PushButton::OnProcessMessage ( CFWL_Message * pMessage)
overridevirtual

◆ SetStates()

void CFWL_PushButton::SetStates ( uint32_t dwStates)
overridevirtual

Reimplemented from CFWL_Widget.

Definition at line 29 of file cfwl_pushbutton.cpp.

References CFWL_Widget::Properties::m_dwStates, CFWL_Widget::m_Properties, and CFWL_Widget::SetStates().

+ Here is the call graph for this function:

◆ Update()

void CFWL_PushButton::Update ( )
overridevirtual

Implements CFWL_Widget.

Definition at line 37 of file cfwl_pushbutton.cpp.

References CFWL_Widget::GetClientRect(), CFWL_Widget::IsLocked(), and CFX_RectF::operator=().

+ Here is the call graph for this function:

Member Data Documentation

◆ CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED

CFWL_PushButton::CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED

Definition at line 21 of file cfwl_pushbutton.h.


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