List of all members | Properties | Public Slots | Signals | Public Member Functions
QPushButtonProto Class Reference

#include <qpushbuttonproto.h>

Inheritance diagram for QPushButtonProto:
QWidgetProto QObjectProto QObject QScriptable

Properties

QString objectName
 

Public Slots

Q_INVOKABLE bool close ()
 
Q_INVOKABLE void deleteLater ()
 
Q_INVOKABLE void hide ()
 
Q_INVOKABLE void lower ()
 
Q_INVOKABLE void raise ()
 
Q_INVOKABLE void repaint ()
 
Q_INVOKABLE void setDisabled (bool disable)
 
Q_INVOKABLE void setEnabled (bool enable)
 
Q_INVOKABLE void setFocus ()
 
Q_INVOKABLE void setHidden (bool hidden)
 
Q_INVOKABLE void setStyleSheet (const QString &styleSheet)
 
virtual Q_INVOKABLE void setVisible (bool visible)
 
Q_INVOKABLE void setWindowModified (bool mod)
 
Q_INVOKABLE void setWindowTitle (const QString &title)
 
Q_INVOKABLE void show ()
 
Q_INVOKABLE void showFullScreen ()
 
Q_INVOKABLE void showMaximized ()
 
Q_INVOKABLE void showMinimized ()
 
Q_INVOKABLE void showNormal ()
 
Q_INVOKABLE void update ()
 

Signals

void customContextMenuRequested (const QPoint &pos)
 
void destroyed (QObject *obj=0)
 
void objectNameChanged (const QString &objectName)
 
void windowIconChanged (const QIcon &icon)
 
void windowIconTextChanged (const QString &iconText)
 
void windowTitleChanged (const QString &title)
 

Public Member Functions

 QPushButtonProto (QObject *parent)
 
Q_INVOKABLE QList< QAction * > actions () const
 
Q_INVOKABLE void activateWindow ()
 
Q_INVOKABLE void addAction (QAction *action)
 
Q_INVOKABLE void addActions (QList< QAction * > actions)
 
Q_INVOKABLE void adjustSize ()
 
Q_INVOKABLE int backgroundRole () const
 
Q_INVOKABLE bool blockSignals (bool block)
 
Q_INVOKABLE QWidgetchildAt (const QPoint &p) const
 
Q_INVOKABLE QWidgetchildAt (int x, int y) const
 
const Q_INVOKABLE QObjectList & children () const
 
Q_INVOKABLE void clearFocus ()
 
Q_INVOKABLE void clearMask ()
 
Q_INVOKABLE QRect contentsRect () const
 
Q_INVOKABLE bool disconnect (const char *signal=0, const QObject *receiver=0, const char *method=0) const
 
Q_INVOKABLE bool disconnect (const QObject *receiver, const char *method=0) const
 
Q_INVOKABLE void dumpObjectInfo ()
 
Q_INVOKABLE void dumpObjectTree ()
 
Q_INVOKABLE QList< QByteArray > dynamicPropertyNames () const
 
Q_INVOKABLE WId effectiveWinId () const
 
Q_INVOKABLE void ensurePolished () const
 
Q_INVOKABLE bool event (QEvent *e)
 
Q_INVOKABLE bool eventFilter (QObject *watched, QEvent *event)
 
Q_INVOKABLE QList< QObject * > * findChildren (const QString &name=QString(), Qt::FindChildOptions options=Qt::FindChildrenRecursively, const QString &classname=QString()) const
 
Q_INVOKABLE QWidgetfocusProxy () const
 
Q_INVOKABLE QWidgetfocusWidget () const
 
Q_INVOKABLE QFontInfo fontInfo () const
 
Q_INVOKABLE QFontMetrics fontMetrics () const
 
Q_INVOKABLE int foregroundRole () const
 
Q_INVOKABLE void getContentsMargins (int *left, int *top, int *right, int *bottom) const
 
Q_INVOKABLE void grabKeyboard ()
 
Q_INVOKABLE void grabMouse ()
 
Q_INVOKABLE void grabMouse (const QCursor &cursor)
 
Q_INVOKABLE int grabShortcut (const QKeySequence &key, int context=Qt::WindowShortcut)
 
