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_widgetmgr.h>
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_Widget * | GetParentWidget (const CFWL_Widget *pWidget) const |
CFWL_Widget * | GetNextSiblingWidget (CFWL_Widget *pWidget) const |
CFWL_Widget * | GetFirstChildWidget (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_Widget * | GetWidgetAtPoint (CFWL_Widget *pParent, const CFX_PointF &point) const |
CFWL_Widget * | GetDefaultButton (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 | |
Definition at line 24 of file cfwl_widgetmgr.h.
|
default |
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.
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().
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().
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().
CFWL_Widget * CFWL_WidgetMgr::GetParentWidget | ( | const CFWL_Widget * | pWidget | ) | const |
Definition at line 32 of file cfwl_widgetmgr.cpp.
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().
void CFWL_WidgetMgr::InsertWidget | ( | CFWL_Widget * | pParent, |
CFWL_Widget * | pChild ) |
Definition at line 92 of file cfwl_widgetmgr.cpp.
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().
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().
void CFWL_WidgetMgr::RemoveWidget | ( | CFWL_Widget * | pWidget | ) |
Definition at line 104 of file cfwl_widgetmgr.cpp.
References RemoveWidget().
Referenced by RemoveWidget().
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.
void CFWL_WidgetMgr::Trace | ( | cppgc::Visitor * | visitor | ) | const |
Definition at line 26 of file cfwl_widgetmgr.cpp.
CFWL_WidgetMgr::CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED |
Definition at line 37 of file cfwl_widgetmgr.h.