#include <qmenuproto.h>
Public Member Functions | |
| QMenuProto (QObject *parent) | |
| Q_INVOKABLE QAction * | actionAt (const QPoint &pt) const |
| Q_INVOKABLE QRect | actionGeometry (QAction *act) const |
| Q_INVOKABLE QList< QAction * > | actions () const |
| Q_INVOKABLE QAction * | activeAction () const |
| Q_INVOKABLE QAction * | addAction (const QString &text) |
| Q_INVOKABLE QAction * | addAction (const QIcon &icon, const QString &text) |
| Q_INVOKABLE QAction * | addAction (const QString &text, const QObject *receiver, const char *member, const QKeySequence &shortcut=0) |
| Q_INVOKABLE QAction * | addAction (const QIcon &icon, const QString &text, const QObject *receiver, const char *member, const QKeySequence &shortcut=0) |
| Q_INVOKABLE QAction * | addMenu (QMenu *menu) |
| Q_INVOKABLE QMenu * | addMenu (const QString &title) |
| Q_INVOKABLE QMenu * | addMenu (const QIcon &icon, const QString &title) |
| Q_INVOKABLE QAction * | addSeparator () |
| Q_INVOKABLE void | appendAction (QAction *action) |
| Q_INVOKABLE void | clear () |
| Q_INVOKABLE QAction * | defaultAction () const |
| Q_INVOKABLE QAction * | exec () |
| Q_INVOKABLE QAction * | exec (const QPoint &p, QAction *action=0) |
| Q_INVOKABLE void | hideTearOffMenu () |
| Q_INVOKABLE QIcon | icon () const |
| Q_INVOKABLE void | insertAction (QAction *before, QAction *action) |
| Q_INVOKABLE void | insertActions (QAction *before, QList< QAction * >actions) |
| Q_INVOKABLE QAction * | insertMenu (QAction *before, QMenu *menu) |
| Q_INVOKABLE QAction * | insertSeparator (QAction *before) |
| Q_INVOKABLE bool | isEmpty () const |
| Q_INVOKABLE bool | isTearOffEnabled () const |
| Q_INVOKABLE bool | isTearOffMenuVisible () const |
| Q_INVOKABLE QAction * | menuAction () const |
| Q_INVOKABLE void | popup (const QPoint &p, QAction *atAction=0) |
| Q_INVOKABLE void | removeAction (QAction *action) |
| Q_INVOKABLE bool | separatorsCollapsible () const |
| Q_INVOKABLE void | setActiveAction (QAction *act) |
| Q_INVOKABLE void | setDefaultAction (QAction *act) |
| Q_INVOKABLE void | setIcon (const QIcon &icon) |
| Q_INVOKABLE void | setSeparatorsCollapsible (bool collapse) |
| Q_INVOKABLE void | setTearOffEnabled (bool) |
| Q_INVOKABLE void | setTitle (const QString &title) |
| Q_INVOKABLE QString | title () const |
| Q_INVOKABLE QString | toString () const |
| QMenuProto::QMenuProto | ( | QObject * | parent | ) |
| QAction * QMenuProto::actionAt | ( | const QPoint & | pt | ) | const |
| QRect QMenuProto::actionGeometry | ( | QAction * | act | ) | const |
| QList< QAction * > QMenuProto::actions | ( | ) | const |
| QAction * QMenuProto::activeAction | ( | ) | const |
| QAction * QMenuProto::addAction | ( | const QString & | text | ) |
| QAction * QMenuProto::addAction | ( | const QIcon & | icon, |
| const QString & | text | ||
| ) |
| QAction * QMenuProto::addAction | ( | const QString & | text, |
| const QObject * | receiver, | ||
| const char * | member, | ||
| const QKeySequence & | shortcut = 0 |
||
| ) |
| QAction * QMenuProto::addAction | ( | const QIcon & | icon, |
| const QString & | text, | ||
| const QObject * | receiver, | ||
| const char * | member, | ||
| const QKeySequence & | shortcut = 0 |
||
| ) |
| QAction * QMenuProto::addMenu | ( | QMenu * | menu | ) |
| QMenu * QMenuProto::addMenu | ( | const QString & | title | ) |
| QMenu * QMenuProto::addMenu | ( | const QIcon & | icon, |
| const QString & | title | ||
| ) |
| void QMenuProto::appendAction | ( | QAction * | action | ) |
| void QMenuProto::clear | ( | ) |
| QAction * QMenuProto::defaultAction | ( | ) | const |
| QAction * QMenuProto::exec | ( | ) |
| QAction * QMenuProto::exec | ( | const QPoint & | p, |
| QAction * | action = 0 |
||
| ) |
| void QMenuProto::hideTearOffMenu | ( | ) |
| QIcon QMenuProto::icon | ( | ) | const |
| void QMenuProto::insertAction | ( | QAction * | before, |
| QAction * | action | ||
| ) |
| void QMenuProto::insertActions | ( | QAction * | before, |
| QList< QAction * > | actions | ||
| ) |
| QAction * QMenuProto::insertMenu | ( | QAction * | before, |
| QMenu * | menu | ||
| ) |
| QAction * QMenuProto::insertSeparator | ( | QAction * | before | ) |
| bool QMenuProto::isEmpty | ( | ) | const |
| bool QMenuProto::isTearOffEnabled | ( | ) | const |
| bool QMenuProto::isTearOffMenuVisible | ( | ) | const |
| QAction * QMenuProto::menuAction | ( | ) | const |
| void QMenuProto::popup | ( | const QPoint & | p, |
| QAction * | atAction = 0 |
||
| ) |
| void QMenuProto::removeAction | ( | QAction * | action | ) |
| bool QMenuProto::separatorsCollapsible | ( | ) | const |
| void QMenuProto::setActiveAction | ( | QAction * | act | ) |
| void QMenuProto::setDefaultAction | ( | QAction * | act | ) |
| void QMenuProto::setIcon | ( | const QIcon & | icon | ) |
| void QMenuProto::setSeparatorsCollapsible | ( | bool | collapse | ) |
| void QMenuProto::setTearOffEnabled | ( | bool | enabled | ) |
| void QMenuProto::setTitle | ( | const QString & | title | ) |
| QString QMenuProto::title | ( | ) | const |
| QString QMenuProto::toString | ( | ) | const |
| Generated on Mon Jan 23 2012 12:22:36 | xTuple ERP Programmer Reference, Version 3.8.0 |
1.7.6.1
|