Q_INVOKABLE QGraphicsProxyWidget * graphicsProxyWidget () const
 
Q_INVOKABLE bool hasFocus () const
 
Q_INVOKABLE int heightForWidth (int w) const
 
Q_INVOKABLE bool inherits (const char *className) const
 
Q_INVOKABLE QVariant inputMethodQuery (int query) const
 
Q_INVOKABLE void insertAction (QAction *before, QAction *action)
 
Q_INVOKABLE void insertActions (QAction *before, QList< QAction * > actions)
 
Q_INVOKABLE void installEventFilter (QObject *filterObj)
 
Q_INVOKABLE bool isAncestorOf (const QWidget *child) const
 
Q_INVOKABLE bool isEnabledTo (QWidget *ancestor) const
 
Q_INVOKABLE bool isHidden () const
 
Q_INVOKABLE bool isVisibleTo (QWidget *ancestor) const
 
Q_INVOKABLE bool isWidgetType () const
 
Q_INVOKABLE bool isWindow () const
 
Q_INVOKABLE void killTimer (int id)
 
Q_INVOKABLE QLayout * layout () const
 
Q_INVOKABLE QPoint mapFrom (QWidget *parent, const QPoint &pos) const
 
Q_INVOKABLE QPoint mapFromGlobal (const QPoint &pos) const
 
Q_INVOKABLE QPoint mapFromParent (const QPoint &pos) const
 
Q_INVOKABLE QPoint mapTo (QWidget *parent, const QPoint &pos) const
 
Q_INVOKABLE QPoint mapToGlobal (const QPoint &pos) const
 
Q_INVOKABLE QPoint mapToParent (const QPoint &pos) const
 
Q_INVOKABLE QRegion mask () const
 
Q_INVOKABLE QSize minimumSizeHint () const
 
Q_INVOKABLE void moveToThread (QThread *targetThread)
 
Q_INVOKABLE QWidgetnativeParentWidget () const
 
Q_INVOKABLE QWidgetnextInFocusChain () const
 
Q_INVOKABLE QString objectName () const
 
Q_INVOKABLE void overrideWindowFlags (int flags)
 
Q_INVOKABLE QPaintEngine * paintEngine () const
 
Q_INVOKABLE QObjectparent () const
 
Q_INVOKABLE QWidgetparentWidget () const
 
Q_INVOKABLE QVariant property (const char *name) const
 
Q_INVOKABLE void releaseKeyboard ()
 
Q_INVOKABLE void releaseMouse ()
 
Q_INVOKABLE void releaseShortcut (int id)
 
Q_INVOKABLE void removeAction (QAction *action)
 
Q_INVOKABLE void removeEventFilter (QObject *obj)
 
Q_INVOKABLE void repaint (const QRect &rect)
 
Q_INVOKABLE void repaint (const QRegion &rgn)
 
Q_INVOKABLE void repaint (int x, int y, int w, int h)
 
Q_INVOKABLE bool restoreGeometry (const QByteArray &geometry)
 
Q_INVOKABLE QByteArray saveGeometry () const
 
Q_INVOKABLE void scroll (int dx, int dy)
 
Q_INVOKABLE void scroll (int dx, int dy, const QRect &r)
 
Q_INVOKABLE void setAttribute (int attribute, bool on=true)
 
Q_INVOKABLE void setBackgroundRole (int role)
 
Q_INVOKABLE void setContentsMargins (int left, int top, int right, int bottom)
 
Q_INVOKABLE void setFixedHeight (int h)
 
Q_INVOKABLE void setFixedSize (const QSize &s)
 
Q_INVOKABLE void setFixedSize (int w, int h)
 
Q_INVOKABLE void setFixedWidth (int w)
 
Q_INVOKABLE void setFocus (int reason)
 
Q_INVOKABLE void setFocusProxy (QWidget *w)
 
Q_INVOKABLE void setForegroundRole (int role)
 
Q_INVOKABLE void setLayout (QLayout *layout)
 
Q_INVOKABLE void setMask (const QBitmap &bitmap)
 
Q_INVOKABLE void setMask (const QRegion &region)
 
Q_INVOKABLE void setObjectName (const QString &name)
 
