LibreOffice Module cui (master)  1
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
offapp::ConnectionPoolOptionsPage Class Referencefinal

#include <connpooloptions.hxx>

Inheritance diagram for offapp::ConnectionPoolOptionsPage:
[legend]
Collaboration diagram for offapp::ConnectionPoolOptionsPage:
[legend]

Public Member Functions

 ConnectionPoolOptionsPage (TabPageParent _pParent, const SfxItemSet &_rAttrSet)
 
virtual ~ConnectionPoolOptionsPage () override
 
- Public Member Functions inherited from SfxTabPage
void SetDialogController (SfxOkDialogController *pDialog)
 
virtual ~SfxTabPage () override
 
virtual void dispose () override
 
const SfxItemSetGetItemSet () const
 
bool HasExchangeSupport () const
 
void SetExchangeSupport ()
 
virtual DeactivateRC DeactivatePage (SfxItemSet *pSet)
 
void SetUserData (const OUString &rString)
 
const OUString & GetUserData () const
 
virtual void FillUserData ()
 
virtual bool IsReadOnly () const
 
virtual void PageCreated (const SfxAllItemSet &aSet)
 
virtual void ChangesApplied ()
 
void SetFrame (const css::uno::Reference< css::frame::XFrame > &xFrame)
 
css::uno::Reference< css::frame::XFrame > GetFrame () const
 
const SfxItemSetGetDialogExampleSet () const
 
OString GetConfigId () const
 
weld::WindowGetDialogFrameWeld () const
 

Static Public Member Functions

static VclPtr< SfxTabPageCreate (TabPageParent _pParent, const SfxItemSet *_rAttrSet)
 
- Static Public Member Functions inherited from SfxTabPage
static const SfxPoolItemGetItem (const SfxItemSet &rSet, sal_uInt16 nSlot, bool bDeep=true)
 
static const T * GetItem (const SfxItemSet &rSet, TypedWhichId< T > nSlot, bool bDeep=true)
 

Private Member Functions

virtual bool FillItemSet (SfxItemSet *_rSet) override
 
virtual void Reset (const SfxItemSet *_rSet) override
 
virtual void ActivatePage (const SfxItemSet &_rSet) override
 
void updateRow (size_t nRow)
 
void updateCurrentRow ()
 
void UpdateDriverList (const DriverPoolingSettings &_rSettings)
 
bool isModifiedDriverList () const
 
void saveDriverList ()
 
 DECL_LINK (OnEnabledDisabled, weld::Button &, void)
 
 DECL_LINK (OnSpinValueChanged, weld::SpinButton &, void)
 
 DECL_LINK (OnDriverRowChanged, weld::TreeView &, void)
 
void implInitControls (const SfxItemSet &_rSet)
 
void commitTimeoutField ()
 

Private Attributes

OUString m_sYes
 
OUString m_sNo
 
DriverPoolingSettings m_aSettings
 
DriverPoolingSettings m_aSavedSettings
 
std::unique_ptr< weld::CheckButtonm_xEnablePooling
 
std::unique_ptr< weld::Labelm_xDriversLabel
 
std::unique_ptr< weld::TreeViewm_xDriverList
 
std::unique_ptr< weld::Labelm_xDriverLabel
 
std::unique_ptr< weld::Labelm_xDriver
 
std::unique_ptr< weld::CheckButtonm_xDriverPoolingEnabled
 
std::unique_ptr< weld::Labelm_xTimeoutLabel
 
std::unique_ptr< weld::SpinButtonm_xTimeout
 

Additional Inherited Members

- Protected Member Functions inherited from SfxTabPage
 SfxTabPage (vcl::Window *pParent, const OString &rID, const OUString &rUIXMLDescription, const SfxItemSet *rAttrSet)
 
 SfxTabPage (TabPageParent pParent, const OUString &rUIXMLDescription, const OString &rID, const SfxItemSet *rAttrSet)
 
sal_uInt16 GetWhich (sal_uInt16 nSlot, bool bDeep=true) const
 
const SfxPoolItemGetOldItem (const SfxItemSet &rSet, sal_uInt16 nSlot, bool bDeep=true)
 
const T * GetOldItem (const SfxItemSet &rSet, TypedWhichId< T > nSlot, bool bDeep=true)
 
SfxOkDialogControllerGetDialogController () const
 
- Protected Attributes inherited from SfxTabPage
std::unique_ptr< weld::Builderm_xBuilder
 
std::unique_ptr< weld::Containerm_xContainer
 

Detailed Description

Definition at line 29 of file connpooloptions.hxx.

Constructor & Destructor Documentation

offapp::ConnectionPoolOptionsPage::ConnectionPoolOptionsPage ( TabPageParent  _pParent,
const SfxItemSet _rAttrSet 
)
offapp::ConnectionPoolOptionsPage::~ConnectionPoolOptionsPage ( )
overridevirtual

Definition at line 124 of file connpooloptions.cxx.

Member Function Documentation

void offapp::ConnectionPoolOptionsPage::ActivatePage ( const SfxItemSet _rSet)
overrideprivatevirtual

Reimplemented from SfxTabPage.

Definition at line 184 of file connpooloptions.cxx.

References SfxTabPage::ActivatePage(), and implInitControls().

void offapp::ConnectionPoolOptionsPage::commitTimeoutField ( )
private

Definition at line 218 of file connpooloptions.cxx.

References m_aSettings, m_xDriverList, m_xTimeout, and updateCurrentRow().

Referenced by FillItemSet().

VclPtr< SfxTabPage > offapp::ConnectionPoolOptionsPage::Create ( TabPageParent  _pParent,
const SfxItemSet _rAttrSet 
)
static

Definition at line 128 of file connpooloptions.cxx.

References VclPtr< reference_type >::Create().

Referenced by CreateGeneralTabPage().

offapp::ConnectionPoolOptionsPage::DECL_LINK ( OnEnabledDisabled  ,
weld::Button ,
void   
)
private
offapp::ConnectionPoolOptionsPage::DECL_LINK ( OnSpinValueChanged  ,
weld::SpinButton ,
void   
)
private
offapp::ConnectionPoolOptionsPage::DECL_LINK ( OnDriverRowChanged  ,
weld::TreeView ,
void   
)
private
bool offapp::ConnectionPoolOptionsPage::FillItemSet ( SfxItemSet _rSet)
overrideprivatevirtual
void offapp::ConnectionPoolOptionsPage::implInitControls ( const SfxItemSet _rSet)
private
bool offapp::ConnectionPoolOptionsPage::isModifiedDriverList ( ) const
private
void offapp::ConnectionPoolOptionsPage::Reset ( const SfxItemSet _rSet)
overrideprivatevirtual

Reimplemented from SfxTabPage.

Definition at line 190 of file connpooloptions.cxx.

References implInitControls().

void offapp::ConnectionPoolOptionsPage::saveDriverList ( )
inlineprivate

Definition at line 61 of file connpooloptions.hxx.

References m_aSettings.

Referenced by implInitControls().

void offapp::ConnectionPoolOptionsPage::updateCurrentRow ( )
private

Definition at line 94 of file connpooloptions.cxx.

References m_xDriverList, and updateRow().

Referenced by commitTimeoutField().

void offapp::ConnectionPoolOptionsPage::UpdateDriverList ( const DriverPoolingSettings _rSettings)
private
void offapp::ConnectionPoolOptionsPage::updateRow ( size_t  nRow)
private

Definition at line 78 of file connpooloptions.cxx.

References m_aSettings, m_sNo, m_sYes, and m_xDriverList.

Referenced by updateCurrentRow(), and UpdateDriverList().

Member Data Documentation

DriverPoolingSettings offapp::ConnectionPoolOptionsPage::m_aSavedSettings
private

Definition at line 36 of file connpooloptions.hxx.

Referenced by isModifiedDriverList().

DriverPoolingSettings offapp::ConnectionPoolOptionsPage::m_aSettings
private
OUString offapp::ConnectionPoolOptionsPage::m_sNo
private

Definition at line 34 of file connpooloptions.hxx.

Referenced by updateRow().

OUString offapp::ConnectionPoolOptionsPage::m_sYes
private

Definition at line 33 of file connpooloptions.hxx.

Referenced by updateRow().

std::unique_ptr<weld::Label> offapp::ConnectionPoolOptionsPage::m_xDriver
private

Definition at line 42 of file connpooloptions.hxx.

std::unique_ptr<weld::Label> offapp::ConnectionPoolOptionsPage::m_xDriverLabel
private

Definition at line 41 of file connpooloptions.hxx.

std::unique_ptr<weld::TreeView> offapp::ConnectionPoolOptionsPage::m_xDriverList
private
std::unique_ptr<weld::CheckButton> offapp::ConnectionPoolOptionsPage::m_xDriverPoolingEnabled
private

Definition at line 43 of file connpooloptions.hxx.

Referenced by ConnectionPoolOptionsPage().

std::unique_ptr<weld::Label> offapp::ConnectionPoolOptionsPage::m_xDriversLabel
private

Definition at line 39 of file connpooloptions.hxx.

std::unique_ptr<weld::CheckButton> offapp::ConnectionPoolOptionsPage::m_xEnablePooling
private

Definition at line 38 of file connpooloptions.hxx.

Referenced by ConnectionPoolOptionsPage(), FillItemSet(), and implInitControls().

std::unique_ptr<weld::SpinButton> offapp::ConnectionPoolOptionsPage::m_xTimeout
private

Definition at line 45 of file connpooloptions.hxx.

Referenced by commitTimeoutField(), and ConnectionPoolOptionsPage().

std::unique_ptr<weld::Label> offapp::ConnectionPoolOptionsPage::m_xTimeoutLabel
private

Definition at line 44 of file connpooloptions.hxx.


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