LibreOffice Module cui (master) 1
|
#include <sal/config.h>
#include <sal/log.hxx>
#include <vcl/event.hxx>
#include <vcl/weld.hxx>
#include <vcl/svapp.hxx>
#include <vcl/commandevent.hxx>
#include <sfx2/sfxsids.hrc>
#include <svl/stritem.hxx>
#include <comphelper/diagnose_ex.hxx>
#include <algorithm>
#include <helpids.h>
#include <strings.hrc>
#include <cfg.hxx>
#include <SvxToolbarConfigPage.hxx>
#include <SvxConfigPageHelper.hxx>
#include <dialmgr.hxx>
#include <cui/dlgname.hxx>
#include <comphelper/processfactory.hxx>
Go to the source code of this file.
IMPL_LINK | ( | SvxToolbarConfigPage | , |
ContentContextMenuHdl | , | ||
const CommandEvent & | , | ||
rCEvt | , | ||
bool | |||
) |
Definition at line 848 of file SvxToolbarConfigPage.cxx.
References Application::CreateBuilder(), weld::TreeView::get_dest_row_at_pos(), weld::TreeView::make_iterator(), SAL_WARN, and weld::TreeView::select().
IMPL_LINK | ( | SvxToolbarConfigPage | , |
FunctionContextMenuHdl | , | ||
const CommandEvent & | , | ||
rCEvt | , | ||
bool | |||
) |
Definition at line 896 of file SvxToolbarConfigPage.cxx.
References Application::CreateBuilder(), weld::TreeView::get_dest_row_at_pos(), weld::TreeView::make_iterator(), SAL_WARN, and weld::TreeView::select().
IMPL_LINK | ( | SvxToolbarConfigPage | , |
GearHdl | , | ||
const OUString & | , | ||
rIdent | , | ||
void | |||
) |
Definition at line 289 of file SvxToolbarConfigPage.cxx.
References ToolbarSaveInData::ApplyToolbar(), CuiResId(), SvxConfigPageHelper::generateCustomName(), SvxConfigPageHelper::generateCustomURL(), SvxConfigEntry::GetCommand(), GetFrameWeld(), SvxConfigEntry::GetName(), SvxNewToolbarDialog::GetName(), SvxNameDialog::GetName(), HID_SVX_CONFIG_RENAME_TOOLBAR, i, SvxConfigEntry::IsDeletable(), m_xFrame, SvxNewToolbarDialog::m_xSaveInListBox, nCount, pData, prefix, RET_OK, weld::DialogController::run(), SAL_WARN, weld::DialogController::set_help_id(), weld::DialogController::set_title(), SvxConfigEntry::SetMain(), SvxConfigEntry::SetName(), SvxConfigEntry::SetStyle(), ToolbarSaveInData::SetSystemStyle(), SvxConfigEntry::SetUserDefined(), sId, SvxConfigPageHelper::stripHotKey(), and weld::toId().
IMPL_LINK | ( | SvxToolbarConfigPage | , |
InsertHdl | , | ||
const OUString & | , | ||
rIdent | , | ||
void | |||
) |
Definition at line 429 of file SvxToolbarConfigPage.cxx.
References nPos, SAL_WARN, and SvxConfigEntry::SetUserDefined().
IMPL_LINK | ( | SvxToolbarConfigPage | , |
ModifyItemHdl | , | ||
const OUString & | , | ||
rIdent | , | ||
void | |||
) |
Definition at line 454 of file SvxToolbarConfigPage.cxx.
References CuiResId(), SvxConfigEntry::GetBackupGraphic(), SvxConfigEntry::GetCommand(), GetFrameWeld(), SvxConfigPageHelper::GetGraphic(), SvxConfigPageHelper::GetImageType(), SvxConfigEntry::GetName(), SvxNameDialog::GetName(), SvxIconSelectorDialog::GetSelectedIcon(), ToolbarSaveInData::GetSystemUIName(), HID_SVX_CONFIG_RENAME_TOOLBAR_ITEM, SvxConfigEntry::IsVisible(), RET_OK, weld::DialogController::run(), SAL_WARN, weld::DialogController::set_help_id(), weld::DialogController::set_title(), SvxConfigEntry::SetBackupGraphic(), SvxConfigEntry::SetName(), sId, SvxConfigPageHelper::stripHotKey(), weld::toId(), TOOLS_WARN_EXCEPTION, TRISTATE_FALSE, and TRISTATE_TRUE.
IMPL_LINK | ( | SvxToolbarConfigPage | , |
MoveHdl | , | ||
weld::Button & | , | ||
rButton | , | ||
void | |||
) |
Definition at line 217 of file SvxToolbarConfigPage.cxx.
IMPL_LINK | ( | SvxToolbarEntriesListBox | , |
CheckButtonHdl | , | ||
const weld::TreeView::iter_col & | , | ||
rRowCol | , | ||
void | |||
) |
Definition at line 824 of file SvxToolbarConfigPage.cxx.
References m_xControl.
IMPL_LINK | ( | SvxToolbarEntriesListBox | , |
KeyInputHdl | , | ||
const KeyEvent & | , | ||
rKeyEvent | , | ||
bool | |||
) |
Definition at line 829 of file SvxToolbarConfigPage.cxx.
References SvxConfigEntry::IsBinding(), SvxConfigEntry::IsSeparator(), KEY_SPACE, m_xControl, TRISTATE_FALSE, and TRISTATE_TRUE.
IMPL_LINK_NOARG | ( | SvxToolbarConfigPage | , |
AddCommandHdl | , | ||
weld::Button & | , | ||
void | |||
) |
Definition at line 422 of file SvxToolbarConfigPage.cxx.
IMPL_LINK_NOARG | ( | SvxToolbarConfigPage | , |
RemoveCommandHdl | , | ||
weld::Button & | , | ||
void | |||
) |
Definition at line 424 of file SvxToolbarConfigPage.cxx.
IMPL_LINK_NOARG | ( | SvxToolbarConfigPage | , |
ResetToolbarHdl | , | ||
weld::Button & | , | ||
void | |||
) |
Definition at line 650 of file SvxToolbarConfigPage.cxx.
References Application::CreateMessageDialog(), CuiResId(), GetFrameWeld(), ToolbarSaveInData::RestoreToolbar(), and RET_YES.
IMPL_LINK_NOARG | ( | SvxToolbarConfigPage | , |
SelectCategory | , | ||
weld::ComboBox & | , | ||
void | |||
) |
Definition at line 413 of file SvxToolbarConfigPage.cxx.
IMPL_LINK_NOARG | ( | SvxToolbarConfigPage | , |
SelectToolbarEntry | , | ||
weld::TreeView & | , | ||
void | |||
) |
Definition at line 284 of file SvxToolbarConfigPage.cxx.