![]() |
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_edit.h>
Public Member Functions | |
| ~CFWL_Edit () override | |
| void | PreFinalize () override |
| void | Trace (cppgc::Visitor *visitor) const override |
| FWL_Type | GetClassID () const override |
| CFX_RectF | GetAutosizedWidgetRect () override |
| CFX_RectF | GetWidgetRect () override |
| void | Update () override |
| FWL_WidgetHit | HitTest (const CFX_PointF &point) override |
| void | SetStates (uint32_t dwStates) override |
| void | DrawWidget (CFGAS_GEGraphics *pGraphics, const CFX_Matrix &matrix) override |
| void | OnProcessMessage (CFWL_Message *pMessage) override |
| void | OnProcessEvent (CFWL_Event *pEvent) override |
| void | OnDrawWidget (CFGAS_GEGraphics *pGraphics, const CFX_Matrix &matrix) override |
| virtual void | SetText (const WideString &wsText) |
| virtual void | SetTextSkipNotify (const WideString &wsText) |
| size_t | GetTextLength () const |
| WideString | GetText () const |
| void | ClearText () |
| void | SelectAll () |
| void | ClearSelection () |
| bool | HasSelection () const |
| std::pair< size_t, size_t > | GetSelection () const |
| int32_t | GetLimit () const |
| void | SetLimit (int32_t nLimit) |
| void | SetAliasChar (wchar_t wAlias) |
| std::optional< WideString > | Copy () |
| std::optional< WideString > | Cut () |
| bool | Paste (const WideString &wsPaste) |
| bool | Undo () |
| bool | Redo () |
| bool | CanUndo () |
| bool | CanRedo () |
| void | NotifyTextFull () override |
| void | OnCaretChanged () override |
| void | OnTextWillChange (CFDE_TextEditEngine::TextChange *change) override |
| void | OnTextChanged () override |
| void | OnSelChanged () override |
| bool | OnValidate (const WideString &wsText) override |
| void | SetScrollOffset (float fScrollOffset) override |
| Public Member Functions inherited from pdfium::CFWL_Widget | |
| ~CFWL_Widget () override | |
| void | Trace (cppgc::Visitor *visitor) const override |
| virtual bool | IsForm () const |
| virtual CFX_RectF | GetClientRect () |
| virtual void | ModifyStyleExts (uint32_t dwStyleExtsAdded, uint32_t dwStyleExtsRemoved) |
| virtual void | RemoveStates (uint32_t dwStates) |
| 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_WidgetMgr * | GetWidgetMgr () const |
| CFWL_Widget * | GetOuter () const |
| CFWL_Widget * | GetOutmost () 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_ThemeProvider * | GetThemeProvider () const |
| void | SetDelegate (IFWL_WidgetDelegate *delegate) |
| IFWL_WidgetDelegate * | GetDelegate () |
| const IFWL_WidgetDelegate * | GetDelegate () const |
| CFWL_App * | GetFWLApp () const |
| uint64_t | GetEventKey () const |
| void | SetEventKey (uint64_t key) |
| AdapterIface * | GetAdapterIface () const |
| void | SetAdapterIface (AdapterIface *pItem) |
| void | RepaintRect (const CFX_RectF &pRect) |
| Public Member Functions inherited from pdfium::IFWL_WidgetDelegate | |
| virtual | ~IFWL_WidgetDelegate ()=default |
| Public Member Functions inherited from pdfium::CFDE_TextEditEngine::Delegate | |
| virtual | ~Delegate ()=default |
| virtual void | OnTextWillChange (TextChange *change)=0 |
Public Attributes | |
| CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED | |
| Public Attributes inherited from pdfium::CFWL_Widget | |
| CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED | |
Protected Member Functions | |
| CFWL_Edit (CFWL_App *app, const Properties &properties, CFWL_Widget *pOuter) | |
| void | ShowCaret (CFX_RectF *pRect) |
| void | HideCaret (CFX_RectF *pRect) |
| const CFX_RectF & | GetRTClient () const |
| CFDE_TextEditEngine * | GetTxtEdtEngine () |
| Protected Member Functions inherited from pdfium::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) |
Additional Inherited Members | |
| Protected Attributes inherited from pdfium::CFWL_Widget | |
| Properties | m_Properties |
| CFX_RectF | m_WidgetRect |
Definition at line 49 of file cfwl_edit.h.
|
overridedefault |
|
protected |
Definition at line 52 of file cfwl_edit.cpp.
| bool pdfium::CFWL_Edit::CanRedo | ( | ) |
Definition at line 246 of file cfwl_edit.cpp.
| bool pdfium::CFWL_Edit::CanUndo | ( | ) |
Definition at line 242 of file cfwl_edit.cpp.
| void pdfium::CFWL_Edit::ClearSelection | ( | ) |
Definition at line 186 of file cfwl_edit.cpp.
| void pdfium::CFWL_Edit::ClearText | ( | ) |
Definition at line 170 of file cfwl_edit.cpp.
| std::optional< WideString > pdfium::CFWL_Edit::Copy | ( | ) |
Definition at line 209 of file cfwl_edit.cpp.
| std::optional< WideString > pdfium::CFWL_Edit::Cut | ( | ) |
Definition at line 216 of file cfwl_edit.cpp.
|
overridevirtual |
Implements pdfium::CFWL_Widget.
Definition at line 137 of file cfwl_edit.cpp.
|
overridevirtual |
Reimplemented from pdfium::CFWL_Widget.
Definition at line 91 of file cfwl_edit.cpp.
|
overridevirtual |
Implements pdfium::CFWL_Widget.
Definition at line 75 of file cfwl_edit.cpp.
| int32_t pdfium::CFWL_Edit::GetLimit | ( | ) | const |
Definition at line 190 of file cfwl_edit.cpp.
|
inlineprotected |
Definition at line 108 of file cfwl_edit.h.
| std::pair< size_t, size_t > pdfium::CFWL_Edit::GetSelection | ( | ) | const |
Definition at line 182 of file cfwl_edit.cpp.
| WideString pdfium::CFWL_Edit::GetText | ( | ) | const |
Definition at line 166 of file cfwl_edit.cpp.
| size_t pdfium::CFWL_Edit::GetTextLength | ( | ) | const |
Definition at line 162 of file cfwl_edit.cpp.
|
inlineprotected |
Definition at line 109 of file cfwl_edit.h.
|
overridevirtual |
Reimplemented from pdfium::CFWL_Widget.
Definition at line 79 of file cfwl_edit.cpp.
| bool pdfium::CFWL_Edit::HasSelection | ( | ) | const |
Definition at line 178 of file cfwl_edit.cpp.
Definition at line 726 of file cfwl_edit.cpp.
|
overridevirtual |
Reimplemented from pdfium::CFWL_Widget.
Definition at line 125 of file cfwl_edit.cpp.
|
overridevirtual |
Implements pdfium::CFDE_TextEditEngine::Delegate.
Definition at line 250 of file cfwl_edit.cpp.
|
overridevirtual |
Implements pdfium::CFDE_TextEditEngine::Delegate.
Definition at line 255 of file cfwl_edit.cpp.
|
overridevirtual |
Implements pdfium::IFWL_WidgetDelegate.
Definition at line 843 of file cfwl_edit.cpp.
|
overridevirtual |
Implements pdfium::IFWL_WidgetDelegate.
Definition at line 831 of file cfwl_edit.cpp.
|
overridevirtual |
Implements pdfium::IFWL_WidgetDelegate.
Definition at line 784 of file cfwl_edit.cpp.
|
overridevirtual |
Implements pdfium::CFDE_TextEditEngine::Delegate.
Definition at line 299 of file cfwl_edit.cpp.
|
overridevirtual |
Implements pdfium::CFDE_TextEditEngine::Delegate.
Definition at line 291 of file cfwl_edit.cpp.
|
override |
Definition at line 279 of file cfwl_edit.cpp.
|
overridevirtual |
Implements pdfium::CFDE_TextEditEngine::Delegate.
Definition at line 303 of file cfwl_edit.cpp.
| bool pdfium::CFWL_Edit::Paste | ( | const WideString & | wsPaste | ) |
Definition at line 225 of file cfwl_edit.cpp.
|
overridevirtual |
Reimplemented from pdfium::CFWL_Widget.
Definition at line 62 of file cfwl_edit.cpp.
| bool pdfium::CFWL_Edit::Redo | ( | ) |
Definition at line 238 of file cfwl_edit.cpp.
| void pdfium::CFWL_Edit::SelectAll | ( | ) |
Definition at line 174 of file cfwl_edit.cpp.
| void pdfium::CFWL_Edit::SetAliasChar | ( | wchar_t | wAlias | ) |
Definition at line 205 of file cfwl_edit.cpp.
| void pdfium::CFWL_Edit::SetLimit | ( | int32_t | nLimit | ) |
Definition at line 194 of file cfwl_edit.cpp.
|
overridevirtual |
Implements pdfium::CFDE_TextEditEngine::Delegate.
Definition at line 309 of file cfwl_edit.cpp.
|
overridevirtual |
Reimplemented from pdfium::CFWL_Widget.
Definition at line 103 of file cfwl_edit.cpp.
|
virtual |
Definition at line 150 of file cfwl_edit.cpp.
|
virtual |
Definition at line 156 of file cfwl_edit.cpp.
Definition at line 701 of file cfwl_edit.cpp.
|
override |
Definition at line 69 of file cfwl_edit.cpp.
| bool pdfium::CFWL_Edit::Undo | ( | ) |
Definition at line 234 of file cfwl_edit.cpp.
|
overridevirtual |
Implements pdfium::CFWL_Widget.
Definition at line 111 of file cfwl_edit.cpp.
| pdfium::CFWL_Edit::CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED |
Definition at line 51 of file cfwl_edit.h.