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:
[legend]
Collaboration diagram for SvxMainMenuOrganizerDialog:
[legend]

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 OString &rDialogId)
 
virtual DialoggetDialog () override
 
virtual ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override
 
- Public Member Functions inherited from weld::DialogController
const DialoggetConstDialog () const
 
virtual short run ()
 
void set_title (const OUString &rTitle)
 
OUString get_title () const
 
void set_help_id (const OString &rHelpId)
 
OString 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 489 of file cfg.hxx.

Constructor & Destructor Documentation

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

Definition at line 1772 of file cfg.cxx.

Member Function Documentation

SvxMainMenuOrganizerDialog::DECL_LINK ( MoveHdl  ,
weld::Button ,
void   
)
private
SvxMainMenuOrganizerDialog::DECL_LINK ( ModifyHdl  ,
weld::Entry ,
void   
)
private
SvxMainMenuOrganizerDialog::DECL_LINK ( SelectHdl  ,
weld::TreeView ,
void   
)
private
SvxConfigEntry * SvxMainMenuOrganizerDialog::GetSelectedEntry ( )

Definition at line 1836 of file cfg.cxx.

References m_xMenuListBox.

Referenced by IMPL_LINK().

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

Definition at line 512 of file cfg.hxx.

Referenced by IMPL_LINK().

void SvxMainMenuOrganizerDialog::UpdateButtonStates ( )
private

Definition at line 1799 of file cfg.cxx.

References m_xMenuListBox, m_xMoveDownButton, and m_xMoveUpButton.

Referenced by SvxMainMenuOrganizerDialog().

Member Data Documentation

OUString SvxMainMenuOrganizerDialog::m_sNewMenuEntryId
private

Definition at line 492 of file cfg.hxx.

Referenced by SvxMainMenuOrganizerDialog().

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

Definition at line 494 of file cfg.hxx.

Referenced by SvxMainMenuOrganizerDialog().

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

Definition at line 496 of file cfg.hxx.

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

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

Definition at line 495 of file cfg.hxx.

Referenced by SvxMainMenuOrganizerDialog().

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

Definition at line 498 of file cfg.hxx.

Referenced by SvxMainMenuOrganizerDialog(), and UpdateButtonStates().

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

Definition at line 497 of file cfg.hxx.

Referenced by SvxMainMenuOrganizerDialog(), and UpdateButtonStates().

std::unique_ptr<SvxEntries> SvxMainMenuOrganizerDialog::mpEntries
private

Definition at line 491 of file cfg.hxx.

Referenced by SvxMainMenuOrganizerDialog().


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