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

#include <qwidgetproto.h>

Inheritance diagram for QWidgetProto:
QObjectProto QObject QScriptable QMainWindowProto QPushButtonProto

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

 QWidgetProto (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

◆ QWidgetProto()

QWidgetProto::QWidgetProto ( QObject parent)

Member Function Documentation

◆ actions()

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

◆ activateWindow()

void QWidgetProto::activateWindow ( )

◆ addAction()

void QWidgetProto::addAction ( QAction action)

◆ addActions()

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

◆ adjustSize()

void QWidgetProto::adjustSize ( )

◆ backgroundRole()

int QWidgetProto::backgroundRole ( ) const

◆ blockSignals()

bool QObjectProto::blockSignals ( bool  block)
inherited

◆ childAt() [1/2]

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

◆ childAt() [2/2]

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

◆ children()

const QObjectList & QObjectProto::children ( ) const
inherited

◆ clearFocus()

void QWidgetProto::clearFocus ( )

◆ clearMask()

void QWidgetProto::clearMask ( )

◆ close

bool QWidgetProto::close ( )
slot

◆ contentsRect()

QRect QWidgetProto::contentsRect ( ) const

◆ customContextMenuRequested

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

◆ 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

◆ ensurePolished()

void QWidgetProto::ensurePolished ( ) const

◆ 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

◆ focusWidget()

QWidget * QWidgetProto::focusWidget ( ) const

◆ fontInfo()

QFontInfo QWidgetProto::fontInfo ( ) const

◆ fontMetrics()

QFontMetrics QWidgetProto::fontMetrics ( ) const

◆ foregroundRole()

int QWidgetProto::foregroundRole ( ) const

◆ getContentsMargins()

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

◆ grabKeyboard()

void QWidgetProto::grabKeyboard ( )

◆ grabMouse() [1/2]

void QWidgetProto::grabMouse ( )

◆ grabMouse() [2/2]

void QWidgetProto::grabMouse ( const QCursor &  cursor)

◆ grabShortcut()

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

◆ graphicsProxyWidget()

QGraphicsProxyWidget * QWidgetProto::graphicsProxyWidget ( ) const

◆ hasFocus()

bool QWidgetProto::hasFocus ( ) const

◆ heightForWidth()

int QWidgetProto::heightForWidth ( int  w) const

◆ hide

void QWidgetProto::hide ( )
slot

◆ inherits()

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

◆ inputMethodQuery()

QVariant QWidgetProto::inputMethodQuery ( int  query) const

◆ insertAction()

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

◆ insertActions()

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

◆ installEventFilter()

void QObjectProto::installEventFilter ( QObject filterObj)
inherited

◆ isAncestorOf()

bool QWidgetProto::isAncestorOf ( const QWidget child) const

◆ isEnabledTo()

bool QWidgetProto::isEnabledTo ( QWidget ancestor) const

◆ isHidden()

bool QWidgetProto::isHidden ( ) const

◆ isVisibleTo()

bool QWidgetProto::isVisibleTo ( QWidget ancestor) const

◆ isWidgetType()

bool QObjectProto::isWidgetType ( ) const
inherited

◆ isWindow()

bool QWidgetProto::isWindow ( ) const

◆ killTimer()

void QObjectProto::killTimer ( int  id)
inherited

◆ layout()

QLayout * QWidgetProto::layout ( ) const

◆ lower

void QWidgetProto::lower ( )
slot

◆ mapFrom()

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

◆ mapFromGlobal()

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

◆ mapFromParent()

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

◆ mapTo()

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

◆ mapToGlobal()

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

◆ mapToParent()

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

◆ mask()

QRegion QWidgetProto::mask ( ) const

◆ minimumSizeHint()

QSize QWidgetProto::minimumSizeHint ( ) const

◆ moveToThread()

void QObjectProto::moveToThread ( QThread *  targetThread)
inherited

◆ nativeParentWidget()

QWidget * QWidgetProto::nativeParentWidget ( ) const

◆ nextInFocusChain()

QWidget * QWidgetProto::nextInFocusChain ( ) const

◆ objectName()

Q_INVOKABLE QString QObjectProto::objectName ( ) const
inherited

◆ objectNameChanged

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

◆ overrideWindowFlags()

void QWidgetProto::overrideWindowFlags ( int  flags)

◆ paintEngine()

QPaintEngine * QWidgetProto::paintEngine ( ) const

◆ parent()

QObject * QObjectProto::parent ( ) const
inherited

◆ parentWidget()

QWidget * QWidgetProto::parentWidget ( ) const

◆ property()

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

◆ raise

void QWidgetProto::raise ( )
slot

◆ releaseKeyboard()

void QWidgetProto::releaseKeyboard ( )

◆ releaseMouse()

void QWidgetProto::releaseMouse ( )

◆ releaseShortcut()

void QWidgetProto::releaseShortcut ( int  id)

◆ removeAction()

void QWidgetProto::removeAction ( QAction action)

◆ removeEventFilter()

void QObjectProto::removeEventFilter ( QObject obj)
inherited

◆ repaint [1/4]

void QWidgetProto::repaint ( )
slot

◆ repaint() [2/4]

void QWidgetProto::repaint ( const QRect &  rect)

◆ repaint() [3/4]

void QWidgetProto::repaint ( const QRegion &  rgn)

◆ repaint() [4/4]

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

◆ restoreGeometry()

bool QWidgetProto::restoreGeometry ( const QByteArray &  geometry)

◆ saveGeometry()

QByteArray QWidgetProto::saveGeometry ( ) const

◆ scroll() [1/2]

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

◆ scroll() [2/2]

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

◆ setAttribute()

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

◆ setBackgroundRole()

void QWidgetProto::setBackgroundRole ( int  role)

◆ setContentsMargins()

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

◆ setDisabled

void QWidgetProto::setDisabled ( bool  disable)
slot

◆ setEnabled

void QWidgetProto::setEnabled ( bool  enable)
slot

◆ setFixedHeight()

void QWidgetProto::setFixedHeight ( int  h)

◆ setFixedSize() [1/2]

void QWidgetProto::setFixedSize ( const QSize &  s)

◆ setFixedSize() [2/2]

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

◆ setFixedWidth()

void QWidgetProto::setFixedWidth ( int  w)

◆ setFocus [1/2]

void QWidgetProto::setFocus ( )
slot

◆ setFocus() [2/2]

void QWidgetProto::setFocus ( int  reason)

◆ setFocusProxy()

void QWidgetProto::setFocusProxy ( QWidget w)

◆ setForegroundRole()

void QWidgetProto::setForegroundRole ( int  role)

◆ setHidden

void QWidgetProto::setHidden ( bool  hidden)
slot

◆ setLayout()

void QWidgetProto::setLayout ( QLayout *  layout)

◆ setMask() [1/2]

void QWidgetProto::setMask ( const QBitmap &  bitmap)

◆ setMask() [2/2]

void QWidgetProto::setMask ( const QRegion &  region)

◆ 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)

