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 ()
 
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 set_image (int row, const css::uno::Reference< css::graphic::XGraphic > &rImage, int col)
 
void set_dropdown (int row, int col)
 
void set_id (int row, const OUString &rId)
 
void clear ()
 
void set_toggle (int row, TriState eState, int col)
 
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)
 
void CreateDropDown ()
 

Protected Attributes

std::unique_ptr< weld::TreeViewm_xControl
 
ScopedVclPtr< VirtualDevicem_xDropDown
 
VclPtr< SvxConfigPagepPage
 

Detailed Description

Definition at line 316 of file cfg.hxx.

Constructor & Destructor Documentation

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

Definition at line 927 of file cfg.cxx.

References CreateDropDown(), LINK, and m_xControl.

SvxMenuEntriesListBox::~SvxMenuEntriesListBox ( )
virtual

Definition at line 936 of file cfg.cxx.

Member Function Documentation

void SvxMenuEntriesListBox::clear ( )
inline

Definition at line 335 of file cfg.hxx.

void SvxMenuEntriesListBox::CreateDropDown ( )
SvxMenuEntriesListBox::DECL_LINK ( KeyInputHdl  ,
const KeyEvent ,
bool   
)
OUString SvxMenuEntriesListBox::get_id ( int  nPos) const
inline

Definition at line 328 of file cfg.hxx.

int SvxMenuEntriesListBox::get_selected_index ( ) const
inline

Definition at line 327 of file cfg.hxx.

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

Definition at line 340 of file cfg.hxx.

References m_xControl.

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

Definition at line 342 of file cfg.hxx.

int SvxMenuEntriesListBox::n_children ( ) const
inline

Definition at line 330 of file cfg.hxx.

void SvxMenuEntriesListBox::remove ( int  nPos)
inline

Definition at line 329 of file cfg.hxx.

References nPos.

void SvxMenuEntriesListBox::scroll_to_row ( int  pos)
inline

Definition at line 337 of file cfg.hxx.

void SvxMenuEntriesListBox::select ( int  pos)
inline

Definition at line 338 of file cfg.hxx.

void SvxMenuEntriesListBox::set_dropdown ( int  row,
int  col 
)
inline

Definition at line 333 of file cfg.hxx.

void SvxMenuEntriesListBox::set_id ( int  row,
const OUString &  rId 
)
inline

Definition at line 334 of file cfg.hxx.

void SvxMenuEntriesListBox::set_image ( int  row,
const css::uno::Reference< css::graphic::XGraphic > &  rImage,
int  col 
)
inline

Definition at line 332 of file cfg.hxx.

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

Definition at line 331 of file cfg.hxx.

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

Definition at line 336 of file cfg.hxx.

Member Data Documentation

std::unique_ptr<weld::TreeView> SvxMenuEntriesListBox::m_xControl
protected
ScopedVclPtr<VirtualDevice> SvxMenuEntriesListBox::m_xDropDown
protected

Definition at line 320 of file cfg.hxx.

Referenced by CreateDropDown().

VclPtr<SvxConfigPage> SvxMenuEntriesListBox::pPage
protected

Definition at line 321 of file cfg.hxx.

Referenced by SvxToolbarEntriesListBox::ChangedVisibility().


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