LibreOffice Module extensions (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
dbp::OTableSelectionPage Class Referencefinal

#include <commonpagesdbp.hxx>

Inheritance diagram for dbp::OTableSelectionPage:
[legend]
Collaboration diagram for dbp::OTableSelectionPage:
[legend]

Public Member Functions

 OTableSelectionPage (weld::Container *pPage, OControlWizard *pParent)
 
virtual ~OTableSelectionPage () override
 
- Public Member Functions inherited from dbp::OControlWizardPage
 OControlWizardPage (weld::Container *pPage, OControlWizard *pWizard, const OUString &rUIXMLDescription, const OUString &rID)
 
virtual ~OControlWizardPage () override
 
- Public Member Functions inherited from vcl::OWizardPage
 OWizardPage (weld::Container *pPage, weld::DialogController *pController, const OUString &rUIXMLDescription, const OUString &rID)
 
virtual ~OWizardPage () override
 
virtual void initializePage () override
 
virtual bool commitPage (WizardTypes::CommitPageReason _eReason) override
 
virtual bool canAdvance () const override
 
- Public Member Functions inherited from BuilderPage
 BuilderPage (weld::Widget *pParent, weld::DialogController *pController, const OUString &rUIXMLDescription, const OUString &rID, bool bIsMobile=false)
 
virtual ~BuilderPage () COVERITY_NOEXCEPT_FALSE
 
void SetPageTitle (const OUString &rPageTitle)
 
const OUString & GetPageTitle () const
 
virtual void Activate ()
 
virtual void Deactivate ()
 
void SetHelpId (const OUString &rHelpId)
 
OUString GetHelpId () const
 

Private Member Functions

void Activate () override
 
virtual void initializePage () override
 
virtual bool commitPage (::vcl::WizardTypes::CommitPageReason _eReason) override
 
 DECL_LINK (OnListboxSelection, weld::TreeView &, void)
 
 DECL_LINK (OnListboxDoubleClicked, weld::TreeView &, bool)
 
 DECL_LINK (OnSearchClicked, weld::Button &, void)
 
void implFillTables (const css::uno::Reference< css::sdbc::XConnection > &_rxConn=css::uno::Reference< css::sdbc::XConnection >())
 
virtual bool canAdvance () const override
 

Private Attributes

std::unique_ptr< weld::TreeViewm_xTable
 
std::unique_ptr< weld::TreeViewm_xDatasource
 
std::unique_ptr< weld::Buttonm_xSearchDatabase
 
std::unique_ptr< weld::Containerm_xSourceBox
 
css::uno::Reference< css::sdb::XDatabaseContext > m_xDSContext
 

Additional Inherited Members

- Protected Member Functions inherited from dbp::OControlWizardPage
OControlWizardgetDialog ()
 
const OControlWizardgetDialog () const
 
const OControlWizardContextgetContext () const
 
bool updateContext ()
 
void setFormConnection (const css::uno::Reference< css::sdbc::XConnection > &_rxConn, bool _bAutoDispose=true)
 
css::uno::Reference< css::sdbc::XConnection > getFormConnection () const
 
void enableFormDatasourceDisplay ()
 
virtual void initializePage () override
 
- Protected Member Functions inherited from vcl::OWizardPage
virtual void Activate () override
 
void updateDialogTravelUI ()
 
- Static Protected Member Functions inherited from dbp::OControlWizardPage
static void fillListBox (weld::TreeView &_rList, const css::uno::Sequence< OUString > &_rItems)
 
static void fillListBox (weld::ComboBox &_rList, const css::uno::Sequence< OUString > &_rItems)
 
- Protected Attributes inherited from BuilderPage
weld::DialogControllerm_pDialogController
 
std::unique_ptr< weld::Builderm_xBuilder
 
std::unique_ptr< weld::Containerm_xContainer
 

Detailed Description

Definition at line 28 of file commonpagesdbp.hxx.

Constructor & Destructor Documentation

◆ OTableSelectionPage()

dbp::OTableSelectionPage::OTableSelectionPage ( weld::Container pPage,
OControlWizard pParent 
)
explicit

◆ ~OTableSelectionPage()

dbp::OTableSelectionPage::~OTableSelectionPage ( )
overridevirtual

Definition at line 81 of file commonpagesdbp.cxx.

Member Function Documentation

◆ Activate()

void dbp::OTableSelectionPage::Activate ( )
overrideprivatevirtual

Reimplemented from vcl::OWizardPage.

Definition at line 85 of file commonpagesdbp.cxx.

References vcl::OWizardPage::Activate(), and m_xDatasource.

◆ canAdvance()

bool dbp::OTableSelectionPage::canAdvance ( ) const
overrideprivatevirtual

Reimplemented from vcl::OWizardPage.

Definition at line 91 of file commonpagesdbp.cxx.

References vcl::OWizardPage::canAdvance(), m_xDatasource, and m_xTable.

◆ commitPage()

bool dbp::OTableSelectionPage::commitPage ( ::vcl::WizardTypes::CommitPageReason  _eReason)
overrideprivatevirtual

◆ DECL_LINK() [1/3]

dbp::OTableSelectionPage::DECL_LINK ( OnListboxDoubleClicked  ,
weld::TreeView ,
bool   
)
private

◆ DECL_LINK() [2/3]

dbp::OTableSelectionPage::DECL_LINK ( OnListboxSelection  ,
weld::TreeView ,
void   
)
private

◆ DECL_LINK() [3/3]

dbp::OTableSelectionPage::DECL_LINK ( OnSearchClicked  ,
weld::Button ,
void   
)
private

◆ implFillTables()

void dbp::OTableSelectionPage::implFillTables ( const css::uno::Reference< css::sdbc::XConnection > &  _rxConn = css::uno::Reference< css::sdbc::XConnection >())
private

◆ initializePage()

void dbp::OTableSelectionPage::initializePage ( )
overrideprivatevirtual

Member Data Documentation

◆ m_xDatasource

std::unique_ptr<weld::TreeView> dbp::OTableSelectionPage::m_xDatasource
private

◆ m_xDSContext

css::uno::Reference< css::sdb::XDatabaseContext > dbp::OTableSelectionPage::m_xDSContext
private

Definition at line 36 of file commonpagesdbp.hxx.

Referenced by implFillTables(), and OTableSelectionPage().

◆ m_xSearchDatabase

std::unique_ptr<weld::Button> dbp::OTableSelectionPage::m_xSearchDatabase
private

Definition at line 32 of file commonpagesdbp.hxx.

Referenced by OTableSelectionPage().

◆ m_xSourceBox

std::unique_ptr<weld::Container> dbp::OTableSelectionPage::m_xSourceBox
private

Definition at line 33 of file commonpagesdbp.hxx.

Referenced by initializePage().

◆ m_xTable

std::unique_ptr<weld::TreeView> dbp::OTableSelectionPage::m_xTable
private

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