Q_INVOKABLE void setParent (QObject *parent)
 
Q_INVOKABLE void setParent (QWidget *parent)
 
Q_INVOKABLE void setParent (QWidget *parent, int f)
 
Q_INVOKABLE bool setProperty (const char *name, const QVariant &value)
 
Q_INVOKABLE void setShortcutAutoRepeat (int id, bool enable=true)
 
Q_INVOKABLE void setShortcutEnabled (int id, bool enable=true)
 
Q_INVOKABLE void setStyle (QStyle *style)
 
Q_INVOKABLE void setWindowRole (const QString &role)
 
Q_INVOKABLE void setWindowState (int windowState)
 
Q_INVOKABLE bool signalsBlocked () const
 
Q_INVOKABLE void stackUnder (QWidget *w)
 
Q_INVOKABLE QStyle * style () const
 
Q_INVOKABLE bool testAttribute (int attribute) const
 
Q_INVOKABLE QThread * thread () const
 
Q_INVOKABLE QString toString () const
 
Q_INVOKABLE bool underMouse () const
 
Q_INVOKABLE void unsetCursor ()
 
Q_INVOKABLE void update (const QRect &rect)
 
Q_INVOKABLE void update (const QRegion &rgn)
 
Q_INVOKABLE void update (int x, int y, int w, int h)
 
Q_INVOKABLE void updateGeometry ()
 
Q_INVOKABLE QRegion visibleRegion () const
 
Q_INVOKABLE QWidgetwindow () const
 
Q_INVOKABLE QString windowRole () const
 
Q_INVOKABLE int windowState () const
 
Q_INVOKABLE int windowType () const
 
Q_INVOKABLE WId winId () const
 

Property Documentation

◆ objectName

QString QObjectProto::objectName
readwriteinherited

Constructor & Destructor Documentation

◆ QPushButtonProto()

QPushButtonProto::QPushButtonProto ( QObject parent)

Member Function Documentation

◆ actions()

QList< QAction * > QWidgetProto::actions ( ) const
inherited

◆ activateWindow()

void QWidgetProto::activateWindow ( )
inherited

◆ addAction()

void QWidgetProto::addAction ( QAction action)
inherited

◆ addActions()

void QWidgetProto::addActions ( QList< QAction * >  actions)
inherited

◆ adjustSize()

void QWidgetProto::adjustSize ( )
inherited

◆ backgroundRole()

int QWidgetProto::backgroundRole ( ) const
inherited

◆ blockSignals()

bool QObjectProto::blockSignals ( bool  block)
inherited

◆ childAt() [1/2]

QWidget * QWidgetProto::childAt ( const QPoint &  p) const
inherited

◆ childAt() [2/2]

QWidget * QWidgetProto::childAt ( int  x,
int  y 
) const
inherited

◆ children()

const QObjectList & QObjectProto::children ( ) const
inherited

◆ clearFocus()

void QWidgetProto::clearFocus ( )
inherited

◆ clearMask()

void QWidgetProto::clearMask ( )
inherited

◆ close

bool QWidgetProto::close ( )
slotinherited

◆ contentsRect()

QRect QWidgetProto::contentsRect ( ) const
inherited

◆ customContextMenuRequested

void QWidgetProto::customContextMenuRequested ( const QPoint &  pos)
signalinherited

◆ deleteLater

void QObjectProto::deleteLater ( )
slotinherited

◆ destroyed

void QObjectProto::destroyed ( QObject obj = 0)
signalinherited

◆ disconnect() [1/2]

bool QObjectProto::disconnect ( const char *  signal = 0,
const QObject receiver = 0,
const char *  method = 0 
) const
inherited

◆ disconnect() [2/2]

bool QObjectProto::disconnect ( const QObject receiver,
const char *  method = 0 
) const
inherited

◆ dumpObjectInfo()

void QObjectProto::dumpObjectInfo ( )
inherited

◆ dumpObjectTree()

void QObjectProto::dumpObjectTree ( )
inherited

◆ dynamicPropertyNames()

QList< QByteArray > QObjectProto::dynamicPropertyNames ( ) const
inherited

◆ effectiveWinId()

WId QWidgetProto::effectiveWinId ( ) const
inherited

◆ ensurePolished()

void QWidgetProto::ensurePolished ( ) const
inherited

◆ event()

bool QObjectProto::event ( QEvent *  e)
inherited

◆ eventFilter()

bool QObjectProto::eventFilter ( QObject watched,
QEvent *  event 
)
inherited

◆ findChildren()

QList< QObject * > * QObjectProto::findChildren ( const QString &  name = QString(),
Qt::FindChildOptions  options = Qt::FindChildrenRecursively,
const QString &  classname = QString() 
) const
inherited

◆ focusProxy()

QWidget * QWidgetProto::focusProxy ( ) const
inherited

◆ focusWidget()

QWidget * QWidgetProto::focusWidget ( ) const
inherited

◆ fontInfo()

QFontInfo QWidgetProto::fontInfo ( ) const
inherited

◆ fontMetrics()

QFontMetrics QWidgetProto::fontMetrics ( ) const
inherited

◆ foregroundRole()

int QWidgetProto::foregroundRole ( ) const
inherited

◆ getContentsMargins()

void QWidgetProto::getContentsMargins ( int *  left,
int *  top,
int *  right,
int *  bottom 
) const
inherited

◆ grabKeyboard()

void QWidgetProto::grabKeyboard ( )
inherited

◆ grabMouse() [1/2]

void QWidgetProto::grabMouse ( )
inherited

◆ grabMouse() [2/2]

void QWidgetProto::grabMouse ( const QCursor &  cursor)
inherited

◆ grabShortcut()

int QWidgetProto::grabShortcut ( const QKeySequence &  key,
int  context = Qt::WindowShortcut 
)
inherited

◆ graphicsProxyWidget()

QGraphicsProxyWidget * QWidgetProto::graphicsProxyWidget ( ) const
inherited

◆ hasFocus()

bool QWidgetProto::hasFocus ( ) const
inherited

◆ heightForWidth()

int QWidgetProto::heightForWidth ( int  w) const
inherited

◆ hide

void QWidgetProto::hide ( )
slotinherited

◆ inherits()

bool QObjectProto::inherits ( const char *  className) const
inherited

◆ inputMethodQuery()

QVariant QWidgetProto::inputMethodQuery ( int  query) const
inherited

◆ insertAction()

void QWidgetProto::insertAction ( QAction before,
QAction action 
)
inherited

◆ insertActions()

void QWidgetProto::insertActions ( QAction before,
QList< QAction * >  actions 
)
inherited

◆ installEventFilter()

void QObjectProto::installEventFilter ( QObject filterObj)
inherited

◆ isAncestorOf()

bool QWidgetProto::isAncestorOf ( const QWidget child) const
inherited

◆ isEnabledTo()

bool QWidgetProto::isEnabledTo ( QWidget ancestor) const
inherited

◆ isHidden()

bool QWidgetProto::isHidden ( ) const
inherited

◆ isVisibleTo()

bool QWidgetProto::isVisibleTo ( QWidget ancestor) const
inherited

◆ isWidgetType()

bool QObjectProto::isWidgetType ( ) const
inherited

◆ isWindow()

bool QWidgetProto::isWindow ( ) const
inherited

◆ killTimer()

void QObjectProto::killTimer ( int  id)
inherited

◆ layout()

QLayout * QWidgetProto::layout ( ) const
inherited

◆ lower

void QWidgetProto::lower ( )
slotinherited

◆ mapFrom()

QPoint QWidgetProto::mapFrom ( QWidget parent,
const QPoint &  pos 
) const
inherited

◆ mapFromGlobal()

QPoint QWidgetProto::mapFromGlobal ( const QPoint &  pos) const
inherited

◆ mapFromParent()

QPoint QWidgetProto::mapFromParent ( const QPoint &  pos) const
inherited

◆ mapTo()

QPoint QWidgetProto::mapTo ( QWidget parent,
const QPoint &  pos 
) const
inherited

◆ mapToGlobal()

QPoint QWidgetProto::mapToGlobal ( const QPoint &  pos) const
inherited

◆ mapToParent()

QPoint QWidgetProto::mapToParent ( const QPoint &  pos) const
inherited

