Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
CXFA_FFListBox Class Referencefinal

#include <cxfa_fflistbox.h>

+ Inheritance diagram for CXFA_FFListBox:
+ Collaboration diagram for CXFA_FFListBox:

Public Member Functions

 ~CXFA_FFListBox () override
 
void PreFinalize ()
 
void Trace (cppgc::Visitor *visitor) const override
 
bool LoadWidget () override
 
bool OnKillFocus (CXFA_FFWidget *pNewWidget) override
 
void OnProcessMessage (CFWL_Message *pMessage) override
 
void OnProcessEvent (CFWL_Event *pEvent) override
 
void OnDrawWidget (CFGAS_GEGraphics *pGraphics, const CFX_Matrix &matrix) override
 
FormFieldType GetFormFieldType () override
 
void InsertItem (const WideString &wsLabel, int32_t nIndex) override
 
void DeleteItem (int32_t nIndex) override
 
void OnSelectChanged (CFWL_Widget *pWidget)
 
void SetItemState (int32_t nIndex, bool bSelected)
 
- Public Member Functions inherited from CXFA_FFDropDown
 ~CXFA_FFDropDown () override
 
CXFA_FFDropDownAsDropDown () override
 
virtual CXFA_FFComboBoxAsComboBox ()
 
- Public Member Functions inherited from CXFA_FFField
 ~CXFA_FFField () override
 
void Trace (cppgc::Visitor *visitor) const override
 
CXFA_FFFieldAsField () override
 
CFX_RectF GetBBox (FocusOption focus) override
 
void RenderWidget (CFGAS_GEGraphics *pGS, const CFX_Matrix &matrix, HighlightOption highlight) override
 
bool IsLoaded () 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 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 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 void UpdateWidgetProperty ()
 
virtual bool CanUndo ()
 
virtual bool CanRedo ()
 
virtual bool CanCopy ()
 
virtual bool CanCut ()
 
virtual bool CanPaste ()
 
virtual bool CanSelectAll ()
 
virtual bool CanDelete ()
 
virtual bool CanDeSelect ()
 
virtual bool Undo ()
 
virtual bool Redo ()
 
virtual absl::optional< WideStringCopy ()
 
virtual absl::optional< WideStringCut ()
 
virtual bool Paste (const WideString &wsPaste)
 
virtual void SelectAll ()
 
virtual void Delete ()
 
virtual void DeSelect ()
 
virtual WideString GetText ()
 
CXFA_NodeGetNode () const
 
CXFA_ContentLayoutItemGetLayoutItem () const
 
void SetLayoutItem (CXFA_ContentLayoutItem *pItem)
 
CXFA_FFPageViewGetPageView () const
 
void SetPageView (CXFA_FFPageView *pPageView)
 
CXFA_FFDocViewGetDocView () const
 
void SetDocView (CXFA_FFDocView *pDocView)
 
CXFA_FFWidgetGetNextFFWidget () const
 
const CFX_RectFGetWidgetRect () const
 
const CFX_RectFRecacheWidgetRect () const
 
void ModifyStatus (Mask< XFA_WidgetStatus > dwAdded, Mask< XFA_WidgetStatus > dwRemoved)
 
CXFA_FFDocGetDoc ()
 
CXFA_FFAppGetApp ()
 
CXFA_FFApp::CallbackIfaceGetAppProvider ()
 
CFWL_AppGetFWLApp () const
 
void InvalidateRect ()
 
bool IsFocused () const
 
CFX_PointF Rotate2Normal (const CFX_PointF &point)
 
bool IsLayoutRectEmpty ()
 
CXFA_LayoutItemGetParent ()
 
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 CommitData () override
 
bool UpdateFWLData () override
 
bool IsDataChanged () override
 

Additional Inherited Members

- Public Types inherited from CXFA_FFField
enum  ShapeOption { kSquareShape = 0 , kRoundShape }
 
- Public Types inherited from CXFA_FFWidget
enum  FocusOption { kDoNotDrawFocus = 0 , kDrawFocus }
 
enum  HighlightOption { kNoHighlight = 0 , kHighlight }
 
