LibreOffice Module dbaccess (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
dbaui::ODatasourceSelectDialog Class Referencefinal

#include <dsselect.hxx>

Inheritance diagram for dbaui::ODatasourceSelectDialog:
[legend]
Collaboration diagram for dbaui::ODatasourceSelectDialog:
[legend]

Public Member Functions

 ODatasourceSelectDialog (weld::Window *pParent, const std::set< OUString > &rDatasources)
 
virtual ~ODatasourceSelectDialog () override
 
OUString GetSelected () const
 
void Select (const OUString &_rEntry)
 
virtual short run () override
 
- 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 (ListDblClickHdl, weld::TreeView &, bool)
 
void fillListBox (const std::set< OUString > &_rDatasources)
 

Private Attributes

std::unique_ptr< weld::TreeViewm_xDatasource
 

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 32 of file dsselect.hxx.

Constructor & Destructor Documentation

◆ ODatasourceSelectDialog()

dbaui::ODatasourceSelectDialog::ODatasourceSelectDialog ( weld::Window pParent,
const std::set< OUString > &  rDatasources 
)

Definition at line 32 of file dsselect.cxx.

References fillListBox(), LINK, and m_xDatasource.

◆ ~ODatasourceSelectDialog()

dbaui::ODatasourceSelectDialog::~ODatasourceSelectDialog ( )
overridevirtual

Definition at line 48 of file dsselect.cxx.

Member Function Documentation

◆ DECL_LINK()

dbaui::ODatasourceSelectDialog::DECL_LINK ( ListDblClickHdl  ,
weld::TreeView ,
bool   
)
private

◆ fillListBox()

void dbaui::ODatasourceSelectDialog::fillListBox ( const std::set< OUString > &  _rDatasources)
private

Definition at line 107 of file dsselect.cxx.

References m_xDatasource.

Referenced by ODatasourceSelectDialog().

◆ GetSelected()

OUString dbaui::ODatasourceSelectDialog::GetSelected ( ) const
inline

◆ run()

short dbaui::ODatasourceSelectDialog::run ( )
overridevirtual

◆ Select()

void dbaui::ODatasourceSelectDialog::Select ( const OUString &  _rEntry)
inline

Member Data Documentation

◆ m_xDatasource

std::unique_ptr<weld::TreeView> dbaui::ODatasourceSelectDialog::m_xDatasource
private

Definition at line 34 of file dsselect.hxx.

Referenced by fillListBox(), GetSelected(), ODatasourceSelectDialog(), and Select().


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