LibreOffice Module cui (master)  1
Public Member Functions | Private Attributes | Friends | List of all members
CuiConfigFunctionListBox Class Reference

#include <cfgutil.hxx>

Public Member Functions

 CuiConfigFunctionListBox (std::unique_ptr< weld::TreeView > xTreeView)
 
void set_sensitive (bool bSensitive)
 
void connect_changed (const Link< weld::TreeView &, void > &rLink)
 
void connect_row_activated (const Link< weld::TreeView &, void > &rLink)
 
void freeze ()
 
void thaw ()
 
void append (const OUString &rId, const OUString &rStr, const weld::TreeIter *pParent=nullptr)
 
std::unique_ptr< weld::TreeItertree_append (const OUString &rId, const OUString &rStr, const weld::TreeIter *pParent=nullptr)
 
void append (const OUString &rId, const OUString &rStr, const OUString &rImage, const weld::TreeIter *pParent=nullptr)
 
void append (const OUString &rId, const OUString &rStr, const css::uno::Reference< css::graphic::XGraphic > &rImage, const weld::TreeIter *pParent=nullptr)
 
void remove (int nPos)
 
void scroll_to_row (int pos)
 
void remove (const weld::TreeIter &rIter)
 
void expand_row (const weld::TreeIter &rIter)
 
int n_children () const
 
std::unique_ptr< weld::TreeItermake_iterator (const weld::TreeIter *pOrig=nullptr) const
 
bool get_iter_first (weld::TreeIter &rIter) const
 
bool iter_next (weld::TreeIter &rIter) const
 
bool iter_next_sibling (weld::TreeIter &rIter) const
 
bool iter_has_child (const weld::TreeIter &rIter) const
 
OUString get_text (const weld::TreeIter &rIter) const
 
OUString get_text (int nPos) const
 
OUString get_id (const weld::TreeIter &rIter) const
 
OUString get_id (int nPos) const
 
bool get_selected (weld::TreeIter *pIter) const
 
OUString get_selected_text () const
 
OUString get_selected_id () const
 
int get_selected_index () const
 
void select (const weld::TreeIter &rIter)
 
void select (int pos)
 
void set_size_request (int nWidth, int nHeight)
 
Size get_size_request () const
 
weld::TreeViewget_widget ()
 
 ~CuiConfigFunctionListBox ()
 
void ClearAll ()
 
OUString GetSelectedScriptURI () const
 
OUString GetHelpText (bool bConsiderParent=true)
 
OUString GetCurCommand () const
 
OUString GetCurLabel () const
 

Private Attributes

SfxGroupInfoArr_Impl aArr
 
std::unique_ptr< weld::TreeViewm_xTreeView
 
std::unique_ptr< weld::TreeIterm_xScratchIter
 

Friends

class CuiConfigGroupListBox
 

Detailed Description

Definition at line 102 of file cfgutil.hxx.

Constructor & Destructor Documentation

CuiConfigFunctionListBox::CuiConfigFunctionListBox ( std::unique_ptr< weld::TreeView xTreeView)

Definition at line 276 of file cfgutil.cxx.

References m_xTreeView.

CuiConfigFunctionListBox::~CuiConfigFunctionListBox ( )

Definition at line 284 of file cfgutil.cxx.

References ClearAll().

Member Function Documentation

void CuiConfigFunctionListBox::append ( const OUString &  rId,
const OUString &  rStr,
const weld::TreeIter pParent = nullptr 
)
inline
void CuiConfigFunctionListBox::append ( const OUString &  rId,
const OUString &  rStr,
const OUString &  rImage,
const weld::TreeIter pParent = nullptr 
)
inline

Definition at line 127 of file cfgutil.hxx.

void CuiConfigFunctionListBox::append ( const OUString &  rId,
const OUString &  rStr,
const css::uno::Reference< css::graphic::XGraphic > &  rImage,
const weld::TreeIter pParent = nullptr 
)
inline

Definition at line 131 of file cfgutil.hxx.

void CuiConfigFunctionListBox::ClearAll ( )
void CuiConfigFunctionListBox::connect_changed ( const Link< weld::TreeView &, void > &  rLink)
inline

Definition at line 113 of file cfgutil.hxx.

void CuiConfigFunctionListBox::connect_row_activated ( const Link< weld::TreeView &, void > &  rLink)
inline

Definition at line 114 of file cfgutil.hxx.

void CuiConfigFunctionListBox::expand_row ( const weld::TreeIter rIter)
inline

Definition at line 139 of file cfgutil.hxx.

Referenced by CommandCategoryListBox::categorySelected().

void CuiConfigFunctionListBox::freeze ( )
inline
OUString CuiConfigFunctionListBox::get_id ( const weld::TreeIter rIter) const
inline

Definition at line 149 of file cfgutil.hxx.

OUString CuiConfigFunctionListBox::get_id ( int  nPos) const
inline

