LibreOffice Module vcl (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
MenuBarUpdateIconManager Class Reference

#include <menubarupdateicon.hxx>

Collaboration diagram for MenuBarUpdateIconManager:
[legend]

Public Member Functions

 MenuBarUpdateIconManager ()
 
 ~MenuBarUpdateIconManager ()
 
void SetShowMenuIcon (bool bShowMenuIcon)
 
void SetShowBubble (bool bShowBubble)
 
void SetBubbleImage (const Image &rImage)
 
void SetBubbleTitle (const OUString &rTitle)
 
void SetBubbleText (const OUString &rText)
 
void SetClickHdl (const Link< LinkParamNone *, void > &rHdl)
 
bool GetShowMenuIcon () const
 
bool GetShowBubble () const
 
const OUString & GetBubbleTitle () const
 
const OUString & GetBubbleText () const
 
void RemoveBubbleWindow ()
 

Private Member Functions

 DECL_DLLPRIVATE_LINK (UserEventHdl, void *, void)
 
 DECL_DLLPRIVATE_LINK (TimeOutHdl, Timer *, void)
 
 DECL_DLLPRIVATE_LINK (WindowEventHdl, VclWindowEvent &, void)
 
 DECL_DLLPRIVATE_LINK (ApplicationEventHdl, VclSimpleEvent &, void)
 
 DECL_DLLPRIVATE_LINK (WaitTimeOutHdl, Timer *, void)
 
 DECL_DLLPRIVATE_LINK (ClickHdl, MenuBarButtonCallbackArg &, bool)
 
 DECL_DLLPRIVATE_LINK (HighlightHdl, MenuBarButtonCallbackArg &, bool)
 
VclPtr< BubbleWindowGetBubbleWindow ()
 
void SetBubbleChanged ()
 
sal_uInt16 GetIconID (MenuBar *pMenuBar) const
 
void AddMenuBarIcon (SystemWindow &rSysWin, bool bAddEventHdl)
 
void RemoveMenuBarIcon (MenuBar *pMenuBar)
 
void RemoveMenuBarIcons ()
 

Private Attributes

OUString maBubbleTitle
 
OUString maBubbleText
 
Image maBubbleImage
 
VclPtr< BubbleWindowmpBubbleWin
 
VclPtr< SystemWindowmpActiveSysWin
 
VclPtr< MenuBarmpActiveMBar
 
std::vector< VclPtr< MenuBar > > maIconMBars
 
std::vector< sal_uInt16 > maIconIDs
 
Link< VclWindowEvent &, void > maWindowEventHdl
 
Link< VclSimpleEvent &, void > maApplicationEventHdl
 
Link< LinkParamNone *, void > maClickHdl
 
Timer maTimeoutTimer
 
Idle maWaitIdle
 
bool mbShowMenuIcon
 
bool mbShowBubble
 
bool mbBubbleChanged
 

Detailed Description

Definition at line 33 of file menubarupdateicon.hxx.

Constructor & Destructor Documentation

◆ MenuBarUpdateIconManager()

MenuBarUpdateIconManager::MenuBarUpdateIconManager ( )

◆ ~MenuBarUpdateIconManager()

MenuBarUpdateIconManager::~MenuBarUpdateIconManager ( )

Member Function Documentation

◆ AddMenuBarIcon()

void MenuBarUpdateIconManager::AddMenuBarIcon ( SystemWindow rSysWin,
bool  bAddEventHdl 
)
private

◆ DECL_DLLPRIVATE_LINK() [1/7]

MenuBarUpdateIconManager::DECL_DLLPRIVATE_LINK ( ApplicationEventHdl  ,
VclSimpleEvent ,
void   
)
private

◆ DECL_DLLPRIVATE_LINK() [2/7]

MenuBarUpdateIconManager::DECL_DLLPRIVATE_LINK ( ClickHdl  ,
MenuBarButtonCallbackArg ,
bool   
)
private

◆ DECL_DLLPRIVATE_LINK() [3/7]

MenuBarUpdateIconManager::DECL_DLLPRIVATE_LINK ( HighlightHdl  ,
MenuBarButtonCallbackArg ,
bool   
)
private

◆ DECL_DLLPRIVATE_LINK() [4/7]

MenuBarUpdateIconManager::DECL_DLLPRIVATE_LINK ( TimeOutHdl  ,
Timer ,
void   
)
private

◆ DECL_DLLPRIVATE_LINK() [5/7]

MenuBarUpdateIconManager::DECL_DLLPRIVATE_LINK ( UserEventHdl  ,
void *  ,
void   
)
private

◆ DECL_DLLPRIVATE_LINK() [6/7]

MenuBarUpdateIconManager::DECL_DLLPRIVATE_LINK ( WaitTimeOutHdl  ,
Timer ,
void   
)
private

◆ DECL_DLLPRIVATE_LINK() [7/7]

MenuBarUpdateIconManager::DECL_DLLPRIVATE_LINK ( WindowEventHdl  ,
VclWindowEvent ,
void   
)
private

◆ GetBubbleText()

const OUString & MenuBarUpdateIconManager::GetBubbleText ( ) const
inline

Definition at line 88 of file menubarupdateicon.hxx.

◆ GetBubbleTitle()

const OUString & MenuBarUpdateIconManager::GetBubbleTitle ( ) const
inline

Definition at line 87 of file menubarupdateicon.hxx.

◆ GetBubbleWindow()

VclPtr< BubbleWindow > MenuBarUpdateIconManager::GetBubbleWindow ( )
private

◆ GetIconID()

sal_uInt16 MenuBarUpdateIconManager::GetIconID ( MenuBar pMenuBar) const
private

Definition at line 237 of file bubblewindow.cxx.

References maIconIDs, and maIconMBars.

Referenced by AddMenuBarIcon(), and GetBubbleWindow().

◆ GetShowBubble()

bool MenuBarUpdateIconManager::GetShowBubble ( ) const
inline

Definition at line 86 of file menubarupdateicon.hxx.

◆ GetShowMenuIcon()

bool MenuBarUpdateIconManager::GetShowMenuIcon ( ) const
inline

Definition at line 85 of file menubarupdateicon.hxx.

◆ RemoveBubbleWindow()

void MenuBarUpdateIconManager::RemoveBubbleWindow ( )

◆ RemoveMenuBarIcon()

void MenuBarUpdateIconManager::RemoveMenuBarIcon ( MenuBar pMenuBar)
private

Definition at line 564 of file bubblewindow.cxx.

References maIconIDs, maIconMBars, and MenuBar::RemoveMenuBarButton().

Referenced by RemoveMenuBarIcons().

◆ RemoveMenuBarIcons()

void MenuBarUpdateIconManager::RemoveMenuBarIcons ( )
private

Definition at line 419 of file bubblewindow.cxx.

References maIconMBars, and RemoveMenuBarIcon().

Referenced by SetShowMenuIcon(), and ~MenuBarUpdateIconManager().

◆ SetBubbleChanged()

void MenuBarUpdateIconManager::SetBubbleChanged ( )
private

Definition at line 449 of file bubblewindow.cxx.

References mbBubbleChanged, mpBubbleWin, and BubbleWindow::Show().

Referenced by SetBubbleImage(), SetBubbleText(), and SetBubbleTitle().

◆ SetBubbleImage()

void MenuBarUpdateIconManager::SetBubbleImage ( const Image rImage)

Definition at line 456 of file bubblewindow.cxx.

References maBubbleImage, and SetBubbleChanged().

◆ SetBubbleText()

void MenuBarUpdateIconManager::SetBubbleText ( const OUString &  rText)

Definition at line 471 of file bubblewindow.cxx.

References maBubbleText, and SetBubbleChanged().

◆ SetBubbleTitle()

void MenuBarUpdateIconManager::SetBubbleTitle ( const OUString &  rTitle)

Definition at line 462 of file bubblewindow.cxx.

References maBubbleTitle, and SetBubbleChanged().

◆ SetClickHdl()

void MenuBarUpdateIconManager::SetClickHdl ( const Link< LinkParamNone *, void > &  rHdl)
inline

Definition at line 83 of file menubarupdateicon.hxx.

◆ SetShowBubble()

void MenuBarUpdateIconManager::SetShowBubble ( bool  bShowBubble)

◆ SetShowMenuIcon()

void MenuBarUpdateIconManager::SetShowMenuIcon ( bool  bShowMenuIcon)

Member Data Documentation

◆ maApplicationEventHdl

Link<VclSimpleEvent&, void> MenuBarUpdateIconManager::maApplicationEventHdl
private

Definition at line 46 of file menubarupdateicon.hxx.

Referenced by MenuBarUpdateIconManager(), and ~MenuBarUpdateIconManager().

◆ maBubbleImage

Image MenuBarUpdateIconManager::maBubbleImage
private

Definition at line 38 of file menubarupdateicon.hxx.

Referenced by GetBubbleWindow(), and SetBubbleImage().

◆ maBubbleText

OUString MenuBarUpdateIconManager::maBubbleText
private

Definition at line 37 of file menubarupdateicon.hxx.

Referenced by AddMenuBarIcon(), GetBubbleWindow(), and SetBubbleText().

◆ maBubbleTitle

OUString MenuBarUpdateIconManager::maBubbleTitle
private

Definition at line 36 of file menubarupdateicon.hxx.

Referenced by AddMenuBarIcon(), GetBubbleWindow(), and SetBubbleTitle().

◆ maClickHdl

Link<LinkParamNone*, void> MenuBarUpdateIconManager::maClickHdl
private

Definition at line 47 of file menubarupdateicon.hxx.

◆ maIconIDs

std::vector<sal_uInt16> MenuBarUpdateIconManager::maIconIDs
private

Definition at line 43 of file menubarupdateicon.hxx.

Referenced by AddMenuBarIcon(), GetIconID(), and RemoveMenuBarIcon().

◆ maIconMBars

std::vector<VclPtr<MenuBar> > MenuBarUpdateIconManager::maIconMBars
private

◆ maTimeoutTimer

Timer MenuBarUpdateIconManager::maTimeoutTimer
private

◆ maWaitIdle

Idle MenuBarUpdateIconManager::maWaitIdle
private

Definition at line 50 of file menubarupdateicon.hxx.

Referenced by MenuBarUpdateIconManager(), and RemoveBubbleWindow().

◆ maWindowEventHdl

Link<VclWindowEvent&, void> MenuBarUpdateIconManager::maWindowEventHdl
private

Definition at line 45 of file menubarupdateicon.hxx.

Referenced by AddMenuBarIcon(), and MenuBarUpdateIconManager().

◆ mbBubbleChanged

bool MenuBarUpdateIconManager::mbBubbleChanged
private

Definition at line 54 of file menubarupdateicon.hxx.

Referenced by GetBubbleWindow(), and SetBubbleChanged().

◆ mbShowBubble

bool MenuBarUpdateIconManager::mbShowBubble
private

Definition at line 53 of file menubarupdateicon.hxx.

Referenced by AddMenuBarIcon(), and SetShowBubble().

◆ mbShowMenuIcon

bool MenuBarUpdateIconManager::mbShowMenuIcon
private

Definition at line 52 of file menubarupdateicon.hxx.

Referenced by AddMenuBarIcon(), and SetShowMenuIcon().

◆ mpActiveMBar

VclPtr<MenuBar> MenuBarUpdateIconManager::mpActiveMBar
private

Definition at line 41 of file menubarupdateicon.hxx.

Referenced by AddMenuBarIcon(), and GetBubbleWindow().

◆ mpActiveSysWin

VclPtr<SystemWindow> MenuBarUpdateIconManager::mpActiveSysWin
private

Definition at line 40 of file menubarupdateicon.hxx.

Referenced by AddMenuBarIcon(), and GetBubbleWindow().

◆ mpBubbleWin

VclPtr<BubbleWindow> MenuBarUpdateIconManager::mpBubbleWin
private

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