◆ mask()

QRegion QWidgetProto::mask ( ) const
inherited

◆ minimumSizeHint()

QSize QWidgetProto::minimumSizeHint ( ) const
inherited

◆ moveToThread()

void QObjectProto::moveToThread ( QThread *  targetThread)
inherited

◆ nativeParentWidget()

QWidget * QWidgetProto::nativeParentWidget ( ) const
inherited

◆ nextInFocusChain()

QWidget * QWidgetProto::nextInFocusChain ( ) const
inherited

◆ objectName()

Q_INVOKABLE QString QObjectProto::objectName ( ) const
inherited

◆ objectNameChanged

void QObjectProto::objectNameChanged ( const QString &  objectName)
signalinherited

◆ overrideWindowFlags()

void QWidgetProto::overrideWindowFlags ( int  flags)
inherited

◆ paintEngine()

QPaintEngine * QWidgetProto::paintEngine ( ) const
inherited

◆ parent()

QObject * QObjectProto::parent ( ) const
inherited

◆ parentWidget()

QWidget * QWidgetProto::parentWidget ( ) const
inherited

◆ property()

QVariant QObjectProto::property ( const char *  name) const
inherited

◆ raise

void QWidgetProto::raise ( )
slotinherited

◆ releaseKeyboard()

void QWidgetProto::releaseKeyboard ( )
inherited

◆ releaseMouse()

void QWidgetProto::releaseMouse ( )
inherited

◆ releaseShortcut()

void QWidgetProto::releaseShortcut ( int  id)
inherited

◆ removeAction()

void QWidgetProto::removeAction ( QAction action)
inherited

◆ removeEventFilter()

void QObjectProto::removeEventFilter ( QObject obj)
inherited

◆ repaint [1/4]

void QWidgetProto::repaint ( )
slotinherited

◆ repaint() [2/4]

void QWidgetProto::repaint ( const QRect &  rect)
inherited

◆ repaint() [3/4]

void QWidgetProto::repaint ( const QRegion &  rgn)
inherited

◆ repaint() [4/4]

void QWidgetProto::repaint ( int  x,
int  y,
int  w,
int  h 
)
inherited

◆ restoreGeometry()

bool QWidgetProto::restoreGeometry ( const QByteArray &  geometry)
inherited

◆ saveGeometry()

QByteArray QWidgetProto::saveGeometry ( ) const
inherited

◆ scroll() [1/2]

void QWidgetProto::scroll ( int  dx,
int  dy 
)
inherited

◆ scroll() [2/2]

void QWidgetProto::scroll ( int  dx,
int  dy,
const QRect &  r 
)
inherited

◆ setAttribute()

void QWidgetProto::setAttribute ( int  attribute,
bool  on = true 
)
inherited

◆ setBackgroundRole()

void QWidgetProto::setBackgroundRole ( int  role)
inherited

◆ setContentsMargins()

void QWidgetProto::setContentsMargins ( int  left,
int  top,
int  right,
int  bottom 
)
inherited

◆ setDisabled

void QWidgetProto::setDisabled ( bool  disable)
slotinherited

◆ setEnabled

void QWidgetProto::setEnabled ( bool  enable)
slotinherited

◆ setFixedHeight()

void QWidgetProto::setFixedHeight ( int  h)
inherited

◆ setFixedSize() [1/2]

void QWidgetProto::setFixedSize ( const QSize &  s)
inherited

◆ setFixedSize() [2/2]

void QWidgetProto::setFixedSize ( int  w,
int  h 
)
inherited

◆ setFixedWidth()

void QWidgetProto::setFixedWidth ( int  w)
inherited

◆ setFocus [1/2]

void QWidgetProto::setFocus ( )
slotinherited

◆ setFocus() [2/2]

void QWidgetProto::setFocus ( int  reason)
inherited

◆ setFocusProxy()

void QWidgetProto::setFocusProxy ( QWidget w)
inherited

◆ setForegroundRole()

void QWidgetProto::setForegroundRole ( int  role)
inherited

◆ setHidden

void QWidgetProto::setHidden ( bool  hidden)
slotinherited

◆ setLayout()

