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 OString &nDlgHelpId, const OString &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 OString &rDialogId, bool bMobile=false)
 
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

 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 25 of file shtabdlg.hxx.

Constructor & Destructor Documentation

ScShowTabDlg::ScShowTabDlg ( weld::Window pParent)

Definition at line 24 of file shtabdlg.cxx.

References LINK, m_xFrame, and m_xLb.

ScShowTabDlg::~ScShowTabDlg ( )
overridevirtual

Definition at line 34 of file shtabdlg.cxx.

Member Function Documentation

ScShowTabDlg::DECL_LINK ( DblClkHdl  ,
weld::TreeView ,
bool   
)
private
OUString ScShowTabDlg::GetEntry ( sal_Int32  nPos) const

Definition at line 61 of file shtabdlg.cxx.

References m_xLb.

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

Definition at line 55 of file shtabdlg.cxx.

References m_xLb.

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

Inserts a string into the weld::TreeView.

Definition at line 48 of file shtabdlg.cxx.

References m_xLb.

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

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

Definition at line 38 of file shtabdlg.cxx.

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

Member Data Documentation

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

Definition at line 28 of file shtabdlg.hxx.

Referenced by SetDescription().

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

Definition at line 29 of file shtabdlg.hxx.

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


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