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

#include <gototabdlg.hxx>

Inheritance diagram for ScGoToTabDlg:
Collaboration diagram for ScGoToTabDlg:

Public Member Functions

 ScGoToTabDlg (weld::Window *pParent)
virtual ~ScGoToTabDlg () override
void SetDescription (const OUString &rTitle, const OUString &rEntryLabel, const OUString &rListLabel, const OString &rDlgHelpId, const OString &rEnHelpId, const OString &rLbHelpId)
 Sets dialog title, label texts and help IDs. More...
void Insert (const OUString &rString, bool bSelected)
 Inserts a string into the weld::TreeView. More...
OUString GetSelectedEntry () const
- Public Member Functions inherited from weld::GenericDialogController
 GenericDialogController (weld::Widget *pParent, const OUString &rUIFile, const OString &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 OString &rHelpId)
OString get_help_id () const
void response (int nResponse)
virtual ~DialogController () COVERITY_NOEXCEPT_FALSE

Private Member Functions

 DECL_LINK (DblClkHdl, weld::TreeView &, bool)
 DECL_LINK (FindNameHdl, weld::Entry &, void)

Private Attributes

std::vector< OUString > maCacheSheetsNames
std::unique_ptr< weld::Framem_xFrameMask
std::unique_ptr< weld::Entrym_xEnNameMask
std::unique_ptr< weld::Framem_xFrameSheets
std::unique_ptr< weld::TreeViewm_xLb

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 15 of file gototabdlg.hxx.

Constructor & Destructor Documentation

◆ ScGoToTabDlg()

ScGoToTabDlg::ScGoToTabDlg ( weld::Window pParent)

Definition at line 15 of file gototabdlg.cxx.

References LINK, m_xEnNameMask, and m_xLb.

◆ ~ScGoToTabDlg()

ScGoToTabDlg::~ScGoToTabDlg ( )

Definition at line 28 of file gototabdlg.cxx.

Member Function Documentation

◆ DECL_LINK() [1/2]

ScGoToTabDlg::DECL_LINK ( DblClkHdl  ,
weld::TreeView ,

◆ DECL_LINK() [2/2]

ScGoToTabDlg::DECL_LINK ( FindNameHdl  ,
weld::Entry ,

◆ GetSelectedEntry()

OUString ScGoToTabDlg::GetSelectedEntry ( ) const

Definition at line 50 of file gototabdlg.cxx.

References m_xLb.

◆ Insert()

void ScGoToTabDlg::Insert ( const OUString &  rString,
bool  bSelected 

Inserts a string into the weld::TreeView.

Definition at line 42 of file gototabdlg.cxx.

References m_xLb, and maCacheSheetsNames.

◆ SetDescription()

void ScGoToTabDlg::SetDescription ( const OUString &  rTitle,
const OUString &  rEntryLabel,
const OUString &  rListLabel,
const OString &  rDlgHelpId,
const OString &  rEnHelpId,
const OString &  rLbHelpId 

Sets dialog title, label texts and help IDs.

Definition at line 30 of file gototabdlg.cxx.

References weld::GenericDialogController::m_xDialog, m_xEnNameMask, m_xFrameMask, m_xFrameSheets, and m_xLb.

Member Data Documentation

◆ m_xEnNameMask

std::unique_ptr<weld::Entry> ScGoToTabDlg::m_xEnNameMask

Definition at line 21 of file gototabdlg.hxx.

Referenced by ScGoToTabDlg(), and SetDescription().

◆ m_xFrameMask

std::unique_ptr<weld::Frame> ScGoToTabDlg::m_xFrameMask

Definition at line 20 of file gototabdlg.hxx.

Referenced by SetDescription().

◆ m_xFrameSheets

std::unique_ptr<weld::Frame> ScGoToTabDlg::m_xFrameSheets

Definition at line 22 of file gototabdlg.hxx.

Referenced by SetDescription().

◆ m_xLb

std::unique_ptr<weld::TreeView> ScGoToTabDlg::m_xLb

Definition at line 23 of file gototabdlg.hxx.

Referenced by GetSelectedEntry(), Insert(), ScGoToTabDlg(), and SetDescription().

◆ maCacheSheetsNames

std::vector<OUString> ScGoToTabDlg::maCacheSheetsNames

Definition at line 18 of file gototabdlg.hxx.

Referenced by Insert().

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