LibreOffice Module vcl (master) 1
|
#include <salmenu.hxx>
Public Member Functions | |
virtual | ~SalMenu () |
virtual bool | HasNativeMenuBar ()=0 |
Return true, if the implementation supports a native menu bar (or wants to suppress LO's menu bar, like on Mac). More... | |
virtual int | GetMenuBarHeight () const |
Return the height of the native menu bar. More... | |
virtual void | ShowMenuBar (bool) |
Change visibility of the native menu bar. More... | |
virtual void | InsertItem (SalMenuItem *pSalMenuItem, unsigned nPos)=0 |
virtual void | RemoveItem (unsigned nPos)=0 |
virtual void | SetSubMenu (SalMenuItem *pSalMenuItem, SalMenu *pSubMenu, unsigned nPos)=0 |
virtual void | SetFrame (const SalFrame *pFrame)=0 |
virtual void | SetItemBits (unsigned, MenuItemBits) |
virtual void | CheckItem (unsigned nPos, bool bCheck)=0 |
virtual void | EnableItem (unsigned nPos, bool bEnable)=0 |
virtual void | SetItemText (unsigned nPos, SalMenuItem *pSalMenuItem, const OUString &rText)=0 |
virtual void | SetItemImage (unsigned nPos, SalMenuItem *pSalMenuItem, const Image &rImage)=0 |
virtual void | SetAccelerator (unsigned nPos, SalMenuItem *pSalMenuItem, const vcl::KeyCode &rKeyCode, const OUString &rKeyName)=0 |
virtual void | GetSystemMenuData (SystemMenuData *pData)=0 |
virtual bool | ShowNativePopupMenu (FloatingWindow *pWin, const tools::Rectangle &rRect, FloatWinPopupFlags nFlags) |
virtual void | ShowCloseButton (bool bShow) |
virtual bool | AddMenuBarButton (const SalMenuButtonItem &) |
virtual void | RemoveMenuBarButton (sal_uInt16 nId) |
virtual void | Update () |
virtual bool | CanGetFocus () const |
virtual bool | TakeFocus () |
virtual void | ShowItem (unsigned nPos, bool bShow) |
virtual tools::Rectangle | GetMenuBarButtonRectPixel (sal_uInt16 i_nItemId, SalFrame *i_pReferenceFrame) |
virtual void | ApplyPersona () |
Definition at line 58 of file salmenu.hxx.
|
virtual |
Definition at line 218 of file salvtables.cxx.
|
virtual |
Reimplemented in AquaSalMenu, QtMenu, and GtkSalMenu.
Definition at line 227 of file salvtables.cxx.
|
virtual |
Reimplemented in GtkSalMenu.
Definition at line 240 of file salvtables.cxx.
Referenced by MenuBarWindow::ApplySettings().
|
inlinevirtual |
Reimplemented in GtkSalMenu.
Definition at line 92 of file salmenu.hxx.
Referenced by MenuBarWindow::CanGetFocus(), and MenuBar::ImplHandleKeyEvent().
|
pure virtual |
Implemented in AquaSalMenu, QtMenu, GtkSalMenu, and WinSalMenu.
Referenced by Menu::CheckItem().
|
pure virtual |
Implemented in AquaSalMenu, QtMenu, GtkSalMenu, and WinSalMenu.
Referenced by Menu::EnableItem().
|
virtual |
Reimplemented in AquaSalMenu, GtkSalMenu, and QtMenu.
Definition at line 231 of file salvtables.cxx.
|
virtual |
Return the height of the native menu bar.
Must return 0, if it's hidden.
Reimplemented in QtMenu.
Definition at line 236 of file salvtables.cxx.
Referenced by MenuBar::GetMenuBarHeight(), and MenuBarWindow::LayoutChanged().
|
pure virtual |
Implemented in AquaSalMenu, QtMenu, GtkSalMenu, and WinSalMenu.
Referenced by Menu::GetSystemMenuData().
|
pure virtual |
Return true, if the implementation supports a native menu bar (or wants to suppress LO's menu bar, like on Mac).
You might need to implement the matching SalFrame::SetMenu.
Implemented in AquaSalMenu, QtMenu, GtkSalMenu, and WinSalMenu.
Referenced by MenuBar::ImplHandleKeyEvent(), and MenuBarWindow::SetMenu().
|
pure virtual |
Implemented in AquaSalMenu, QtMenu, GtkSalMenu, and WinSalMenu.
Referenced by Menu::InsertSeparator(), and Menu::NbcInsertItem().
|
pure virtual |
Implemented in AquaSalMenu, QtMenu, GtkSalMenu, and WinSalMenu.
Referenced by Menu::Deactivate(), and Menu::RemoveItem().
|
virtual |
Reimplemented in AquaSalMenu, QtMenu, and GtkSalMenu.
Definition at line 229 of file salvtables.cxx.
|
pure virtual |
Implemented in AquaSalMenu, QtMenu, GtkSalMenu, and WinSalMenu.
Referenced by Menu::SetAccelKey().
|
pure virtual |
Implemented in AquaSalMenu, QtMenu, GtkSalMenu, and WinSalMenu.
Referenced by MenuBarWindow::SetMenu().
|
inlinevirtual |
Reimplemented in QtMenu.
Definition at line 79 of file salmenu.hxx.
Referenced by Menu::SetItemBits().
|
pure virtual |
Implemented in AquaSalMenu, QtMenu, GtkSalMenu, and WinSalMenu.
Referenced by Menu::SetItemImage().
|
pure virtual |
Implemented in AquaSalMenu, QtMenu, GtkSalMenu, and WinSalMenu.
Referenced by Menu::SetItemText().
|
pure virtual |
Implemented in AquaSalMenu, QtMenu, GtkSalMenu, and WinSalMenu.
Referenced by Menu::SetPopupMenu().
|
virtual |
Reimplemented in QtMenu, and GtkSalMenu.
Definition at line 225 of file salvtables.cxx.
|
inlinevirtual |
Reimplemented in QtMenu, and GtkSalMenu.
Definition at line 96 of file salmenu.hxx.
References nPos.
Referenced by Menu::ShowItem().
|
virtual |
Change visibility of the native menu bar.
Reimplemented in QtMenu, and GtkSalMenu.
Definition at line 238 of file salvtables.cxx.
Referenced by MenuBar::SetDisplayable(), and MenuBarWindow::SetMenu().
|
virtual |
Reimplemented in AquaSalMenu, QtMenu, and GtkSalMenu.
Definition at line 220 of file salvtables.cxx.
Referenced by PopupMenu::Run().
|
inlinevirtual |
Reimplemented in GtkSalMenu.
Definition at line 93 of file salmenu.hxx.
Referenced by MenuBarWindow::GetFocus().
|
inlinevirtual |
Reimplemented in GtkSalMenu.
Definition at line 90 of file salmenu.hxx.
Referenced by Menu::UpdateNativeMenu().