LibreOffice Module sfx2 (master) 1
|
Base class for sidebar panels that provides some convenience functionality. More...
#include <SidebarPanelBase.hxx>
Public Member Functions | |
virtual void SAL_CALL | notifyContextChangeEvent (const css::ui::ContextChangeEventObject &rEvent) override |
virtual void SAL_CALL | disposing (const css::lang::EventObject &rEvent) override |
virtual css::uno::Reference< css::frame::XFrame > SAL_CALL | getFrame () override |
virtual OUString SAL_CALL | getResourceURL () override |
virtual sal_Int16 SAL_CALL | getType () override |
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL | getRealInterface () override |
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL | createAccessible (const css::uno::Reference< css::accessibility::XAccessible > &rxParentAccessible) override |
virtual css::uno::Reference< css::awt::XWindow > SAL_CALL | getWindow () override |
virtual css::ui::LayoutSize SAL_CALL | getHeightForWidth (sal_Int32 nWidth) override |
virtual sal_Int32 SAL_CALL | getMinimalWidth () override |
virtual void SAL_CALL | updateModel (const css::uno::Reference< css::frame::XModel > &xModel) override |
void | SetParentPanel (sfx2::sidebar::Panel *pPanel) |
Public Member Functions inherited from comphelper::WeakComponentImplHelper< typename... Ifc > | |
virtual void SAL_CALL | acquire () noexcept override |
virtual void SAL_CALL | release () noexcept override |
virtual void SAL_CALL | dispose () noexcept final override |
virtual void SAL_CALL | addEventListener (css::uno::Reference< css::lang::XEventListener > const &rxListener) final override |
virtual void SAL_CALL | removeEventListener (css::uno::Reference< css::lang::XEventListener > const &rxListener) final override |
virtual css::uno::Any SAL_CALL | queryInterface (css::uno::Type const &rType) override |
virtual css::uno::Sequence< css::uno::Type > SAL_CALL | getTypes () override |
virtual css::uno::Sequence< sal_Int8 > SAL_CALL | getImplementationId () override |
Public Member Functions inherited from comphelper::WeakComponentImplHelperBase | |
virtual | ~WeakComponentImplHelperBase () override |
virtual void SAL_CALL | dispose () override |
virtual void SAL_CALL | addEventListener (css::uno::Reference< css::lang::XEventListener > const &rxListener) override |
virtual void SAL_CALL | removeEventListener (css::uno::Reference< css::lang::XEventListener > const &rxListener) override |
virtual css::uno::Any SAL_CALL | queryInterface (css::uno::Type const &rType) override |
virtual void | disposing (std::unique_lock< std::mutex > &) |
Public Member Functions inherited from comphelper::UnoImplBase | |
virtual | ~UnoImplBase () |
Static Public Member Functions | |
static css::uno::Reference< css::ui::XUIElement > | Create (const OUString &rsResourceURL, const css::uno::Reference< css::frame::XFrame > &rxFrame, std::unique_ptr< PanelLayout > xControl, const css::ui::LayoutSize &rLayoutSize) |
Private Member Functions | |
SidebarPanelBase (OUString sResourceURL, css::uno::Reference< css::frame::XFrame > xFrame, std::unique_ptr< PanelLayout > xControl, const css::ui::LayoutSize &rLayoutSize) | |
virtual | ~SidebarPanelBase () override |
SidebarPanelBase (const SidebarPanelBase &)=delete | |
SidebarPanelBase & | operator= (const SidebarPanelBase &)=delete |
virtual void | disposing (std::unique_lock< std::mutex > &) override |
Private Attributes | |
css::uno::Reference< css::frame::XFrame > | mxFrame |
std::unique_ptr< PanelLayout > | mxControl |
const OUString | msResourceURL |
const css::ui::LayoutSize | maLayoutSize |
Additional Inherited Members | |
Protected Member Functions inherited from comphelper::WeakComponentImplHelperBase | |
void | throwIfDisposed (std::unique_lock< std::mutex > &) |
Protected Attributes inherited from comphelper::WeakComponentImplHelperBase | |
comphelper::OInterfaceContainerHelper4< css::lang::XEventListener > | maEventListeners |
Protected Attributes inherited from comphelper::UnoImplBase | |
std::mutex | m_aMutex |
bool | m_bDisposed |
Base class for sidebar panels that provides some convenience functionality.
Definition at line 51 of file SidebarPanelBase.hxx.
|
private |
Definition at line 52 of file SidebarPanelBase.cxx.
References mxFrame, and xFrame.
Referenced by Create().
|
overrideprivatevirtual |
Definition at line 71 of file SidebarPanelBase.cxx.
|
privatedelete |
|
static |
Definition at line 37 of file SidebarPanelBase.cxx.
References SidebarPanelBase().
|
overridevirtual |
Definition at line 144 of file SidebarPanelBase.cxx.
|
overridevirtual |
Definition at line 115 of file SidebarPanelBase.cxx.
|
overrideprivatevirtual |
Reimplemented from comphelper::WeakComponentImplHelperBase.
Definition at line 82 of file SidebarPanelBase.cxx.
|
overridevirtual |
Definition at line 124 of file SidebarPanelBase.cxx.
References mxFrame.
|
overridevirtual |
Definition at line 157 of file SidebarPanelBase.cxx.
References Size::Height(), maLayoutSize, and mxControl.
|
overridevirtual |
Definition at line 176 of file SidebarPanelBase.cxx.
References mxControl, and Size::Width().
|
overridevirtual |
Definition at line 139 of file SidebarPanelBase.cxx.
|
overridevirtual |
Definition at line 129 of file SidebarPanelBase.cxx.
References msResourceURL.
|
overridevirtual |
Definition at line 134 of file SidebarPanelBase.cxx.
|
overridevirtual |
Definition at line 151 of file SidebarPanelBase.cxx.
|
overridevirtual |
Definition at line 99 of file SidebarPanelBase.cxx.
References vcl::EnumContext::GetApplicationEnum(), vcl::EnumContext::GetContextEnum(), and mxControl.
|
privatedelete |
void sfx2::sidebar::SidebarPanelBase::SetParentPanel | ( | sfx2::sidebar::Panel * | pPanel | ) |
Definition at line 75 of file SidebarPanelBase.cxx.
References mxControl.
Referenced by sfx2::sidebar::Panel::SetUIElement().
|
overridevirtual |
Definition at line 185 of file SidebarPanelBase.cxx.
|
private |
Definition at line 97 of file SidebarPanelBase.hxx.
Referenced by getHeightForWidth().
|
private |
Definition at line 96 of file SidebarPanelBase.hxx.
Referenced by getResourceURL().
|
private |
Definition at line 95 of file SidebarPanelBase.hxx.
Referenced by disposing(), getHeightForWidth(), getMinimalWidth(), notifyContextChangeEvent(), SetParentPanel(), and updateModel().
|
private |
Definition at line 94 of file SidebarPanelBase.hxx.
Referenced by disposing(), getFrame(), and SidebarPanelBase().