Definition at line 150 of file cfgutil.hxx.

bool CuiConfigFunctionListBox::get_iter_first ( weld::TreeIter rIter) const
inline

Definition at line 142 of file cfgutil.hxx.

bool CuiConfigFunctionListBox::get_selected ( weld::TreeIter pIter) const
inline

Definition at line 151 of file cfgutil.hxx.

OUString CuiConfigFunctionListBox::get_selected_id ( ) const
inline

Definition at line 158 of file cfgutil.hxx.

Referenced by GetCurCommand(), GetCurLabel(), GetHelpText(), and GetSelectedScriptURI().

int CuiConfigFunctionListBox::get_selected_index ( ) const
inline

Definition at line 164 of file cfgutil.hxx.

OUString CuiConfigFunctionListBox::get_selected_text ( ) const
inline

Definition at line 152 of file cfgutil.hxx.

Size CuiConfigFunctionListBox::get_size_request ( ) const
inline

Definition at line 168 of file cfgutil.hxx.

OUString CuiConfigFunctionListBox::get_text ( const weld::TreeIter rIter) const
inline

Definition at line 147 of file cfgutil.hxx.

Referenced by CuiConfigGroupListBox::SelectMacro().

OUString CuiConfigFunctionListBox::get_text ( int  nPos) const
inline

Definition at line 148 of file cfgutil.hxx.

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

Definition at line 169 of file cfgutil.hxx.

References m_xTreeView.

OUString CuiConfigFunctionListBox::GetCurCommand ( ) const

Definition at line 258 of file cfgutil.cxx.

References get_selected_id(), and SfxGroupInfo_Impl::sCommand.

OUString CuiConfigFunctionListBox::GetCurLabel ( ) const
OUString CuiConfigFunctionListBox::GetHelpText ( bool  bConsiderParent = true)
OUString CuiConfigFunctionListBox::GetSelectedScriptURI ( ) const
bool CuiConfigFunctionListBox::iter_has_child ( const weld::TreeIter rIter) const
inline

Definition at line 146 of file cfgutil.hxx.

Referenced by CommandCategoryListBox::categorySelected().

bool CuiConfigFunctionListBox::iter_next ( weld::TreeIter rIter) const
inline

Definition at line 144 of file cfgutil.hxx.

bool CuiConfigFunctionListBox::iter_next_sibling ( weld::TreeIter rIter) const
inline

Definition at line 145 of file cfgutil.hxx.

std::unique_ptr<weld::TreeIter> CuiConfigFunctionListBox::make_iterator ( const weld::TreeIter pOrig = nullptr) const
inline

Definition at line 141 of file cfgutil.hxx.

int CuiConfigFunctionListBox::n_children ( ) const
inline
void CuiConfigFunctionListBox::remove ( int  nPos)
inline

Definition at line 136 of file cfgutil.hxx.

References nPos.

Referenced by CommandCategoryListBox::categorySelected().

void CuiConfigFunctionListBox::remove ( const weld::TreeIter rIter)
inline

Definition at line 138 of file cfgutil.hxx.

void CuiConfigFunctionListBox::scroll_to_row ( int  pos)
inline

Definition at line 137 of file cfgutil.hxx.

Referenced by CuiConfigGroupListBox::SelectMacro().

void CuiConfigFunctionListBox::select ( const weld::TreeIter rIter)
inline
void CuiConfigFunctionListBox::select ( int  pos)
inline

Definition at line 166 of file cfgutil.hxx.

void CuiConfigFunctionListBox::set_sensitive ( bool  bSensitive)
inline

Definition at line 112 of file cfgutil.hxx.

void CuiConfigFunctionListBox::set_size_request ( int  nWidth,
int  nHeight 
)
inline

Definition at line 167 of file cfgutil.hxx.

void CuiConfigFunctionListBox::thaw ( )
inline
std::unique_ptr<weld::TreeIter> CuiConfigFunctionListBox::tree_append ( const OUString &  rId,
const OUString &  rStr,
const weld::TreeIter pParent = nullptr 
)
inline

Friends And Related Function Documentation

friend class CuiConfigGroupListBox
friend

Definition at line 104 of file cfgutil.hxx.

Member Data Documentation

SfxGroupInfoArr_Impl CuiConfigFunctionListBox::aArr
private

Definition at line 105 of file cfgutil.hxx.

Referenced by ClearAll(), and CuiConfigGroupListBox::GroupSelected().

std::unique_ptr<weld::TreeIter> CuiConfigFunctionListBox::m_xScratchIter
private

Definition at line 108 of file cfgutil.hxx.

std::unique_ptr<weld::TreeView> CuiConfigFunctionListBox::m_xTreeView
private

Definition at line 107 of file cfgutil.hxx.

Referenced by ClearAll(), CuiConfigFunctionListBox(), get_widget(), and GetHelpText().


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