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

#include <acccfg.hxx>

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

Public Member Functions

 SfxAcceleratorConfigPage (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rItemSet)
 
virtual ~SfxAcceleratorConfigPage () override
 
virtual bool FillItemSet (SfxItemSet *) override
 
virtual void Reset (const SfxItemSet *) override
 
void Apply (const css::uno::Reference< css::ui::XAcceleratorConfiguration > &pAccMgr)
 
- Public Member Functions inherited from SfxTabPage
void SetDialogController (SfxOkDialogController *pDialog)
 
virtual ~SfxTabPage () override
 
void set_visible (bool bVisible)
 
const SfxItemSetGetItemSet () const
 
bool HasExchangeSupport () const
 
void SetExchangeSupport ()
 
virtual void ActivatePage (const SfxItemSet &)
 
virtual DeactivateRC DeactivatePage (SfxItemSet *pSet)
 
void SetUserData (const OUString &rString)
 
const OUString & GetUserData () const
 
virtual void FillUserData ()
 
virtual bool IsReadOnly () const
 
virtual void PageCreated (const SfxAllItemSet &aSet)
 
virtual void ChangesApplied ()
 
void SetFrame (const css::uno::Reference< css::frame::XFrame > &xFrame)
 
css::uno::Reference< css::frame::XFrame > GetFrame () const
 
const SfxItemSetGetDialogExampleSet () const
 
OString GetHelpId () const
 
OString GetConfigId () const
 
bool IsVisible () const
 
weld::WindowGetFrameWeld () const
 

Private Member Functions

 DECL_LINK (ChangeHdl, weld::Button &, void)
 
 DECL_LINK (RemoveHdl, weld::Button &, void)
 
 DECL_LINK (SelectHdl, weld::TreeView &, void)
 
 DECL_LINK (SearchUpdateHdl, weld::Entry &, void)
 
 DECL_LINK (Save, weld::Button &, void)
 
 DECL_LINK (Load, weld::Button &, void)
 
 DECL_LINK (Default, weld::Button &, void)
 
 DECL_LINK (RadioHdl, weld::Button &, void)
 
 DECL_LINK (ImplUpdateDataHdl, Timer *, void)
 
 DECL_LINK (FocusOut_Impl, weld::Widget &, void)
 
 DECL_LINK (TimeOut_Impl, Timer *, void)
 
 DECL_LINK (KeyInputHdl, const KeyEvent &, bool)
 
 DECL_LINK (LoadHdl, sfx2::FileDialogHelper *, void)
 
 DECL_LINK (SaveHdl, sfx2::FileDialogHelper *, void)
 
OUString GetLabel4Command (const OUString &rCommand)
 
int applySearchFilter (OUString const &rSearchTerm)
 
void InitAccCfg ()
 
sal_Int32 MapKeyCodeToPos (const vcl::KeyCode &rCode) const
 
void StartFileDialog (StartFileDialogType nType, const OUString &rTitle)
 
void Init (const css::uno::Reference< css::ui::XAcceleratorConfiguration > &pAccMgr)
 
void ResetConfig ()
 

Private Attributes

const SfxMacroInfoItemm_pMacroInfoItem
 
std::unique_ptr< sfx2::FileDialogHelperm_pFileDlg
 
OUString aLoadAccelConfigStr
 
OUString aSaveAccelConfigStr
 
OUString aFilterAllStr
 
OUString aFilterCfgStr
 
SfxStylesInfo_Impl m_aStylesInfo
 
bool m_bStylesInfoInitialized
 
css::uno::Reference< css::uno::XComponentContext > m_xContext
 
css::uno::Reference< css::ui::XAcceleratorConfiguration > m_xGlobal
 
css::uno::Reference< css::ui::XAcceleratorConfiguration > m_xModule
 
css::uno::Reference< css::ui::XAcceleratorConfiguration > m_xAct
 
css::uno::Reference< css::container::XNameAccess > m_xUICmdDescription
 
css::uno::Reference< css::frame::XFrame > m_xFrame
 
OUString m_sModuleLongName
 