void QWidgetProto::setLayout ( QLayout *  layout)
inherited

◆ setMask() [1/2]

void QWidgetProto::setMask ( const QBitmap &  bitmap)
inherited

◆ setMask() [2/2]

void QWidgetProto::setMask ( const QRegion &  region)
inherited

◆ setObjectName()

void QObjectProto::setObjectName ( const QString &  name)
inherited

◆ setParent() [1/3]

void QObjectProto::setParent ( QObject parent)
inherited

◆ setParent() [2/3]

void QWidgetProto::setParent ( QWidget parent)
inherited

◆ setParent() [3/3]

void QWidgetProto::setParent ( QWidget parent,
int  f 
)
inherited

◆ setProperty()

bool QObjectProto::setProperty ( const char *  name,
const QVariant &  value 
)
inherited

◆ setShortcutAutoRepeat()

void QWidgetProto::setShortcutAutoRepeat ( int  id,
bool  enable = true 
)
inherited

◆ setShortcutEnabled()

void QWidgetProto::setShortcutEnabled ( int  id,
bool  enable = true 
)
inherited

◆ setStyle()

void QWidgetProto::setStyle ( QStyle *  style)
inherited

◆ setStyleSheet

void QWidgetProto::setStyleSheet ( const QString &  styleSheet)
slotinherited

◆ setVisible

void QWidgetProto::setVisible ( bool  visible)
virtualslotinherited

◆ setWindowModified

void QWidgetProto::setWindowModified ( bool  mod)
slotinherited

◆ setWindowRole()

void QWidgetProto::setWindowRole ( const QString &  role)
inherited

◆ setWindowState()

void QWidgetProto::setWindowState ( int  windowState)
inherited

◆ setWindowTitle

void QWidgetProto::setWindowTitle ( const QString &  title)
slotinherited

◆ show

void QWidgetProto::show ( )
slotinherited

◆ showFullScreen

void QWidgetProto::showFullScreen ( )
slotinherited

◆ showMaximized

void QWidgetProto::showMaximized ( )
slotinherited

◆ showMinimized

void QWidgetProto::showMinimized ( )
slotinherited

◆ showNormal

void QWidgetProto::showNormal ( )
slotinherited

◆ signalsBlocked()

bool QObjectProto::signalsBlocked ( ) const
inherited

◆ stackUnder()

void QWidgetProto::stackUnder ( QWidget w)
inherited

◆ style()

QStyle * QWidgetProto::style ( ) const
inherited

◆ testAttribute()

bool QWidgetProto::testAttribute ( int  attribute) const
inherited

◆ thread()

QThread * QObjectProto::thread ( ) const
inherited

◆ toString()

QString QWidgetProto::toString ( ) const
inherited

◆ underMouse()

bool QWidgetProto::underMouse ( ) const
inherited

◆ unsetCursor()

void QWidgetProto::unsetCursor ( )
inherited

◆ update [1/4]

void QWidgetProto::update ( )
slotinherited

◆ update() [2/4]

void QWidgetProto::update ( const QRect &  rect)
inherited

◆ update() [3/4]

void QWidgetProto::update ( const QRegion &  rgn)
inherited

◆ update() [4/4]

void QWidgetProto::update ( int  x,
int  y,
int  w,
int  h 
)
inherited

◆ updateGeometry()

void QWidgetProto::updateGeometry ( )
inherited

◆ visibleRegion()

QRegion QWidgetProto::visibleRegion ( ) const
inherited

◆ window()

QWidget * QWidgetProto::window ( ) const
inherited

◆ windowIconChanged

void QWidgetProto::windowIconChanged ( const QIcon &  icon)
signalinherited

◆ windowIconTextChanged

void QWidgetProto::windowIconTextChanged ( const QString &  iconText)
signalinherited

◆ windowRole()

QString QWidgetProto::windowRole ( ) const
inherited

◆ windowState()

int QWidgetProto::windowState ( ) const
inherited

◆ windowTitleChanged

void QWidgetProto::windowTitleChanged ( const QString &  title)
signalinherited

◆ windowType()

int QWidgetProto::windowType ( ) const
inherited

◆ winId()

WId QWidgetProto::winId ( ) const
inherited

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