LibreOffice Module sfx2 (master) 1
|
#include <PanelTitleBar.hxx>
Public Member Functions | |
PanelTitleBar (const OUString &rsTitle, weld::Builder &rBuilder, Panel *pPanel) | |
virtual | ~PanelTitleBar () override |
virtual void | SetTitle (const OUString &rsTitle) override |
virtual OUString | GetTitle () const override |
void | SetMoreOptionsCommand (const OUString &rsCommandName, const css::uno::Reference< css::frame::XFrame > &rxFrame, const css::uno::Reference< css::frame::XController > &rxController) |
void | UpdateExpandedState () |
weld::Expander & | GetExpander () |
const OUString & | GetMoreOptionsCommand () const |
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 |
DECL_LINK (ExpandHdl, weld::Expander &, void) | |
Private Attributes | |
std::unique_ptr< weld::Expander > | mxExpander |
css::uno::Reference< css::frame::XToolbarController > | mxController |
Panel * | mpPanel |
OUString | msIdent |
OUString | msMoreOptionsCommand |
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 31 of file PanelTitleBar.hxx.
sfx2::sidebar::PanelTitleBar::PanelTitleBar | ( | const OUString & | rsTitle, |
weld::Builder & | rBuilder, | ||
Panel * | pPanel | ||
) |
Definition at line 30 of file PanelTitleBar.cxx.
References LINK, mpPanel, mxExpander, sfx2::sidebar::TitleBar::mxTitlebar, sfx2::sidebar::TitleBar::mxToolBox, and UpdateExpandedState().
|
overridevirtual |
Definition at line 68 of file PanelTitleBar.cxx.
References mpPanel, mxController, and mxExpander.
|
private |
|
inline |
Definition at line 46 of file PanelTitleBar.hxx.
References mxExpander.
Referenced by sfx2::sidebar::FocusManager::FocusPanel(), and sfx2::sidebar::FocusManager::GetFocusLocation().
|
inline |
Definition at line 51 of file PanelTitleBar.hxx.
References msMoreOptionsCommand.
|
overridevirtual |
Implements sfx2::sidebar::TitleBar.
Definition at line 58 of file PanelTitleBar.cxx.
References mxExpander.
|
overrideprivatevirtual |
Implements sfx2::sidebar::TitleBar.
Definition at line 106 of file PanelTitleBar.cxx.
References mxController.
void sfx2::sidebar::PanelTitleBar::SetMoreOptionsCommand | ( | const OUString & | rsCommandName, |
const css::uno::Reference< css::frame::XFrame > & | rxFrame, | ||
const css::uno::Reference< css::frame::XController > & | rxController | ||
) |
Definition at line 78 of file PanelTitleBar.cxx.
References sfx2::sidebar::ControllerFactory::CreateToolBoxController(), sfx2::sidebar::TitleBar::mrBuilder, msIdent, msMoreOptionsCommand, mxController, and sfx2::sidebar::TitleBar::mxToolBox.
Referenced by sfx2::sidebar::SidebarController::CreatePanels().
|
overridevirtual |
Implements sfx2::sidebar::TitleBar.
Definition at line 53 of file PanelTitleBar.cxx.
References mxExpander.
void sfx2::sidebar::PanelTitleBar::UpdateExpandedState | ( | ) |
Definition at line 63 of file PanelTitleBar.cxx.
References sfx2::sidebar::Panel::IsExpanded(), mpPanel, and mxExpander.
Referenced by PanelTitleBar().
|
private |
Definition at line 62 of file PanelTitleBar.hxx.
Referenced by PanelTitleBar(), UpdateExpandedState(), and ~PanelTitleBar().
|
private |
Definition at line 63 of file PanelTitleBar.hxx.
Referenced by SetMoreOptionsCommand().
|
private |
Definition at line 64 of file PanelTitleBar.hxx.
Referenced by GetMoreOptionsCommand(), and SetMoreOptionsCommand().
|
private |
Definition at line 60 of file PanelTitleBar.hxx.
Referenced by HandleToolBoxItemClick(), SetMoreOptionsCommand(), and ~PanelTitleBar().
|
private |
Definition at line 58 of file PanelTitleBar.hxx.
Referenced by GetExpander(), GetTitle(), PanelTitleBar(), SetTitle(), UpdateExpandedState(), and ~PanelTitleBar().