OUString m_sModuleUIName
 
Timer m_aUpdateDataTimer
 
i18nutil::SearchOptions2 m_options
 
Idle m_aFillGroupIdle
 
std::unique_ptr< weld::TreeViewm_xEntriesBox
 
std::unique_ptr< weld::RadioButtonm_xOfficeButton
 
std::unique_ptr< weld::RadioButtonm_xModuleButton
 
std::unique_ptr< weld::Buttonm_xChangeButton
 
std::unique_ptr< weld::Buttonm_xRemoveButton
 
std::unique_ptr< CuiConfigGroupListBoxm_xGroupLBox
 
std::unique_ptr< CuiConfigFunctionListBoxm_xFunctionBox
 
std::unique_ptr< weld::TreeViewm_xKeyBox
 
std::unique_ptr< weld::Entrym_xSearchEdit
 
std::unique_ptr< weld::Buttonm_xLoadButton
 
std::unique_ptr< weld::Buttonm_xSaveButton
 
std::unique_ptr< weld::Buttonm_xResetButton
 

Additional Inherited Members

- Static Public Member Functions inherited from SfxTabPage
static const SfxPoolItemGetItem (const SfxItemSet &rSet, sal_uInt16 nSlot, bool bDeep=true)
 
static const T * GetItem (const SfxItemSet &rSet, TypedWhichId< T > nSlot, bool bDeep=true)
 
- Protected Member Functions inherited from SfxTabPage
 SfxTabPage (weld::Container *pPage, weld::DialogController *pController, const OUString &rUIXMLDescription, const OString &rID, const SfxItemSet *rAttrSet)
 
sal_uInt16 GetWhich (sal_uInt16 nSlot, bool bDeep=true) const
 
const SfxPoolItemGetOldItem (const SfxItemSet &rSet, sal_uInt16 nSlot, bool bDeep=true)
 
const T * GetOldItem (const SfxItemSet &rSet, TypedWhichId< T > nSlot, bool bDeep=true)
 
SfxOkDialogControllerGetDialogController () const
 

Detailed Description

Definition at line 72 of file acccfg.hxx.

Constructor & Destructor Documentation

SfxAcceleratorConfigPage::SfxAcceleratorConfigPage ( weld::Container pPage,
weld::DialogController pController,
const SfxItemSet rItemSet 
)
SfxAcceleratorConfigPage::~SfxAcceleratorConfigPage ( )
overridevirtual

Definition at line 914 of file acccfg.cxx.

References i, m_aFillGroupIdle, m_xEntriesBox, and Task::Stop().

Member Function Documentation

void SfxAcceleratorConfigPage::Apply ( const css::uno::Reference< css::ui::XAcceleratorConfiguration > &  pAccMgr)
int SfxAcceleratorConfigPage::applySearchFilter ( OUString const &  rSearchTerm)
private
SfxAcceleratorConfigPage::DECL_LINK ( ChangeHdl  ,
weld::Button ,
void   
)
private
SfxAcceleratorConfigPage::DECL_LINK ( RemoveHdl  ,
weld::Button ,
void   
)
private
SfxAcceleratorConfigPage::DECL_LINK ( SelectHdl  ,
weld::TreeView ,
void   
)
private
SfxAcceleratorConfigPage::DECL_LINK ( SearchUpdateHdl  ,
weld::Entry ,
void   
)
private
SfxAcceleratorConfigPage::DECL_LINK ( Save  ,
weld::Button ,
void   
)
private
SfxAcceleratorConfigPage::DECL_LINK ( Load  ,
weld::Button ,
void   
)
private
SfxAcceleratorConfigPage::DECL_LINK ( Default  ,
weld::Button ,
void   
)
private
SfxAcceleratorConfigPage::DECL_LINK ( RadioHdl  ,
weld::Button ,
void   
)
private
SfxAcceleratorConfigPage::DECL_LINK ( ImplUpdateDataHdl  ,
Timer ,
void   
)
private
SfxAcceleratorConfigPage::DECL_LINK ( FocusOut_Impl  ,
weld::Widget ,
void   
)
private
SfxAcceleratorConfigPage::DECL_LINK ( TimeOut_Impl  ,
Timer ,
void   
)
private
SfxAcceleratorConfigPage::DECL_LINK ( KeyInputHdl  ,
const KeyEvent ,
bool   
)
private
SfxAcceleratorConfigPage::DECL_LINK ( LoadHdl  ,
sfx2::FileDialogHelper ,
void   
)
private
SfxAcceleratorConfigPage::DECL_LINK ( SaveHdl  ,
sfx2::FileDialogHelper ,
void   
)
private
bool SfxAcceleratorConfigPage::FillItemSet ( SfxItemSet )
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 1459 of file acccfg.cxx.

