LibreOffice Module sfx2 (master) 1
|
SfxChildWindow for positioning the InfoBar in the view. More...
#include <infobar.hxx>
Public Member Functions | |
SfxInfoBarContainerChild (vcl::Window *pParent, sal_uInt16 nId, SfxBindings *pBindings, SfxChildWinInfo *pInfo) | |
virtual | ~SfxInfoBarContainerChild () override |
SFX_DECL_CHILDWINDOW_WITHID (SfxInfoBarContainerChild) | |
void | Update () |
Public Member Functions inherited from SfxChildWindow | |
virtual | ~SfxChildWindow () |
void | Destroy () |
vcl::Window * | GetWindow () const |
void | SetController (std::shared_ptr< SfxDialogController > controller) |
void | ClearController () |
std::shared_ptr< SfxDialogController > & | GetController () |
const std::shared_ptr< SfxDialogController > & | GetController () const |
vcl::Window * | GetParent () const |
SfxChildAlignment | GetAlignment () const |
void | SetAlignment (SfxChildAlignment eAlign) |
virtual void | Hide () |
virtual void | Show (ShowFlags nFlags) |
sal_uInt16 | GetPosition () const |
sal_uInt16 | GetType () const |
virtual SfxChildWinInfo | GetInfo () const |
void | SaveStatus (const SfxChildWinInfo &rInfo) |
void | SetHideNotDelete (bool bOn) |
bool | IsHideNotDelete () const |
bool | IsVisible () const |
void | SetWantsFocus (bool) |
bool | WantsFocus () const |
virtual bool | QueryClose () |
const css::uno::Reference< css::frame::XFrame > & | GetFrame () const |
void | SetFrame (const css::uno::Reference< css::frame::XFrame > &) |
void | SetVisible_Impl (bool bVis) |
SAL_DLLPRIVATE void | SetWorkWindow_Impl (SfxWorkWindow *) |
SAL_DLLPRIVATE void | Activate_Impl () |
SAL_DLLPRIVATE void | SetFactory_Impl (const SfxChildWinFactory *) |
Private Attributes | |
SfxBindings * | m_pBindings |
Additional Inherited Members | |
Static Public Member Functions inherited from SfxChildWindow | |
static void | RegisterChildWindow (SfxModule *, const SfxChildWinFactory &) |
static std::unique_ptr< SfxChildWindow > | CreateChildWindow (sal_uInt16, vcl::Window *, SfxBindings *, SfxChildWinInfo const &) |
static SAL_DLLPRIVATE void | InitializeChildWinFactory_Impl (sal_uInt16, SfxChildWinInfo &) |
Protected Member Functions inherited from SfxChildWindow | |
void | SetWindow (const VclPtr< vcl::Window > &p) |
SfxChildWindow (vcl::Window *pParentWindow, sal_uInt16 nId) | |
SfxChildWindow for positioning the InfoBar in the view.
Definition at line 41 of file infobar.hxx.
SfxInfoBarContainerChild::SfxInfoBarContainerChild | ( | vcl::Window * | pParent, |
sal_uInt16 | nId, | ||
SfxBindings * | pBindings, | ||
SfxChildWinInfo * | pInfo | ||
) |
Definition at line 489 of file infobar.cxx.
References vcl::Window::GetSizePixel(), Size::getWidth(), SfxChildWindow::GetWindow(), LOWESTTOP, nId, SfxChildWindow::SetAlignment(), vcl::Window::SetPosSizePixel(), SfxChildWindow::SetWindow(), and vcl::Window::Show().
|
overridevirtual |
Definition at line 501 of file infobar.cxx.
SfxInfoBarContainerChild::SFX_DECL_CHILDWINDOW_WITHID | ( | SfxInfoBarContainerChild | ) |
References Update.
void SfxInfoBarContainerChild::Update | ( | ) |
Definition at line 509 of file infobar.cxx.
References SfxBindings::GetDispatcher(), SfxDispatcher::GetFrame(), SfxChildWindow::GetWindow(), SfxViewFrame::GetWindow(), vcl::Window::GrabFocusToDocument(), m_pBindings, nId, and SfxViewFrame::ShowChildWindow().
Referenced by SfxInfoBarContainerWindow::removeInfoBar().
|
private |
Definition at line 44 of file infobar.hxx.
Referenced by Update().