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 (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &_rAttrSet)
 
virtual ~ConnectionPoolOptionsPage () override
 
- Public Member Functions inherited from SfxTabPage
void SetDialogController (SfxOkDialogController *pDialog)
 
virtual ~SfxTabPage () override
 
void set_visible (bool bVisible)
 
const SfxItemSetGetItemSet () const
 
virtual bool FillItemSet (SfxItemSet *)
 
virtual void Reset (const SfxItemSet *)
 
virtual bool DeferResetToFirstActivation ()
 
bool HasExchangeSupport () const
 
void SetExchangeSupport ()
 
virtual void ActivatePage (const SfxItemSet &)
 
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
 
OUString GetHelpId () const
 
OUString GetConfigId () const
 
bool IsVisible () const
 
weld::WindowGetFrameWeld () const
 
std::unordered_map< OUString, css::uno::Any > & getAdditionalProperties ()
 

Static Public Member Functions

static std::unique_ptr< SfxTabPageCreate (weld::Container *pPage, weld::DialogController *pController, 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::Toggleable &, 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 (weld::Container *pPage, weld::DialogController *pController, const OUString &rUIXMLDescription, const OUString &rID, const SfxItemSet *rAttrSet)
 
sal_uInt16 GetWhich (sal_uInt16 nSlot, bool bDeep=true) const
 
TypedWhichId< T > GetWhich (TypedWhichId< T > 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
 

Detailed Description

Definition at line 28 of file connpooloptions.hxx.

Constructor & Destructor Documentation

◆ ConnectionPoolOptionsPage()

offapp::ConnectionPoolOptionsPage::ConnectionPoolOptionsPage ( weld::Container pPage,
weld::DialogController pController,
const SfxItemSet _rAttrSet 
)

◆ ~ConnectionPoolOptionsPage()

offapp::ConnectionPoolOptionsPage::~ConnectionPoolOptionsPage ( )
overridevirtual

Definition at line 124 of file connpooloptions.cxx.

Member Function Documentation

◆ ActivatePage()

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

Reimplemented from SfxTabPage.

Definition at line 184 of file connpooloptions.cxx.

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

◆ commitTimeoutField()

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().

◆ Create()

std::unique_ptr< SfxTabPage > offapp::ConnectionPoolOptionsPage::Create ( weld::Container pPage,
weld::DialogController pController,
const SfxItemSet _rAttrSet 
)
static

Definition at line 128 of file connpooloptions.cxx.

Referenced by CreateGeneralTabPage().

◆ DECL_LINK() [1/3]

offapp::ConnectionPoolOptionsPage::DECL_LINK ( OnDriverRowChanged  ,
weld::TreeView ,
void   
)
private

◆ DECL_LINK() [2/3]

offapp::ConnectionPoolOptionsPage::DECL_LINK ( OnEnabledDisabled  ,
weld::Toggleable ,
void   
)
private

◆ DECL_LINK() [3/3]

offapp::ConnectionPoolOptionsPage::DECL_LINK ( OnSpinValueChanged  ,
weld::SpinButton ,
void   
)
private

◆ FillItemSet()

bool offapp::ConnectionPoolOptionsPage::FillItemSet ( SfxItemSet _rSet)
overrideprivatevirtual

◆ implInitControls()

void offapp::ConnectionPoolOptionsPage::implInitControls ( const SfxItemSet _rSet)
private

◆ isModifiedDriverList()

bool offapp::ConnectionPoolOptionsPage::isModifiedDriverList ( ) const
private

◆ Reset()

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

Reimplemented from SfxTabPage.

Definition at line 190 of file connpooloptions.cxx.

References implInitControls().

◆ saveDriverList()

void offapp::ConnectionPoolOptionsPage::saveDriverList ( )
inlineprivate

Definition at line 58 of file connpooloptions.hxx.

References m_aSavedSettings, and m_aSettings.

Referenced by implInitControls().

◆ updateCurrentRow()

void offapp::ConnectionPoolOptionsPage::updateCurrentRow ( )
private

Definition at line 94 of file connpooloptions.cxx.

References m_xDriverList, and updateRow().

Referenced by commitTimeoutField().

◆ UpdateDriverList()

void offapp::ConnectionPoolOptionsPage::UpdateDriverList ( const DriverPoolingSettings _rSettings)
private

◆ updateRow()

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

◆ m_aSavedSettings

DriverPoolingSettings offapp::ConnectionPoolOptionsPage::m_aSavedSettings
private

Definition at line 33 of file connpooloptions.hxx.

Referenced by isModifiedDriverList(), and saveDriverList().

◆ m_aSettings

DriverPoolingSettings offapp::ConnectionPoolOptionsPage::m_aSettings
private

◆ m_sNo

OUString offapp::ConnectionPoolOptionsPage::m_sNo
private

Definition at line 31 of file connpooloptions.hxx.

Referenced by updateRow().

◆ m_sYes

OUString offapp::ConnectionPoolOptionsPage::m_sYes
private

Definition at line 30 of file connpooloptions.hxx.

Referenced by updateRow().

◆ m_xDriver

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

Definition at line 39 of file connpooloptions.hxx.

◆ m_xDriverLabel

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

Definition at line 38 of file connpooloptions.hxx.

◆ m_xDriverList

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

◆ m_xDriverPoolingEnabled

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

Definition at line 40 of file connpooloptions.hxx.

Referenced by ConnectionPoolOptionsPage().

◆ m_xDriversLabel

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

Definition at line 36 of file connpooloptions.hxx.

◆ m_xEnablePooling

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

Definition at line 35 of file connpooloptions.hxx.

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

◆ m_xTimeout

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

Definition at line 42 of file connpooloptions.hxx.

Referenced by commitTimeoutField(), and ConnectionPoolOptionsPage().

◆ m_xTimeoutLabel

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

Definition at line 41 of file connpooloptions.hxx.


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