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
CFWL_ListBox Class Reference

#include <cfwl_listbox.h>

Inheritance diagram for CFWL_ListBox:
Collaboration diagram for CFWL_ListBox:

Classes

class  Item

Public Member Functions

 ~CFWL_ListBox () override
void Trace (cppgc::Visitor *visitor) const override
FWL_Type GetClassID () const override
void Update () override
FWL_WidgetHit HitTest (const CFX_PointF &point) 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
int32_t CountItems (const CFWL_Widget *pWidget) const
ItemGetItem (const CFWL_Widget *pWidget, int32_t nIndex) const
int32_t GetItemIndex (CFWL_Widget *pWidget, Item *pItem)
ItemAddString (const WideString &wsAdd)
void RemoveAt (int32_t iIndex)
void DeleteString (Item *pItem)
void DeleteAll ()
int32_t CountSelItems ()
ItemGetSelItem (int32_t nIndexSel)
int32_t GetSelIndex (int32_t nIndex)
void SetSelItem (Item *hItem, bool bSelect)
float CalcItemHeight ()
Public Member Functions inherited from pdfium::CFWL_Widget
 ~CFWL_Widget () override
virtual void PreFinalize ()
void Trace (cppgc::Visitor *visitor) const override
virtual bool IsForm () const
virtual CFX_RectF GetAutosizedWidgetRect ()
virtual CFX_RectF GetWidgetRect ()
virtual CFX_RectF GetClientRect ()
virtual void ModifyStyleExts (uint32_t dwStyleExtsAdded, uint32_t dwStyleExtsRemoved)
virtual void SetStates (uint32_t dwStates)
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_WidgetMgrGetWidgetMgr () const
CFWL_WidgetGetOuter () const
CFWL_WidgetGetOutmost () 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_ThemeProviderGetThemeProvider () const
void SetDelegate (IFWL_WidgetDelegate *delegate)
IFWL_WidgetDelegateGetDelegate ()
const IFWL_WidgetDelegateGetDelegate () const
CFWL_AppGetFWLApp () const
uint64_t GetEventKey () const
void SetEventKey (uint64_t key)
AdapterIfaceGetAdapterIface () const
void SetAdapterIface (AdapterIface *pItem)
void RepaintRect (const CFX_RectF &pRect)
Public Member Functions inherited from pdfium::IFWL_WidgetDelegate
virtual ~IFWL_WidgetDelegate ()=default

Public Attributes

 CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED
Public Attributes inherited from pdfium::CFWL_Widget
 CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED

Protected Member Functions

 CFWL_ListBox (CFWL_App *pApp, const Properties &properties, CFWL_Widget *pOuter)
ItemGetListItem (Item *hItem, XFA_FWL_VKEYCODE dwKeyCode)
void SetSelection (Item *hStart, Item *hEnd, bool bSelected)
ItemGetItemAtPoint (const CFX_PointF &point)
bool ScrollToVisible (Item *hItem)
void InitVerticalScrollBar ()
void InitHorizontalScrollBar ()
bool IsShowVertScrollBar () const
bool IsShowHorzScrollBar () const
bool ScrollBarPropertiesPresent () const
CFWL_ScrollBarGetVertScrollBar () const
const CFX_RectFGetRTClient () const
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

Detailed Description

Definition at line 32 of file cfwl_listbox.h.

Constructor & Destructor Documentation

◆ ~CFWL_ListBox()

pdfium::CFWL_ListBox::~CFWL_ListBox ( )
overridedefault

◆ CFWL_ListBox()

pdfium::CFWL_ListBox::CFWL_ListBox ( CFWL_App * pApp,
const Properties & properties,
CFWL_Widget * pOuter )
protected

Definition at line 36 of file cfwl_listbox.cpp.

Member Function Documentation

◆ AddString()

CFWL_ListBox::Item * pdfium::CFWL_ListBox::AddString ( const WideString & wsAdd)

Definition at line 833 of file cfwl_listbox.cpp.

◆ CalcItemHeight()

float pdfium::CFWL_ListBox::CalcItemHeight ( )

Definition at line 549 of file cfwl_listbox.cpp.

◆ CountItems()

int32_t pdfium::CFWL_ListBox::CountItems ( const CFWL_Widget * pWidget) const

Definition at line 812 of file cfwl_listbox.cpp.

◆ CountSelItems()

int32_t pdfium::CFWL_ListBox::CountSelItems ( )

Definition at line 112 of file cfwl_listbox.cpp.

◆ DeleteAll()

void pdfium::CFWL_ListBox::DeleteAll ( )

Definition at line 860 of file cfwl_listbox.cpp.

◆ DeleteString()

void pdfium::CFWL_ListBox::DeleteString ( Item * pItem)

Definition at line 844 of file cfwl_listbox.cpp.

◆ DrawWidget()

void pdfium::CFWL_ListBox::DrawWidget ( CFGAS_GEGraphics * pGraphics,
const CFX_Matrix & matrix )
overridevirtual

Implements pdfium::CFWL_Widget.

Definition at line 90 of file cfwl_listbox.cpp.

◆ GetClassID()