- Static Public Member Functions inherited from CXFA_FFWidget
static CXFA_FFWidgetFromLayoutItem (CXFA_LayoutItem *pLayoutItem)
 
- Protected Member Functions inherited from CXFA_FFDropDown
 CXFA_FFDropDown (CXFA_Node *pNode)
 
- Protected Member Functions inherited from CXFA_FFField
 CXFA_FFField (CXFA_Node *pNode)
 
bool PtInActiveRect (const CFX_PointF &point) override
 
virtual void SetFWLRect ()
 
CFWL_WidgetGetNormalWidget ()
 
const CFWL_WidgetGetNormalWidget () const
 
void SetNormalWidget (CFWL_Widget *widget)
 
CFX_PointF FWLToClient (const CFX_PointF &point)
 
void LayoutCaption ()
 
void RenderCaption (CFGAS_GEGraphics *pGS, const CFX_Matrix &pMatrix)
 
int32_t CalculateOverride ()
 
int32_t CalculateNode (CXFA_Node *pNode)
 
bool ProcessCommittedData ()
 
void DrawHighlight (CFGAS_GEGraphics *pGS, const CFX_Matrix &pMatrix, HighlightOption highlight, ShapeOption shape)
 
void SendMessageToFWLWidget (CFWL_Message *pMessage)
 
void CapPlacement ()
 
void CapTopBottomPlacement (const CXFA_Margin *margin, const CFX_RectF &rtWidget, XFA_AttributeValue iCapPlacement)
 
void CapLeftRightPlacement (const CXFA_Margin *margin, const CFX_RectF &rtWidget, XFA_AttributeValue iCapPlacement)
 
void SetEditScrollOffset ()
 
- Protected Member Functions inherited from CXFA_FFWidget
 CXFA_FFWidget (CXFA_Node *pNode)
 
void DrawBorder (CFGAS_GEGraphics *pGS, CXFA_Box *box, const CFX_RectF &rtBorder, const CFX_Matrix &matrix)
 
void DrawBorderWithFlag (CFGAS_GEGraphics *pGS, CXFA_Box *box, const CFX_RectF &rtBorder, const CFX_Matrix &matrix, bool forceRound)
 
CFX_RectF GetRectWithoutRotate ()
 
bool HasVisibleStatus () const
 
void EventKillFocus ()
 
bool IsButtonDown ()
 
void SetButtonDown (bool bSet)
 
- Protected Attributes inherited from CXFA_FFField
CFX_RectF m_UIRect
 
CFX_RectF m_CaptionRect
 
- Protected Attributes inherited from CXFA_FFWidget
cppgc::Member< CXFA_ContentLayoutItemm_pLayoutItem
 
cppgc::Member< CXFA_FFDocViewm_pDocView
 
cppgc::Member< CXFA_FFPageViewm_pPageView
 
cppgc::Member< CXFA_Node > const m_pNode
 
CFX_RectF m_WidgetRect
 

Detailed Description

Definition at line 14 of file cxfa_fflistbox.h.

Constructor & Destructor Documentation

◆ ~CXFA_FFListBox()

CXFA_FFListBox::~CXFA_FFListBox ( )
overridedefault

Member Function Documentation

◆ CommitData()

bool CXFA_FFListBox::CommitData ( )
overrideprivatevirtual

Reimplemented from CXFA_FFField.

Definition at line 93 of file cxfa_fflistbox.cpp.

◆ DeleteItem()

void CXFA_FFListBox::DeleteItem ( int32_t nIndex)
overridevirtual

Implements CXFA_FFDropDown.

Definition at line 183 of file cxfa_fflistbox.cpp.

References CXFA_FFWidget::InvalidateRect().

+ Here is the call graph for this function:

◆ GetFormFieldType()

FormFieldType CXFA_FFListBox::GetFormFieldType ( )
overridevirtual

Reimplemented from CXFA_FFWidget.

Definition at line 215 of file cxfa_fflistbox.cpp.

◆ InsertItem()

void CXFA_FFListBox::InsertItem ( const WideString & wsLabel,
int32_t nIndex )
overridevirtual

