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

#include <cfwl_widgetmgr.h>

+ Inheritance diagram for CFWL_WidgetMgr:
+ Collaboration diagram for CFWL_WidgetMgr:

Classes

class  AdapterIface
 

Public Member Functions

 ~CFWL_WidgetMgr ()
 
void Trace (cppgc::Visitor *visitor) const
 
void OnProcessMessageToForm (CFWL_Message *pMessage)
 
void OnDrawWidget (CFWL_Widget *pWidget, CFGAS_GEGraphics *pGraphics, const CFX_Matrix &matrix)
 
CFWL_WidgetGetParentWidget (const CFWL_Widget *pWidget) const
 
CFWL_WidgetGetNextSiblingWidget (CFWL_Widget *pWidget) const
 
CFWL_WidgetGetFirstChildWidget (CFWL_Widget *pWidget) const
 
void RepaintWidget (CFWL_Widget *pWidget, const CFX_RectF &pRect)
 
void InsertWidget (CFWL_Widget *pParent, CFWL_Widget *pChild)
 
void RemoveWidget (CFWL_Widget *pWidget)
 
CFWL_WidgetGetWidgetAtPoint (CFWL_Widget *pParent, const CFX_PointF &point) const
 
CFWL_WidgetGetDefaultButton (CFWL_Widget *pParent) const
 
void GetAdapterPopupPos (CFWL_Widget *pWidget, float fMinHeight, float fMaxHeight, const CFX_RectF &rtAnchor, CFX_RectF *pPopupRect) const
 

Public Attributes

 CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED
 

Detailed Description

Definition at line 24 of file cfwl_widgetmgr.h.

Constructor & Destructor Documentation

◆ ~CFWL_WidgetMgr()

CFWL_WidgetMgr::~CFWL_WidgetMgr ( )
default

Member Function Documentation

◆ GetAdapterPopupPos()

void CFWL_WidgetMgr::GetAdapterPopupPos ( CFWL_Widget * pWidget,
float fMinHeight,
float fMaxHeight,
const CFX_RectF & rtAnchor,
CFX_RectF * pPopupRect ) const

Definition at line 175 of file cfwl_widgetmgr.cpp.

◆ GetDefaultButton()

CFWL_Widget * CFWL_WidgetMgr::GetDefaultButton ( CFWL_Widget * pParent) const

Definition at line 137 of file cfwl_widgetmgr.cpp.

References CFWL_Widget::GetClassID(), GetDefaultButton(), GetFirstChildWidget(), GetNextSiblingWidget(), CFWL_Widget::GetStates(), and PushButton.

Referenced by GetDefaultButton().

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

◆ GetFirstChildWidget()

CFWL_Widget * CFWL_WidgetMgr::GetFirstChildWidget ( CFWL_Widget * pWidget) const

Definition at line 59 of file cfwl_widgetmgr.cpp.

Referenced by GetDefaultButton(), NotifyHideChildWidget(), and CFWL_Widget::SetStates().

+ Here is the caller graph for this function:

◆ GetNextSiblingWidget()

CFWL_Widget * CFWL_WidgetMgr::GetNextSiblingWidget ( CFWL_Widget * pWidget) const

Definition at line 50 of file cfwl_widgetmgr.cpp.

Referenced by GetDefaultButton(), NotifyHideChildWidget(), and CFWL_Widget::SetStates().

+ Here is the caller graph for this function:

◆ GetParentWidget()

CFWL_Widget * CFWL_WidgetMgr::GetParentWidget ( const CFWL_Widget * pWidget) const

Definition at line 32 of file cfwl_widgetmgr.cpp.

◆ GetWidgetAtPoint()

CFWL_Widget * CFWL_WidgetMgr::GetWidgetAtPoint ( CFWL_Widget * pParent,
const CFX_PointF & point ) const

Definition at line 117 of file cfwl_widgetmgr.cpp.

References GetWidgetAtPoint(), CFWL_Widget::GetWidgetRect(), and CFWL_Widget::IsVisible().

Referenced by GetWidgetAtPoint().

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

◆ InsertWidget()

void CFWL_WidgetMgr::InsertWidget ( CFWL_Widget * pParent,
CFWL_Widget * pChild )

Definition at line 92 of file cfwl_widgetmgr.cpp.

◆ OnDrawWidget()

void CFWL_WidgetMgr::OnDrawWidget ( CFWL_Widget * pWidget,
CFGAS_GEGraphics * pGraphics,
const CFX_Matrix & matrix )

Definition at line 193 of file cfwl_widgetmgr.cpp.

References CFGAS_GEGraphics::GetClipRect(), CFWL_Widget::GetDelegate(), CFX_RectF::IsEmpty(), and IFWL_WidgetDelegate::OnDrawWidget().

+ Here is the call graph for this function:

◆ OnProcessMessageToForm()

void CFWL_WidgetMgr::OnProcessMessageToForm ( CFWL_Message * pMessage)

Definition at line 184 of file cfwl_widgetmgr.cpp.

References CFWL_Message::GetDstTarget(), CFWL_Widget::GetFWLApp(), CFWL_App::GetNoteDriver(), and CFWL_NoteDriver::ProcessMessage().

+ Here is the call graph for this function:

◆ RemoveWidget()

void CFWL_WidgetMgr::RemoveWidget ( CFWL_Widget * pWidget)

Definition at line 104 of file cfwl_widgetmgr.cpp.

References RemoveWidget().

Referenced by RemoveWidget().

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

◆ RepaintWidget()

void CFWL_WidgetMgr::RepaintWidget ( CFWL_Widget * pWidget,
const CFX_RectF & pRect )

Definition at line 77 of file cfwl_widgetmgr.cpp.

References CFWL_Widget::GetOuter(), CFWL_Widget::GetWidgetRect(), CFX_RectF::left, and CFX_RectF::top.

+ Here is the call graph for this function:

◆ Trace()

void CFWL_WidgetMgr::Trace ( cppgc::Visitor * visitor) const

Definition at line 26 of file cfwl_widgetmgr.cpp.

Member Data Documentation

◆ CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED

CFWL_WidgetMgr::CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED

Definition at line 37 of file cfwl_widgetmgr.h.


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