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

#include <browserview.hxx>

Collaboration diagram for pcr::OPropertyBrowserView:
[legend]

Public Member Functions

 OPropertyBrowserView (const css::uno::Reference< css::uno::XComponentContext > &rContext, weld::Builder &rBuilder)
 
 ~OPropertyBrowserView ()
 
OPropertyEditorgetPropertyBox ()
 
sal_uInt16 getActivePage () const
 
void activatePage (sal_uInt16 _nPage)
 
void setPageActivationHandler (const Link< LinkParamNone *, void > &_rHdl)
 
css::awt::Size getMinimumSize () const
 

Private Member Functions

 DECL_LINK (OnPageActivation, const OUString &, void)
 

Private Attributes

std::unique_ptr< OPropertyEditor, o3tl::default_delete< OPropertyEditor > > m_xPropBox
 
sal_uInt16 m_nActivePage
 
Link< LinkParamNone *, void > m_aPageActivationHandler
 

Detailed Description

Definition at line 30 of file browserview.hxx.

Constructor & Destructor Documentation

◆ OPropertyBrowserView()

pcr::OPropertyBrowserView::OPropertyBrowserView ( const css::uno::Reference< css::uno::XComponentContext > &  rContext,
weld::Builder rBuilder 
)
explicit

Definition at line 30 of file browserview.cxx.

References HID_FM_PROPDLG_TABCTR, LINK, and m_xPropBox.

◆ ~OPropertyBrowserView()

pcr::OPropertyBrowserView::~OPropertyBrowserView ( )

Definition at line 44 of file browserview.cxx.

References m_nActivePage, and m_xPropBox.

Member Function Documentation

◆ activatePage()

void pcr::OPropertyBrowserView::activatePage ( sal_uInt16  _nPage)

Definition at line 51 of file browserview.cxx.

References getPropertyBox(), m_nActivePage, and pcr::OPropertyEditor::SetPage().

◆ DECL_LINK()

pcr::OPropertyBrowserView::DECL_LINK ( OnPageActivation  ,
const OUString &  ,
void   
)
private

◆ getActivePage()

sal_uInt16 pcr::OPropertyBrowserView::getActivePage ( ) const
inline

Definition at line 43 of file browserview.hxx.

References m_nActivePage.

◆ getMinimumSize()

css::awt::Size pcr::OPropertyBrowserView::getMinimumSize ( ) const

Definition at line 57 of file browserview.cxx.

References Size::Height(), m_xPropBox, and Size::Width().

◆ getPropertyBox()

OPropertyEditor & pcr::OPropertyBrowserView::getPropertyBox ( )
inline

Definition at line 40 of file browserview.hxx.

References m_xPropBox.

Referenced by activatePage().

◆ setPageActivationHandler()

void pcr::OPropertyBrowserView::setPageActivationHandler ( const Link< LinkParamNone *, void > &  _rHdl)
inline

Definition at line 46 of file browserview.hxx.

References m_aPageActivationHandler.

Member Data Documentation

◆ m_aPageActivationHandler

Link<LinkParamNone*,void> pcr::OPropertyBrowserView::m_aPageActivationHandler
private

Definition at line 34 of file browserview.hxx.

Referenced by setPageActivationHandler().

◆ m_nActivePage

sal_uInt16 pcr::OPropertyBrowserView::m_nActivePage
private

Definition at line 33 of file browserview.hxx.

Referenced by activatePage(), getActivePage(), and ~OPropertyBrowserView().

◆ m_xPropBox

std::unique_ptr<OPropertyEditor, o3tl::default_delete<OPropertyEditor> > pcr::OPropertyBrowserView::m_xPropBox
private

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