Public Member Functions | Protected Member Functions | Protected Attributes

EV_QtMenu Class Reference

#include <ev_QtMenu.h>

Inheritance diagram for EV_QtMenu:
EV_Menu EV_QtMenuBar

List of all members.

Public Member Functions

 EV_QtMenu (XAP_QtApp *pQtApp, XAP_Frame *pFrame, const char *szMenuLayoutName, const char *szMenuLabelSetName)
virtual ~EV_QtMenu ()
bool synthesizeMenu (QMenuBar *menuRoot, bool isPopup)
bool menuEvent (XAP_Menu_Id id)
virtual bool refreshMenu (AV_View *pView)=0
XAP_FramegetFrame ()

Protected Member Functions

bool _refreshMenu (AV_View *pView, QMenuBar *menuRoot)
bool _isItemPresent (XAP_Menu_Id id) const
virtual bool _doAddMenuItem (UT_uint32 layout_pos)

Protected Attributes

XAP_QtAppm_pQtApp
XAP_Framem_pFrame
QVector< QObject * > m_vecMenuWidgets
QVector< EV_QtMenuSlot * > m_vecMenuSlots

Constructor & Destructor Documentation

EV_QtMenu::EV_QtMenu ( XAP_QtApp pQtApp,
XAP_Frame pFrame,
const char *  szMenuLayoutName,
const char *  szMenuLabelSetName 
)
EV_QtMenu::~EV_QtMenu (  )  [virtual]

Member Function Documentation

bool EV_QtMenu::_doAddMenuItem ( UT_uint32  layout_pos  )  [protected, virtual]

Implements EV_Menu.

bool EV_QtMenu::_isItemPresent ( XAP_Menu_Id  id  )  const [protected]
bool EV_QtMenu::_refreshMenu ( AV_View pView,
QMenuBar *  menuRoot 
) [protected]
XAP_Frame * EV_QtMenu::getFrame ( void   ) 

References m_pFrame.

Referenced by EV_QtMenuSlot::onToggle().

virtual bool EV_QtMenu::refreshMenu ( AV_View pView  )  [pure virtual]

Implemented in EV_QtMenuBar.


Member Data Documentation

Referenced by menuEvent(), and synthesizeMenu().

Referenced by synthesizeMenu().

QVector<QObject*> EV_QtMenu::m_vecMenuWidgets [protected]

Referenced by synthesizeMenu().


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