![]() |
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_combo_box.h>
Public Member Functions | |
| CPWL_ComboBox (const CreateParams &cp, std::unique_ptr< IPWL_FillerNotify::PerWindowData > pAttachedData) | |
| ~CPWL_ComboBox () override | |
| CPWL_Edit * | GetEdit () const |
| void | OnDestroy () override |
| bool | OnKeyDown (FWL_VKEYCODE nKeyCode, Mask< FWL_EVENTFLAG > nFlag) override |
| bool | OnChar (uint16_t nChar, Mask< FWL_EVENTFLAG > nFlag) override |
| void | NotifyLButtonDown (CPWL_Wnd *child, const CFX_PointF &pos) override |
| void | NotifyLButtonUp (CPWL_Wnd *child, const CFX_PointF &pos) override |
| void | CreateChildWnd (const CreateParams &cp) override |
| bool | RepositionChildWnd () override |
| CFX_FloatRect | GetFocusRect () const override |
| void | SetFocus () override |
| void | KillFocus () override |
| WideString | GetText () override |
| WideString | GetSelectedText () override |
| void | ReplaceAndKeepSelection (const WideString &text) override |
| void | ReplaceSelection (const WideString &text) override |
| bool | SelectAllText () override |
| bool | CanUndo () override |
| bool | CanRedo () override |
| bool | Undo () override |
| bool | Redo () override |
| void | SetText (const WideString &text) |
| void | AddString (const WideString &str) |
| int32_t | GetSelect () const |
| void | SetSelect (int32_t nItemIndex) |
| void | SetEditSelection (int32_t nStartChar, int32_t nEndChar) |
| void | ClearSelection () |
| void | SelectAll () |
| bool | IsPopup () const |
| void | SetSelectText () |
| 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 | OnLButtonDown (Mask< FWL_EVENTFLAG > nFlag, const CFX_PointF &point) |
| virtual bool | OnLButtonUp (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 bool | OnMouseMove (Mask< FWL_EVENTFLAG > nFlag, const CFX_PointF &point) |
| virtual bool | OnMouseWheel (Mask< FWL_EVENTFLAG > nFlag, const CFX_PointF &point, const CFX_Vector &delta) |
| virtual void | SetScrollInfo (const PWL_SCROLL_INFO &info) |
| virtual void | SetScrollPosition (float pos) |
| virtual void | ScrollWindowVertically (float pos) |
| virtual void | NotifyMouseMove (CPWL_Wnd *child, const CFX_PointF &pos) |
| virtual void | SetCursor () |
| virtual bool | SetVisible (bool bVisible) |
| virtual void | SetFontSize (float fFontSize) |
| virtual float | GetFontSize () const |
| 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 () |
Definition at line 21 of file cpwl_combo_box.h.
| CPWL_ComboBox::CPWL_ComboBox | ( | const CreateParams & | cp, |
| std::unique_ptr< IPWL_FillerNotify::PerWindowData > | pAttachedData ) |
Definition at line 26 of file cpwl_combo_box.cpp.
References CPWL_Wnd::GetCreationParams().
|
overridedefault |
| void CPWL_ComboBox::AddString | ( | const WideString & | str | ) |
Definition at line 104 of file cpwl_combo_box.cpp.
|
overridevirtual |
Reimplemented from CPWL_Wnd.
Definition at line 83 of file cpwl_combo_box.cpp.
|
overridevirtual |
Reimplemented from CPWL_Wnd.
Definition at line 79 of file cpwl_combo_box.cpp.
| void CPWL_ComboBox::ClearSelection | ( | ) |
Definition at line 126 of file cpwl_combo_box.cpp.
|
overridevirtual |
Reimplemented from CPWL_Wnd.
Definition at line 131 of file cpwl_combo_box.cpp.
|
inline |
Definition at line 28 of file cpwl_combo_box.h.
Referenced by CFFL_ComboBox::GetActionData(), CFFL_ComboBox::RecreatePWLWindowFromSavedState(), CFFL_ComboBox::SavePWLWindowState(), and CFFL_ComboBox::SetActionData().
|
overridevirtual |
Reimplemented from CPWL_Wnd.
Definition at line 288 of file cpwl_combo_box.cpp.
References CFX_FloatRect::CFX_FloatRect().
| int32_t CPWL_ComboBox::GetSelect | ( | ) | const |
Definition at line 109 of file cpwl_combo_box.cpp.
Referenced by CFFL_ComboBox::IsDataChanged(), CFFL_ComboBox::IsIndexSelected(), and CFFL_ComboBox::SaveData().
|
overridevirtual |
Reimplemented from CPWL_Wnd.
Definition at line 58 of file cpwl_combo_box.cpp.
References fxcrt::WideString::WideString().
|
overridevirtual |
Reimplemented from CPWL_Wnd.
Definition at line 95 of file cpwl_combo_box.cpp.
Referenced by CFFL_ComboBox::SaveData().
| bool CPWL_ComboBox::IsPopup | ( | ) | const |
Definition at line 484 of file cpwl_combo_box.cpp.
|
overridevirtual |
Reimplemented from CPWL_Wnd.
Definition at line 51 of file cpwl_combo_box.cpp.
References CPWL_Wnd::KillFocus().
|
overridevirtual |
Reimplemented from CPWL_Wnd.
Definition at line 464 of file cpwl_combo_box.cpp.
|
overridevirtual |
Reimplemented from CPWL_Wnd.
Definition at line 472 of file cpwl_combo_box.cpp.
References SelectAllText(), and SetSelectText().
|
overridevirtual |
Reimplemented from CPWL_Wnd.
Definition at line 410 of file cpwl_combo_box.cpp.
References CPWL_Wnd::GetAttachedData(), pdfium::ascii::kReturn, and pdfium::ascii::kSpace.
|
overridevirtual |
Reimplemented from CPWL_Wnd.
Definition at line 35 of file cpwl_combo_box.cpp.
References CPWL_Wnd::OnDestroy().
|
overridevirtual |
Reimplemented from CPWL_Wnd.
Definition at line 346 of file cpwl_combo_box.cpp.
References FWL_VKEY_Down, FWL_VKEY_Up, and CPWL_Wnd::GetAttachedData().
|
overridevirtual |
Reimplemented from CPWL_Wnd.
Definition at line 91 of file cpwl_combo_box.cpp.
|
overridevirtual |
Reimplemented from CPWL_Wnd.
Definition at line 65 of file cpwl_combo_box.cpp.
|
overridevirtual |
Reimplemented from CPWL_Wnd.
Definition at line 70 of file cpwl_combo_box.cpp.
|
overridevirtual |
Reimplemented from CPWL_Wnd.
Definition at line 205 of file cpwl_combo_box.cpp.
References CFX_FloatRect::bottom, CPWL_Wnd::GetBorderWidth(), CPWL_Wnd::GetWindowRect(), CFX_FloatRect::left, CFX_FloatRect::right, and CFX_FloatRect::top.
| void CPWL_ComboBox::SelectAll | ( | ) |
Definition at line 283 of file cpwl_combo_box.cpp.
|
overridevirtual |
Reimplemented from CPWL_Wnd.
Definition at line 75 of file cpwl_combo_box.cpp.
Referenced by NotifyLButtonUp().
| void CPWL_ComboBox::SetEditSelection | ( | int32_t | nStartChar, |
| int32_t | nEndChar ) |
Definition at line 121 of file cpwl_combo_box.cpp.
|
overridevirtual |
Reimplemented from CPWL_Wnd.
Definition at line 46 of file cpwl_combo_box.cpp.
| void CPWL_ComboBox::SetSelect | ( | int32_t | nItemIndex | ) |
Definition at line 113 of file cpwl_combo_box.cpp.
Referenced by CFFL_ComboBox::SetIndexSelected().
| void CPWL_ComboBox::SetSelectText | ( | ) |
Definition at line 488 of file cpwl_combo_box.cpp.
Referenced by NotifyLButtonUp().
| void CPWL_ComboBox::SetText | ( | const WideString & | text | ) |
Definition at line 99 of file cpwl_combo_box.cpp.
|
overridevirtual |
Reimplemented from CPWL_Wnd.
Definition at line 87 of file cpwl_combo_box.cpp.