LibreOffice Module vcl (master) 1
|
#include <salvtables.hxx>
Public Member Functions | |
SalInstanceMenu (PopupMenu *pMenu, bool bTakeOwnership) | |
virtual OUString | popup_at_rect (weld::Widget *pParent, const tools::Rectangle &rRect, weld::Placement ePlace=weld::Placement::Under) override |
virtual void | set_sensitive (const OUString &rIdent, bool bSensitive) override |
virtual bool | get_sensitive (const OUString &rIdent) const override |
virtual void | set_active (const OUString &rIdent, bool bActive) override |
virtual bool | get_active (const OUString &rIdent) const override |
virtual void | set_label (const OUString &rIdent, const OUString &rLabel) override |
virtual OUString | get_label (const OUString &rIdent) const override |
virtual void | set_visible (const OUString &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 | set_item_help_id (const OUString &rIdent, const OUString &rHelpId) override |
virtual void | remove (const OUString &rId) override |
virtual OUString | get_id (int pos) const override |
virtual int | n_children () const override |
PopupMenu * | getMenu () const |
virtual | ~SalInstanceMenu () override |
Public Member Functions inherited from weld::Menu | |
virtual OUString | popup_at_rect (weld::Widget *pParent, const tools::Rectangle &rRect, Placement ePlace=Placement::Under)=0 |
void | connect_activate (const Link< const OUString &, void > &rLink) |
virtual void | set_sensitive (const OUString &rIdent, bool bSensitive)=0 |
virtual bool | get_sensitive (const OUString &rIdent) const =0 |
virtual void | set_label (const OUString &rIdent, const OUString &rLabel)=0 |
virtual OUString | get_label (const OUString &rIdent) const =0 |
virtual void | set_active (const OUString &rIdent, bool bActive)=0 |
virtual bool | get_active (const OUString &rIdent) const =0 |
virtual void | set_visible (const OUString &rIdent, bool bVisible)=0 |
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)=0 |
virtual void | set_item_help_id (const OUString &rIdent, const OUString &rHelpId)=0 |
virtual void | remove (const OUString &rId)=0 |
virtual void | clear ()=0 |
virtual void | insert_separator (int pos, const OUString &rId)=0 |
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 int | n_children () const =0 |
virtual OUString | get_id (int pos) const =0 |
virtual | ~Menu () |
Private Member Functions | |
DECL_DLLPRIVATE_LINK (SelectMenuHdl, ::Menu *, bool) | |
Private Attributes | |
VclPtr< PopupMenu > | m_xMenu |
bool | m_bTakeOwnership |
sal_uInt16 | m_nLastId |
Additional Inherited Members | |
Protected Member Functions inherited from weld::Menu | |
void | signal_activate (const OUString &rIdent) |
Definition at line 145 of file salvtables.hxx.
SalInstanceMenu::SalInstanceMenu | ( | PopupMenu * | pMenu, |
bool | bTakeOwnership | ||
) |
Definition at line 900 of file salvtables.cxx.
References Menu::GetItemCount(), Menu::GetItemId(), LINK, m_nLastId, m_xMenu, nCount, and Menu::SetSelectHdl().
|
overridevirtual |
Definition at line 980 of file salvtables.cxx.
References VclPtr< reference_type >::disposeAndClear(), m_bTakeOwnership, m_xMenu, and Menu::SetSelectHdl().
|
overridevirtual |
Implements weld::Menu.
Definition at line 949 of file salvtables.cxx.
References Menu::Clear(), and m_xMenu.
|
private |
|
overridevirtual |
Implements weld::Menu.
Definition at line 933 of file salvtables.cxx.
References Menu::GetItemId(), Menu::IsItemChecked(), and m_xMenu.
|
overridevirtual |
Implements weld::Menu.
Definition at line 975 of file salvtables.cxx.
References Menu::GetItemId(), Menu::GetItemIdent(), m_xMenu, and pos.
|
overridevirtual |
Implements weld::Menu.
Definition at line 941 of file salvtables.cxx.
References Menu::GetItemId(), Menu::GetItemText(), and m_xMenu.
|
overridevirtual |
Implements weld::Menu.
Definition at line 925 of file salvtables.cxx.
References Menu::GetItemId(), Menu::IsItemEnabled(), and m_xMenu.
PopupMenu * SalInstanceMenu::getMenu | ( | ) | const |
Definition at line 979 of file salvtables.cxx.
References VclPtr< reference_type >::get(), and m_xMenu.
Referenced by SalInstanceComboBox< vcl_type >::set_item_menu(), and SalInstanceToolbar::set_item_menu().
|
overridevirtual |
Implements weld::Menu.
Definition at line 950 of file salvtables.cxx.
|
overridevirtual |
Implements weld::Menu.
Definition at line 958 of file salvtables.cxx.
References Menu::InsertSeparator(), m_xMenu, MENU_APPEND, and pos.
|
overridevirtual |
Implements weld::Menu.
Definition at line 974 of file salvtables.cxx.
References Menu::GetItemCount(), and m_xMenu.
|
overridevirtual |
Implements weld::Menu.
Definition at line 908 of file salvtables.cxx.
References PopupMenu::Execute(), ExecuteDown, ExecuteRight, Menu::GetCurItemIdent(), SalInstanceWidget::getWidget(), m_xMenu, NoMouseUpClose, and weld::Under.
|
overridevirtual |
Implements weld::Menu.
Definition at line 970 of file salvtables.cxx.
References Menu::GetItemId(), Menu::GetItemPos(), m_xMenu, and Menu::RemoveItem().
|
overridevirtual |
Implements weld::Menu.
Definition at line 929 of file salvtables.cxx.
References Menu::CheckItem(), and m_xMenu.
|
overridevirtual |
Implements weld::Menu.
Definition at line 965 of file salvtables.cxx.
References Menu::GetItemId(), m_xMenu, and Menu::SetHelpId().
|
overridevirtual |
Implements weld::Menu.
Definition at line 937 of file salvtables.cxx.
References Menu::GetItemId(), m_xMenu, and Menu::SetItemText().
|
overridevirtual |
Implements weld::Menu.
Definition at line 921 of file salvtables.cxx.
References Menu::EnableItem(), and m_xMenu.
|
overridevirtual |
Implements weld::Menu.
Definition at line 945 of file salvtables.cxx.
References Menu::GetItemId(), m_xMenu, and Menu::ShowItem().
|
private |
Definition at line 150 of file salvtables.hxx.
Referenced by ~SalInstanceMenu().
|
private |
Definition at line 151 of file salvtables.hxx.
Referenced by insert(), and SalInstanceMenu().
Definition at line 148 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_item_help_id(), set_label(), set_sensitive(), set_visible(), and ~SalInstanceMenu().