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

#include <cfg.hxx>

Inheritance diagram for SvxMainMenuOrganizerDialog:
Collaboration diagram for SvxMainMenuOrganizerDialog:

Public Member Functions

 SvxMainMenuOrganizerDialog (weld::Window *, SvxEntries *, SvxConfigEntry const *, bool bCreateMenu)
virtual ~SvxMainMenuOrganizerDialog () override
std::unique_ptr< SvxEntriesReleaseEntries ()
SvxConfigEntryGetSelectedEntry ()
- Public Member Functions inherited from weld::GenericDialogController
 GenericDialogController (weld::Widget *pParent, const OUString &rUIFile, const OUString &rDialogId, bool bMobile=false)
virtual DialoggetDialog () override
virtual ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override
- Public Member Functions inherited from weld::DialogController
virtual DialoggetDialog ()=0
const DialoggetConstDialog () const
virtual short run ()
void set_title (const OUString &rTitle)
OUString get_title () const
void set_help_id (const OUString &rHelpId)
OUString get_help_id () const
void response (int nResponse)
virtual ~DialogController () COVERITY_NOEXCEPT_FALSE

Private Member Functions

void UpdateButtonStates ()
 DECL_LINK (MoveHdl, weld::Button &, void)
 DECL_LINK (ModifyHdl, weld::Entry &, void)
 DECL_LINK (SelectHdl, weld::TreeView &, void)

Private Attributes

std::unique_ptr< SvxEntriesmpEntries
OUString m_sNewMenuEntryId
std::unique_ptr< weld::Widgetm_xMenuBox
std::unique_ptr< weld::Entrym_xMenuNameEdit
std::unique_ptr< weld::TreeViewm_xMenuListBox
std::unique_ptr< weld::Buttonm_xMoveUpButton
std::unique_ptr< weld::Buttonm_xMoveDownButton

Additional Inherited Members

- Static Public Member Functions inherited from weld::DialogController
static bool runAsync (const std::shared_ptr< DialogController > &rController, const std::function< void(sal_Int32)> &)
- Protected Attributes inherited from weld::GenericDialogController
std::unique_ptr< weld::Builderm_xBuilder
std::shared_ptr< weld::Dialogm_xDialog

Detailed Description

Definition at line 525 of file cfg.hxx.

Constructor & Destructor Documentation

◆ SvxMainMenuOrganizerDialog()

SvxMainMenuOrganizerDialog::SvxMainMenuOrganizerDialog ( weld::Window pParent,
SvxEntries entries,
SvxConfigEntry const *  selection,
bool  bCreateMenu 

◆ ~SvxMainMenuOrganizerDialog()

SvxMainMenuOrganizerDialog::~SvxMainMenuOrganizerDialog ( )

Definition at line 1849 of file cfg.cxx.

Member Function Documentation

◆ DECL_LINK() [1/3]

SvxMainMenuOrganizerDialog::DECL_LINK ( ModifyHdl  ,
weld::Entry ,

◆ DECL_LINK() [2/3]

SvxMainMenuOrganizerDialog::DECL_LINK ( MoveHdl  ,
weld::Button ,

◆ DECL_LINK() [3/3]

SvxMainMenuOrganizerDialog::DECL_LINK ( SelectHdl  ,
weld::TreeView ,

◆ GetSelectedEntry()

SvxConfigEntry * SvxMainMenuOrganizerDialog::GetSelectedEntry ( )

Definition at line 1913 of file cfg.cxx.

References m_xMenuListBox.

Referenced by IMPL_LINK().

◆ ReleaseEntries()

std::unique_ptr< SvxEntries > SvxMainMenuOrganizerDialog::ReleaseEntries ( )

Definition at line 548 of file cfg.hxx.

References mpEntries.

Referenced by IMPL_LINK().

◆ UpdateButtonStates()

void SvxMainMenuOrganizerDialog::UpdateButtonStates ( )

Definition at line 1876 of file cfg.cxx.

References m_xMenuListBox, m_xMoveDownButton, and m_xMoveUpButton.

Referenced by SvxMainMenuOrganizerDialog().

Member Data Documentation

◆ m_sNewMenuEntryId

OUString SvxMainMenuOrganizerDialog::m_sNewMenuEntryId

Definition at line 528 of file cfg.hxx.

Referenced by SvxMainMenuOrganizerDialog().

◆ m_xMenuBox

std::unique_ptr<weld::Widget> SvxMainMenuOrganizerDialog::m_xMenuBox

Definition at line 530 of file cfg.hxx.

Referenced by SvxMainMenuOrganizerDialog().

◆ m_xMenuListBox

std::unique_ptr<weld::TreeView> SvxMainMenuOrganizerDialog::m_xMenuListBox

Definition at line 532 of file cfg.hxx.

Referenced by GetSelectedEntry(), SvxMainMenuOrganizerDialog(), and UpdateButtonStates().

◆ m_xMenuNameEdit

std::unique_ptr<weld::Entry> SvxMainMenuOrganizerDialog::m_xMenuNameEdit

Definition at line 531 of file cfg.hxx.

Referenced by SvxMainMenuOrganizerDialog().

◆ m_xMoveDownButton

std::unique_ptr<weld::Button> SvxMainMenuOrganizerDialog::m_xMoveDownButton

Definition at line 534 of file cfg.hxx.

Referenced by SvxMainMenuOrganizerDialog(), and UpdateButtonStates().

◆ m_xMoveUpButton

std::unique_ptr<weld::Button> SvxMainMenuOrganizerDialog::m_xMoveUpButton

Definition at line 533 of file cfg.hxx.

Referenced by SvxMainMenuOrganizerDialog(), and UpdateButtonStates().

◆ mpEntries

std::unique_ptr<SvxEntries> SvxMainMenuOrganizerDialog::mpEntries

Definition at line 527 of file cfg.hxx.

Referenced by ReleaseEntries(), and SvxMainMenuOrganizerDialog().

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