References Apply(), and m_xAct.

OUString SfxAcceleratorConfigPage::GetLabel4Command ( const OUString &  rCommand)
private
void SfxAcceleratorConfigPage::Init ( const css::uno::Reference< css::ui::XAcceleratorConfiguration > &  pAccMgr)
private
void SfxAcceleratorConfigPage::InitAccCfg ( )
private
sal_Int32 SfxAcceleratorConfigPage::MapKeyCodeToPos ( const vcl::KeyCode rCode) const
private

Definition at line 1510 of file acccfg.cxx.

References vcl::KeyCode::GetCode(), vcl::KeyCode::GetModifier(), i, TAccInfo::m_aKey, and m_xEntriesBox.

Referenced by Init().

void SfxAcceleratorConfigPage::Reset ( const SfxItemSet rSet)
overridevirtual
void SfxAcceleratorConfigPage::ResetConfig ( )
private

Definition at line 1091 of file acccfg.cxx.

References m_xEntriesBox.

void SfxAcceleratorConfigPage::StartFileDialog ( StartFileDialogType  nType,
const OUString &  rTitle 
)
private

Member Data Documentation

OUString SfxAcceleratorConfigPage::aFilterAllStr
private

Definition at line 80 of file acccfg.hxx.

Referenced by StartFileDialog().

OUString SfxAcceleratorConfigPage::aFilterCfgStr
private

Definition at line 81 of file acccfg.hxx.

Referenced by StartFileDialog().

OUString SfxAcceleratorConfigPage::aLoadAccelConfigStr
private

Definition at line 78 of file acccfg.hxx.

OUString SfxAcceleratorConfigPage::aSaveAccelConfigStr
private

Definition at line 79 of file acccfg.hxx.

Idle SfxAcceleratorConfigPage::m_aFillGroupIdle
private

Definition at line 99 of file acccfg.hxx.

Referenced by SfxAcceleratorConfigPage(), and ~SfxAcceleratorConfigPage().

SfxStylesInfo_Impl SfxAcceleratorConfigPage::m_aStylesInfo
private

Definition at line 82 of file acccfg.hxx.

Referenced by GetLabel4Command(), and Init().

Timer SfxAcceleratorConfigPage::m_aUpdateDataTimer
private

Definition at line 96 of file acccfg.hxx.

Referenced by SfxAcceleratorConfigPage().

bool SfxAcceleratorConfigPage::m_bStylesInfoInitialized
private

Definition at line 83 of file acccfg.hxx.

Referenced by Init().

i18nutil::SearchOptions2 SfxAcceleratorConfigPage::m_options
private

Definition at line 97 of file acccfg.hxx.

Referenced by applySearchFilter(), and SfxAcceleratorConfigPage().

std::unique_ptr<sfx2::FileDialogHelper> SfxAcceleratorConfigPage::m_pFileDlg
private

Definition at line 76 of file acccfg.hxx.

Referenced by StartFileDialog().

const SfxMacroInfoItem* SfxAcceleratorConfigPage::m_pMacroInfoItem
private

Definition at line 75 of file acccfg.hxx.

Referenced by Reset().

OUString SfxAcceleratorConfigPage::m_sModuleLongName
private

Definition at line 92 of file acccfg.hxx.

Referenced by GetLabel4Command(), Init(), and InitAccCfg().

