|
LibreOffice Module sfx2 (master) 1
|
#include <DeckTitleBar.hxx>
Public Member Functions | |
| DeckTitleBar (const OUString &rsTitle, weld::Builder &rBuilder, std::function< void()> aCloserAction) | |
| virtual | ~DeckTitleBar () override |
| virtual void | SetTitle (const OUString &rsTitle) override |
| virtual OUString | GetTitle () const override |
| void | SetCloserVisible (const bool bIsCloserVisible) |
| tools::Rectangle | GetDragArea () const |
| virtual void | DataChanged () override |
Public Member Functions inherited from sfx2::sidebar::TitleBar | |
| TitleBar (weld::Builder &rBuilder, Theme::ThemeItem eThemeItem) | |
| virtual | ~TitleBar () |
| virtual void | SetTitle (const OUString &rsTitle)=0 |
| virtual OUString | GetTitle () const =0 |
| virtual void | DataChanged () |
| void | Show (bool bShow) |
| bool | GetVisible () const |
| Size | get_preferred_size () const |
| void | SetIcon (const css::uno::Reference< css::graphic::XGraphic > &rIcon) |
| weld::Toolbar & | GetToolBox () |
| const weld::Toolbar & | GetToolBox () const |
Private Member Functions | |
| virtual void | HandleToolBoxItemClick () override |
Private Attributes | |
| std::unique_ptr< GripWidget > | mxGripWidget |
| std::unique_ptr< weld::CustomWeld > | mxGripWeld |
| std::unique_ptr< weld::Label > | mxLabel |
| const std::function< void()> | maCloserAction |
| bool | mbIsCloserVisible |
Additional Inherited Members | |
Protected Member Functions inherited from sfx2::sidebar::TitleBar | |
| virtual void | HandleToolBoxItemClick ()=0 |
| DECL_LINK (SelectionHandler, const OUString &, void) | |
Protected Attributes inherited from sfx2::sidebar::TitleBar | |
| weld::Builder & | mrBuilder |
| std::unique_ptr< weld::Box > | mxTitlebar |
| std::unique_ptr< weld::Image > | mxAddonImage |
| std::unique_ptr< weld::Toolbar > | mxToolBox |
| Theme::ThemeItem | meThemeItem |
Definition at line 29 of file DeckTitleBar.hxx.
| sfx2::sidebar::DeckTitleBar::DeckTitleBar | ( | const OUString & | rsTitle, |
| weld::Builder & | rBuilder, | ||
| std::function< void()> | aCloserAction | ||
| ) |
Definition at line 62 of file DeckTitleBar.cxx.
References maCloserAction, mxGripWidget, mxLabel, mxLabel, and SetCloserVisible().
|
overridevirtual |
Definition at line 79 of file DeckTitleBar.cxx.
|
overridevirtual |
Reimplemented from sfx2::sidebar::TitleBar.
Definition at line 117 of file DeckTitleBar.cxx.
References sfx2::sidebar::TitleBar::DataChanged(), and sfx2::sidebar::TitleBar::mxToolBox.
| tools::Rectangle sfx2::sidebar::DeckTitleBar::GetDragArea | ( | ) | const |
Definition at line 83 of file DeckTitleBar.cxx.
References mxGripWidget, sfx2::sidebar::TitleBar::mxTitlebar, x, and y.
|
overridevirtual |
Implements sfx2::sidebar::TitleBar.
Definition at line 96 of file DeckTitleBar.cxx.
References mxLabel.
|
overrideprivatevirtual |
Implements sfx2::sidebar::TitleBar.
Definition at line 111 of file DeckTitleBar.cxx.
References maCloserAction.
| void sfx2::sidebar::DeckTitleBar::SetCloserVisible | ( | const bool | bIsCloserVisible | ) |
Definition at line 101 of file DeckTitleBar.cxx.
References mbIsCloserVisible, and sfx2::sidebar::TitleBar::mxToolBox.
Referenced by DeckTitleBar(), and sfx2::sidebar::SidebarController::NotifyResize().
|
overridevirtual |
Implements sfx2::sidebar::TitleBar.
Definition at line 91 of file DeckTitleBar.cxx.
References mxLabel.
Referenced by sfx2::sidebar::SidebarController::SwitchToDeck().
|
private |
Definition at line 51 of file DeckTitleBar.hxx.
Referenced by DeckTitleBar(), and HandleToolBoxItemClick().
|
private |
Definition at line 52 of file DeckTitleBar.hxx.
Referenced by SetCloserVisible().
|
private |
Definition at line 48 of file DeckTitleBar.hxx.
|
private |
Definition at line 47 of file DeckTitleBar.hxx.
Referenced by DeckTitleBar(), and GetDragArea().
|
private |
Definition at line 49 of file DeckTitleBar.hxx.
Referenced by DeckTitleBar(), GetTitle(), and SetTitle().