List of all members | Public Member Functions
QMenuBarProto Class Reference

#include <qmenubarproto.h>

Inheritance diagram for QMenuBarProto:
QObject QScriptable

Public Member Functions

 QMenuBarProto (QObject *parent)
 
Q_INVOKABLE QActionactionAt (const QPoint &pt) const
 
Q_INVOKABLE QRect actionGeometry (QAction *act) const
 
Q_INVOKABLE QActionactiveAction () const
 
Q_INVOKABLE QActionaddAction (const QString &text)
 
Q_INVOKABLE QActionaddAction (const QString &text, const QObject *receiver, const char *member)
 
Q_INVOKABLE void addAction (QAction *action)
 
Q_INVOKABLE QMenu * addMenu (const QIcon &icon, const QString &title)
 
Q_INVOKABLE QMenu * addMenu (const QString &title)
 
Q_INVOKABLE QActionaddMenu (QMenu *menu)
 
Q_INVOKABLE QActionaddSeparator ()
 
Q_INVOKABLE void clear ()
 
Q_INVOKABLE QWidgetcornerWidget (Qt::Corner corner=Qt::TopRightCorner) const
 
Q_INVOKABLE QActioninsertMenu (QAction *before, QMenu *menu)
 
Q_INVOKABLE QActioninsertSeparator (QAction *before)
 
Q_INVOKABLE bool isDefaultUp () const
 
Q_INVOKABLE bool isNativeMenuBar () const
 
Q_INVOKABLE void setActiveAction (QAction *act)
 
Q_INVOKABLE void setCornerWidget (QWidget *widget, Qt::Corner corner=Qt::TopRightCorner)
 
Q_INVOKABLE void setDefaultUp (bool choice)
 
Q_INVOKABLE void setNativeMenuBar (bool nativeMenuBar)
 
Q_INVOKABLE QString toString () const
 

Constructor & Destructor Documentation

◆ QMenuBarProto()

QMenuBarProto::QMenuBarProto ( QObject parent)

Member Function Documentation

◆ actionAt()

QAction * QMenuBarProto::actionAt ( const QPoint &  pt) const

◆ actionGeometry()

QRect QMenuBarProto::actionGeometry ( QAction act) const

◆ activeAction()

QAction * QMenuBarProto::activeAction ( ) const

◆ addAction() [1/3]

QAction * QMenuBarProto::addAction ( const QString &  text)

◆ addAction() [2/3]

QAction * QMenuBarProto::addAction ( const QString &  text,
const QObject receiver,
const char *  member 
)

◆ addAction() [3/3]

void QMenuBarProto::addAction ( QAction action)

◆ addMenu() [1/3]

QMenu * QMenuBarProto::addMenu ( const QIcon &  icon,
const QString &  title 
)

◆ addMenu() [2/3]

QMenu * QMenuBarProto::addMenu ( const QString &  title)

◆ addMenu() [3/3]

QAction * QMenuBarProto::addMenu ( QMenu *  menu)

◆ addSeparator()

QAction * QMenuBarProto::addSeparator ( )

◆ clear()

void QMenuBarProto::clear ( )

◆ cornerWidget()

QWidget * QMenuBarProto::cornerWidget ( Qt::Corner  corner = Qt::TopRightCorner) const

◆ insertMenu()

QAction * QMenuBarProto::insertMenu ( QAction before,
QMenu *  menu 
)

◆ insertSeparator()

QAction * QMenuBarProto::insertSeparator ( QAction before)

◆ isDefaultUp()

bool QMenuBarProto::isDefaultUp ( ) const

◆ isNativeMenuBar()

bool QMenuBarProto::isNativeMenuBar ( ) const

◆ setActiveAction()

void QMenuBarProto::setActiveAction ( QAction act)

◆ setCornerWidget()

void QMenuBarProto::setCornerWidget ( QWidget widget,
Qt::Corner  corner = Qt::TopRightCorner 
)

◆ setDefaultUp()

void QMenuBarProto::setDefaultUp ( bool  choice)

◆ setNativeMenuBar()

void QMenuBarProto::setNativeMenuBar ( bool  nativeMenuBar)

◆ toString()

QString QMenuBarProto::toString ( ) const

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

Generated on Fri Apr 9 2021 xTuple ERP Programmer Reference, Version 6.0.0 doxygen 1.8.17