◆ setParent() [3/3]

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

◆ setProperty()

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

◆ setShortcutAutoRepeat()

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

◆ setShortcutEnabled()

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

◆ setStyle()

void QWidgetProto::setStyle ( QStyle *  style)

◆ setStyleSheet

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

◆ setVisible

void QWidgetProto::setVisible ( bool  visible)
virtualslot

◆ setWindowModified

void QWidgetProto::setWindowModified ( bool  mod)
slot

◆ setWindowRole()

void QWidgetProto::setWindowRole ( const QString &  role)

◆ setWindowState()

void QWidgetProto::setWindowState ( int  windowState)

◆ setWindowTitle

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

◆ show

void QWidgetProto::show ( )
slot

◆ showFullScreen

void QWidgetProto::showFullScreen ( )
slot

◆ showMaximized

void QWidgetProto::showMaximized ( )
slot

◆ showMinimized

void QWidgetProto::showMinimized ( )
slot

◆ showNormal

void QWidgetProto::showNormal ( )
slot

◆ signalsBlocked()

bool QObjectProto::signalsBlocked ( ) const
inherited

◆ stackUnder()

void QWidgetProto::stackUnder ( QWidget w)

◆ style()

QStyle * QWidgetProto::style ( ) const

◆ testAttribute()

bool QWidgetProto::testAttribute ( int  attribute) const

◆ thread()

QThread * QObjectProto::thread ( ) const
inherited

◆ toString()

QString QWidgetProto::toString ( ) const

◆ underMouse()

bool QWidgetProto::underMouse ( ) const

◆ unsetCursor()

void QWidgetProto::unsetCursor ( )

◆ update [1/4]

void QWidgetProto::update ( )
slot

◆ update() [2/4]

void QWidgetProto::update ( const QRect &  rect)

◆ update() [3/4]

void QWidgetProto::update ( const QRegion &  rgn)

◆ update() [4/4]

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

◆ updateGeometry()

void QWidgetProto::updateGeometry ( )

◆ visibleRegion()

QRegion QWidgetProto::visibleRegion ( ) const

◆ window()

QWidget * QWidgetProto::window ( ) const

◆ windowIconChanged

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

◆ windowIconTextChanged

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

◆ windowRole()

QString QWidgetProto::windowRole ( ) const

◆ windowState()

int QWidgetProto::windowState ( ) const

◆ windowTitleChanged

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

◆ windowType()

int QWidgetProto::windowType ( ) const

◆ winId()

WId QWidgetProto::winId ( ) 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