LibreOffice Module vcl (master)
1
|
#include <salvtables.hxx>
Public Member Functions | |
SalInstanceMenu (PopupMenu *pMenu, bool bTakeOwnership) | |
virtual OString | popup_at_rect (weld::Widget *pParent, const tools::Rectangle &rRect) override |
virtual void | set_sensitive (const OString &rIdent, bool bSensitive) override |
virtual bool | get_sensitive (const OString &rIdent) const override |
virtual void | set_active (const OString &rIdent, bool bActive) override |
virtual bool | get_active (const OString &rIdent) const override |
virtual void | set_label (const OString &rIdent, const OUString &rLabel) override |
virtual OUString | get_label (const OString &rIdent) const override |
virtual void | set_visible (const OString &rIdent, bool bShow) override |
virtual void | clear () override |
virtual void | insert (int pos, const OUString &rId, const OUString &rStr, const OUString *pIconName, VirtualDevice *pImageSurface, const css::uno::Reference< css::graphic::XGraphic > &rImage, TriState eCheckRadioFalse) override |
virtual void | insert_separator (int pos, const OUString &rId) override |
virtual void | remove (const OString &rId) override |
virtual OString | get_id (int pos) const override |
virtual int | n_children () const override |
PopupMenu * | getMenu () const |
virtual | ~SalInstanceMenu () override |
![]() | |
void | connect_activate (const Link< const OString &, void > &rLink) |
void | append_separator (const OUString &rId) |
void | append (const OUString &rId, const OUString &rStr) |
void | append_check (const OUString &rId, const OUString &rStr) |
void | append_radio (const OUString &rId, const OUString &rStr) |
void | append (const OUString &rId, const OUString &rStr, const OUString &rImage) |
void | append (const OUString &rId, const OUString &rStr, VirtualDevice &rImage) |
virtual | ~Menu () |
Private Member Functions | |
DECL_LINK (SelectMenuHdl,::Menu *, bool) | |
Private Attributes | |
VclPtr< PopupMenu > | m_xMenu |
bool | m_bTakeOwnership |
sal_uInt16 | m_nLastId |
Additional Inherited Members | |
![]() | |
void | signal_activate (const OString &rIdent) |
![]() | |
Link< const OString &, void > | m_aActivateHdl |
Definition at line 135 of file salvtables.hxx.
SalInstanceMenu::SalInstanceMenu | ( | PopupMenu * | pMenu, |
bool | bTakeOwnership | ||
) |
Definition at line 736 of file salvtables.cxx.
References Menu::GetItemCount(), Menu::GetItemId(), LINK, m_nLastId, m_xMenu, nCount, and Menu::SetSelectHdl().
|
overridevirtual |
Definition at line 804 of file salvtables.cxx.
References VclPtr< reference_type >::disposeAndClear(), m_bTakeOwnership, m_xMenu, and Menu::SetSelectHdl().
|
overridevirtual |
Implements weld::Menu.
Definition at line 780 of file salvtables.cxx.
References Menu::Clear(), and m_xMenu.
|
private |
|
overridevirtual |
Implements weld::Menu.
Definition at line 764 of file salvtables.cxx.
References Menu::GetItemId(), Menu::IsItemChecked(), and m_xMenu.
|
overridevirtual |
Implements weld::Menu.
Definition at line 799 of file salvtables.cxx.
References Menu::GetItemId(), Menu::GetItemIdent(), and m_xMenu.
|
overridevirtual |
Implements weld::Menu.
Definition at line 772 of file salvtables.cxx.
References Menu::GetItemId(), Menu::GetItemText(), and m_xMenu.
|
overridevirtual |
Implements weld::Menu.
Definition at line 756 of file salvtables.cxx.
References Menu::GetItemId(), Menu::IsItemEnabled(), and m_xMenu.
PopupMenu * SalInstanceMenu::getMenu | ( | ) | const |
Definition at line 803 of file salvtables.cxx.
References VclPtr< reference_type >::get(), and m_xMenu.
Referenced by SalInstanceComboBox< ComboBox >::set_item_menu(), and SalInstanceToolbar::set_item_menu().
|
overridevirtual |
Implements weld::Menu.
Definition at line 781 of file salvtables.cxx.
Implements weld::Menu.
Definition at line 789 of file salvtables.cxx.
References Menu::InsertSeparator(), m_xMenu, and MENU_APPEND.
|
overridevirtual |
Implements weld::Menu.
Definition at line 798 of file salvtables.cxx.
References Menu::GetItemCount(), and m_xMenu.
|
overridevirtual |
Implements weld::Menu.
Definition at line 744 of file salvtables.cxx.
References assert(), PopupMenu::Execute(), ExecuteDown, Menu::GetCurItemIdent(), SalInstanceWidget::getWidget(), m_xMenu, and NoMouseUpClose.
|
overridevirtual |
Implements weld::Menu.
Definition at line 794 of file salvtables.cxx.
References Menu::GetItemId(), Menu::GetItemPos(), m_xMenu, and Menu::RemoveItem().
|
overridevirtual |
Implements weld::Menu.
Definition at line 760 of file salvtables.cxx.
References Menu::CheckItem(), and m_xMenu.
|
overridevirtual |
Implements weld::Menu.
Definition at line 768 of file salvtables.cxx.
References Menu::GetItemId(), m_xMenu, and Menu::SetItemText().
|
overridevirtual |
Implements weld::Menu.
Definition at line 752 of file salvtables.cxx.
References Menu::EnableItem(), and m_xMenu.
|
overridevirtual |
Implements weld::Menu.
Definition at line 776 of file salvtables.cxx.
References Menu::GetItemId(), m_xMenu, and Menu::ShowItem().
|
private |
Definition at line 140 of file salvtables.hxx.
Referenced by ~SalInstanceMenu().
|
private |
Definition at line 141 of file salvtables.hxx.
Referenced by insert(), and SalInstanceMenu().
Definition at line 138 of file salvtables.hxx.
Referenced by clear(), get_active(), get_id(), get_label(), get_sensitive(), getMenu(), insert(), insert_separator(), n_children(), popup_at_rect(), remove(), SalInstanceMenu(), set_active(), set_label(), set_sensitive(), set_visible(), and ~SalInstanceMenu().