List of all members | Properties | Public Member Functions | Static Public Member Functions | Protected Member Functions
QMenuProto Class Reference

#include <qmenuproto.h>

Inheritance diagram for QMenuProto:
QObject QScriptable

Properties

 objectName
 

Public Member Functions

 QMenuProto (QObject *parent)
 
Q_INVOKABLE QActionactionAt (const QPoint &pt) const
 
Q_INVOKABLE QRect actionGeometry (QAction *act) const
 
Q_INVOKABLE QList< QAction * > actions () const
 
Q_INVOKABLE QActionactiveAction () const
 
Q_INVOKABLE QActionaddAction (const QString &text)
 
Q_INVOKABLE QActionaddAction (const QIcon &icon, const QString &text)
 
Q_INVOKABLE QActionaddAction (const QString &text, const QObject *receiver, const char *member, const QKeySequence &shortcut=0)
 
Q_INVOKABLE QActionaddAction (const QIcon &icon, const QString &text, const QObject *receiver, const char *member, const QKeySequence &shortcut=0)
 
Q_INVOKABLE QActionaddMenu (QMenu *menu)
 
Q_INVOKABLE QMenuaddMenu (const QString &title)
 
Q_INVOKABLE QMenuaddMenu (const QIcon &icon, const QString &title)
 
Q_INVOKABLE QActionaddSeparator ()
 
Q_INVOKABLE void appendAction (QAction *action)
 
bool blockSignals (bool block)
 
const QObjectList & children () const
 
Q_INVOKABLE void clear ()
 
QMetaObject::Connection connect (const QObject *sender, const char *signal, const char *method, Qt::ConnectionType type) const
 
Q_INVOKABLE QActiondefaultAction () const
 
void deleteLater ()
 
void destroyed (QObject *obj)
 
bool disconnect (const QObject *receiver, const char *method) const
 
bool disconnect (const char *signal, const QObject *receiver, const char *method) const
 
void dumpObjectInfo ()
 
void dumpObjectTree ()
 
QList< QByteArraydynamicPropertyNames () const
 
virtual bool event (QEvent *e)
 
virtual bool eventFilter (QObject *watched, QEvent *event)
 
Q_INVOKABLE QActionexec ()
 
Q_INVOKABLE QActionexec (const QPoint &p, QAction *action=0)
 
findChild (const QString &name, Qt::FindChildOptions options) const
 
QList< T > findChildren (const QString &name, Qt::FindChildOptions options) const
 
QList< T > findChildren (const QRegExp &regExp, Qt::FindChildOptions options) const
 
QList< T > findChildren (const QRegularExpression &re, Qt::FindChildOptions options) const
 
Q_INVOKABLE void hideTearOffMenu ()
 
Q_INVOKABLE QIcon icon () const
 
bool inherits (const char *className) const
 
Q_INVOKABLE void insertAction (QAction *before, QAction *action)
 
Q_INVOKABLE void insertActions (QAction *before, QList< QAction * >actions)
 
Q_INVOKABLE QActioninsertMenu (QAction *before, QMenu *menu)
 
Q_INVOKABLE QActioninsertSeparator (QAction *before)
 
void installEventFilter (QObject *filterObj)
 
Q_INVOKABLE bool isEmpty () const
 
Q_INVOKABLE bool isTearOffEnabled () const
 
Q_INVOKABLE bool isTearOffMenuVisible () const
 
bool isWidgetType () const
 
bool isWindowType () const
 
void killTimer (int id)
 
Q_INVOKABLE QActionmenuAction () const
 
virtual const QMetaObjectmetaObject () const
 
void moveToThread (QThread *targetThread)
 
QString objectName () const
 
void objectNameChanged (const QString &objectName)
 
QObjectparent () const
 
Q_INVOKABLE void popup (const QPoint &p, QAction *atAction=0)
 
QVariant property (const char *name) const
 
Q_INVOKABLE void removeAction (QAction *action)
 
void removeEventFilter (QObject *obj)
 
Q_INVOKABLE bool separatorsCollapsible () const
 
Q_INVOKABLE void setActiveAction (QAction *act)
 
Q_INVOKABLE void setDefaultAction (QAction *act)
 
Q_INVOKABLE void setIcon (const QIcon &icon)
 
void setObjectName (const QString &name)
 
void setParent (QObject *parent)
 
bool setProperty (const char *name, const QVariant &value)
 
Q_INVOKABLE void setSeparatorsCollapsible (bool collapse)
 
Q_INVOKABLE void setTearOffEnabled (bool)
 
Q_INVOKABLE void setTitle (const QString &title)
 
bool signalsBlocked () const
 
int startTimer (int interval, Qt::TimerType timerType)
 
QThreadthread () const
 
Q_INVOKABLE QString title () const
 
Q_INVOKABLE QString toString () const
 

Static Public Member Functions

QMetaObject::Connection connect (const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
 
QMetaObject::Connection connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type)
 
QMetaObject::Connection connect (const QObject *sender, PointerToMemberFunction signal, const QObject *receiver, PointerToMemberFunction method, Qt::ConnectionType type)
 
QMetaObject::Connection connect (const QObject *sender, PointerToMemberFunction signal, Functor functor)
 
QMetaObject::Connection connect (const QObject *sender, PointerToMemberFunction signal, const QObject *context, Functor functor, Qt::ConnectionType type)
 
bool disconnect (const QMetaObject::Connection &connection)
 
bool disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *method)
 
bool disconnect (const QObject *sender, PointerToMemberFunction signal, const QObject *receiver, PointerToMemberFunction method)
 
bool disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method)
 
QString tr (const char *sourceText, const char *disambiguation, int n)
 
QString trUtf8 (const char *sourceText, const char *disambiguation, int n)
 

Protected Member Functions

virtual void childEvent (QChildEvent *event)
 
virtual void connectNotify (const QMetaMethod &signal)
 
virtual void customEvent (QEvent *event)
 
virtual void disconnectNotify (const QMetaMethod &signal)
 
bool isSignalConnected (const QMetaMethod &signal) const
 
int receivers (const char *signal) const
 
QObjectsender () const
 
int senderSignalIndex () const
 
virtual void timerEvent (QTimerEvent *event)
 

Constructor & Destructor Documentation

QMenuProto::QMenuProto ( QObject parent)

Member Function Documentation

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 
)
QAction * QMenuProto::addSeparator ( )
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

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

Generated on Wed Nov 30 2016 xTuple ERP Programmer Reference, Version 4.10.0 doxygen 1.8.7