OUString SfxAcceleratorConfigPage::m_sModuleUIName
private

Definition at line 93 of file acccfg.hxx.

Referenced by InitAccCfg(), and Reset().

css::uno::Reference< css::ui::XAcceleratorConfiguration > SfxAcceleratorConfigPage::m_xAct
private

Definition at line 88 of file acccfg.hxx.

Referenced by FillItemSet().

std::unique_ptr<weld::Button> SfxAcceleratorConfigPage::m_xChangeButton
private

Definition at line 104 of file acccfg.hxx.

Referenced by SfxAcceleratorConfigPage().

css::uno::Reference< css::uno::XComponentContext > SfxAcceleratorConfigPage::m_xContext
private

Definition at line 85 of file acccfg.hxx.

Referenced by InitAccCfg().

std::unique_ptr<weld::TreeView> SfxAcceleratorConfigPage::m_xEntriesBox
private
css::uno::Reference< css::frame::XFrame > SfxAcceleratorConfigPage::m_xFrame
private

Definition at line 90 of file acccfg.hxx.

Referenced by Init(), and InitAccCfg().

std::unique_ptr<CuiConfigFunctionListBox> SfxAcceleratorConfigPage::m_xFunctionBox
private

Definition at line 107 of file acccfg.hxx.

Referenced by applySearchFilter(), and SfxAcceleratorConfigPage().

css::uno::Reference< css::ui::XAcceleratorConfiguration > SfxAcceleratorConfigPage::m_xGlobal
private

Definition at line 86 of file acccfg.hxx.

Referenced by InitAccCfg().

std::unique_ptr<CuiConfigGroupListBox> SfxAcceleratorConfigPage::m_xGroupLBox
private

Definition at line 106 of file acccfg.hxx.

Referenced by Init(), Reset(), and SfxAcceleratorConfigPage().

std::unique_ptr<weld::TreeView> SfxAcceleratorConfigPage::m_xKeyBox
private

Definition at line 108 of file acccfg.hxx.

Referenced by SfxAcceleratorConfigPage().

std::unique_ptr<weld::Button> SfxAcceleratorConfigPage::m_xLoadButton
private

Definition at line 110 of file acccfg.hxx.

Referenced by SfxAcceleratorConfigPage().

css::uno::Reference< css::ui::XAcceleratorConfiguration > SfxAcceleratorConfigPage::m_xModule
private

Definition at line 87 of file acccfg.hxx.

Referenced by InitAccCfg(), and Reset().

std::unique_ptr<weld::RadioButton> SfxAcceleratorConfigPage::m_xModuleButton
private

Definition at line 103 of file acccfg.hxx.

Referenced by Reset(), and SfxAcceleratorConfigPage().

std::unique_ptr<weld::RadioButton> SfxAcceleratorConfigPage::m_xOfficeButton
private

Definition at line 102 of file acccfg.hxx.

Referenced by Reset(), and SfxAcceleratorConfigPage().

std::unique_ptr<weld::Button> SfxAcceleratorConfigPage::m_xRemoveButton
private

Definition at line 105 of file acccfg.hxx.

Referenced by SfxAcceleratorConfigPage().

std::unique_ptr<weld::Button> SfxAcceleratorConfigPage::m_xResetButton
private

Definition at line 112 of file acccfg.hxx.

Referenced by SfxAcceleratorConfigPage().

std::unique_ptr<weld::Button> SfxAcceleratorConfigPage::m_xSaveButton
private

Definition at line 111 of file acccfg.hxx.

Referenced by SfxAcceleratorConfigPage().

std::unique_ptr<weld::Entry> SfxAcceleratorConfigPage::m_xSearchEdit
private

Definition at line 109 of file acccfg.hxx.

Referenced by SfxAcceleratorConfigPage().

css::uno::Reference< css::container::XNameAccess > SfxAcceleratorConfigPage::m_xUICmdDescription
private

Definition at line 89 of file acccfg.hxx.

Referenced by GetLabel4Command(), and InitAccCfg().


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