Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <cxfa_ffcombobox.h>
Public Member Functions | |
~CXFA_FFComboBox () override | |
void | Trace (cppgc::Visitor *visitor) const override |
CXFA_FFComboBox * | AsComboBox () override |
CFX_RectF | GetBBox (FocusOption focus) override |
bool | LoadWidget () override |
void | UpdateWidgetProperty () override |
bool | OnRButtonUp (Mask< XFA_FWL_KeyFlag > dwFlags, const CFX_PointF &point) override |
bool | OnKillFocus (CXFA_FFWidget *pNewWidget) override |
bool | CanUndo () override |
bool | CanRedo () override |
bool | CanCopy () override |
bool | CanCut () override |
bool | CanPaste () override |
bool | CanSelectAll () override |
bool | Undo () override |
bool | Redo () override |
absl::optional< WideString > | Copy () override |
absl::optional< WideString > | Cut () override |
bool | Paste (const WideString &wsPaste) override |
void | SelectAll () override |
void | Delete () override |
void | DeSelect () override |
WideString | GetText () override |
FormFieldType | GetFormFieldType () override |
void | OnProcessMessage (CFWL_Message *pMessage) override |
void | OnProcessEvent (CFWL_Event *pEvent) override |
void | OnDrawWidget (CFGAS_GEGraphics *pGraphics, const CFX_Matrix &matrix) override |
void | InsertItem (const WideString &wsLabel, int32_t nIndex) override |
void | DeleteItem (int32_t nIndex) override |
void | OpenDropDownList () |
void | OnTextChanged (CFWL_Widget *pWidget, const WideString &wsChanged) |
void | OnSelectChanged (CFWL_Widget *pWidget, bool bLButtonUp) |
void | OnPreOpen (CFWL_Widget *pWidget) |
void | OnPostOpen (CFWL_Widget *pWidget) |
void | SetItemState (int32_t nIndex, bool bSelected) |
Public Member Functions inherited from CXFA_FFDropDown | |
~CXFA_FFDropDown () override | |
CXFA_FFDropDown * | AsDropDown () override |
Public Member Functions inherited from CXFA_FFField | |
~CXFA_FFField () override | |
void | Trace (cppgc::Visitor *visitor) const override |
CXFA_FFField * | AsField () override |
CFX_RectF | GetBBox (FocusOption focus) override |
void | RenderWidget (CFGAS_GEGraphics *pGS, const CFX_Matrix &matrix, HighlightOption highlight) override |
bool | IsLoaded () override |
bool | LoadWidget () override |
bool | PerformLayout () override |
bool | AcceptsFocusOnButtonDown (Mask< XFA_FWL_KeyFlag > dwFlags, const CFX_PointF &point, CFWL_MessageMouse::MouseCommand command) override |
bool | OnMouseEnter () override |
bool | OnMouseExit () override |
bool | OnLButtonDown (Mask< XFA_FWL_KeyFlag > dwFlags, const CFX_PointF &point) override |
bool | OnLButtonUp (Mask< XFA_FWL_KeyFlag > dwFlags, const CFX_PointF &point) override |
bool | OnLButtonDblClk (Mask< XFA_FWL_KeyFlag > dwFlags, const CFX_PointF &point) override |
bool | OnMouseMove (Mask< XFA_FWL_KeyFlag > dwFlags, const CFX_PointF &point) override |
bool | OnMouseWheel (Mask< XFA_FWL_KeyFlag > dwFlags, const CFX_PointF &point, const CFX_Vector &delta) override |
bool | OnRButtonDown (Mask< XFA_FWL_KeyFlag > dwFlags, const CFX_PointF &point) override |
bool | OnRButtonUp (Mask< XFA_FWL_KeyFlag > dwFlags, const CFX_PointF &point) override |
bool | OnRButtonDblClk (Mask< XFA_FWL_KeyFlag > dwFlags, const CFX_PointF &point) override |
bool | OnSetFocus (CXFA_FFWidget *pOldWidget) override |
bool | OnKillFocus (CXFA_FFWidget *pNewWidget) override |
bool | OnKeyDown (XFA_FWL_VKEYCODE dwKeyCode, Mask< XFA_FWL_KeyFlag > dwFlags) override |
bool | OnChar (uint32_t dwChar, Mask< XFA_FWL_KeyFlag > dwFlags) override |
FWL_WidgetHit | HitTest (const CFX_PointF &point) override |
void | OnProcessMessage (CFWL_Message *pMessage) override |
void | OnProcessEvent (CFWL_Event *pEvent) override |
void | OnDrawWidget (CFGAS_GEGraphics *pGraphics, const CFX_Matrix &matrix) override |
void | UpdateFWL () |
uint32_t | UpdateUIProperty () |
Public Member Functions inherited from CXFA_FFWidget | |
~CXFA_FFWidget () override | |
void | Trace (cppgc::Visitor *visitor) const override |
CFX_Matrix | GetRotateMatrix () override |
void | DisplayCaret (bool bVisible, const CFX_RectF *pRtAnchor) override |
void | GetBorderColorAndThickness (FX_ARGB *cr, float *fWidth) override |
virtual bool | CanDelete () |
virtual bool | CanDeSelect () |
CXFA_Node * | GetNode () const |
CXFA_ContentLayoutItem * | GetLayoutItem () const |
void | SetLayoutItem (CXFA_ContentLayoutItem *pItem) |
CXFA_FFPageView * | GetPageView () const |
void | SetPageView (CXFA_FFPageView *pPageView) |
CXFA_FFDocView * | GetDocView () const |
void | SetDocView (CXFA_FFDocView *pDocView) |
CXFA_FFWidget * | GetNextFFWidget () const |
const CFX_RectF & | GetWidgetRect () const |
const CFX_RectF & | RecacheWidgetRect () const |
void | ModifyStatus (Mask< XFA_WidgetStatus > dwAdded, Mask< XFA_WidgetStatus > dwRemoved) |
CXFA_FFDoc * | GetDoc () |
CXFA_FFApp * | GetApp () |
CXFA_FFApp::CallbackIface * | GetAppProvider () |
CFWL_App * | GetFWLApp () const |
void | InvalidateRect () |
bool | IsFocused () const |
CFX_PointF | Rotate2Normal (const CFX_PointF &point) |
bool | IsLayoutRectEmpty () |
CXFA_LayoutItem * | GetParent () |
bool | IsAncestorOf (CXFA_FFWidget *pWidget) |
bool | HasEventUnderHandler (XFA_EVENTTYPE eEventType, CXFA_FFWidgetHandler *pHandler) |
bool | ProcessEventUnderHandler (CXFA_EventParam *params, CXFA_FFWidgetHandler *pHandler) |
Public Member Functions inherited from CFWL_Widget::AdapterIface | |
virtual | ~AdapterIface ()=default |
Public Member Functions inherited from IFWL_WidgetDelegate | |
virtual | ~IFWL_WidgetDelegate ()=default |
Public Attributes | |
CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED | |
Public Attributes inherited from CXFA_FFDropDown | |
CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED | |
Public Attributes inherited from CXFA_FFField | |
CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED | |
Public Attributes inherited from CXFA_FFWidget | |
CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED | |
Private Member Functions | |
bool | PtInActiveRect (const CFX_PointF &point) override |
bool | CommitData () override |
bool | UpdateFWLData () override |
bool | IsDataChanged () override |
Definition at line 15 of file cxfa_ffcombobox.h.
|
overridedefault |
|
overridevirtual |
Reimplemented from CXFA_FFDropDown.
Definition at line 42 of file cxfa_ffcombobox.cpp.
|
overridevirtual |
Reimplemented from CXFA_FFWidget.
Definition at line 229 of file cxfa_ffcombobox.cpp.
|
overridevirtual |
Reimplemented from CXFA_FFWidget.
Definition at line 233 of file cxfa_ffcombobox.cpp.
|
overridevirtual |
Reimplemented from CXFA_FFWidget.
Definition at line 238 of file cxfa_ffcombobox.cpp.
|
overridevirtual |
Reimplemented from CXFA_FFWidget.
Definition at line 224 of file cxfa_ffcombobox.cpp.
|
overridevirtual |
Reimplemented from CXFA_FFWidget.
Definition at line 242 of file cxfa_ffcombobox.cpp.
|
overridevirtual |
Reimplemented from CXFA_FFWidget.
Definition at line 219 of file cxfa_ffcombobox.cpp.
|
overrideprivatevirtual |
Reimplemented from CXFA_FFField.
Definition at line 132 of file cxfa_ffcombobox.cpp.
|
overridevirtual |
Reimplemented from CXFA_FFWidget.
Definition at line 256 of file cxfa_ffcombobox.cpp.
|
overridevirtual |
Reimplemented from CXFA_FFWidget.
Definition at line 260 of file cxfa_ffcombobox.cpp.
|
overridevirtual |
Reimplemented from CXFA_FFWidget.
Definition at line 276 of file cxfa_ffcombobox.cpp.
|
overridevirtual |
Implements CXFA_FFDropDown.
Definition at line 304 of file cxfa_ffcombobox.cpp.
References CXFA_FFWidget::InvalidateRect().
|
overridevirtual |
Reimplemented from CXFA_FFWidget.
Definition at line 280 of file cxfa_ffcombobox.cpp.
|
overridevirtual |
Reimplemented from CXFA_FFWidget.
Definition at line 46 of file cxfa_ffcombobox.cpp.
References CFX_RectF::CFX_RectF(), CXFA_FFWidget::GetBBox(), CXFA_FFWidget::kDoNotDrawFocus, and CXFA_FFWidget::kDrawFocus.
|
overridevirtual |
Reimplemented from CXFA_FFWidget.
Definition at line 288 of file cxfa_ffcombobox.cpp.
|
overridevirtual |
Reimplemented from CXFA_FFWidget.
Definition at line 284 of file cxfa_ffcombobox.cpp.
|
overridevirtual |
Implements CXFA_FFDropDown.
Definition at line 298 of file cxfa_ffcombobox.cpp.
References CXFA_FFWidget::InvalidateRect().
|
overrideprivatevirtual |
Reimplemented from CXFA_FFField.
Definition at line 136 of file cxfa_ffcombobox.cpp.
|
overridevirtual |
Reimplemented from CXFA_FFWidget.
Definition at line 57 of file cxfa_ffcombobox.cpp.
References CFWL_Widget::GetFWLApp(), CXFA_FFField::LoadWidget(), CFWL_NoteDriver::RegisterEventTarget(), CFWL_Widget::SetAdapterIface(), CFWL_ComboBox::SetCurSel(), CFWL_Widget::SetDelegate(), CXFA_FFField::SetNormalWidget(), and UpdateWidgetProperty().
|
overridevirtual |
Implements IFWL_WidgetDelegate.
Definition at line 371 of file cxfa_ffcombobox.cpp.
|
nodiscardoverridevirtual |
Reimplemented from CXFA_FFWidget.
Definition at line 121 of file cxfa_ffcombobox.cpp.
References CXFA_FFField::OnKillFocus(), CXFA_FFField::ProcessCommittedData(), and UpdateFWLData().
void CXFA_FFComboBox::OnPostOpen | ( | CFWL_Widget * | pWidget | ) |
Definition at line 335 of file cxfa_ffcombobox.cpp.
References CXFA_EventParam::CXFA_EventParam(), and XFA_EVENT_PostOpen.
Referenced by OnProcessEvent().
void CXFA_FFComboBox::OnPreOpen | ( | CFWL_Widget * | pWidget | ) |
Definition at line 330 of file cxfa_ffcombobox.cpp.
References CXFA_EventParam::CXFA_EventParam(), and XFA_EVENT_PreOpen.
Referenced by OnProcessEvent().
|
overridevirtual |
Implements IFWL_WidgetDelegate.
Definition at line 344 of file cxfa_ffcombobox.cpp.
References CFWL_Event::EditChanged, CFWL_EventSelectChanged::GetLButtonUp(), CFWL_Event::GetType(), OnPostOpen(), OnPreOpen(), CXFA_FFField::OnProcessEvent(), OnSelectChanged(), OnTextChanged(), CFWL_Event::PostDropDown, CFWL_Event::PreDropDown, and CFWL_Event::SelectChanged.
|
overridevirtual |
Implements IFWL_WidgetDelegate.
Definition at line 340 of file cxfa_ffcombobox.cpp.
|
overridevirtual |
Reimplemented from CXFA_FFWidget.
Definition at line 112 of file cxfa_ffcombobox.cpp.
References CXFA_FFWidget::GetDoc(), and CXFA_FFField::OnRButtonUp().
void CXFA_FFComboBox::OnSelectChanged | ( | CFWL_Widget * | pWidget, |
bool | bLButtonUp ) |
Definition at line 322 of file cxfa_ffcombobox.cpp.
References CXFA_EventParam::CXFA_EventParam(), and XFA_EVENT_Unknown.
Referenced by OnProcessEvent().
void CXFA_FFComboBox::OnTextChanged | ( | CFWL_Widget * | pWidget, |
const WideString & | wsChanged ) |
Definition at line 314 of file cxfa_ffcombobox.cpp.
References CXFA_EventParam::CXFA_EventParam(), and XFA_EVENT_Unknown.
Referenced by OnProcessEvent().
void CXFA_FFComboBox::OpenDropDownList | ( | ) |
Definition at line 128 of file cxfa_ffcombobox.cpp.
Referenced by CXFA_FFNotify::OpenDropDownList().
|
overridevirtual |
Reimplemented from CXFA_FFWidget.
Definition at line 267 of file cxfa_ffcombobox.cpp.
|
overrideprivatevirtual |
Reimplemented from CXFA_FFWidget.
Definition at line 52 of file cxfa_ffcombobox.cpp.
|
overridevirtual |
Reimplemented from CXFA_FFWidget.
Definition at line 251 of file cxfa_ffcombobox.cpp.
|
overridevirtual |
Reimplemented from CXFA_FFWidget.
Definition at line 272 of file cxfa_ffcombobox.cpp.
void CXFA_FFComboBox::SetItemState | ( | int32_t | nIndex, |
bool | bSelected ) |
Definition at line 292 of file cxfa_ffcombobox.cpp.
References CXFA_FFWidget::InvalidateRect().
|
override |
Definition at line 37 of file cxfa_ffcombobox.cpp.
|
overridevirtual |
Reimplemented from CXFA_FFWidget.
Definition at line 246 of file cxfa_ffcombobox.cpp.
|
overrideprivatevirtual |
Reimplemented from CXFA_FFWidget.
Definition at line 203 of file cxfa_ffcombobox.cpp.
Referenced by OnKillFocus().
|
overridevirtual |
Reimplemented from CXFA_FFWidget.
Definition at line 87 of file cxfa_ffcombobox.cpp.
References CXFA_FFField::UpdateUIProperty().
Referenced by LoadWidget().
CXFA_FFComboBox::CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED |
Definition at line 17 of file cxfa_ffcombobox.h.