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

#include <multipat.hxx>

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

Public Member Functions

 SvxMultiPathDialog (weld::Window *pParent)
 
virtual ~SvxMultiPathDialog () override
 
OUString GetPath () const
 
void SetPath (std::u16string_view rPath)
 
void SetTitle (const OUString &rTitle)
 
- 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 AppendEntry (const OUString &rText, const OUString &rId)
 
void HandleEntryChecked (int nRow)
 
 DECL_LINK (AddHdl_Impl, weld::Button &, void)
 
 DECL_LINK (DelHdl_Impl, weld::Button &, void)
 
 DECL_LINK (SelectHdl_Impl, weld::TreeView &, void)
 
 DECL_LINK (CheckHdl_Impl, const weld::TreeView::iter_col &, void)
 

Private Attributes

std::unique_ptr< weld::TreeViewm_xRadioLB
 
std::unique_ptr< weld::Buttonm_xAddBtn
 
std::unique_ptr< weld::Buttonm_xDelBtn
 

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 23 of file multipat.hxx.

Constructor & Destructor Documentation

◆ SvxMultiPathDialog()

SvxMultiPathDialog::SvxMultiPathDialog ( weld::Window pParent)

Definition at line 190 of file multipat.cxx.

References LINK, m_xAddBtn, m_xDelBtn, m_xRadioLB, and weld::Radio.

◆ ~SvxMultiPathDialog()

SvxMultiPathDialog::~SvxMultiPathDialog ( )
overridevirtual

Definition at line 224 of file multipat.cxx.

Member Function Documentation

◆ AppendEntry()

void SvxMultiPathDialog::AppendEntry ( const OUString &  rText,
const OUString &  rId 
)
private

Definition at line 80 of file multipat.cxx.

References m_xRadioLB, and TRISTATE_FALSE.

Referenced by SetPath().

◆ DECL_LINK() [1/4]

SvxMultiPathDialog::DECL_LINK ( AddHdl_Impl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [2/4]

SvxMultiPathDialog::DECL_LINK ( CheckHdl_Impl  ,
const weld::TreeView::iter_col ,
void   
)
private

◆ DECL_LINK() [3/4]

SvxMultiPathDialog::DECL_LINK ( DelHdl_Impl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [4/4]

SvxMultiPathDialog::DECL_LINK ( SelectHdl_Impl  ,
weld::TreeView ,
void   
)
private

◆ GetPath()

OUString SvxMultiPathDialog::GetPath ( ) const

Definition at line 228 of file multipat.cxx.

References cDelim, i, m_xRadioLB, nCount, SVT_SEARCHPATH_DELIMITER, and TRISTATE_TRUE.

◆ HandleEntryChecked()

void SvxMultiPathDialog::HandleEntryChecked ( int  nRow)
private

Definition at line 59 of file multipat.cxx.

References i, m_xRadioLB, nCount, TRISTATE_FALSE, and TRISTATE_TRUE.

Referenced by SetPath().

◆ SetPath()

void SvxMultiPathDialog::SetPath ( std::u16string_view  rPath)

◆ SetTitle()

void SvxMultiPathDialog::SetTitle ( const OUString &  rTitle)
inline

Definition at line 44 of file multipat.hxx.

References weld::GenericDialogController::m_xDialog.

Member Data Documentation

◆ m_xAddBtn

std::unique_ptr<weld::Button> SvxMultiPathDialog::m_xAddBtn
private

Definition at line 27 of file multipat.hxx.

Referenced by SvxMultiPathDialog().

◆ m_xDelBtn

std::unique_ptr<weld::Button> SvxMultiPathDialog::m_xDelBtn
private

Definition at line 28 of file multipat.hxx.

Referenced by SvxMultiPathDialog().

◆ m_xRadioLB

std::unique_ptr<weld::TreeView> SvxMultiPathDialog::m_xRadioLB
private

Definition at line 26 of file multipat.hxx.

Referenced by AppendEntry(), GetPath(), HandleEntryChecked(), SetPath(), and SvxMultiPathDialog().


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