FWL_Type pdfium::CFWL_ListBox::GetClassID ( ) const
overridevirtual

Implements pdfium::CFWL_Widget.

Definition at line 49 of file cfwl_listbox.cpp.

◆ GetItem()

CFWL_ListBox::Item * pdfium::CFWL_ListBox::GetItem ( const CFWL_Widget * pWidget,
int32_t nIndex ) const

Definition at line 816 of file cfwl_listbox.cpp.

◆ GetItemAtPoint()

CFWL_ListBox::Item * pdfium::CFWL_ListBox::GetItemAtPoint ( const CFX_PointF & point)
protected

Definition at line 268 of file cfwl_listbox.cpp.

◆ GetItemIndex()

int32_t pdfium::CFWL_ListBox::GetItemIndex ( CFWL_Widget * pWidget,
Item * pItem )

Definition at line 823 of file cfwl_listbox.cpp.

◆ GetListItem()

CFWL_ListBox::Item * pdfium::CFWL_ListBox::GetListItem ( Item * hItem,
XFA_FWL_VKEYCODE dwKeyCode )
protected

Definition at line 162 of file cfwl_listbox.cpp.

◆ GetRTClient()

const CFX_RectF & pdfium::CFWL_ListBox::GetRTClient ( ) const
inlineprotected

Definition at line 97 of file cfwl_listbox.h.

◆ GetSelIndex()

int32_t pdfium::CFWL_ListBox::GetSelIndex ( int32_t nIndex)

Definition at line 130 of file cfwl_listbox.cpp.

◆ GetSelItem()

CFWL_ListBox::Item * pdfium::CFWL_ListBox::GetSelItem ( int32_t nIndexSel)

Definition at line 123 of file cfwl_listbox.cpp.

◆ GetVertScrollBar()

CFWL_ScrollBar * pdfium::CFWL_ListBox::GetVertScrollBar ( ) const
inlineprotected

Definition at line 96 of file cfwl_listbox.h.

◆ HitTest()

FWL_WidgetHit pdfium::CFWL_ListBox::HitTest ( const CFX_PointF & point)
overridevirtual

Reimplemented from pdfium::CFWL_Widget.

Definition at line 74 of file cfwl_listbox.cpp.

◆ InitHorizontalScrollBar()

void pdfium::CFWL_ListBox::InitHorizontalScrollBar ( )
protected

Definition at line 563 of file cfwl_listbox.cpp.

◆ InitVerticalScrollBar()

void pdfium::CFWL_ListBox::InitVerticalScrollBar ( )
protected

Definition at line 554 of file cfwl_listbox.cpp.

◆ IsShowHorzScrollBar()

bool pdfium::CFWL_ListBox::IsShowHorzScrollBar ( ) const
protected

Definition at line 577 of file cfwl_listbox.cpp.

◆ IsShowVertScrollBar()

bool pdfium::CFWL_ListBox::IsShowVertScrollBar ( ) const
protected

Definition at line 572 of file cfwl_listbox.cpp.

◆ OnDrawWidget()

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

Implements pdfium::IFWL_WidgetDelegate.

Definition at line 642 of file cfwl_listbox.cpp.

◆ OnProcessEvent()

void pdfium::CFWL_ListBox::OnProcessEvent ( CFWL_Event * pEvent)
overridevirtual

Implements pdfium::IFWL_WidgetDelegate.

Definition at line 627 of file cfwl_listbox.cpp.

◆ OnProcessMessage()

void pdfium::CFWL_ListBox::OnProcessMessage ( CFWL_Message * pMessage)
overridevirtual

Implements pdfium::IFWL_WidgetDelegate.

Definition at line 587 of file cfwl_listbox.cpp.

◆ RemoveAt()

void pdfium::CFWL_ListBox::RemoveAt ( int32_t iIndex)

Definition at line 838 of file cfwl_listbox.cpp.

◆ ScrollBarPropertiesPresent()

bool pdfium::CFWL_ListBox::ScrollBarPropertiesPresent ( ) const
protected

Definition at line 582 of file cfwl_listbox.cpp.

◆ ScrollToVisible()

bool pdfium::CFWL_ListBox::ScrollToVisible ( Item * hItem)
protected

Definition at line 292 of file cfwl_listbox.cpp.

◆ SetSelection()

void pdfium::CFWL_ListBox::SetSelection ( Item * hStart,
Item * hEnd,
bool bSelected )
protected

Definition at line 192 of file cfwl_listbox.cpp.

◆ SetSelItem()

void pdfium::CFWL_ListBox::SetSelItem ( Item * hItem,
bool bSelect )

Definition at line 146 of file cfwl_listbox.cpp.

◆ Trace()

void pdfium::CFWL_ListBox::Trace ( cppgc::Visitor * visitor) const
override

Definition at line 43 of file cfwl_listbox.cpp.

◆ Update()

void pdfium::CFWL_ListBox::Update ( )
overridevirtual

Implements pdfium::CFWL_Widget.

Definition at line 53 of file cfwl_listbox.cpp.

Member Data Documentation

◆ CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED

pdfium::CFWL_ListBox::CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED

Definition at line 54 of file cfwl_listbox.h.


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