#include <QtMenu.hxx>
|
| QtMenu (bool bMenuBar) |
|
virtual bool | VisibleMenuBar () override |
|
virtual void | InsertItem (SalMenuItem *pSalMenuItem, unsigned nPos) override |
|
virtual void | RemoveItem (unsigned nPos) override |
|
virtual void | SetSubMenu (SalMenuItem *pSalMenuItem, SalMenu *pSubMenu, unsigned nPos) override |
|
virtual void | SetFrame (const SalFrame *pFrame) override |
|
const QtFrame * | GetFrame () const |
|
virtual void | ShowMenuBar (bool bVisible) override |
|
virtual bool | ShowNativePopupMenu (FloatingWindow *pWin, const tools::Rectangle &rRect, FloatWinPopupFlags nFlags) override |
|
QtMenu * | GetTopLevel () |
|
virtual void | SetItemBits (unsigned nPos, MenuItemBits nBits) override |
|
virtual void | CheckItem (unsigned nPos, bool bCheck) override |
|
virtual void | EnableItem (unsigned nPos, bool bEnable) override |
|
virtual void | ShowItem (unsigned nPos, bool bShow) override |
|
virtual void | SetItemText (unsigned nPos, SalMenuItem *pSalMenuItem, const OUString &rText) override |
|
virtual void | SetItemImage (unsigned nPos, SalMenuItem *pSalMenuItem, const Image &rImage) override |
|
virtual void | SetAccelerator (unsigned nPos, SalMenuItem *pSalMenuItem, const vcl::KeyCode &rKeyCode, const OUString &rKeyName) override |
|
virtual void | GetSystemMenuData (SystemMenuData *pData) override |
|
virtual void | ShowCloseButton (bool bShow) override |
|
virtual bool | AddMenuBarButton (const SalMenuButtonItem &) override |
|
virtual void | RemoveMenuBarButton (sal_uInt16 nId) override |
|
virtual tools::Rectangle | GetMenuBarButtonRectPixel (sal_uInt16 nId, SalFrame *) override |
|
virtual int | GetMenuBarHeight () const override |
|
void | SetMenu (Menu *pMenu) |
|
Menu * | GetMenu () |
|
unsigned | GetItemCount () const |
|
QtMenuItem * | GetItemAtPos (unsigned nPos) |
|
Definition at line 40 of file qt5/QtMenu.hxx.
◆ QtMenu()
QtMenu::QtMenu |
( |
bool |
bMenuBar | ) |
|
◆ AddMenuBarButton()
◆ adjustButtonSizes()
void QtMenu::adjustButtonSizes |
( |
| ) |
|
|
private |
◆ CheckItem()
virtual void QtMenu::CheckItem |
( |
unsigned |
nPos, |
|
|
bool |
bCheck |
|
) |
| |
|
overridevirtual |
◆ DoFullMenuUpdate()
void QtMenu::DoFullMenuUpdate |
( |
Menu * |
pMenuBar | ) |
|
|
private |
◆ EnableItem()
virtual void QtMenu::EnableItem |
( |
unsigned |
nPos, |
|
|
bool |
bEnable |
|
) |
| |
|
overridevirtual |
◆ GetFrame()
const QtFrame * QtMenu::GetFrame |
( |
| ) |
const |
◆ GetItemAtPos()
QtMenuItem * QtMenu::GetItemAtPos |
( |
unsigned |
nPos | ) |
|
|
inline |
◆ GetItemCount()
unsigned QtMenu::GetItemCount |
( |
| ) |
const |
|
inline |
◆ GetMenu()
Menu * QtMenu::GetMenu |
( |
| ) |
|
|
inline |
◆ GetMenuBarButtonRectPixel()
◆ GetMenuBarHeight()
virtual int QtMenu::GetMenuBarHeight |
( |
| ) |
const |
|
overridevirtual |
◆ GetSystemMenuData()
◆ GetTopLevel()
QtMenu * QtMenu::GetTopLevel |
( |
| ) |
|
◆ ImplAddMenuBarButton()
QPushButton * QtMenu::ImplAddMenuBarButton |
( |
const QIcon & |
rIcon, |
|
|
const QString & |
rToolTip, |
|
|
int |
nId |
|
) |
| |
|
private |
◆ ImplRemoveMenuBarButton()
void QtMenu::ImplRemoveMenuBarButton |
( |
int |
nId | ) |
|
|
private |
◆ InsertItem()
virtual void QtMenu::InsertItem |
( |
SalMenuItem * |
pSalMenuItem, |
|
|
unsigned |
nPos |
|
) |
| |
|
overridevirtual |
◆ InsertMenuItem()
void QtMenu::InsertMenuItem |
( |
QtMenuItem * |
pSalMenuItem, |
|
|
unsigned |
nPos |
|
) |
| |
|
private |
◆ NativeItemText()
static void QtMenu::NativeItemText |
( |
OUString & |
rItemText | ) |
|
|
staticprivate |
◆ ReinitializeActionGroup()
void QtMenu::ReinitializeActionGroup |
( |
unsigned |
nPos | ) |
|
|
private |
◆ RemoveItem()
virtual void QtMenu::RemoveItem |
( |
unsigned |
nPos | ) |
|
|
overridevirtual |
◆ RemoveMenuBarButton()
virtual void QtMenu::RemoveMenuBarButton |
( |
sal_uInt16 |
nId | ) |
|
|
overridevirtual |
◆ ResetAllActionGroups()
void QtMenu::ResetAllActionGroups |
( |
| ) |
|
|
private |
◆ SetAccelerator()
virtual void QtMenu::SetAccelerator |
( |
unsigned |
nPos, |
|
|
SalMenuItem * |
pSalMenuItem, |
|
|
const vcl::KeyCode & |
rKeyCode, |
|
|
const OUString & |
rKeyName |
|
) |
| |
|
overridevirtual |
◆ SetFrame()
virtual void QtMenu::SetFrame |
( |
const SalFrame * |
pFrame | ) |
|
|
overridevirtual |
◆ SetItemBits()
virtual void QtMenu::SetItemBits |
( |
unsigned |
nPos, |
|
|
MenuItemBits |
nBits |
|
) |
| |
|
overridevirtual |
◆ SetItemImage()
virtual void QtMenu::SetItemImage |
( |
unsigned |
nPos, |
|
|
SalMenuItem * |
pSalMenuItem, |
|
|
const Image & |
rImage |
|
) |
| |
|
overridevirtual |
◆ SetItemText()
virtual void QtMenu::SetItemText |
( |
unsigned |
nPos, |
|
|
SalMenuItem * |
pSalMenuItem, |
|
|
const OUString & |
rText |
|
) |
| |
|
overridevirtual |
◆ SetMenu()
void QtMenu::SetMenu |
( |
Menu * |
pMenu | ) |
|
|
inline |
◆ SetSubMenu()
virtual void QtMenu::SetSubMenu |
( |
SalMenuItem * |
pSalMenuItem, |
|
|
SalMenu * |
pSubMenu, |
|
|
unsigned |
nPos |
|
) |
| |
|
overridevirtual |
◆ ShowCloseButton()
virtual void QtMenu::ShowCloseButton |
( |
bool |
bShow | ) |
|
|
overridevirtual |
◆ ShowItem()
virtual void QtMenu::ShowItem |
( |
unsigned |
nPos, |
|
|
bool |
bShow |
|
) |
| |
|
overridevirtual |
◆ ShowMenuBar()
virtual void QtMenu::ShowMenuBar |
( |
bool |
bVisible | ) |
|
|
overridevirtual |
◆ ShowNativePopupMenu()
◆ slotCloseDocument
void QtMenu::slotCloseDocument |
( |
| ) |
|
|
privateslot |
◆ slotMenuAboutToHide
static void QtMenu::slotMenuAboutToHide |
( |
QtMenuItem * |
pQItem | ) |
|
|
staticprivateslot |
◆ slotMenuAboutToShow
static void QtMenu::slotMenuAboutToShow |
( |
QtMenuItem * |
pQItem | ) |
|
|
staticprivateslot |
◆ slotMenuBarButtonClicked
void QtMenu::slotMenuBarButtonClicked |
( |
QAbstractButton * |
| ) |
|
|
privateslot |
◆ slotMenuTriggered
static void QtMenu::slotMenuTriggered |
( |
QtMenuItem * |
pQItem | ) |
|
|
staticprivateslot |
◆ UpdateActionGroupItem()
void QtMenu::UpdateActionGroupItem |
( |
const QtMenuItem * |
pSalMenuItem | ) |
|
|
private |
◆ validateQMenuBar()
bool QtMenu::validateQMenuBar |
( |
| ) |
const |
|
private |
◆ VisibleMenuBar()
virtual bool QtMenu::VisibleMenuBar |
( |
| ) |
|
|
overridevirtual |
◆ m_pButtonGroup
QButtonGroup* QtMenu::m_pButtonGroup |
|
private |
◆ maItems
◆ mbMenuBar
◆ mpFrame
◆ mpOwnedQMenu
std::unique_ptr<QMenu> QtMenu::mpOwnedQMenu |
|
private |
◆ mpParentSalMenu
QtMenu* QtMenu::mpParentSalMenu |
|
private |
◆ mpQMenu
◆ mpQMenuBar
QMenuBar* QtMenu::mpQMenuBar |
|
private |
◆ mpVCLMenu
The documentation for this class was generated from the following file: