LibreOffice Module cui (master) 1
|
#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_popup_menu (const Link< const CommandEvent &, bool > &rLink) |
void | connect_row_activated (const Link< weld::TreeView &, bool > &rLink) |
void | freeze () |
void | thaw () |
void | append (const OUString &rId, const OUString &rStr, const weld::TreeIter *pParent=nullptr) |
std::unique_ptr< weld::TreeIter > | tree_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::TreeIter > | make_iterator (const weld::TreeIter *pOrig=nullptr) const |
bool | iter_has_child (const weld::TreeIter &rIter) const |
OUString | get_text (int nPos) const |
OUString | get_id (const weld::TreeIter &rIter) const |
bool | get_selected (weld::TreeIter *pIter) const |
OUString | get_selected_text () const |
OUString | get_selected_id () const |
void | select (int pos) |
void | set_size_request (int nWidth, int nHeight) |
Size | get_size_request () const |
weld::TreeView & | get_widget () |
~CuiConfigFunctionListBox () | |
void | ClearAll () |
OUString | GetSelectedScriptURI () const |
OUString | GetHelpText (bool bConsiderParent=true) |
OUString | GetCurCommand () const |
OUString | GetCurLabel () const |
DECL_LINK (QueryTooltip, const weld::TreeIter &rIter, OUString) | |
Private Attributes | |
SfxGroupInfoArr_Impl | aArr |
std::unique_ptr< weld::TreeView > | m_xTreeView |
std::unique_ptr< weld::TreeIter > | m_xScratchIter |
Friends | |
class | CuiConfigGroupListBox |
Definition at line 108 of file cfgutil.hxx.
CuiConfigFunctionListBox::CuiConfigFunctionListBox | ( | std::unique_ptr< weld::TreeView > | xTreeView | ) |
Definition at line 285 of file cfgutil.cxx.
References LINK, and m_xTreeView.
CuiConfigFunctionListBox::~CuiConfigFunctionListBox | ( | ) |
Definition at line 294 of file cfgutil.cxx.
References ClearAll().
|
inline |
Definition at line 139 of file cfgutil.hxx.
References m_xScratchIter, and m_xTreeView.
|
inline |
Definition at line 134 of file cfgutil.hxx.
References m_xScratchIter, and m_xTreeView.
|
inline |
Definition at line 124 of file cfgutil.hxx.
References m_xTreeView.
Referenced by CommandCategoryListBox::addChildren(), CommandCategoryListBox::categorySelected(), CuiConfigGroupListBox::FillFunctionsList(), CommandCategoryListBox::FillFunctionsList(), and CuiConfigGroupListBox::GroupSelected().
void CuiConfigFunctionListBox::ClearAll | ( | ) |
Definition at line 310 of file cfgutil.cxx.
References aArr, FUNCTION_SCRIPT, GROUP_SCRIPTCONTAINER, i, m_xTreeView, nCount, and pData.
Referenced by CommandCategoryListBox::categorySelected(), CuiConfigGroupListBox::GroupSelected(), and ~CuiConfigFunctionListBox().
|
inline |
Definition at line 119 of file cfgutil.hxx.
References m_xTreeView.
|
inline |
Definition at line 120 of file cfgutil.hxx.
References m_xTreeView.
|
inline |
Definition at line 121 of file cfgutil.hxx.
References m_xTreeView.
CuiConfigFunctionListBox::DECL_LINK | ( | QueryTooltip | , |
const weld::TreeIter & | rIter, | ||
OUString | |||
) |
|
inline |
Definition at line 147 of file cfgutil.hxx.
References m_xTreeView.
Referenced by CommandCategoryListBox::categorySelected().
|
inline |
Definition at line 122 of file cfgutil.hxx.
References m_xTreeView.
Referenced by CommandCategoryListBox::categorySelected(), CuiConfigGroupListBox::FillFunctionsList(), and CuiConfigGroupListBox::GroupSelected().
|
inline |
Definition at line 152 of file cfgutil.hxx.
References m_xTreeView.
|
inline |
Definition at line 153 of file cfgutil.hxx.
References m_xTreeView.
|
inline |
Definition at line 160 of file cfgutil.hxx.
References m_xScratchIter, and m_xTreeView.
Referenced by GetCurCommand(), GetCurLabel(), GetHelpText(), and GetSelectedScriptURI().
|
inline |
Definition at line 154 of file cfgutil.hxx.
References m_xScratchIter, and m_xTreeView.
|
inline |
Definition at line 168 of file cfgutil.hxx.
References m_xTreeView.
|
inline |
Definition at line 151 of file cfgutil.hxx.
References m_xTreeView, and nPos.
|
inline |
Definition at line 169 of file cfgutil.hxx.
References m_xTreeView.
OUString CuiConfigFunctionListBox::GetCurCommand | ( | ) | const |
Definition at line 267 of file cfgutil.cxx.
References get_selected_id(), and pData.
OUString CuiConfigFunctionListBox::GetCurLabel | ( | ) | const |
Definition at line 275 of file cfgutil.cxx.
References get_selected_id(), and pData.
OUString CuiConfigFunctionListBox::GetHelpText | ( | bool | bConsiderParent = true | ) |
Definition at line 247 of file cfgutil.cxx.
References FUNCTION_SCRIPT, FUNCTION_SLOT, get_selected_id(), Application::GetHelp(), Help::GetHelpText(), m_xTreeView, and pData.
OUString CuiConfigFunctionListBox::GetSelectedScriptURI | ( | ) | const |
Definition at line 341 of file cfgutil.cxx.
References FUNCTION_SCRIPT, get_selected_id(), and pData.
|
inline |
Definition at line 150 of file cfgutil.hxx.
References m_xTreeView.
Referenced by CommandCategoryListBox::addChildren(), and CommandCategoryListBox::categorySelected().
|
inline |
Definition at line 149 of file cfgutil.hxx.
References m_xTreeView.
|
inline |
Definition at line 148 of file cfgutil.hxx.
References m_xTreeView.
Referenced by CommandCategoryListBox::categorySelected(), and CuiConfigGroupListBox::GroupSelected().
|
inline |
Definition at line 146 of file cfgutil.hxx.
References m_xTreeView.
|
inline |
Definition at line 144 of file cfgutil.hxx.
References m_xTreeView, and nPos.
Referenced by CommandCategoryListBox::addChildren(), and CommandCategoryListBox::categorySelected().
|
inline |
Definition at line 145 of file cfgutil.hxx.
References m_xTreeView, and pos.
|
inline |
Definition at line 166 of file cfgutil.hxx.
References m_xTreeView, and pos.
Referenced by CommandCategoryListBox::categorySelected(), and CuiConfigGroupListBox::GroupSelected().
|
inline |
Definition at line 118 of file cfgutil.hxx.
References m_xTreeView.
Definition at line 167 of file cfgutil.hxx.
References m_xTreeView.
|
inline |
Definition at line 123 of file cfgutil.hxx.
References m_xTreeView.
Referenced by CommandCategoryListBox::categorySelected(), CuiConfigGroupListBox::FillFunctionsList(), and CuiConfigGroupListBox::GroupSelected().
|
inline |
Definition at line 128 of file cfgutil.hxx.
References m_xTreeView.
Referenced by CommandCategoryListBox::addChildren(), and CommandCategoryListBox::categorySelected().
|
friend |
Definition at line 110 of file cfgutil.hxx.
|
private |
Definition at line 111 of file cfgutil.hxx.
Referenced by ClearAll(), and CuiConfigGroupListBox::GroupSelected().
|
private |
Definition at line 114 of file cfgutil.hxx.
Referenced by append(), get_selected_id(), and get_selected_text().
|
private |
Definition at line 113 of file cfgutil.hxx.
Referenced by append(), ClearAll(), connect_changed(), connect_popup_menu(), connect_row_activated(), CuiConfigFunctionListBox(), expand_row(), freeze(), get_id(), get_selected(), get_selected_id(), get_selected_text(), get_size_request(), get_text(), get_widget(), GetHelpText(), iter_has_child(), make_iterator(), n_children(), remove(), scroll_to_row(), select(), set_sensitive(), set_size_request(), thaw(), and tree_append().