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

#include <cfwl_scrollbar.h>

+ Inheritance diagram for CFWL_ScrollBar:
+ Collaboration diagram for CFWL_ScrollBar:

Public Member Functions

 ~CFWL_ScrollBar () override
 
FWL_Type GetClassID () const 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
 
void OnTimerFired () override
 
void GetRange (float *fMin, float *fMax) const
 
void SetRange (float fMin, float fMax)
 
float GetPageSize () const
 
void SetPageSize (float fPageSize)
 
float GetStepSize () const
 
void SetStepSize (float fStepSize)
 
float GetPos () const
 
void SetPos (float fPos)
 
void SetTrackPos (float fTrackPos)
 
- 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 SetStates (uint32_t dwStates)
 
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 Member Functions inherited from CFX_Timer::CallbackIface
virtual ~CallbackIface ()=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 23 of file cfwl_scrollbar.h.

Constructor & Destructor Documentation

◆ ~CFWL_ScrollBar()

CFWL_ScrollBar::~CFWL_ScrollBar ( )
overridedefault

Member Function Documentation

◆ DrawWidget()

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

Implements CFWL_Widget.

Definition at line 46 of file cfwl_scrollbar.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_ScrollBar::GetClassID ( ) const
overridevirtual

Implements CFWL_Widget.

Definition at line 35 of file cfwl_scrollbar.cpp.

References ScrollBar.

◆ GetPageSize()

float CFWL_ScrollBar::GetPageSize ( ) const
inline

Definition at line 49 of file cfwl_scrollbar.h.

◆ GetPos()

float CFWL_ScrollBar::GetPos ( ) const
inline

Definition at line 53 of file cfwl_scrollbar.h.

◆ GetRange()

void CFWL_ScrollBar::GetRange ( float * fMin,
float * fMax ) const
inline

Definition at line 41 of file cfwl_scrollbar.h.

◆ GetStepSize()

float CFWL_ScrollBar::GetStepSize ( ) const
inline

Definition at line 51 of file cfwl_scrollbar.h.

◆ OnDrawWidget()

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

Implements IFWL_WidgetDelegate.

Definition at line 331 of file cfwl_scrollbar.cpp.

References DrawWidget().

+ Here is the call graph for this function:

◆ OnProcessMessage()

void CFWL_ScrollBar::OnProcessMessage ( CFWL_Message * pMessage)
overridevirtual

Implements IFWL_WidgetDelegate.

Definition at line 305 of file cfwl_scrollbar.cpp.

References CFWL_MessageMouseWheel::delta(), CFWL_Message::GetType(), CFWL_MessageMouse::kLeave, CFWL_MessageMouse::kLeftButtonDown, CFWL_MessageMouse::kLeftButtonUp, CFWL_Message::kMouse, CFWL_Message::kMouseWheel, CFWL_MessageMouse::kMove, and CFWL_MessageMouse::m_dwCmd.

+ Here is the call graph for this function:

◆ OnTimerFired()

void CFWL_ScrollBar::OnTimerFired ( )
overridevirtual

Implements CFX_Timer::CallbackIface.

Definition at line 461 of file cfwl_scrollbar.cpp.

◆ SetPageSize()

void CFWL_ScrollBar::SetPageSize ( float fPageSize)
inline

Definition at line 50 of file cfwl_scrollbar.h.

◆ SetPos()

void CFWL_ScrollBar::SetPos ( float fPos)
inline

Definition at line 54 of file cfwl_scrollbar.h.

◆ SetRange()

void CFWL_ScrollBar::SetRange ( float fMin,
float fMax )
inline

Definition at line 45 of file cfwl_scrollbar.h.

◆ SetStepSize()

void CFWL_ScrollBar::SetStepSize ( float fStepSize)
inline

Definition at line 52 of file cfwl_scrollbar.h.

◆ SetTrackPos()

void CFWL_ScrollBar::SetTrackPos ( float fTrackPos)

Definition at line 61 of file cfwl_scrollbar.cpp.

References CFX_RectF::operator=().

+ Here is the call graph for this function:

◆ Update()

void CFWL_ScrollBar::Update ( )
overridevirtual

Implements CFWL_Widget.

Definition at line 39 of file cfwl_scrollbar.cpp.

References CFWL_Widget::IsLocked().

+ Here is the call graph for this function:

Member Data Documentation

◆ CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED

CFWL_ScrollBar::CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED

Definition at line 26 of file cfwl_scrollbar.h.


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