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::Item Class Reference

#include <cfwl_listbox.h>

+ Collaboration diagram for CFWL_ListBox::Item:

Public Member Functions

 Item (const WideString &text)
 
 ~Item ()
 
bool IsSelected () const
 
void SetSelected (bool enable)
 
bool IsFocused () const
 
void SetFocused (bool enable)
 
CFX_RectF GetRect () const
 
void SetRect (const CFX_RectF &rect)
 
WideString GetText () const
 

Detailed Description

Definition at line 32 of file cfwl_listbox.h.

Constructor & Destructor Documentation

◆ Item()

CFWL_ListBox::Item::Item ( const WideString & text)
explicit

Definition at line 862 of file cfwl_listbox.cpp.

◆ ~Item()

CFWL_ListBox::Item::~Item ( )
default

Member Function Documentation

◆ GetRect()

CFX_RectF CFWL_ListBox::Item::GetRect ( ) const
inline

Definition at line 41 of file cfwl_listbox.h.

Referenced by CFWL_ComboList::ChangeSelected(), CFWL_ListBox::GetItemAtPoint(), and CFWL_ListBox::ScrollToVisible().

+ Here is the caller graph for this function:

◆ GetText()

WideString CFWL_ListBox::Item::GetText ( ) const
inline

Definition at line 43 of file cfwl_listbox.h.

Referenced by CFWL_ComboBox::GetEditText(), CFWL_ComboBox::GetTextByIndex(), and CFWL_ComboList::MatchItem().

+ Here is the caller graph for this function:

◆ IsFocused()

bool CFWL_ListBox::Item::IsFocused ( ) const
inline

Definition at line 39 of file cfwl_listbox.h.

◆ IsSelected()

bool CFWL_ListBox::Item::IsSelected ( ) const
inline

Definition at line 37 of file cfwl_listbox.h.

Referenced by CFWL_ListBox::CountSelItems(), CFWL_ListBox::GetSelIndex(), and CXFA_FFListBox::IsDataChanged().

+ Here is the caller graph for this function:

◆ SetFocused()

void CFWL_ListBox::Item::SetFocused ( bool enable)
inline

Definition at line 40 of file cfwl_listbox.h.

◆ SetRect()

void CFWL_ListBox::Item::SetRect ( const CFX_RectF & rect)
inline

Definition at line 42 of file cfwl_listbox.h.

References CFX_RectF::operator=().

+ Here is the call graph for this function:

◆ SetSelected()

void CFWL_ListBox::Item::SetSelected ( bool enable)
inline

Definition at line 38 of file cfwl_listbox.h.

Referenced by CFWL_ListBox::DeleteString(), CFWL_ListBox::SetSelection(), and CFWL_ListBox::SetSelItem().

+ Here is the caller graph for this function:

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