Qt 4.8
Public Functions | List of all members
QAbstractPlatformMenuBar Class Referenceabstract

The platform-specific implementation of a menubar. More...

#include <qabstractplatformmenubar_p.h>

Inheritance diagram for QAbstractPlatformMenuBar:
QX11MenuBar

Public Functions

virtual void actionEvent (QActionEvent *)=0
 
virtual bool allowCornerWidgets () const =0
 
virtual void handleReparent (QWidget *oldParent, QWidget *newParent, QWidget *oldWindow, QWidget *newWindow)=0
 
virtual void init (QMenuBar *)=0
 
virtual bool isNativeMenuBar () const =0
 
virtual bool menuBarEventFilter (QObject *, QEvent *event)=0
 
virtual void popupAction (QAction *)=0
 
virtual void setNativeMenuBar (bool)=0
 
virtual void setVisible (bool visible)=0
 
virtual bool shortcutsHandledByNativeMenuBar () const =0
 Return true if the native menubar is capable of listening to the shortcut keys. More...
 
virtual ~QAbstractPlatformMenuBar ()
 

Detailed Description

The platform-specific implementation of a menubar.

Definition at line 73 of file qabstractplatformmenubar_p.h.

Constructors and Destructors

◆ ~QAbstractPlatformMenuBar()

virtual QAbstractPlatformMenuBar::~QAbstractPlatformMenuBar ( )
inlinevirtual

Definition at line 76 of file qabstractplatformmenubar_p.h.

76 {}

Functions

◆ actionEvent()

virtual void QAbstractPlatformMenuBar::actionEvent ( QActionEvent )
pure virtual

Implemented in QX11MenuBar.

◆ allowCornerWidgets()

virtual bool QAbstractPlatformMenuBar::allowCornerWidgets ( ) const
pure virtual

Implemented in QX11MenuBar.

◆ handleReparent()

virtual void QAbstractPlatformMenuBar::handleReparent ( QWidget oldParent,
QWidget newParent,
QWidget oldWindow,
QWidget newWindow 
)
pure virtual

Implemented in QX11MenuBar.

◆ init()

virtual void QAbstractPlatformMenuBar::init ( QMenuBar )
pure virtual

Implemented in QX11MenuBar.

Referenced by QMenuBarPrivate::init().

◆ isNativeMenuBar()

virtual bool QAbstractPlatformMenuBar::isNativeMenuBar ( ) const
pure virtual

Implemented in QX11MenuBar.

◆ menuBarEventFilter()

virtual bool QAbstractPlatformMenuBar::menuBarEventFilter ( QObject ,
QEvent event 
)
pure virtual

Implemented in QX11MenuBar.

◆ popupAction()

virtual void QAbstractPlatformMenuBar::popupAction ( QAction )
pure virtual

Implemented in QX11MenuBar.

◆ setNativeMenuBar()

virtual void QAbstractPlatformMenuBar::setNativeMenuBar ( bool  )
pure virtual

Implemented in QX11MenuBar.

◆ setVisible()

virtual void QAbstractPlatformMenuBar::setVisible ( bool  visible)
pure virtual

Implemented in QX11MenuBar.

◆ shortcutsHandledByNativeMenuBar()

virtual bool QAbstractPlatformMenuBar::shortcutsHandledByNativeMenuBar ( ) const
pure virtual

Return true if the native menubar is capable of listening to the shortcut keys.

If false is returned, QMenuBar will trigger actions on shortcut itself.

Implemented in QX11MenuBar.


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