Implements CXFA_FFDropDown.

Definition at line 177 of file cxfa_fflistbox.cpp.

References CXFA_FFWidget::InvalidateRect().

+ Here is the call graph for this function:

◆ IsDataChanged()

bool CXFA_FFListBox::IsDataChanged ( )
overrideprivatevirtual

Reimplemented from CXFA_FFField.

Definition at line 104 of file cxfa_fflistbox.cpp.

References CFWL_ListBox::Item::IsSelected().

+ Here is the call graph for this function:

◆ LoadWidget()

bool CXFA_FFListBox::LoadWidget ( )
overridevirtual

Reimplemented from CXFA_FFField.

Definition at line 47 of file cxfa_fflistbox.cpp.

References CFWL_Widget::GetFWLApp(), CXFA_FFField::LoadWidget(), CFWL_Widget::ModifyStyleExts(), CFWL_Widget::ModifyStyles(), CFWL_NoteDriver::RegisterEventTarget(), CFWL_Widget::SetAdapterIface(), CFWL_Widget::SetDelegate(), and CXFA_FFField::SetNormalWidget().

+ Here is the call graph for this function:

◆ OnDrawWidget()

void CXFA_FFListBox::OnDrawWidget ( CFGAS_GEGraphics * pGraphics,
const CFX_Matrix & matrix )
overridevirtual

Reimplemented from CXFA_FFField.

Definition at line 210 of file cxfa_fflistbox.cpp.

◆ OnKillFocus()

bool CXFA_FFListBox::OnKillFocus ( CXFA_FFWidget * pNewWidget)
nodiscardoverridevirtual

Reimplemented from CXFA_FFField.

Definition at line 86 of file cxfa_fflistbox.cpp.

References CXFA_FFField::OnKillFocus(), CXFA_FFField::ProcessCommittedData(), and UpdateFWLData().

+ Here is the call graph for this function:

◆ OnProcessEvent()

void CXFA_FFListBox::OnProcessEvent ( CFWL_Event * pEvent)
overridevirtual

Reimplemented from CXFA_FFField.

Definition at line 198 of file cxfa_fflistbox.cpp.

References CFWL_Event::GetType(), CXFA_FFField::OnProcessEvent(), OnSelectChanged(), and CFWL_Event::SelectChanged.

+ Here is the call graph for this function:

◆ OnProcessMessage()

void CXFA_FFListBox::OnProcessMessage ( CFWL_Message * pMessage)
overridevirtual

Reimplemented from CXFA_FFField.

Definition at line 194 of file cxfa_fflistbox.cpp.

◆ OnSelectChanged()

void CXFA_FFListBox::OnSelectChanged ( CFWL_Widget * pWidget)

Definition at line 164 of file cxfa_fflistbox.cpp.

References CXFA_EventParam::CXFA_EventParam(), and XFA_EVENT_Change.

Referenced by OnProcessEvent().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ PreFinalize()

void CXFA_FFListBox::PreFinalize ( )

Definition at line 34 of file cxfa_fflistbox.cpp.

References CFWL_NoteDriver::UnregisterEventTarget().

+ Here is the call graph for this function:

◆ SetItemState()

void CXFA_FFListBox::SetItemState ( int32_t nIndex,
bool bSelected )

Definition at line 170 of file cxfa_fflistbox.cpp.

References CXFA_FFWidget::InvalidateRect().

+ Here is the call graph for this function:

◆ Trace()

void CXFA_FFListBox::Trace ( cppgc::Visitor * visitor) const
override

Definition at line 42 of file cxfa_fflistbox.cpp.

◆ UpdateFWLData()

bool CXFA_FFListBox::UpdateFWLData ( )
overrideprivatevirtual

Reimplemented from CXFA_FFWidget.

Definition at line 146 of file cxfa_fflistbox.cpp.

Referenced by OnKillFocus().

+ Here is the caller graph for this function:

Member Data Documentation

◆ CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED

CXFA_FFListBox::CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED

Definition at line 18 of file cxfa_fflistbox.h.


The documentation for this class was generated from the following files: