LibreOffice Module cui (master) 1
Public Member Functions | Protected Attributes | List of all members
SvxMenuEntriesListBox Class Reference

#include <cfg.hxx>

Inheritance diagram for SvxMenuEntriesListBox:
[legend]
Collaboration diagram for SvxMenuEntriesListBox:
[legend]

Public Member Functions

 SvxMenuEntriesListBox (std::unique_ptr< weld::TreeView > xControl, SvxConfigPage *pPage)
 
virtual ~SvxMenuEntriesListBox ()
 
VirtualDeviceget_dropdown_image () const
 
int get_selected_index () const
 
OUString get_id (int nPos) const
 
void remove (int nPos)
 
int n_children () const
 
void set_text (int row, const OUString &rText, int col)
 
void clear ()
 
void set_toggle (int row, TriState eState)
 
void scroll_to_row (int pos)
 
void select (int pos)
 
weld::TreeViewget_widget ()
 
void insert (int pos, const OUString &rId)
 
 DECL_LINK (KeyInputHdl, const KeyEvent &, bool)
 
 DECL_LINK (QueryTooltip, const weld::TreeIter &rIter, OUString)
 
void CreateDropDown ()
 

Protected Attributes

std::unique_ptr< weld::TreeViewm_xControl
 
ScopedVclPtr< VirtualDevicem_xDropDown
 
SvxConfigPagem_pPage
 

Detailed Description

Definition at line 321 of file cfg.hxx.

Constructor & Destructor Documentation

◆ SvxMenuEntriesListBox()

SvxMenuEntriesListBox::SvxMenuEntriesListBox ( std::unique_ptr< weld::TreeView xControl,
SvxConfigPage pPage 
)

Definition at line 932 of file cfg.cxx.

References weld::Check, CreateDropDown(), LINK, m_xControl, and m_xControl.

◆ ~SvxMenuEntriesListBox()

SvxMenuEntriesListBox::~SvxMenuEntriesListBox ( )
virtual

Definition at line 943 of file cfg.cxx.

Member Function Documentation

◆ clear()

void SvxMenuEntriesListBox::clear ( )
inline

Definition at line 339 of file cfg.hxx.

References m_xControl.

◆ CreateDropDown()

void SvxMenuEntriesListBox::CreateDropDown ( )

◆ DECL_LINK() [1/2]

SvxMenuEntriesListBox::DECL_LINK ( KeyInputHdl  ,
const KeyEvent ,
bool   
)

◆ DECL_LINK() [2/2]

SvxMenuEntriesListBox::DECL_LINK ( QueryTooltip  ,
const weld::TreeIter rIter,
OUString   
)

◆ get_dropdown_image()

VirtualDevice & SvxMenuEntriesListBox::get_dropdown_image ( ) const
inline

Definition at line 332 of file cfg.hxx.

References m_xDropDown.

◆ get_id()

OUString SvxMenuEntriesListBox::get_id ( int  nPos) const
inline

Definition at line 335 of file cfg.hxx.

References m_xControl, and nPos.

◆ get_selected_index()

int SvxMenuEntriesListBox::get_selected_index ( ) const
inline

Definition at line 334 of file cfg.hxx.

References m_xControl.

◆ get_widget()

weld::TreeView & SvxMenuEntriesListBox::get_widget ( )
inline

Definition at line 344 of file cfg.hxx.

References m_xControl.

◆ insert()

void SvxMenuEntriesListBox::insert ( int  pos,
const OUString &  rId 
)
inline

Definition at line 346 of file cfg.hxx.

References m_xControl, and pos.

◆ n_children()

int SvxMenuEntriesListBox::n_children ( ) const
inline

Definition at line 337 of file cfg.hxx.

References m_xControl.

◆ remove()

void SvxMenuEntriesListBox::remove ( int  nPos)
inline

Definition at line 336 of file cfg.hxx.

References m_xControl, and nPos.

◆ scroll_to_row()

void SvxMenuEntriesListBox::scroll_to_row ( int  pos)
inline

Definition at line 341 of file cfg.hxx.

References m_xControl, and pos.

◆ select()

void SvxMenuEntriesListBox::select ( int  pos)
inline

Definition at line 342 of file cfg.hxx.

References m_xControl, and pos.

◆ set_text()

void SvxMenuEntriesListBox::set_text ( int  row,
const OUString &  rText,
int  col 
)
inline

Definition at line 338 of file cfg.hxx.

References m_xControl.

◆ set_toggle()

void SvxMenuEntriesListBox::set_toggle ( int  row,
TriState  eState 
)
inline

Definition at line 340 of file cfg.hxx.

References m_xControl.

Member Data Documentation

◆ m_pPage

SvxConfigPage* SvxMenuEntriesListBox::m_pPage
protected

◆ m_xControl

std::unique_ptr<weld::TreeView> SvxMenuEntriesListBox::m_xControl
protected

◆ m_xDropDown

ScopedVclPtr<VirtualDevice> SvxMenuEntriesListBox::m_xDropDown
protected

Definition at line 325 of file cfg.hxx.

Referenced by CreateDropDown(), and get_dropdown_image().


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