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

#include <cfgutil.hxx>

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

Public Member Functions

 SvxScriptSelectorDialog (weld::Window *pParent, const css::uno::Reference< css::frame::XFrame > &xFrame)
 
virtual ~SvxScriptSelectorDialog () override
 
OUString GetScriptURL () const
 
void SetRunLabel ()
 
void SaveLastUsedMacro ()
 
void LoadLastUsedMacro ()
 
- 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

 DECL_LINK (ClickHdl, weld::Button &, void)
 
 DECL_LINK (SelectHdl, weld::TreeView &, void)
 
 DECL_LINK (FunctionDoubleClickHdl, weld::TreeView &, bool)
 
 DECL_LINK (ContextMenuHdl, const CommandEvent &, bool)
 
void UpdateUI ()
 

Private Attributes

OUString m_sDefaultDesc
 
SfxStylesInfo_Impl m_aStylesInfo
 
std::unique_ptr< weld::Labelm_xDialogDescription
 
std::unique_ptr< CuiConfigGroupListBoxm_xCategories
 
std::unique_ptr< CuiConfigFunctionListBoxm_xCommands
 
std::unique_ptr< weld::Labelm_xLibraryFT
 
std::unique_ptr< weld::Labelm_xMacronameFT
 
std::unique_ptr< weld::Buttonm_xOKButton
 
std::unique_ptr< weld::Buttonm_xCancelButton
 
std::unique_ptr< weld::TextViewm_xDescriptionText
 
std::unique_ptr< weld::Framem_xDescriptionFrame
 

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 237 of file cfgutil.hxx.

Constructor & Destructor Documentation

◆ SvxScriptSelectorDialog()

SvxScriptSelectorDialog::SvxScriptSelectorDialog ( weld::Window pParent,
const css::uno::Reference< css::frame::XFrame > &  xFrame 
)

◆ ~SvxScriptSelectorDialog()

SvxScriptSelectorDialog::~SvxScriptSelectorDialog ( )
overridevirtual

Definition at line 1188 of file cfgutil.cxx.

Member Function Documentation

◆ DECL_LINK() [1/4]

SvxScriptSelectorDialog::DECL_LINK ( ClickHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [2/4]

SvxScriptSelectorDialog::DECL_LINK ( ContextMenuHdl  ,
const CommandEvent ,
bool   
)
private

◆ DECL_LINK() [3/4]

SvxScriptSelectorDialog::DECL_LINK ( FunctionDoubleClickHdl  ,
weld::TreeView ,
bool   
)
private

◆ DECL_LINK() [4/4]

SvxScriptSelectorDialog::DECL_LINK ( SelectHdl  ,
weld::TreeView ,
void   
)
private

◆ GetScriptURL()

OUString SvxScriptSelectorDialog::GetScriptURL ( ) const

◆ LoadLastUsedMacro()

void SvxScriptSelectorDialog::LoadLastUsedMacro ( )

◆ SaveLastUsedMacro()

void SvxScriptSelectorDialog::SaveLastUsedMacro ( )

◆ SetRunLabel()

void SvxScriptSelectorDialog::SetRunLabel ( )

Definition at line 1271 of file cfgutil.cxx.

References CuiResId(), and m_xOKButton.

◆ UpdateUI()

void SvxScriptSelectorDialog::UpdateUI ( )
private

Member Data Documentation

◆ m_aStylesInfo

SfxStylesInfo_Impl SvxScriptSelectorDialog::m_aStylesInfo
private

Definition at line 240 of file cfgutil.hxx.

Referenced by SvxScriptSelectorDialog().

◆ m_sDefaultDesc

OUString SvxScriptSelectorDialog::m_sDefaultDesc
private

Definition at line 239 of file cfgutil.hxx.

Referenced by SvxScriptSelectorDialog(), and UpdateUI().

◆ m_xCancelButton

std::unique_ptr<weld::Button> SvxScriptSelectorDialog::m_xCancelButton
private

Definition at line 248 of file cfgutil.hxx.

Referenced by SvxScriptSelectorDialog().

◆ m_xCategories

std::unique_ptr<CuiConfigGroupListBox> SvxScriptSelectorDialog::m_xCategories
private

Definition at line 243 of file cfgutil.hxx.

Referenced by LoadLastUsedMacro(), SaveLastUsedMacro(), and SvxScriptSelectorDialog().

◆ m_xCommands

std::unique_ptr<CuiConfigFunctionListBox> SvxScriptSelectorDialog::m_xCommands
private

◆ m_xDescriptionFrame

std::unique_ptr<weld::Frame> SvxScriptSelectorDialog::m_xDescriptionFrame
private

Definition at line 250 of file cfgutil.hxx.

Referenced by SvxScriptSelectorDialog().

◆ m_xDescriptionText

std::unique_ptr<weld::TextView> SvxScriptSelectorDialog::m_xDescriptionText
private

Definition at line 249 of file cfgutil.hxx.

Referenced by SvxScriptSelectorDialog(), and UpdateUI().

◆ m_xDialogDescription

std::unique_ptr<weld::Label> SvxScriptSelectorDialog::m_xDialogDescription
private

Definition at line 242 of file cfgutil.hxx.

Referenced by SvxScriptSelectorDialog().

◆ m_xLibraryFT

std::unique_ptr<weld::Label> SvxScriptSelectorDialog::m_xLibraryFT
private

Definition at line 245 of file cfgutil.hxx.

Referenced by SvxScriptSelectorDialog().

◆ m_xMacronameFT

std::unique_ptr<weld::Label> SvxScriptSelectorDialog::m_xMacronameFT
private

Definition at line 246 of file cfgutil.hxx.

Referenced by SvxScriptSelectorDialog().

◆ m_xOKButton

std::unique_ptr<weld::Button> SvxScriptSelectorDialog::m_xOKButton
private

Definition at line 247 of file cfgutil.hxx.

Referenced by SetRunLabel(), SvxScriptSelectorDialog(), and UpdateUI().


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