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

#include <shtabdlg.hxx>

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

Public Member Functions

 ScShowTabDlg (weld::Window *pParent)
 
virtual ~ScShowTabDlg () override
 
void SetDescription (const OUString &rTitle, const OUString &rFixedText, const OUString &nDlgHelpId, const OUString &nLbHelpId)
 Sets dialog title, fixed text for listbox and help IDs. More...
 
void Insert (const OUString &rString, bool bSelected)
 Inserts a string into the weld::TreeView. More...
 
std::vector< sal_Int32 > GetSelectedRows () const
 
OUString GetEntry (sal_Int32 nPos) const
 
- 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 (DblClkHdl, weld::TreeView &, bool)
 

Private Attributes

std::unique_ptr< weld::Framem_xFrame
 
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 24 of file shtabdlg.hxx.

Constructor & Destructor Documentation

◆ ScShowTabDlg()

ScShowTabDlg::ScShowTabDlg ( weld::Window pParent)

Definition at line 24 of file shtabdlg.cxx.

References LINK, m_xFrame, and m_xLb.

◆ ~ScShowTabDlg()

ScShowTabDlg::~ScShowTabDlg ( )
overridevirtual

Definition at line 34 of file shtabdlg.cxx.

Member Function Documentation

◆ DECL_LINK()

ScShowTabDlg::DECL_LINK ( DblClkHdl  ,
weld::TreeView ,
bool   
)
private

◆ GetEntry()

OUString ScShowTabDlg::GetEntry ( sal_Int32  nPos) const

Definition at line 58 of file shtabdlg.cxx.

References m_xLb, and nIndex.

◆ GetSelectedRows()

std::vector< sal_Int32 > ScShowTabDlg::GetSelectedRows ( ) const

Definition at line 52 of file shtabdlg.cxx.

References m_xLb.

◆ Insert()

void ScShowTabDlg::Insert ( const OUString &  rString,
bool  bSelected 
)

Inserts a string into the weld::TreeView.

Definition at line 45 of file shtabdlg.cxx.

References m_xLb.

◆ SetDescription()

void ScShowTabDlg::SetDescription ( const OUString &  rTitle,
const OUString &  rFixedText,
const OUString &  nDlgHelpId,
const OUString &  nLbHelpId 
)

Sets dialog title, fixed text for listbox and help IDs.

Definition at line 36 of file shtabdlg.cxx.

References weld::GenericDialogController::m_xDialog, m_xFrame, and m_xLb.

Member Data Documentation

◆ m_xFrame

std::unique_ptr<weld::Frame> ScShowTabDlg::m_xFrame
private

Definition at line 27 of file shtabdlg.hxx.

Referenced by SetDescription().

◆ m_xLb

std::unique_ptr<weld::TreeView> ScShowTabDlg::m_xLb
private

Definition at line 28 of file shtabdlg.hxx.

Referenced by GetEntry(), GetSelectedRows(), Insert(), ScShowTabDlg(), and SetDescription().


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