LibreOffice Module vcl (master)  1
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
weld::Menu Class Referenceabstract

#include <weld.hxx>

Inheritance diagram for weld::Menu:
[legend]
Collaboration diagram for weld::Menu:
[legend]

Public Member Functions

virtual OString popup_at_rect (weld::Widget *pParent, const tools::Rectangle &rRect)=0
 
void connect_activate (const Link< const OString &, void > &rLink)
 
virtual void set_sensitive (const OString &rIdent, bool bSensitive)=0
 
virtual void set_label (const OString &rIdent, const OUString &rLabel)=0
 
virtual void set_active (const OString &rIdent, bool bActive)=0
 
virtual bool get_active (const OString &rIdent) const =0
 
virtual void set_visible (const OString &rIdent, bool bVisible)=0
 
virtual void insert (int pos, const OUString &rId, const OUString &rStr, const OUString *pIconName, VirtualDevice *pImageSufface, bool bCheck)=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 (const OUString &rId, const OUString &rStr, const OUString &rImage)
 
void append (const OUString &rId, const OUString &rStr, VirtualDevice &rImage)
 
virtual ~Menu ()
 

Protected Member Functions

void signal_activate (const OString &rIdent)
 

Protected Attributes

Link< const OString &, voidm_aActivateHdl
 

Detailed Description

Definition at line 1789 of file weld.hxx.

Constructor & Destructor Documentation

virtual weld::Menu::~Menu ( )
inlinevirtual

Definition at line 1833 of file weld.hxx.

Member Function Documentation

void weld::Menu::append ( const OUString &  rId,
const OUString &  rStr 
)
inline

Definition at line 1816 of file weld.hxx.

void weld::Menu::append ( const OUString &  rId,
const OUString &  rStr,
const OUString &  rImage 
)
inline

Definition at line 1824 of file weld.hxx.

void weld::Menu::append ( const OUString &  rId,
const OUString &  rStr,
VirtualDevice rImage 
)
inline

Definition at line 1828 of file weld.hxx.

void weld::Menu::append_check ( const OUString &  rId,
const OUString &  rStr 
)
inline

Definition at line 1820 of file weld.hxx.

void weld::Menu::append_separator ( const OUString &  rId)
inline

Definition at line 1814 of file weld.hxx.

virtual void weld::Menu::clear ( )
pure virtual

Implemented in SalInstanceMenu.

void weld::Menu::connect_activate ( const Link< const OString &, void > &  rLink)
inline

Definition at line 1799 of file weld.hxx.

virtual bool weld::Menu::get_active ( const OString &  rIdent) const
pure virtual

Implemented in SalInstanceMenu.

virtual void weld::Menu::insert ( int  pos,
const OUString &  rId,
const OUString &  rStr,
const OUString *  pIconName,
VirtualDevice pImageSufface,
bool  bCheck 
)
pure virtual

Implemented in SalInstanceMenu.

virtual void weld::Menu::insert_separator ( int  pos,
const OUString &  rId 
)
pure virtual

Implemented in SalInstanceMenu.

virtual OString weld::Menu::popup_at_rect ( weld::Widget pParent,
const tools::Rectangle rRect 
)
pure virtual

Implemented in SalInstanceMenu.

virtual void weld::Menu::set_active ( const OString &  rIdent,
bool  bActive 
)
pure virtual

Implemented in SalInstanceMenu.

virtual void weld::Menu::set_label ( const OString &  rIdent,
const OUString &  rLabel 
)
pure virtual

Implemented in SalInstanceMenu.

virtual void weld::Menu::set_sensitive ( const OString &  rIdent,
bool  bSensitive 
)
pure virtual

Implemented in SalInstanceMenu.

virtual void weld::Menu::set_visible ( const OString &  rIdent,
bool  bVisible 
)
pure virtual

Implemented in SalInstanceMenu.

void weld::Menu::signal_activate ( const OString &  rIdent)
inlineprotected

Definition at line 1794 of file weld.hxx.

References Link< class, class >::Call().

Member Data Documentation

Link<const OString&, void> weld::Menu::m_aActivateHdl
protected

Definition at line 1792 of file weld.hxx.


The documentation for this class was generated from the following file: