![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <cpwl_cblistbox.h>
Public Member Functions | |
| CPWL_CBListBox (const CreateParams &cp, std::unique_ptr< IPWL_FillerNotify::PerWindowData > pAttachedData) | |
| ~CPWL_CBListBox () override | |
| bool | OnLButtonUp (Mask< FWL_EVENTFLAG > nFlag, const CFX_PointF &point) override |
| bool | IsMovementKey (FWL_VKEYCODE nKeyCode) const |
| bool | OnMovementKeyDown (FWL_VKEYCODE nKeyCode, Mask< FWL_EVENTFLAG > nFlag) |
| bool | IsChar (uint16_t nChar, Mask< FWL_EVENTFLAG > nFlag) const |
| bool | OnCharNotify (uint16_t nChar, Mask< FWL_EVENTFLAG > nFlag) |
| Public Member Functions inherited from CPWL_ListBox | |
| CPWL_ListBox (const CreateParams &cp, std::unique_ptr< IPWL_FillerNotify::PerWindowData > pAttachedData) | |
| ~CPWL_ListBox () override | |
| void | OnCreated () override |
| void | OnDestroy () override |
| void | DrawThisAppearance (CFX_RenderDevice *pDevice, const CFX_Matrix &mtUser2Device) override |
| bool | OnKeyDown (FWL_VKEYCODE nKeyCode, Mask< FWL_EVENTFLAG > nFlag) override |
| bool | OnChar (uint16_t nChar, Mask< FWL_EVENTFLAG > nFlag) override |
| bool | OnLButtonDown (Mask< FWL_EVENTFLAG > nFlag, const CFX_PointF &point) override |
| bool | OnLButtonUp (Mask< FWL_EVENTFLAG > nFlag, const CFX_PointF &point) override |
| bool | OnMouseMove (Mask< FWL_EVENTFLAG > nFlag, const CFX_PointF &point) override |
| bool | OnMouseWheel (Mask< FWL_EVENTFLAG > nFlag, const CFX_PointF &point, const CFX_Vector &delta) override |
| WideString | GetText () override |
| void | SetScrollInfo (const PWL_SCROLL_INFO &info) override |
| void | SetScrollPosition (float pos) override |
| void | ScrollWindowVertically (float pos) override |
| bool | RepositionChildWnd () override |
| CFX_FloatRect | GetFocusRect () const override |
| void | SetFontSize (float fFontSize) override |
| float | GetFontSize () const override |
| void | OnSetScrollInfoY (float fPlateMin, float fPlateMax, float fContentMin, float fContentMax, float fSmallStep, float fBigStep) override |
| void | OnSetScrollPosY (float fy) override |
| bool | OnInvalidateRect (const CFX_FloatRect &pRect) override |
| bool | OnNotifySelectionChanged (bool bKeyDown, Mask< FWL_EVENTFLAG > nFlag) |
| void | AddString (const WideString &str) |
| void | SetTopVisibleIndex (int32_t nItemIndex) |
| void | ScrollToListItem (int32_t nItemIndex) |
| void | Select (int32_t nItemIndex) |
| void | Deselect (int32_t nItemIndex) |
| void | SetCaret (int32_t nItemIndex) |
| void | SetHoverSel (bool bHoverSel) |
| int32_t | GetCount () const |
| bool | IsMultipleSel () const |
| int32_t | GetCaretIndex () const |
| int32_t | GetCurSel () const |
| bool | IsItemSelected (int32_t nItemIndex) const |
| int32_t | GetTopVisibleIndex () const |
| CFX_FloatRect | GetContentRect () const |
| float | GetFirstHeight () const |
| CFX_FloatRect | GetListRect () const |
| Public Member Functions inherited from CPWL_Wnd | |
| CPWL_Wnd (const CreateParams &cp, std::unique_ptr< IPWL_FillerNotify::PerWindowData > pAttachedData) | |
| virtual | ~CPWL_Wnd () |
| virtual bool | InvalidateRect (const CFX_FloatRect *pRect) |
| virtual bool | OnLButtonDblClk (Mask< FWL_EVENTFLAG > nFlag, const CFX_PointF &point) |
| virtual bool | OnRButtonDown (Mask< FWL_EVENTFLAG > nFlag, const CFX_PointF &point) |
| virtual bool | OnRButtonUp (Mask< FWL_EVENTFLAG > nFlag, const CFX_PointF &point) |
| virtual void | NotifyLButtonDown (CPWL_Wnd *child, const CFX_PointF &pos) |
| virtual void | NotifyLButtonUp (CPWL_Wnd *child, const CFX_PointF &pos) |
| virtual void | NotifyMouseMove (CPWL_Wnd *child, const CFX_PointF &pos) |
| virtual void | SetFocus () |
| virtual void | KillFocus () |
| virtual void | SetCursor () |
| virtual bool | SetVisible (bool bVisible) |
| virtual WideString | GetSelectedText () |
| virtual void | ReplaceAndKeepSelection (const WideString &text) |
| virtual void | ReplaceSelection (const WideString &text) |
| virtual bool | SelectAllText () |
| virtual bool | CanUndo () |
| virtual bool | CanRedo () |
| virtual bool | Undo () |
| virtual bool | Redo () |
| virtual CFX_FloatRect | GetClientRect () const |
| virtual void | OnSetFocus () |
| virtual void | OnKillFocus () |
| void | AddChild (std::unique_ptr< CPWL_Wnd > pWnd) |
| void | RemoveChild (CPWL_Wnd *pWnd) |
| void | Realize () |
| void | Destroy () |
| bool | Move (const CFX_FloatRect &rcNew, bool bReset, bool bRefresh) |
| void | InvalidateProvider (ProviderIface *provider) |
| void | DrawAppearance (CFX_RenderDevice *pDevice, const CFX_Matrix &mtUser2Device) |
| int32_t | GetBorderWidth () const |
| CFX_FloatRect | GetWindowRect () const |
| bool | IsVisible () const |
| bool | HasFlag (uint32_t dwFlags) const |
| void | RemoveFlag (uint32_t dwFlags) |
| void | SetClipRect (const CFX_FloatRect &rect) |
| IPWL_FillerNotify::PerWindowData * | GetAttachedData () const |
| std::unique_ptr< IPWL_FillerNotify::PerWindowData > | CloneAttachedData () const |
| std::vector< UnownedPtr< CPWL_Wnd > > | GetAncestors () |
| bool | WndHitTest (const CFX_PointF &point) const |
| bool | ClientHitTest (const CFX_PointF &point) const |
| bool | IsCaptureMouse () const |
| bool | IsFocused () const |
| bool | IsReadOnly () const |
| void | SetTransparency (int32_t nTransparency) |
| CFX_Matrix | GetWindowMatrix () const |
| Public Member Functions inherited from fxcrt::Observable | |
| Observable () | |
| Observable (const Observable &that)=delete | |
| Observable & | operator= (const Observable &that)=delete |
| ~Observable () | |
| void | AddObserver (ObserverIface *pObserver) |
| void | RemoveObserver (ObserverIface *pObserver) |
| void | NotifyObservers () |
| Public Member Functions inherited from CPWL_ListCtrl::NotifyIface | |
| virtual | ~NotifyIface () |
Definition at line 16 of file cpwl_cblistbox.h.
| CPWL_CBListBox::CPWL_CBListBox | ( | const CreateParams & | cp, |
| std::unique_ptr< IPWL_FillerNotify::PerWindowData > | pAttachedData ) |
Definition at line 16 of file cpwl_cblistbox.cpp.
|
overridedefault |
| bool CPWL_CBListBox::IsChar | ( | uint16_t | nChar, |
| Mask< FWL_EVENTFLAG > | nFlag ) const |
Definition at line 82 of file cpwl_cblistbox.cpp.
| bool CPWL_CBListBox::IsMovementKey | ( | FWL_VKEYCODE | nKeyCode | ) | const |
Definition at line 41 of file cpwl_cblistbox.cpp.
References FWL_VKEY_Down, FWL_VKEY_End, FWL_VKEY_Home, FWL_VKEY_Left, FWL_VKEY_Right, and FWL_VKEY_Up.
| bool CPWL_CBListBox::OnCharNotify | ( | uint16_t | nChar, |
| Mask< FWL_EVENTFLAG > | nFlag ) |
Definition at line 87 of file cpwl_cblistbox.cpp.
References CPWL_ListBox::OnNotifySelectionChanged().
|
overridevirtual |
Reimplemented from CPWL_Wnd.
Definition at line 23 of file cpwl_cblistbox.cpp.
References CPWL_Wnd::ClientHitTest(), CPWL_Wnd::GetParentWindow(), CPWL_ListBox::m_bMouseDown, CPWL_Wnd::NotifyLButtonUp(), CPWL_Wnd::OnLButtonUp(), CPWL_ListBox::OnNotifySelectionChanged(), and CPWL_Wnd::ReleaseCapture().
| bool CPWL_CBListBox::OnMovementKeyDown | ( | FWL_VKEYCODE | nKeyCode, |
| Mask< FWL_EVENTFLAG > | nFlag ) |
Definition at line 55 of file cpwl_cblistbox.cpp.
References CPWL_ListBox::OnNotifySelectionChanged().