API reference - Class QWidget

Notation used in Ruby API documentation

Module: QtGui

Description: Binding of QWidget

Class hierarchy: QWidget » QObject

Sub-classes: RenderFlag, QFlags_RenderFlag

Public constructors

new QWidgetnew(QWidget ptr parent = 0,
Qt_QFlags_WindowType f = 0)
Constructor QWidget::QWidget(QWidget *parent, QFlags<Qt::WindowType> f)

Public methods

void_createEnsures the C++ object is created
void_destroyExplicitly destroys the object
[const]bool_destroyed?Returns a value indicating whether the object was already destroyed
[const]bool_is_const_object?Returns a value indicating whether the reference is a const reference
void_manageMarks the object as managed by the script side.
void_unmanageMarks the object as no longer owned by the script side.
[const]boolacceptDropsMethod bool QWidget::acceptDrops()
voidacceptDrops=(bool on)Method void QWidget::setAcceptDrops(bool on)
[const]stringaccessibleDescriptionMethod QString QWidget::accessibleDescription()
voidaccessibleDescription=(string description)Method void QWidget::setAccessibleDescription(const QString &description)
[const]stringaccessibleNameMethod QString QWidget::accessibleName()
voidaccessibleName=(string name)Method void QWidget::setAccessibleName(const QString &name)
[const]QAction ptr[]actionsMethod QList<QAction*> QWidget::actions()
voidactivateWindowMethod void QWidget::activateWindow()
voidaddAction(QAction ptr action)Method void QWidget::addAction(QAction *action)
voidaddActions(QAction ptr[] actions)Method void QWidget::addActions(QList<QAction*> actions)
voidadjustSizeMethod void QWidget::adjustSize()
[const]const QObject ptrasConstQObjectDelivers the base class interface QObject of QWidget
[const]const QPaintDevice ptrasConstQPaintDeviceDelivers the base class interface QPaintDevice of QWidget
QObject ptrasQObjectDelivers the base class interface QObject of QWidget
QPaintDevice ptrasQPaintDeviceDelivers the base class interface QPaintDevice of QWidget
[const]boolautoFillBackgroundMethod bool QWidget::autoFillBackground()
voidautoFillBackground=(bool enabled)Method void QWidget::setAutoFillBackground(bool enabled)
[const]QPalette_ColorRolebackgroundRoleMethod QPalette::ColorRole QWidget::backgroundRole()
voidbackgroundRole=(const QPalette_ColorRole arg1)Method void QWidget::setBackgroundRole(QPalette::ColorRole)
[const]QSizebaseSizeMethod QSize QWidget::baseSize()
voidbaseSize=(const QSize arg1)Method void QWidget::setBaseSize(const QSize &)
[const]QWidget ptrchildAt(int x,
int y)
Method QWidget *QWidget::childAt(int x, int y)
[const]QWidget ptrchildAt(const QPoint p)Method QWidget *QWidget::childAt(const QPoint &p)
[const]QRectchildrenRectMethod QRect QWidget::childrenRect()
[const]QRegionchildrenRegionMethod QRegion QWidget::childrenRegion()
voidclearFocusMethod void QWidget::clearFocus()
voidclearMaskMethod void QWidget::clearMask()
boolcloseMethod bool QWidget::close()
[const]QMarginscontentsMarginsMethod QMargins QWidget::contentsMargins()
voidcontentsMargins=(const QMargins margins)Method void QWidget::setContentsMargins(const QMargins &margins)
[const]QRectcontentsRectMethod QRect QWidget::contentsRect()
[const]Qt_ContextMenuPolicycontextMenuPolicyMethod Qt::ContextMenuPolicy QWidget::contextMenuPolicy()
voidcontextMenuPolicy=(const Qt_ContextMenuPolicy policy)Method void QWidget::setContextMenuPolicy(Qt::ContextMenuPolicy policy)
voidcreateWinIdMethod void QWidget::createWinId()
[const]QCursorcursorMethod QCursor QWidget::cursor()
voidcursor=(const QCursor arg1)Method void QWidget::setCursor(const QCursor &)
[signal]voidcustomContextMenuRequested(const QPoint pos)Signal declaration for QWidget::customContextMenuRequested(const QPoint &pos)
[signal]voiddestroyed(QObject ptr arg1)Signal declaration for QWidget::destroyed(QObject *)
[const]unsigned longeffectiveWinIdMethod WId QWidget::effectiveWinId()
voidemit_customContextMenuRequested(const QPoint pos)Emitter for signal void QWidget::customContextMenuRequested(const QPoint &pos)
voidemit_destroyed(QObject ptr arg1 = 0)Emitter for signal void QWidget::destroyed(QObject *)
[const]boolenabledMethod bool QWidget::isEnabled()
voidenabled=(bool arg1)Method void QWidget::setEnabled(bool)
[const]voidensurePolishedMethod void QWidget::ensurePolished()
booleventFilter(QObject ptr arg1,
QEvent ptr arg2)
Virtual method bool QWidget::eventFilter(QObject *, QEvent *)
[const]boolfocusMethod bool QWidget::hasFocus()
[const]Qt_FocusPolicyfocusPolicyMethod Qt::FocusPolicy QWidget::focusPolicy()
voidfocusPolicy=(const Qt_FocusPolicy policy)Method void QWidget::setFocusPolicy(Qt::FocusPolicy policy)
[const]QWidget ptrfocusProxyMethod QWidget *QWidget::focusProxy()
voidfocusProxy=(QWidget ptr arg1)Method void QWidget::setFocusProxy(QWidget *)
[const]QWidget ptrfocusWidgetMethod QWidget *QWidget::focusWidget()
[const]QFontfontMethod const QFont &QWidget::font()
voidfont=(const QFont arg1)Method void QWidget::setFont(const QFont &)
[const]QFontInfofontInfoMethod QFontInfo QWidget::fontInfo()
[const]QFontMetricsfontMetricsMethod QFontMetrics QWidget::fontMetrics()
[const]QPalette_ColorRoleforegroundRoleMethod QPalette::ColorRole QWidget::foregroundRole()
voidforegroundRole=(const QPalette_ColorRole arg1)Method void QWidget::setForegroundRole(QPalette::ColorRole)
[const]QRectframeGeometryMethod QRect QWidget::frameGeometry()
[const]QSizeframeSizeMethod QSize QWidget::frameSize()
[const]boolfullScreenMethod bool QWidget::isFullScreen()
[const]QRectgeometryMethod const QRect &QWidget::geometry()
voidgeometry=(const QRect arg1)Method void QWidget::setGeometry(const QRect &)
[const]voidgetContentsMargins(int ptr left,
int ptr top,
int ptr right,
int ptr bottom)
Method void QWidget::getContentsMargins(int *left, int *top, int *right, int *bottom)
voidgrabGesture(const Qt_GestureType type,
Qt_QFlags_GestureFlag flags = Qt::GestureFlags())
Method void QWidget::grabGesture(Qt::GestureType type, QFlags<Qt::GestureFlag> flags)
voidgrabKeyboardMethod void QWidget::grabKeyboard()
voidgrabMouseMethod void QWidget::grabMouse()
voidgrabMouse(const QCursor arg1)Method void QWidget::grabMouse(const QCursor &)
intgrabShortcut(const QKeySequence key,
const Qt_ShortcutContext context = Qt::WindowShortcut)
Method int QWidget::grabShortcut(const QKeySequence &key, Qt::ShortcutContext context)
[const]QGraphicsEffect ptrgraphicsEffectMethod QGraphicsEffect *QWidget::graphicsEffect()
voidgraphicsEffect=(QGraphicsEffect ptr effect)Method void QWidget::setGraphicsEffect(QGraphicsEffect *effect)
[const]QGraphicsProxyWidget ptrgraphicsProxyWidgetMethod QGraphicsProxyWidget *QWidget::graphicsProxyWidget()
[const]boolhasFocusMethod bool QWidget::hasFocus()
[const]boolhasMouseTrackingMethod bool QWidget::hasMouseTracking()
[const]intheightMethod int QWidget::height()
[const]intheightForWidth(int arg1)Virtual method int QWidget::heightForWidth(int)
[const]boolhiddenMethod bool QWidget::isHidden()
voidhidden=(bool hidden)Method void QWidget::setHidden(bool hidden)
voidhideMethod void QWidget::hide()
QInputContext ptrinputContextMethod QInputContext *QWidget::inputContext()
voidinputContext=(QInputContext ptr arg1)Method void QWidget::setInputContext(QInputContext *)
[const]Qt_QFlags_InputMethodHintinputMethodHintsMethod QFlags<Qt::InputMethodHint> QWidget::inputMethodHints()
voidinputMethodHints=(Qt_QFlags_InputMethodHint hints)Method void QWidget::setInputMethodHints(QFlags<Qt::InputMethodHint> hints)
[const]variantinputMethodQuery(const Qt_InputMethodQuery arg1)Virtual method QVariant QWidget::inputMethodQuery(Qt::InputMethodQuery)
voidinsertAction(QAction ptr before,
QAction ptr action)
Method void QWidget::insertAction(QAction *before, QAction *action)
voidinsertActions(QAction ptr before,
QAction ptr[] actions)
Method void QWidget::insertActions(QAction *before, QList<QAction*> actions)
[const]unsigned longinternalWinIdMethod WId QWidget::internalWinId()
[const]boolisActiveWindowMethod bool QWidget::isActiveWindow()
[const]boolisActiveWindow?Method bool QWidget::isActiveWindow()
[const]boolisAncestorOf?(const QWidget ptr child)Method bool QWidget::isAncestorOf(const QWidget *child)
[const]boolisEnabled?Method bool QWidget::isEnabled()
[const]boolisEnabledTo?(QWidget ptr arg1)Method bool QWidget::isEnabledTo(QWidget *)
[const]boolisEnabledToTLW?Method bool QWidget::isEnabledToTLW()
[const]boolisFullScreen?Method bool QWidget::isFullScreen()
[const]boolisHidden?Method bool QWidget::isHidden()
[const]boolisLeftToRight?Method bool QWidget::isLeftToRight()
[const]boolisMaximized?Method bool QWidget::isMaximized()
[const]boolisMinimized?Method bool QWidget::isMinimized()
[const]boolisModal?Method bool QWidget::isModal()
[const]boolisRightToLeft?Method bool QWidget::isRightToLeft()
[const]boolisTopLevel?Method bool QWidget::isTopLevel()
[const]boolisVisible?Method bool QWidget::isVisible()
[const]boolisVisibleTo?(QWidget ptr arg1)Method bool QWidget::isVisibleTo(QWidget *)
[const]boolisWindow?Method bool QWidget::isWindow()
[const]boolisWindowModified?Method bool QWidget::isWindowModified()
[const]QLayout ptrlayoutMethod QLayout *QWidget::layout()
voidlayout=(QLayout ptr arg1)Method void QWidget::setLayout(QLayout *)
[const]Qt_LayoutDirectionlayoutDirectionMethod Qt::LayoutDirection QWidget::layoutDirection()
voidlayoutDirection=(const Qt_LayoutDirection direction)Method void QWidget::setLayoutDirection(Qt::LayoutDirection direction)
[const]QLocalelocaleMethod QLocale QWidget::locale()
voidlocale=(const QLocale locale)Method void QWidget::setLocale(const QLocale &locale)
voidlowerMethod void QWidget::lower()
[const]QPointmapFrom(QWidget ptr arg1,
const QPoint arg2)
Method QPoint QWidget::mapFrom(QWidget *, const QPoint &)
[const]QPointmapFromGlobal(const QPoint arg1)Method QPoint QWidget::mapFromGlobal(const QPoint &)
[const]QPointmapFromParent(const QPoint arg1)Method QPoint QWidget::mapFromParent(const QPoint &)
[const]QPointmapTo(QWidget ptr arg1,
const QPoint arg2)
Method QPoint QWidget::mapTo(QWidget *, const QPoint &)
[const]QPointmapToGlobal(const QPoint arg1)Method QPoint QWidget::mapToGlobal(const QPoint &)
[const]QPointmapToParent(const QPoint arg1)Method QPoint QWidget::mapToParent(const QPoint &)
[const]QRegionmaskMethod QRegion QWidget::mask()
[const]boolmaximizedMethod bool QWidget::isMaximized()
[const]intmaximumHeightMethod int QWidget::maximumHeight()
voidmaximumHeight=(int maxh)Method void QWidget::setMaximumHeight(int maxh)
[const]QSizemaximumSizeMethod QSize QWidget::maximumSize()
voidmaximumSize=(const QSize arg1)Method void QWidget::setMaximumSize(const QSize &)
[const]intmaximumWidthMethod int QWidget::maximumWidth()
voidmaximumWidth=(int maxw)Method void QWidget::setMaximumWidth(int maxw)
[const]boolminimizedMethod bool QWidget::isMinimized()
[const]intminimumHeightMethod int QWidget::minimumHeight()
voidminimumHeight=(int minh)Method void QWidget::setMinimumHeight(int minh)
[const]QSizeminimumSizeMethod QSize QWidget::minimumSize()
voidminimumSize=(const QSize arg1)Method void QWidget::setMinimumSize(const QSize &)
[const]QSizeminimumSizeHintVirtual method QSize QWidget::minimumSizeHint()
[const]intminimumWidthMethod int QWidget::minimumWidth()
voidminimumWidth=(int minw)Method void QWidget::setMinimumWidth(int minw)
[const]boolmodalMethod bool QWidget::isModal()
[const]boolmouseTrackingMethod bool QWidget::hasMouseTracking()
voidmouseTracking=(bool enable)Method void QWidget::setMouseTracking(bool enable)
voidmove(int x,
int y)
Method void QWidget::move(int x, int y)
voidmove(const QPoint arg1)Method void QWidget::move(const QPoint &)
[const]QWidget ptrnativeParentWidgetMethod QWidget *QWidget::nativeParentWidget()
[const]QWidget ptrnextInFocusChainMethod QWidget *QWidget::nextInFocusChain()
[const]QRectnormalGeometryMethod QRect QWidget::normalGeometry()
voidoverrideWindowFlags(Qt_QFlags_WindowType type)Method void QWidget::overrideWindowFlags(QFlags<Qt::WindowType> type)
voidoverrideWindowState(Qt_QFlags_WindowState state)Method void QWidget::overrideWindowState(QFlags<Qt::WindowState> state)
[const]QPaintEngine ptrpaintEngineVirtual method QPaintEngine *QWidget::paintEngine()
[const]QPalettepaletteMethod const QPalette &QWidget::palette()
voidpalette=(const QPalette arg1)Method void QWidget::setPalette(const QPalette &)
[const]QWidget ptrparentWidgetMethod QWidget *QWidget::parentWidget()
[const]QPointposMethod QPoint QWidget::pos()
[const]QWidget ptrpreviousInFocusChainMethod QWidget *QWidget::previousInFocusChain()
voidqt_raiseMethod void QWidget::raise()
[const]QRectrectMethod QRect QWidget::rect()
voidreleaseKeyboardMethod void QWidget::releaseKeyboard()
voidreleaseMouseMethod void QWidget::releaseMouse()
voidreleaseShortcut(int id)Method void QWidget::releaseShortcut(int id)
voidremoveAction(QAction ptr action)Method void QWidget::removeAction(QAction *action)
voidrender(QPaintDevice ptr target,
const QPoint targetOffset = QPoint(),
const QRegion sourceRegion = QRegion(),
QWidget_QFlags_RenderFlag renderFlags = QWidget::RenderFlags(QWidget::DrawWindowBackground | QWidget::DrawChildren))
Method void QWidget::render(QPaintDevice *target, const QPoint &targetOffset, const QRegion &sourceRegion, QFlags<QWidget::RenderFlag> renderFlags)
voidrender(QPainter ptr painter,
const QPoint targetOffset = QPoint(),
const QRegion sourceRegion = QRegion(),
QWidget_QFlags_RenderFlag renderFlags = QWidget::RenderFlags(QWidget::DrawWindowBackground | QWidget::DrawChildren))
Method void QWidget::render(QPainter *painter, const QPoint &targetOffset, const QRegion &sourceRegion, QFlags<QWidget::RenderFlag> renderFlags)
voidrepaintMethod void QWidget::repaint()
voidrepaint(int x,
int y,
int w,
int h)
Method void QWidget::repaint(int x, int y, int w, int h)
voidrepaint(const QRect arg1)Method void QWidget::repaint(const QRect &)
voidrepaint(const QRegion arg1)Method void QWidget::repaint(const QRegion &)
voidresize(int w,
int h)
Method void QWidget::resize(int w, int h)
voidresize(const QSize arg1)Method void QWidget::resize(const QSize &)
boolrestoreGeometry(bytes geometry)Method bool QWidget::restoreGeometry(const QByteArray &geometry)
[const]bytessaveGeometryMethod QByteArray QWidget::saveGeometry()
voidscroll(int dx,
int dy)
Method void QWidget::scroll(int dx, int dy)
voidscroll(int dx,
int dy,
const QRect arg3)
Method void QWidget::scroll(int dx, int dy, const QRect &)
voidsetAcceptDrops(bool on)Method void QWidget::setAcceptDrops(bool on)
voidsetAccessibleDescription(string description)Method void QWidget::setAccessibleDescription(const QString &description)
voidsetAccessibleName(string name)Method void QWidget::setAccessibleName(const QString &name)
voidsetAttribute(const Qt_WidgetAttribute arg1,
bool on = true)
Method void QWidget::setAttribute(Qt::WidgetAttribute, bool on)
voidsetAutoFillBackground(bool enabled)Method void QWidget::setAutoFillBackground(bool enabled)
voidsetBackgroundRole(const QPalette_ColorRole arg1)Method void QWidget::setBackgroundRole(QPalette::ColorRole)
voidsetBaseSize(const QSize arg1)Method void QWidget::setBaseSize(const QSize &)
voidsetBaseSize(int basew,
int baseh)
Method void QWidget::setBaseSize(int basew, int baseh)
voidsetContentsMargins(int left,
int top,
int right,
int bottom)
Method void QWidget::setContentsMargins(int left, int top, int right, int bottom)
voidsetContentsMargins(const QMargins margins)Method void QWidget::setContentsMargins(const QMargins &margins)
voidsetContextMenuPolicy(const Qt_ContextMenuPolicy policy)Method void QWidget::setContextMenuPolicy(Qt::ContextMenuPolicy policy)
voidsetCursor(const QCursor arg1)Method void QWidget::setCursor(const QCursor &)
voidsetDisabled(bool arg1)Method void QWidget::setDisabled(bool)
voidsetEnabled(bool arg1)Method void QWidget::setEnabled(bool)
voidsetFixedHeight(int h)Method void QWidget::setFixedHeight(int h)
voidsetFixedSize(const QSize arg1)Method void QWidget::setFixedSize(const QSize &)
voidsetFixedSize(int w,
int h)
Method void QWidget::setFixedSize(int w, int h)
voidsetFixedWidth(int w)Method void QWidget::setFixedWidth(int w)
voidsetFocusMethod void QWidget::setFocus()
voidsetFocus(const Qt_FocusReason reason)Method void QWidget::setFocus(Qt::FocusReason reason)
voidsetFocusPolicy(const Qt_FocusPolicy policy)Method void QWidget::setFocusPolicy(Qt::FocusPolicy policy)
voidsetFocusProxy(QWidget ptr arg1)Method void QWidget::setFocusProxy(QWidget *)
voidsetFont(const QFont arg1)Method void QWidget::setFont(const QFont &)
voidsetForegroundRole(const QPalette_ColorRole arg1)Method void QWidget::setForegroundRole(QPalette::ColorRole)
voidsetGeometry(int x,
int y,
int w,
int h)
Method void QWidget::setGeometry(int x, int y, int w, int h)
voidsetGeometry(const QRect arg1)Method void QWidget::setGeometry(const QRect &)
voidsetGraphicsEffect(QGraphicsEffect ptr effect)Method void QWidget::setGraphicsEffect(QGraphicsEffect *effect)
voidsetHidden(bool hidden)Method void QWidget::setHidden(bool hidden)
voidsetInputContext(QInputContext ptr arg1)Method void QWidget::setInputContext(QInputContext *)
voidsetInputMethodHints(Qt_QFlags_InputMethodHint hints)Method void QWidget::setInputMethodHints(QFlags<Qt::InputMethodHint> hints)
voidsetLayout(QLayout ptr arg1)Method void QWidget::setLayout(QLayout *)
voidsetLayoutDirection(const Qt_LayoutDirection direction)Method void QWidget::setLayoutDirection(Qt::LayoutDirection direction)
voidsetLocale(const QLocale locale)Method void QWidget::setLocale(const QLocale &locale)
voidsetMask(const QBitmap arg1)Method void QWidget::setMask(const QBitmap &)
voidsetMask(const QRegion arg1)Method void QWidget::setMask(const QRegion &)
voidsetMaximumHeight(int maxh)Method void QWidget::setMaximumHeight(int maxh)
voidsetMaximumSize(const QSize arg1)Method void QWidget::setMaximumSize(const QSize &)
voidsetMaximumSize(int maxw,
int maxh)
Method void QWidget::setMaximumSize(int maxw, int maxh)
voidsetMaximumWidth(int maxw)Method void QWidget::setMaximumWidth(int maxw)
voidsetMinimumHeight(int minh)Method void QWidget::setMinimumHeight(int minh)
voidsetMinimumSize(const QSize arg1)Method void QWidget::setMinimumSize(const QSize &)
voidsetMinimumSize(int minw,
int minh)
Method void QWidget::setMinimumSize(int minw, int minh)
voidsetMinimumWidth(int minw)Method void QWidget::setMinimumWidth(int minw)
voidsetMouseTracking(bool enable)Method void QWidget::setMouseTracking(bool enable)
voidsetPalette(const QPalette arg1)Method void QWidget::setPalette(const QPalette &)
voidsetParent(QWidget ptr parent)Method void QWidget::setParent(QWidget *parent)
voidsetParent(QWidget ptr parent,
Qt_QFlags_WindowType f)
Method void QWidget::setParent(QWidget *parent, QFlags<Qt::WindowType> f)
voidsetShortcutAutoRepeat(int id,
bool enable = true)
Method void QWidget::setShortcutAutoRepeat(int id, bool enable)
voidsetShortcutEnabled(int id,
bool enable = true)
Method void QWidget::setShortcutEnabled(int id, bool enable)
voidsetShown(bool shown)Method void QWidget::setShown(bool shown)
voidsetSizeIncrement(const QSize arg1)Method void QWidget::setSizeIncrement(const QSize &)
voidsetSizeIncrement(int w,
int h)
Method void QWidget::setSizeIncrement(int w, int h)
voidsetSizePolicy(QSizePolicy arg1)Method void QWidget::setSizePolicy(QSizePolicy)
voidsetSizePolicy(const QSizePolicy_Policy horizontal,
const QSizePolicy_Policy vertical)
Method void QWidget::setSizePolicy(QSizePolicy::Policy horizontal, QSizePolicy::Policy vertical)
voidsetStatusTip(string arg1)Method void QWidget::setStatusTip(const QString &)
voidsetStyle(QStyle ptr arg1)Method void QWidget::setStyle(QStyle *)
voidsetStyleSheet(string styleSheet)Method void QWidget::setStyleSheet(const QString &styleSheet)
voidsetToolTip(string arg1)Method void QWidget::setToolTip(const QString &)
voidsetUpdatesEnabled(bool enable)Method void QWidget::setUpdatesEnabled(bool enable)
voidsetVisible(bool visible)Virtual method void QWidget::setVisible(bool visible)
voidsetWhatsThis(string arg1)Method void QWidget::setWhatsThis(const QString &)
voidsetWindowFilePath(string filePath)Method void QWidget::setWindowFilePath(const QString &filePath)
voidsetWindowFlags(Qt_QFlags_WindowType type)Method void QWidget::setWindowFlags(QFlags<Qt::WindowType> type)
voidsetWindowIcon(const QIcon icon)Method void QWidget::setWindowIcon(const QIcon &icon)
voidsetWindowIconText(string arg1)Method void QWidget::setWindowIconText(const QString &)
voidsetWindowModality(const Qt_WindowModality windowModality)Method void QWidget::setWindowModality(Qt::WindowModality windowModality)
voidsetWindowModified(bool arg1)Method void QWidget::setWindowModified(bool)
voidsetWindowOpacity(double level)Method void QWidget::setWindowOpacity(double level)
voidsetWindowRole(string arg1)Method void QWidget::setWindowRole(const QString &)
voidsetWindowState(Qt_QFlags_WindowState state)Method void QWidget::setWindowState(QFlags<Qt::WindowState> state)
voidsetWindowTitle(string arg1)Method void QWidget::setWindowTitle(const QString &)
voidshowMethod void QWidget::show()
voidshowFullScreenMethod void QWidget::showFullScreen()
voidshowMaximizedMethod void QWidget::showMaximized()
voidshowMinimizedMethod void QWidget::showMinimized()
voidshowNormalMethod void QWidget::showNormal()
[const]QSizesizeMethod QSize QWidget::size()
[const]QSizesizeHintVirtual method QSize QWidget::sizeHint()
[const]QSizesizeIncrementMethod QSize QWidget::sizeIncrement()
voidsizeIncrement=(const QSize arg1)Method void QWidget::setSizeIncrement(const QSize &)
[const]QSizePolicysizePolicyMethod QSizePolicy QWidget::sizePolicy()
voidsizePolicy=(QSizePolicy arg1)Method void QWidget::setSizePolicy(QSizePolicy)
voidstackUnder(QWidget ptr arg1)Method void QWidget::stackUnder(QWidget *)
[const]stringstatusTipMethod QString QWidget::statusTip()
voidstatusTip=(string arg1)Method void QWidget::setStatusTip(const QString &)
[const]QStyle ptrstyleMethod QStyle *QWidget::style()
voidstyle=(QStyle ptr arg1)Method void QWidget::setStyle(QStyle *)
[const]stringstyleSheetMethod QString QWidget::styleSheet()
voidstyleSheet=(string styleSheet)Method void QWidget::setStyleSheet(const QString &styleSheet)
[const]booltestAttribute(const Qt_WidgetAttribute arg1)Method bool QWidget::testAttribute(Qt::WidgetAttribute)
[const]stringtoolTipMethod QString QWidget::toolTip()
voidtoolTip=(string arg1)Method void QWidget::setToolTip(const QString &)
[const]QWidget ptrtopLevelWidgetMethod QWidget *QWidget::topLevelWidget()
[const]boolunderMouseMethod bool QWidget::underMouse()
voidungrabGesture(const Qt_GestureType type)Method void QWidget::ungrabGesture(Qt::GestureType type)
voidunsetCursorMethod void QWidget::unsetCursor()
voidunsetLayoutDirectionMethod void QWidget::unsetLayoutDirection()
voidunsetLocaleMethod void QWidget::unsetLocale()
voidupdateMethod void QWidget::update()
voidupdate(int x,
int y,
int w,
int h)
Method void QWidget::update(int x, int y, int w, int h)
voidupdate(const QRect arg1)Method void QWidget::update(const QRect &)
voidupdate(const QRegion arg1)Method void QWidget::update(const QRegion &)
voidupdateGeometryMethod void QWidget::updateGeometry()
[const]boolupdatesEnabledMethod bool QWidget::updatesEnabled()
voidupdatesEnabled=(bool enable)Method void QWidget::setUpdatesEnabled(bool enable)
[const]boolvisibleMethod bool QWidget::isVisible()
voidvisible=(bool visible)Method void QWidget::setVisible(bool visible)
[const]QRegionvisibleRegionMethod QRegion QWidget::visibleRegion()
[const]stringwhatsThisMethod QString QWidget::whatsThis()
voidwhatsThis=(string arg1)Method void QWidget::setWhatsThis(const QString &)
[const]intwidthMethod int QWidget::width()
[const]unsigned longwinIdMethod WId QWidget::winId()
[const]QWidget ptrwindowMethod QWidget *QWidget::window()
[const]stringwindowFilePathMethod QString QWidget::windowFilePath()
voidwindowFilePath=(string filePath)Method void QWidget::setWindowFilePath(const QString &filePath)
[const]Qt_QFlags_WindowTypewindowFlagsMethod QFlags<Qt::WindowType> QWidget::windowFlags()
voidwindowFlags=(Qt_QFlags_WindowType type)Method void QWidget::setWindowFlags(QFlags<Qt::WindowType> type)
[const]QIconwindowIconMethod QIcon QWidget::windowIcon()
voidwindowIcon=(const QIcon icon)Method void QWidget::setWindowIcon(const QIcon &icon)
[const]stringwindowIconTextMethod QString QWidget::windowIconText()
voidwindowIconText=(string arg1)Method void QWidget::setWindowIconText(const QString &)
[const]Qt_WindowModalitywindowModalityMethod Qt::WindowModality QWidget::windowModality()
voidwindowModality=(const Qt_WindowModality windowModality)Method void QWidget::setWindowModality(Qt::WindowModality windowModality)
[const]boolwindowModifiedMethod bool QWidget::isWindowModified()
voidwindowModified=(bool arg1)Method void QWidget::setWindowModified(bool)
[const]doublewindowOpacityMethod double QWidget::windowOpacity()
voidwindowOpacity=(double level)Method void QWidget::setWindowOpacity(double level)
[const]stringwindowRoleMethod QString QWidget::windowRole()
voidwindowRole=(string arg1)Method void QWidget::setWindowRole(const QString &)
[const]Qt_QFlags_WindowStatewindowStateMethod QFlags<Qt::WindowState> QWidget::windowState()
voidwindowState=(Qt_QFlags_WindowState state)Method void QWidget::setWindowState(QFlags<Qt::WindowState> state)
[const]stringwindowTitleMethod QString QWidget::windowTitle()
voidwindowTitle=(string arg1)Method void QWidget::setWindowTitle(const QString &)
[const]Qt_WindowTypewindowTypeMethod Qt::WindowType QWidget::windowType()
[const]intxMethod int QWidget::x()
[const]intyMethod int QWidget::y()

Public static methods and constants

[static,const]QWidget_RenderFlagDrawChildrenEnum constant QWidget::DrawChildren
[static,const]QWidget_RenderFlagDrawWindowBackgroundEnum constant QWidget::DrawWindowBackground
[static,const]QWidget_RenderFlagIgnoreMaskEnum constant QWidget::IgnoreMask
QWidget ptrfind(unsigned long arg1)Static method QWidget *QWidget::find(WId)
QWidget ptrkeyboardGrabberStatic method QWidget *QWidget::keyboardGrabber()
QWidget ptrmouseGrabberStatic method QWidget *QWidget::mouseGrabber()
voidsetTabOrder(QWidget ptr arg1,
QWidget ptr arg2)
Static method void QWidget::setTabOrder(QWidget *, QWidget *)
QMetaObjectstaticMetaObjectObtains the static MetaObject for this class.
stringtr(string s,
string c = 0)
Static method QString QWidget::tr(const char *s, const char *c)
stringtr(string s,
string c,
int n)
Static method QString QWidget::tr(const char *s, const char *c, int n)
stringtrUtf8(string s,
string c = 0)
Static method QString QWidget::trUtf8(const char *s, const char *c)
stringtrUtf8(string s,
string c,
int n)
Static method QString QWidget::trUtf8(const char *s, const char *c, int n)

Protected methods (static, non-static and constructors)

voidactionEvent(QActionEvent ptr arg1)Virtual method void QWidget::actionEvent(QActionEvent *)
voidchangeEvent(QEvent ptr arg1)Virtual method void QWidget::changeEvent(QEvent *)
voidchildEvent(QChildEvent ptr arg1)Virtual method void QWidget::childEvent(QChildEvent *)
voidcloseEvent(QCloseEvent ptr arg1)Virtual method void QWidget::closeEvent(QCloseEvent *)
voidcontextMenuEvent(QContextMenuEvent ptr arg1)Virtual method void QWidget::contextMenuEvent(QContextMenuEvent *)
voidcustomEvent(QEvent ptr arg1)Virtual method void QWidget::customEvent(QEvent *)
voiddisconnectNotify(string signal)Virtual method void QWidget::disconnectNotify(const char *signal)
voiddragEnterEvent(QDragEnterEvent ptr arg1)Virtual method void QWidget::dragEnterEvent(QDragEnterEvent *)
voiddragLeaveEvent(QDragLeaveEvent ptr arg1)Virtual method void QWidget::dragLeaveEvent(QDragLeaveEvent *)
voiddragMoveEvent(QDragMoveEvent ptr arg1)Virtual method void QWidget::dragMoveEvent(QDragMoveEvent *)
voiddropEvent(QDropEvent ptr arg1)Virtual method void QWidget::dropEvent(QDropEvent *)
voidenabledChange(bool arg1)Virtual method void QWidget::enabledChange(bool)
voidenterEvent(QEvent ptr arg1)Virtual method void QWidget::enterEvent(QEvent *)
boolevent(QEvent ptr arg1)Virtual method bool QWidget::event(QEvent *)
voidfocusInEvent(QFocusEvent ptr arg1)Virtual method void QWidget::focusInEvent(QFocusEvent *)
boolfocusNextChildMethod bool QWidget::focusNextChild()
boolfocusNextPrevChild(bool next)Virtual method bool QWidget::focusNextPrevChild(bool next)
voidfocusOutEvent(QFocusEvent ptr arg1)Virtual method void QWidget::focusOutEvent(QFocusEvent *)
boolfocusPreviousChildMethod bool QWidget::focusPreviousChild()
voidfontChange(const QFont arg1)Virtual method void QWidget::fontChange(const QFont &)
voidhideEvent(QHideEvent ptr arg1)Virtual method void QWidget::hideEvent(QHideEvent *)
voidinputMethodEvent(QInputMethodEvent ptr arg1)Virtual method void QWidget::inputMethodEvent(QInputMethodEvent *)
voidkeyPressEvent(QKeyEvent ptr arg1)Virtual method void QWidget::keyPressEvent(QKeyEvent *)
voidkeyReleaseEvent(QKeyEvent ptr arg1)Virtual method void QWidget::keyReleaseEvent(QKeyEvent *)
voidlanguageChangeVirtual method void QWidget::languageChange()
voidleaveEvent(QEvent ptr arg1)Virtual method void QWidget::leaveEvent(QEvent *)
[const]intmetric(const QPaintDevice_PaintDeviceMetric arg1)Virtual method int QWidget::metric(QPaintDevice::PaintDeviceMetric)
voidmouseDoubleClickEvent(QMouseEvent ptr arg1)Virtual method void QWidget::mouseDoubleClickEvent(QMouseEvent *)
voidmouseMoveEvent(QMouseEvent ptr arg1)Virtual method void QWidget::mouseMoveEvent(QMouseEvent *)
voidmousePressEvent(QMouseEvent ptr arg1)Virtual method void QWidget::mousePressEvent(QMouseEvent *)
voidmouseReleaseEvent(QMouseEvent ptr arg1)Virtual method void QWidget::mouseReleaseEvent(QMouseEvent *)
voidmoveEvent(QMoveEvent ptr arg1)Virtual method void QWidget::moveEvent(QMoveEvent *)
voidpaintEvent(QPaintEvent ptr arg1)Virtual method void QWidget::paintEvent(QPaintEvent *)
voidpaletteChange(const QPalette arg1)Virtual method void QWidget::paletteChange(const QPalette &)
voidqt_create(unsigned long arg1 = 0,
bool initializeWindow = true,
bool destroyOldWindow = true)
Method void QWidget::create(WId, bool initializeWindow, bool destroyOldWindow)
voidqt_destroy(bool destroyWindow = true,
bool destroySubWindows = true)
Method void QWidget::destroy(bool destroyWindow, bool destroySubWindows)
[const]intreceivers(string signal)Method int QWidget::receivers(const char *signal)
voidresetInputContextMethod void QWidget::resetInputContext()
voidresizeEvent(QResizeEvent ptr arg1)Virtual method void QWidget::resizeEvent(QResizeEvent *)
[const]QObject ptrsenderMethod QObject *QWidget::sender()
voidshowEvent(QShowEvent ptr arg1)Virtual method void QWidget::showEvent(QShowEvent *)
voidstyleChange(QStyle arg1)Virtual method void QWidget::styleChange(QStyle &)
voidtabletEvent(QTabletEvent ptr arg1)Virtual method void QWidget::tabletEvent(QTabletEvent *)
voidtimerEvent(QTimerEvent ptr arg1)Virtual method void QWidget::timerEvent(QTimerEvent *)
voidupdateMicroFocusMethod void QWidget::updateMicroFocus()
voidwheelEvent(QWheelEvent ptr arg1)Virtual method void QWidget::wheelEvent(QWheelEvent *)
voidwindowActivationChange(bool arg1)Virtual method void QWidget::windowActivationChange(bool)

Deprecated methods (protected, public, static, non-static and constructors)

voidcreateUse of this method is deprecated. Use _create instead
voiddestroyUse of this method is deprecated. Use _destroy instead
[const]boolis_const_object?Use of this method is deprecated. Use _is_const_object? instead

Detailed description

DrawChildren

Signature: [static,const] QWidget_RenderFlag DrawChildren

Description: Enum constant QWidget::DrawChildren

DrawWindowBackground

Signature: [static,const] QWidget_RenderFlag DrawWindowBackground

Description: Enum constant QWidget::DrawWindowBackground

IgnoreMask

Signature: [static,const] QWidget_RenderFlag IgnoreMask

Description: Enum constant QWidget::IgnoreMask

_create

Signature: void _create

Description: Ensures the C++ object is created

Use this method to ensure the C++ object is created, for example to ensure that resources are allocated. Usually C++ objects are created on demand and not necessarily when the script object is created.

_destroy

Signature: void _destroy

Description: Explicitly destroys the object

Explicitly destroys the object on C++ side if it was owned by the script interpreter. Subsequent access to this object will throw an exception. If the object is not owned by the script, this method will do nothing.

_destroyed?

Signature: [const] bool _destroyed?

Description: Returns a value indicating whether the object was already destroyed

This method returns true, if the object was destroyed, either explicitly or by the C++ side. The latter may happen, if the object is owned by a C++ object which got destroyed itself.

_is_const_object?

Signature: [const] bool _is_const_object?

Description: Returns a value indicating whether the reference is a const reference

This method returns true, if self is a const reference. In that case, only const methods may be called on self.

_manage

Signature: void _manage

Description: Marks the object as managed by the script side.

After calling this method on an object, the script side will be responsible for the management of the object. This method may be called if an object is returned from a C++ function and the object is known not to be owned by any C++ instance. If necessary, the script side may delete the object if the script's reference is no longer required.

Usually it's not required to call this method. It has been introduced in version 0.24.

_unmanage

Signature: void _unmanage

Description: Marks the object as no longer owned by the script side.

Calling this method will make this object no longer owned by the script's memory management. Instead, the object must be managed in some other way. Usually this method may be called if it is known that some C++ object holds and manages this object. Technically speaking, this method will turn the script's reference into a weak reference. After the script engine decides to delete the reference, the object itself will still exist. If the object is not managed otherwise, memory leaks will occur.

Usually it's not required to call this method. It has been introduced in version 0.24.

acceptDrops

Signature: [const] bool acceptDrops

Description: Method bool QWidget::acceptDrops()

Python specific notes:
The object exposes a readable attribute 'acceptDrops'. This is the getter.

acceptDrops=

Signature: void acceptDrops= (bool on)

Description: Method void QWidget::setAcceptDrops(bool on)

Python specific notes:
The object exposes a writable attribute 'acceptDrops'. This is the setter.

accessibleDescription

Signature: [const] string accessibleDescription

Description: Method QString QWidget::accessibleDescription()

Python specific notes:
The object exposes a readable attribute 'accessibleDescription'. This is the getter.

accessibleDescription=

Signature: void accessibleDescription= (string description)

Description: Method void QWidget::setAccessibleDescription(const QString &description)

Python specific notes:
The object exposes a writable attribute 'accessibleDescription'. This is the setter.

accessibleName

Signature: [const] string accessibleName

Description: Method QString QWidget::accessibleName()

Python specific notes:
The object exposes a readable attribute 'accessibleName'. This is the getter.

accessibleName=

Signature: void accessibleName= (string name)

Description: Method void QWidget::setAccessibleName(const QString &name)

Python specific notes:
The object exposes a writable attribute 'accessibleName'. This is the setter.

actionEvent

Signature: void actionEvent (QActionEvent ptr arg1)

Description: Virtual method void QWidget::actionEvent(QActionEvent *)

This method can be reimplemented in a derived class.

actions

Signature: [const] QAction ptr[] actions

Description: Method QList<QAction*> QWidget::actions()

activateWindow

Signature: void activateWindow

Description: Method void QWidget::activateWindow()

addAction

Signature: void addAction (QAction ptr action)

Description: Method void QWidget::addAction(QAction *action)

addActions

Signature: void addActions (QAction ptr[] actions)

Description: Method void QWidget::addActions(QList<QAction*> actions)

adjustSize

Signature: void adjustSize

Description: Method void QWidget::adjustSize()

asConstQObject

Signature: [const] const QObject ptr asConstQObject

Description: Delivers the base class interface QObject of QWidget

Class QWidget is derived from multiple base classes. This method delivers the QObject base class aspect.

Use this version if you have a const reference.

asConstQPaintDevice

Signature: [const] const QPaintDevice ptr asConstQPaintDevice

Description: Delivers the base class interface QPaintDevice of QWidget

Class QWidget is derived from multiple base classes. This method delivers the QPaintDevice base class aspect.

Use this version if you have a const reference.

asQObject

Signature: QObject ptr asQObject

Description: Delivers the base class interface QObject of QWidget

Class QWidget is derived from multiple base classes. This method delivers the QObject base class aspect.

asQPaintDevice

Signature: QPaintDevice ptr asQPaintDevice

Description: Delivers the base class interface QPaintDevice of QWidget

Class QWidget is derived from multiple base classes. This method delivers the QPaintDevice base class aspect.

autoFillBackground

Signature: [const] bool autoFillBackground

Description: Method bool QWidget::autoFillBackground()

Python specific notes:
The object exposes a readable attribute 'autoFillBackground'. This is the getter.

autoFillBackground=

Signature: void autoFillBackground= (bool enabled)

Description: Method void QWidget::setAutoFillBackground(bool enabled)

Python specific notes:
The object exposes a writable attribute 'autoFillBackground'. This is the setter.

backgroundRole

Signature: [const] QPalette_ColorRole backgroundRole

Description: Method QPalette::ColorRole QWidget::backgroundRole()

Python specific notes:
The object exposes a readable attribute 'backgroundRole'. This is the getter.

backgroundRole=

Signature: void backgroundRole= (const QPalette_ColorRole arg1)

Description: Method void QWidget::setBackgroundRole(QPalette::ColorRole)

Python specific notes:
The object exposes a writable attribute 'backgroundRole'. This is the setter.

baseSize

Signature: [const] QSize baseSize

Description: Method QSize QWidget::baseSize()

Python specific notes:
The object exposes a readable attribute 'baseSize'. This is the getter.

baseSize=

Signature: void baseSize= (const QSize arg1)

Description: Method void QWidget::setBaseSize(const QSize &)

Python specific notes:
The object exposes a writable attribute 'baseSize'. This is the setter.

changeEvent

Signature: void changeEvent (QEvent ptr arg1)

Description: Virtual method void QWidget::changeEvent(QEvent *)

This method can be reimplemented in a derived class.

childAt

(1) Signature: [const] QWidget ptr childAt (int x, int y)

Description: Method QWidget *QWidget::childAt(int x, int y)

(2) Signature: [const] QWidget ptr childAt (const QPoint p)

Description: Method QWidget *QWidget::childAt(const QPoint &p)

childEvent

Signature: void childEvent (QChildEvent ptr arg1)

Description: Virtual method void QWidget::childEvent(QChildEvent *)

This method can be reimplemented in a derived class.

childrenRect

Signature: [const] QRect childrenRect

Description: Method QRect QWidget::childrenRect()

Python specific notes:
The object exposes a readable attribute 'childrenRect'. This is the getter.

childrenRegion

Signature: [const] QRegion childrenRegion

Description: Method QRegion QWidget::childrenRegion()

Python specific notes:
The object exposes a readable attribute 'childrenRegion'. This is the getter.

clearFocus

Signature: void clearFocus

Description: Method void QWidget::clearFocus()

clearMask

Signature: void clearMask

Description: Method void QWidget::clearMask()

close

Signature: bool close

Description: Method bool QWidget::close()

closeEvent

Signature: void closeEvent (QCloseEvent ptr arg1)

Description: Virtual method void QWidget::closeEvent(QCloseEvent *)

This method can be reimplemented in a derived class.

contentsMargins

Signature: [const] QMargins contentsMargins

Description: Method QMargins QWidget::contentsMargins()

Python specific notes:
The object exposes a readable attribute 'contentsMargins'. This is the getter.

contentsMargins=

Signature: void contentsMargins= (const QMargins margins)

Description: Method void QWidget::setContentsMargins(const QMargins &margins)

Python specific notes:
The object exposes a writable attribute 'contentsMargins'. This is the setter.

contentsRect

Signature: [const] QRect contentsRect

Description: Method QRect QWidget::contentsRect()

contextMenuEvent

Signature: void contextMenuEvent (QContextMenuEvent ptr arg1)

Description: Virtual method void QWidget::contextMenuEvent(QContextMenuEvent *)

This method can be reimplemented in a derived class.

contextMenuPolicy

Signature: [const] Qt_ContextMenuPolicy contextMenuPolicy

Description: Method Qt::ContextMenuPolicy QWidget::contextMenuPolicy()

Python specific notes:
The object exposes a readable attribute 'contextMenuPolicy'. This is the getter.

contextMenuPolicy=

Signature: void contextMenuPolicy= (const Qt_ContextMenuPolicy policy)

Description: Method void QWidget::setContextMenuPolicy(Qt::ContextMenuPolicy policy)

Python specific notes:
The object exposes a writable attribute 'contextMenuPolicy'. This is the setter.

create

Signature: void create

Description: Ensures the C++ object is created

Use of this method is deprecated. Use _create instead

Use this method to ensure the C++ object is created, for example to ensure that resources are allocated. Usually C++ objects are created on demand and not necessarily when the script object is created.

createWinId

Signature: void createWinId

Description: Method void QWidget::createWinId()

cursor

Signature: [const] QCursor cursor

Description: Method QCursor QWidget::cursor()

Python specific notes:
The object exposes a readable attribute 'cursor'. This is the getter.

cursor=

Signature: void cursor= (const QCursor arg1)

Description: Method void QWidget::setCursor(const QCursor &)

Python specific notes:
The object exposes a writable attribute 'cursor'. This is the setter.

customContextMenuRequested

Signature: [signal] void customContextMenuRequested (const QPoint pos)

Description: Signal declaration for QWidget::customContextMenuRequested(const QPoint &pos)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'customContextMenuRequested'. This is the getter. The object exposes a writable attribute 'customContextMenuRequested'. This is the setter.

customEvent

Signature: void customEvent (QEvent ptr arg1)

Description: Virtual method void QWidget::customEvent(QEvent *)

This method can be reimplemented in a derived class.

destroy

Signature: void destroy

Description: Explicitly destroys the object

Use of this method is deprecated. Use _destroy instead

Explicitly destroys the object on C++ side if it was owned by the script interpreter. Subsequent access to this object will throw an exception. If the object is not owned by the script, this method will do nothing.

destroyed

Signature: [signal] void destroyed (QObject ptr arg1)

Description: Signal declaration for QWidget::destroyed(QObject *)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'destroyed'. This is the getter. The object exposes a writable attribute 'destroyed'. This is the setter.

disconnectNotify

Signature: void disconnectNotify (string signal)

Description: Virtual method void QWidget::disconnectNotify(const char *signal)

This method can be reimplemented in a derived class.

dragEnterEvent

Signature: void dragEnterEvent (QDragEnterEvent ptr arg1)

Description: Virtual method void QWidget::dragEnterEvent(QDragEnterEvent *)

This method can be reimplemented in a derived class.

dragLeaveEvent

Signature: void dragLeaveEvent (QDragLeaveEvent ptr arg1)

Description: Virtual method void QWidget::dragLeaveEvent(QDragLeaveEvent *)

This method can be reimplemented in a derived class.

dragMoveEvent

Signature: void dragMoveEvent (QDragMoveEvent ptr arg1)

Description: Virtual method void QWidget::dragMoveEvent(QDragMoveEvent *)

This method can be reimplemented in a derived class.

dropEvent

Signature: void dropEvent (QDropEvent ptr arg1)

Description: Virtual method void QWidget::dropEvent(QDropEvent *)

This method can be reimplemented in a derived class.

effectiveWinId

Signature: [const] unsigned long effectiveWinId

Description: Method WId QWidget::effectiveWinId()

emit_customContextMenuRequested

Signature: void emit_customContextMenuRequested (const QPoint pos)

Description: Emitter for signal void QWidget::customContextMenuRequested(const QPoint &pos)

Call this method to emit this signal.

emit_destroyed

Signature: void emit_destroyed (QObject ptr arg1 = 0)

Description: Emitter for signal void QWidget::destroyed(QObject *)

Call this method to emit this signal.

enabled

Signature: [const] bool enabled

Description: Method bool QWidget::isEnabled()

Python specific notes:
The object exposes a readable attribute 'enabled'. This is the getter.

enabled=

Signature: void enabled= (bool arg1)

Description: Method void QWidget::setEnabled(bool)

Python specific notes:
The object exposes a writable attribute 'enabled'. This is the setter.

enabledChange

Signature: void enabledChange (bool arg1)

Description: Virtual method void QWidget::enabledChange(bool)

This method can be reimplemented in a derived class.

ensurePolished

Signature: [const] void ensurePolished

Description: Method void QWidget::ensurePolished()

enterEvent

Signature: void enterEvent (QEvent ptr arg1)

Description: Virtual method void QWidget::enterEvent(QEvent *)

This method can be reimplemented in a derived class.

event

Signature: bool event (QEvent ptr arg1)

Description: Virtual method bool QWidget::event(QEvent *)

This method can be reimplemented in a derived class.

eventFilter

Signature: bool eventFilter (QObject ptr arg1, QEvent ptr arg2)

Description: Virtual method bool QWidget::eventFilter(QObject *, QEvent *)

This method can be reimplemented in a derived class.

find

Signature: [static] QWidget ptr find (unsigned long arg1)

Description: Static method QWidget *QWidget::find(WId)

This method is static and can be called without an instance.

focus

Signature: [const] bool focus

Description: Method bool QWidget::hasFocus()

Python specific notes:
The object exposes a readable attribute 'focus'. This is the getter.

focusInEvent

Signature: void focusInEvent (QFocusEvent ptr arg1)

Description: Virtual method void QWidget::focusInEvent(QFocusEvent *)

This method can be reimplemented in a derived class.

focusNextChild

Signature: bool focusNextChild

Description: Method bool QWidget::focusNextChild()

This method is protected and can only be called from inside a derived class.

focusNextPrevChild

Signature: bool focusNextPrevChild (bool next)

Description: Virtual method bool QWidget::focusNextPrevChild(bool next)

This method can be reimplemented in a derived class.

focusOutEvent

Signature: void focusOutEvent (QFocusEvent ptr arg1)

Description: Virtual method void QWidget::focusOutEvent(QFocusEvent *)

This method can be reimplemented in a derived class.

focusPolicy

Signature: [const] Qt_FocusPolicy focusPolicy

Description: Method Qt::FocusPolicy QWidget::focusPolicy()

Python specific notes:
The object exposes a readable attribute 'focusPolicy'. This is the getter.

focusPolicy=

Signature: void focusPolicy= (const Qt_FocusPolicy policy)

Description: Method void QWidget::setFocusPolicy(Qt::FocusPolicy policy)

Python specific notes:
The object exposes a writable attribute 'focusPolicy'. This is the setter.

focusPreviousChild

Signature: bool focusPreviousChild

Description: Method bool QWidget::focusPreviousChild()

This method is protected and can only be called from inside a derived class.

focusProxy

Signature: [const] QWidget ptr focusProxy

Description: Method QWidget *QWidget::focusProxy()

Python specific notes:
The object exposes a readable attribute 'focusProxy'. This is the getter.

focusProxy=

Signature: void focusProxy= (QWidget ptr arg1)

Description: Method void QWidget::setFocusProxy(QWidget *)

Python specific notes:
The object exposes a writable attribute 'focusProxy'. This is the setter.

focusWidget

Signature: [const] QWidget ptr focusWidget

Description: Method QWidget *QWidget::focusWidget()

font

Signature: [const] QFont font

Description: Method const QFont &QWidget::font()

Python specific notes:
The object exposes a readable attribute 'font'. This is the getter.

font=

Signature: void font= (const QFont arg1)

Description: Method void QWidget::setFont(const QFont &)

Python specific notes:
The object exposes a writable attribute 'font'. This is the setter.

fontChange

Signature: void fontChange (const QFont arg1)

Description: Virtual method void QWidget::fontChange(const QFont &)

This method can be reimplemented in a derived class.

fontInfo

Signature: [const] QFontInfo fontInfo

Description: Method QFontInfo QWidget::fontInfo()

fontMetrics

Signature: [const] QFontMetrics fontMetrics

Description: Method QFontMetrics QWidget::fontMetrics()

foregroundRole

Signature: [const] QPalette_ColorRole foregroundRole

Description: Method QPalette::ColorRole QWidget::foregroundRole()

Python specific notes:
The object exposes a readable attribute 'foregroundRole'. This is the getter.

foregroundRole=

Signature: void foregroundRole= (const QPalette_ColorRole arg1)

Description: Method void QWidget::setForegroundRole(QPalette::ColorRole)

Python specific notes:
The object exposes a writable attribute 'foregroundRole'. This is the setter.

frameGeometry

Signature: [const] QRect frameGeometry

Description: Method QRect QWidget::frameGeometry()

Python specific notes:
The object exposes a readable attribute 'frameGeometry'. This is the getter.

frameSize

Signature: [const] QSize frameSize

Description: Method QSize QWidget::frameSize()

Python specific notes:
The object exposes a readable attribute 'frameSize'. This is the getter.

fullScreen

Signature: [const] bool fullScreen

Description: Method bool QWidget::isFullScreen()

Python specific notes:
The object exposes a readable attribute 'fullScreen'. This is the getter.

geometry

Signature: [const] QRect geometry

Description: Method const QRect &QWidget::geometry()

Python specific notes:
The object exposes a readable attribute 'geometry'. This is the getter. The object exposes a readable attribute 'geometry'. This is the getter.

geometry=

Signature: void geometry= (const QRect arg1)

Description: Method void QWidget::setGeometry(const QRect &)

Python specific notes:
The object exposes a writable attribute 'geometry'. This is the setter.

getContentsMargins

Signature: [const] void getContentsMargins (int ptr left, int ptr top, int ptr right, int ptr bottom)

Description: Method void QWidget::getContentsMargins(int *left, int *top, int *right, int *bottom)

grabGesture

Signature: void grabGesture (const Qt_GestureType type, Qt_QFlags_GestureFlag flags = Qt::GestureFlags())

Description: Method void QWidget::grabGesture(Qt::GestureType type, QFlags<Qt::GestureFlag> flags)

grabKeyboard

Signature: void grabKeyboard

Description: Method void QWidget::grabKeyboard()

grabMouse

(1) Signature: void grabMouse

Description: Method void QWidget::grabMouse()

(2) Signature: void grabMouse (const QCursor arg1)

Description: Method void QWidget::grabMouse(const QCursor &)

grabShortcut

Signature: int grabShortcut (const QKeySequence key, const Qt_ShortcutContext context = Qt::WindowShortcut)

Description: Method int QWidget::grabShortcut(const QKeySequence &key, Qt::ShortcutContext context)

graphicsEffect

Signature: [const] QGraphicsEffect ptr graphicsEffect

Description: Method QGraphicsEffect *QWidget::graphicsEffect()

Python specific notes:
The object exposes a readable attribute 'graphicsEffect'. This is the getter.

graphicsEffect=

Signature: void graphicsEffect= (QGraphicsEffect ptr effect)

Description: Method void QWidget::setGraphicsEffect(QGraphicsEffect *effect)

Python specific notes:
The object exposes a writable attribute 'graphicsEffect'. This is the setter.

graphicsProxyWidget

Signature: [const] QGraphicsProxyWidget ptr graphicsProxyWidget

Description: Method QGraphicsProxyWidget *QWidget::graphicsProxyWidget()

hasFocus

Signature: [const] bool hasFocus

Description: Method bool QWidget::hasFocus()

Python specific notes:
The object exposes a readable attribute 'focus'. This is the getter.

hasMouseTracking

Signature: [const] bool hasMouseTracking

Description: Method bool QWidget::hasMouseTracking()

Python specific notes:
The object exposes a readable attribute 'mouseTracking'. This is the getter.

height

Signature: [const] int height

Description: Method int QWidget::height()

Python specific notes:
The object exposes a readable attribute 'height'. This is the getter.

heightForWidth

Signature: [const] int heightForWidth (int arg1)

Description: Virtual method int QWidget::heightForWidth(int)

This method can be reimplemented in a derived class.

hidden

Signature: [const] bool hidden

Description: Method bool QWidget::isHidden()

Python specific notes:
The object exposes a readable attribute 'hidden'. This is the getter.

hidden=

Signature: void hidden= (bool hidden)

Description: Method void QWidget::setHidden(bool hidden)

Python specific notes:
The object exposes a writable attribute 'hidden'. This is the setter.

hide

Signature: void hide

Description: Method void QWidget::hide()

hideEvent

Signature: void hideEvent (QHideEvent ptr arg1)

Description: Virtual method void QWidget::hideEvent(QHideEvent *)

This method can be reimplemented in a derived class.

inputContext

Signature: QInputContext ptr inputContext

Description: Method QInputContext *QWidget::inputContext()

Python specific notes:
The object exposes a readable attribute 'inputContext'. This is the getter.

inputContext=

Signature: void inputContext= (QInputContext ptr arg1)

Description: Method void QWidget::setInputContext(QInputContext *)

Python specific notes:
The object exposes a writable attribute 'inputContext'. This is the setter.

inputMethodEvent

Signature: void inputMethodEvent (QInputMethodEvent ptr arg1)

Description: Virtual method void QWidget::inputMethodEvent(QInputMethodEvent *)

This method can be reimplemented in a derived class.

inputMethodHints

Signature: [const] Qt_QFlags_InputMethodHint inputMethodHints

Description: Method QFlags<Qt::InputMethodHint> QWidget::inputMethodHints()

Python specific notes:
The object exposes a readable attribute 'inputMethodHints'. This is the getter.

inputMethodHints=

Signature: void inputMethodHints= (Qt_QFlags_InputMethodHint hints)

Description: Method void QWidget::setInputMethodHints(QFlags<Qt::InputMethodHint> hints)

Python specific notes:
The object exposes a writable attribute 'inputMethodHints'. This is the setter.

inputMethodQuery

Signature: [const] variant inputMethodQuery (const Qt_InputMethodQuery arg1)

Description: Virtual method QVariant QWidget::inputMethodQuery(Qt::InputMethodQuery)

This method can be reimplemented in a derived class.

insertAction

Signature: void insertAction (QAction ptr before, QAction ptr action)

Description: Method void QWidget::insertAction(QAction *before, QAction *action)

insertActions

Signature: void insertActions (QAction ptr before, QAction ptr[] actions)

Description: Method void QWidget::insertActions(QAction *before, QList<QAction*> actions)

internalWinId

Signature: [const] unsigned long internalWinId

Description: Method WId QWidget::internalWinId()

isActiveWindow

Signature: [const] bool isActiveWindow

Description: Method bool QWidget::isActiveWindow()

Python specific notes:
The object exposes a readable attribute 'isActiveWindow'. This is the getter. The object exposes a readable attribute 'isActiveWindow'. This is the getter.

isActiveWindow?

Signature: [const] bool isActiveWindow?

Description: Method bool QWidget::isActiveWindow()

Python specific notes:
The object exposes a readable attribute 'isActiveWindow'. This is the getter. The object exposes a readable attribute 'isActiveWindow'. This is the getter.

isAncestorOf?

Signature: [const] bool isAncestorOf? (const QWidget ptr child)

Description: Method bool QWidget::isAncestorOf(const QWidget *child)

isEnabled?

Signature: [const] bool isEnabled?

Description: Method bool QWidget::isEnabled()

Python specific notes:
The object exposes a readable attribute 'enabled'. This is the getter.

isEnabledTo?

Signature: [const] bool isEnabledTo? (QWidget ptr arg1)

Description: Method bool QWidget::isEnabledTo(QWidget *)

isEnabledToTLW?

Signature: [const] bool isEnabledToTLW?

Description: Method bool QWidget::isEnabledToTLW()

isFullScreen?

Signature: [const] bool isFullScreen?

Description: Method bool QWidget::isFullScreen()

Python specific notes:
The object exposes a readable attribute 'fullScreen'. This is the getter.

isHidden?

Signature: [const] bool isHidden?

Description: Method bool QWidget::isHidden()

Python specific notes:
The object exposes a readable attribute 'hidden'. This is the getter.

isLeftToRight?

Signature: [const] bool isLeftToRight?

Description: Method bool QWidget::isLeftToRight()

isMaximized?

Signature: [const] bool isMaximized?

Description: Method bool QWidget::isMaximized()

Python specific notes:
The object exposes a readable attribute 'maximized'. This is the getter.

isMinimized?

Signature: [const] bool isMinimized?

Description: Method bool QWidget::isMinimized()

Python specific notes:
The object exposes a readable attribute 'minimized'. This is the getter.

isModal?

Signature: [const] bool isModal?

Description: Method bool QWidget::isModal()

Python specific notes:
The object exposes a readable attribute 'modal'. This is the getter. The object exposes a readable attribute 'modal'. This is the getter.

isRightToLeft?

Signature: [const] bool isRightToLeft?

Description: Method bool QWidget::isRightToLeft()

isTopLevel?

Signature: [const] bool isTopLevel?

Description: Method bool QWidget::isTopLevel()

isVisible?

Signature: [const] bool isVisible?

Description: Method bool QWidget::isVisible()

Python specific notes:
The object exposes a readable attribute 'visible'. This is the getter. The object exposes a readable attribute 'visible'. This is the getter. The object exposes a readable attribute 'visible'. This is the getter. The object exposes a readable attribute 'visible'. This is the getter. The object exposes a readable attribute 'visible'. This is the getter. The object exposes a readable attribute 'visible'. This is the getter. The object exposes a readable attribute 'visible'. This is the getter. The object exposes a readable attribute 'visible'. This is the getter. The object exposes a readable attribute 'visible'. This is the getter. The object exposes a readable attribute 'visible'. This is the getter. The object exposes a readable attribute 'visible'. This is the getter. The object exposes a readable attribute 'visible'. This is the getter.

isVisibleTo?

Signature: [const] bool isVisibleTo? (QWidget ptr arg1)

Description: Method bool QWidget::isVisibleTo(QWidget *)

isWindow?

Signature: [const] bool isWindow?

Description: Method bool QWidget::isWindow()

isWindowModified?

Signature: [const] bool isWindowModified?

Description: Method bool QWidget::isWindowModified()

Python specific notes:
The object exposes a readable attribute 'windowModified'. This is the getter.

is_const_object?

Signature: [const] bool is_const_object?

Description: Returns a value indicating whether the reference is a const reference

Use of this method is deprecated. Use _is_const_object? instead

This method returns true, if self is a const reference. In that case, only const methods may be called on self.

keyPressEvent

Signature: void keyPressEvent (QKeyEvent ptr arg1)

Description: Virtual method void QWidget::keyPressEvent(QKeyEvent *)

This method can be reimplemented in a derived class.

keyReleaseEvent

Signature: void keyReleaseEvent (QKeyEvent ptr arg1)

Description: Virtual method void QWidget::keyReleaseEvent(QKeyEvent *)

This method can be reimplemented in a derived class.

keyboardGrabber

Signature: [static] QWidget ptr keyboardGrabber

Description: Static method QWidget *QWidget::keyboardGrabber()

This method is static and can be called without an instance.

languageChange

Signature: void languageChange

Description: Virtual method void QWidget::languageChange()

This method can be reimplemented in a derived class.

layout

Signature: [const] QLayout ptr layout

Description: Method QLayout *QWidget::layout()

Python specific notes:
The object exposes a readable attribute 'layout'. This is the getter.

layout=

Signature: void layout= (QLayout ptr arg1)

Description: Method void QWidget::setLayout(QLayout *)

Python specific notes:
The object exposes a writable attribute 'layout'. This is the setter.

layoutDirection

Signature: [const] Qt_LayoutDirection layoutDirection

Description: Method Qt::LayoutDirection QWidget::layoutDirection()

Python specific notes:
The object exposes a readable attribute 'layoutDirection'. This is the getter.

layoutDirection=

Signature: void layoutDirection= (const Qt_LayoutDirection direction)

Description: Method void QWidget::setLayoutDirection(Qt::LayoutDirection direction)

Python specific notes:
The object exposes a writable attribute 'layoutDirection'. This is the setter.

leaveEvent

Signature: void leaveEvent (QEvent ptr arg1)

Description: Virtual method void QWidget::leaveEvent(QEvent *)

This method can be reimplemented in a derived class.

locale

Signature: [const] QLocale locale

Description: Method QLocale QWidget::locale()

Python specific notes:
The object exposes a readable attribute 'locale'. This is the getter.

locale=

Signature: void locale= (const QLocale locale)

Description: Method void QWidget::setLocale(const QLocale &locale)

Python specific notes:
The object exposes a writable attribute 'locale'. This is the setter.

lower

Signature: void lower

Description: Method void QWidget::lower()

mapFrom

Signature: [const] QPoint mapFrom (QWidget ptr arg1, const QPoint arg2)

Description: Method QPoint QWidget::mapFrom(QWidget *, const QPoint &)

mapFromGlobal

Signature: [const] QPoint mapFromGlobal (const QPoint arg1)

Description: Method QPoint QWidget::mapFromGlobal(const QPoint &)

mapFromParent

Signature: [const] QPoint mapFromParent (const QPoint arg1)

Description: Method QPoint QWidget::mapFromParent(const QPoint &)

mapTo

Signature: [const] QPoint mapTo (QWidget ptr arg1, const QPoint arg2)

Description: Method QPoint QWidget::mapTo(QWidget *, const QPoint &)

mapToGlobal

Signature: [const] QPoint mapToGlobal (const QPoint arg1)

Description: Method QPoint QWidget::mapToGlobal(const QPoint &)

mapToParent

Signature: [const] QPoint mapToParent (const QPoint arg1)

Description: Method QPoint QWidget::mapToParent(const QPoint &)

mask

Signature: [const] QRegion mask

Description: Method QRegion QWidget::mask()

maximized

Signature: [const] bool maximized

Description: Method bool QWidget::isMaximized()

Python specific notes:
The object exposes a readable attribute 'maximized'. This is the getter.

maximumHeight

Signature: [const] int maximumHeight

Description: Method int QWidget::maximumHeight()

Python specific notes:
The object exposes a readable attribute 'maximumHeight'. This is the getter.

maximumHeight=

Signature: void maximumHeight= (int maxh)

Description: Method void QWidget::setMaximumHeight(int maxh)

Python specific notes:
The object exposes a writable attribute 'maximumHeight'. This is the setter.

maximumSize

Signature: [const] QSize maximumSize

Description: Method QSize QWidget::maximumSize()

Python specific notes:
The object exposes a readable attribute 'maximumSize'. This is the getter.

maximumSize=

Signature: void maximumSize= (const QSize arg1)

Description: Method void QWidget::setMaximumSize(const QSize &)

Python specific notes:
The object exposes a writable attribute 'maximumSize'. This is the setter.

maximumWidth

Signature: [const] int maximumWidth

Description: Method int QWidget::maximumWidth()

Python specific notes:
The object exposes a readable attribute 'maximumWidth'. This is the getter.

maximumWidth=

Signature: void maximumWidth= (int maxw)

Description: Method void QWidget::setMaximumWidth(int maxw)

Python specific notes:
The object exposes a writable attribute 'maximumWidth'. This is the setter.

metric

Signature: [const] int metric (const QPaintDevice_PaintDeviceMetric arg1)

Description: Virtual method int QWidget::metric(QPaintDevice::PaintDeviceMetric)

This method can be reimplemented in a derived class.

minimized

Signature: [const] bool minimized

Description: Method bool QWidget::isMinimized()

Python specific notes:
The object exposes a readable attribute 'minimized'. This is the getter.

minimumHeight

Signature: [const] int minimumHeight

Description: Method int QWidget::minimumHeight()

Python specific notes:
The object exposes a readable attribute 'minimumHeight'. This is the getter.

minimumHeight=

Signature: void minimumHeight= (int minh)

Description: Method void QWidget::setMinimumHeight(int minh)

Python specific notes:
The object exposes a writable attribute 'minimumHeight'. This is the setter.

minimumSize

Signature: [const] QSize minimumSize

Description: Method QSize QWidget::minimumSize()

Python specific notes:
The object exposes a readable attribute 'minimumSize'. This is the getter.

minimumSize=

Signature: void minimumSize= (const QSize arg1)

Description: Method void QWidget::setMinimumSize(const QSize &)

Python specific notes:
The object exposes a writable attribute 'minimumSize'. This is the setter.

minimumSizeHint

Signature: [const] QSize minimumSizeHint

Description: Virtual method QSize QWidget::minimumSizeHint()

This method can be reimplemented in a derived class.

minimumWidth

Signature: [const] int minimumWidth

Description: Method int QWidget::minimumWidth()

Python specific notes:
The object exposes a readable attribute 'minimumWidth'. This is the getter.

minimumWidth=

Signature: void minimumWidth= (int minw)

Description: Method void QWidget::setMinimumWidth(int minw)

Python specific notes:
The object exposes a writable attribute 'minimumWidth'. This is the setter.

modal

Signature: [const] bool modal

Description: Method bool QWidget::isModal()

Python specific notes:
The object exposes a readable attribute 'modal'. This is the getter. The object exposes a readable attribute 'modal'. This is the getter.

mouseDoubleClickEvent

Signature: void mouseDoubleClickEvent (QMouseEvent ptr arg1)

Description: Virtual method void QWidget::mouseDoubleClickEvent(QMouseEvent *)

This method can be reimplemented in a derived class.

mouseGrabber

Signature: [static] QWidget ptr mouseGrabber

Description: Static method QWidget *QWidget::mouseGrabber()

This method is static and can be called without an instance.

mouseMoveEvent

Signature: void mouseMoveEvent (QMouseEvent ptr arg1)

Description: Virtual method void QWidget::mouseMoveEvent(QMouseEvent *)

This method can be reimplemented in a derived class.

mousePressEvent

Signature: void mousePressEvent (QMouseEvent ptr arg1)

Description: Virtual method void QWidget::mousePressEvent(QMouseEvent *)

This method can be reimplemented in a derived class.

mouseReleaseEvent

Signature: void mouseReleaseEvent (QMouseEvent ptr arg1)

Description: Virtual method void QWidget::mouseReleaseEvent(QMouseEvent *)

This method can be reimplemented in a derived class.

mouseTracking

Signature: [const] bool mouseTracking

Description: Method bool QWidget::hasMouseTracking()

Python specific notes:
The object exposes a readable attribute 'mouseTracking'. This is the getter.

mouseTracking=

Signature: void mouseTracking= (bool enable)

Description: Method void QWidget::setMouseTracking(bool enable)

Python specific notes:
The object exposes a writable attribute 'mouseTracking'. This is the setter.

move

(1) Signature: void move (int x, int y)

Description: Method void QWidget::move(int x, int y)

(2) Signature: void move (const QPoint arg1)

Description: Method void QWidget::move(const QPoint &)

moveEvent

Signature: void moveEvent (QMoveEvent ptr arg1)

Description: Virtual method void QWidget::moveEvent(QMoveEvent *)

This method can be reimplemented in a derived class.

nativeParentWidget

Signature: [const] QWidget ptr nativeParentWidget

Description: Method QWidget *QWidget::nativeParentWidget()

new

Signature: [static] new QWidget new (QWidget ptr parent = 0, Qt_QFlags_WindowType f = 0)

Description: Constructor QWidget::QWidget(QWidget *parent, QFlags<Qt::WindowType> f)

This method creates an object of class QWidget.

Python specific notes:
This method is the default initializer of the object

nextInFocusChain

Signature: [const] QWidget ptr nextInFocusChain

Description: Method QWidget *QWidget::nextInFocusChain()

normalGeometry

Signature: [const] QRect normalGeometry

Description: Method QRect QWidget::normalGeometry()

Python specific notes:
The object exposes a readable attribute 'normalGeometry'. This is the getter.

overrideWindowFlags

Signature: void overrideWindowFlags (Qt_QFlags_WindowType type)

Description: Method void QWidget::overrideWindowFlags(QFlags<Qt::WindowType> type)

overrideWindowState

Signature: void overrideWindowState (Qt_QFlags_WindowState state)

Description: Method void QWidget::overrideWindowState(QFlags<Qt::WindowState> state)

paintEngine

Signature: [const] QPaintEngine ptr paintEngine

Description: Virtual method QPaintEngine *QWidget::paintEngine()

This method can be reimplemented in a derived class.

paintEvent

Signature: void paintEvent (QPaintEvent ptr arg1)

Description: Virtual method void QWidget::paintEvent(QPaintEvent *)

This method can be reimplemented in a derived class.

palette

Signature: [const] QPalette palette

Description: Method const QPalette &QWidget::palette()

Python specific notes:
The object exposes a readable attribute 'palette'. This is the getter.

palette=

Signature: void palette= (const QPalette arg1)

Description: Method void QWidget::setPalette(const QPalette &)

Python specific notes:
The object exposes a writable attribute 'palette'. This is the setter.

paletteChange

Signature: void paletteChange (const QPalette arg1)

Description: Virtual method void QWidget::paletteChange(const QPalette &)

This method can be reimplemented in a derived class.

parentWidget

Signature: [const] QWidget ptr parentWidget

Description: Method QWidget *QWidget::parentWidget()

pos

Signature: [const] QPoint pos

Description: Method QPoint QWidget::pos()

Python specific notes:
The object exposes a readable attribute 'pos'. This is the getter.

previousInFocusChain

Signature: [const] QWidget ptr previousInFocusChain

Description: Method QWidget *QWidget::previousInFocusChain()

qt_create

Signature: void qt_create (unsigned long arg1 = 0, bool initializeWindow = true, bool destroyOldWindow = true)

Description: Method void QWidget::create(WId, bool initializeWindow, bool destroyOldWindow)

This method is protected and can only be called from inside a derived class.

qt_destroy

Signature: void qt_destroy (bool destroyWindow = true, bool destroySubWindows = true)

Description: Method void QWidget::destroy(bool destroyWindow, bool destroySubWindows)

This method is protected and can only be called from inside a derived class.

qt_raise

Signature: void qt_raise

Description: Method void QWidget::raise()

receivers

Signature: [const] int receivers (string signal)

Description: Method int QWidget::receivers(const char *signal)

This method is protected and can only be called from inside a derived class.

rect

Signature: [const] QRect rect

Description: Method QRect QWidget::rect()

Python specific notes:
The object exposes a readable attribute 'rect'. This is the getter.

releaseKeyboard

Signature: void releaseKeyboard

Description: Method void QWidget::releaseKeyboard()

releaseMouse

Signature: void releaseMouse

Description: Method void QWidget::releaseMouse()

releaseShortcut

Signature: void releaseShortcut (int id)

Description: Method void QWidget::releaseShortcut(int id)

removeAction

Signature: void removeAction (QAction ptr action)

Description: Method void QWidget::removeAction(QAction *action)

render

(1) Signature: void render (QPaintDevice ptr target, const QPoint targetOffset = QPoint(), const QRegion sourceRegion = QRegion(), QWidget_QFlags_RenderFlag renderFlags = QWidget::RenderFlags(QWidget::DrawWindowBackground | QWidget::DrawChildren))

Description: Method void QWidget::render(QPaintDevice *target, const QPoint &targetOffset, const QRegion &sourceRegion, QFlags<QWidget::RenderFlag> renderFlags)

(2) Signature: void render (QPainter ptr painter, const QPoint targetOffset = QPoint(), const QRegion sourceRegion = QRegion(), QWidget_QFlags_RenderFlag renderFlags = QWidget::RenderFlags(QWidget::DrawWindowBackground | QWidget::DrawChildren))

Description: Method void QWidget::render(QPainter *painter, const QPoint &targetOffset, const QRegion &sourceRegion, QFlags<QWidget::RenderFlag> renderFlags)

repaint

(1) Signature: void repaint

Description: Method void QWidget::repaint()

(2) Signature: void repaint (int x, int y, int w, int h)

Description: Method void QWidget::repaint(int x, int y, int w, int h)

(3) Signature: void repaint (const QRect arg1)

Description: Method void QWidget::repaint(const QRect &)

(4) Signature: void repaint (const QRegion arg1)

Description: Method void QWidget::repaint(const QRegion &)

resetInputContext

Signature: void resetInputContext

Description: Method void QWidget::resetInputContext()

This method is protected and can only be called from inside a derived class.

resize

(1) Signature: void resize (int w, int h)

Description: Method void QWidget::resize(int w, int h)

(2) Signature: void resize (const QSize arg1)

Description: Method void QWidget::resize(const QSize &)

resizeEvent

Signature: void resizeEvent (QResizeEvent ptr arg1)

Description: Virtual method void QWidget::resizeEvent(QResizeEvent *)

This method can be reimplemented in a derived class.

restoreGeometry

Signature: bool restoreGeometry (bytes geometry)

Description: Method bool QWidget::restoreGeometry(const QByteArray &geometry)

saveGeometry

Signature: [const] bytes saveGeometry

Description: Method QByteArray QWidget::saveGeometry()

scroll

(1) Signature: void scroll (int dx, int dy)

Description: Method void QWidget::scroll(int dx, int dy)

(2) Signature: void scroll (int dx, int dy, const QRect arg3)

Description: Method void QWidget::scroll(int dx, int dy, const QRect &)

sender

Signature: [const] QObject ptr sender

Description: Method QObject *QWidget::sender()

This method is protected and can only be called from inside a derived class.

setAcceptDrops

Signature: void setAcceptDrops (bool on)

Description: Method void QWidget::setAcceptDrops(bool on)

Python specific notes:
The object exposes a writable attribute 'acceptDrops'. This is the setter.

setAccessibleDescription

Signature: void setAccessibleDescription (string description)

Description: Method void QWidget::setAccessibleDescription(const QString &description)

Python specific notes:
The object exposes a writable attribute 'accessibleDescription'. This is the setter.

setAccessibleName

Signature: void setAccessibleName (string name)

Description: Method void QWidget::setAccessibleName(const QString &name)

Python specific notes:
The object exposes a writable attribute 'accessibleName'. This is the setter.

setAttribute

Signature: void setAttribute (const Qt_WidgetAttribute arg1, bool on = true)

Description: Method void QWidget::setAttribute(Qt::WidgetAttribute, bool on)

setAutoFillBackground

Signature: void setAutoFillBackground (bool enabled)

Description: Method void QWidget::setAutoFillBackground(bool enabled)

Python specific notes:
The object exposes a writable attribute 'autoFillBackground'. This is the setter.

setBackgroundRole

Signature: void setBackgroundRole (const QPalette_ColorRole arg1)

Description: Method void QWidget::setBackgroundRole(QPalette::ColorRole)

Python specific notes:
The object exposes a writable attribute 'backgroundRole'. This is the setter.

setBaseSize

(1) Signature: void setBaseSize (const QSize arg1)

Description: Method void QWidget::setBaseSize(const QSize &)

Python specific notes:
The object exposes a writable attribute 'baseSize'. This is the setter.

(2) Signature: void setBaseSize (int basew, int baseh)

Description: Method void QWidget::setBaseSize(int basew, int baseh)

setContentsMargins

(1) Signature: void setContentsMargins (int left, int top, int right, int bottom)

Description: Method void QWidget::setContentsMargins(int left, int top, int right, int bottom)

(2) Signature: void setContentsMargins (const QMargins margins)

Description: Method void QWidget::setContentsMargins(const QMargins &margins)

Python specific notes:
The object exposes a writable attribute 'contentsMargins'. This is the setter.

setContextMenuPolicy

Signature: void setContextMenuPolicy (const Qt_ContextMenuPolicy policy)

Description: Method void QWidget::setContextMenuPolicy(Qt::ContextMenuPolicy policy)

Python specific notes:
The object exposes a writable attribute 'contextMenuPolicy'. This is the setter.

setCursor

Signature: void setCursor (const QCursor arg1)

Description: Method void QWidget::setCursor(const QCursor &)

Python specific notes:
The object exposes a writable attribute 'cursor'. This is the setter.

setDisabled

Signature: void setDisabled (bool arg1)

Description: Method void QWidget::setDisabled(bool)

setEnabled

Signature: void setEnabled (bool arg1)

Description: Method void QWidget::setEnabled(bool)

Python specific notes:
The object exposes a writable attribute 'enabled'. This is the setter.

setFixedHeight

Signature: void setFixedHeight (int h)

Description: Method void QWidget::setFixedHeight(int h)

setFixedSize

(1) Signature: void setFixedSize (const QSize arg1)

Description: Method void QWidget::setFixedSize(const QSize &)

(2) Signature: void setFixedSize (int w, int h)

Description: Method void QWidget::setFixedSize(int w, int h)

setFixedWidth

Signature: void setFixedWidth (int w)

Description: Method void QWidget::setFixedWidth(int w)

setFocus

(1) Signature: void setFocus

Description: Method void QWidget::setFocus()

(2) Signature: void setFocus (const Qt_FocusReason reason)

Description: Method void QWidget::setFocus(Qt::FocusReason reason)

setFocusPolicy

Signature: void setFocusPolicy (const Qt_FocusPolicy policy)

Description: Method void QWidget::setFocusPolicy(Qt::FocusPolicy policy)

Python specific notes:
The object exposes a writable attribute 'focusPolicy'. This is the setter.

setFocusProxy

Signature: void setFocusProxy (QWidget ptr arg1)

Description: Method void QWidget::setFocusProxy(QWidget *)

Python specific notes:
The object exposes a writable attribute 'focusProxy'. This is the setter.

setFont

Signature: void setFont (const QFont arg1)

Description: Method void QWidget::setFont(const QFont &)

Python specific notes:
The object exposes a writable attribute 'font'. This is the setter.

setForegroundRole

Signature: void setForegroundRole (const QPalette_ColorRole arg1)

Description: Method void QWidget::setForegroundRole(QPalette::ColorRole)

Python specific notes:
The object exposes a writable attribute 'foregroundRole'. This is the setter.

setGeometry

(1) Signature: void setGeometry (int x, int y, int w, int h)

Description: Method void QWidget::setGeometry(int x, int y, int w, int h)

(2) Signature: void setGeometry (const QRect arg1)

Description: Method void QWidget::setGeometry(const QRect &)

Python specific notes:
The object exposes a writable attribute 'geometry'. This is the setter.

setGraphicsEffect

Signature: void setGraphicsEffect (QGraphicsEffect ptr effect)

Description: Method void QWidget::setGraphicsEffect(QGraphicsEffect *effect)

Python specific notes:
The object exposes a writable attribute 'graphicsEffect'. This is the setter.

setHidden

Signature: void setHidden (bool hidden)

Description: Method void QWidget::setHidden(bool hidden)

Python specific notes:
The object exposes a writable attribute 'hidden'. This is the setter.

setInputContext

Signature: void setInputContext (QInputContext ptr arg1)

Description: Method void QWidget::setInputContext(QInputContext *)

Python specific notes:
The object exposes a writable attribute 'inputContext'. This is the setter.

setInputMethodHints

Signature: void setInputMethodHints (Qt_QFlags_InputMethodHint hints)

Description: Method void QWidget::setInputMethodHints(QFlags<Qt::InputMethodHint> hints)

Python specific notes:
The object exposes a writable attribute 'inputMethodHints'. This is the setter.

setLayout

Signature: void setLayout (QLayout ptr arg1)

Description: Method void QWidget::setLayout(QLayout *)

Python specific notes:
The object exposes a writable attribute 'layout'. This is the setter.

setLayoutDirection

Signature: void setLayoutDirection (const Qt_LayoutDirection direction)

Description: Method void QWidget::setLayoutDirection(Qt::LayoutDirection direction)

Python specific notes:
The object exposes a writable attribute 'layoutDirection'. This is the setter.

setLocale

Signature: void setLocale (const QLocale locale)

Description: Method void QWidget::setLocale(const QLocale &locale)

Python specific notes:
The object exposes a writable attribute 'locale'. This is the setter.

setMask

(1) Signature: void setMask (const QBitmap arg1)

Description: Method void QWidget::setMask(const QBitmap &)

(2) Signature: void setMask (const QRegion arg1)

Description: Method void QWidget::setMask(const QRegion &)

setMaximumHeight

Signature: void setMaximumHeight (int maxh)

Description: Method void QWidget::setMaximumHeight(int maxh)

Python specific notes:
The object exposes a writable attribute 'maximumHeight'. This is the setter.

setMaximumSize

(1) Signature: void setMaximumSize (const QSize arg1)

Description: Method void QWidget::setMaximumSize(const QSize &)

Python specific notes:
The object exposes a writable attribute 'maximumSize'. This is the setter.

(2) Signature: void setMaximumSize (int maxw, int maxh)

Description: Method void QWidget::setMaximumSize(int maxw, int maxh)

setMaximumWidth

Signature: void setMaximumWidth (int maxw)

Description: Method void QWidget::setMaximumWidth(int maxw)

Python specific notes:
The object exposes a writable attribute 'maximumWidth'. This is the setter.

setMinimumHeight

Signature: void setMinimumHeight (int minh)

Description: Method void QWidget::setMinimumHeight(int minh)

Python specific notes:
The object exposes a writable attribute 'minimumHeight'. This is the setter.

setMinimumSize

(1) Signature: void setMinimumSize (const QSize arg1)

Description: Method void QWidget::setMinimumSize(const QSize &)

Python specific notes:
The object exposes a writable attribute 'minimumSize'. This is the setter.

(2) Signature: void setMinimumSize (int minw, int minh)

Description: Method void QWidget::setMinimumSize(int minw, int minh)

setMinimumWidth

Signature: void setMinimumWidth (int minw)

Description: Method void QWidget::setMinimumWidth(int minw)

Python specific notes:
The object exposes a writable attribute 'minimumWidth'. This is the setter.

setMouseTracking

Signature: void setMouseTracking (bool enable)

Description: Method void QWidget::setMouseTracking(bool enable)

Python specific notes:
The object exposes a writable attribute 'mouseTracking'. This is the setter.

setPalette

Signature: void setPalette (const QPalette arg1)

Description: Method void QWidget::setPalette(const QPalette &)

Python specific notes:
The object exposes a writable attribute 'palette'. This is the setter.

setParent

(1) Signature: void setParent (QWidget ptr parent)

Description: Method void QWidget::setParent(QWidget *parent)

(2) Signature: void setParent (QWidget ptr parent, Qt_QFlags_WindowType f)

Description: Method void QWidget::setParent(QWidget *parent, QFlags<Qt::WindowType> f)

setShortcutAutoRepeat

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

Description: Method void QWidget::setShortcutAutoRepeat(int id, bool enable)

setShortcutEnabled

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

Description: Method void QWidget::setShortcutEnabled(int id, bool enable)

setShown

Signature: void setShown (bool shown)

Description: Method void QWidget::setShown(bool shown)

setSizeIncrement

(1) Signature: void setSizeIncrement (const QSize arg1)

Description: Method void QWidget::setSizeIncrement(const QSize &)

Python specific notes:
The object exposes a writable attribute 'sizeIncrement'. This is the setter.

(2) Signature: void setSizeIncrement (int w, int h)

Description: Method void QWidget::setSizeIncrement(int w, int h)

setSizePolicy

(1) Signature: void setSizePolicy (QSizePolicy arg1)

Description: Method void QWidget::setSizePolicy(QSizePolicy)

Python specific notes:
The object exposes a writable attribute 'sizePolicy'. This is the setter.

(2) Signature: void setSizePolicy (const QSizePolicy_Policy horizontal, const QSizePolicy_Policy vertical)

Description: Method void QWidget::setSizePolicy(QSizePolicy::Policy horizontal, QSizePolicy::Policy vertical)

setStatusTip

Signature: void setStatusTip (string arg1)

Description: Method void QWidget::setStatusTip(const QString &)

Python specific notes:
The object exposes a writable attribute 'statusTip'. This is the setter.

setStyle

Signature: void setStyle (QStyle ptr arg1)

Description: Method void QWidget::setStyle(QStyle *)

Python specific notes:
The object exposes a writable attribute 'style'. This is the setter.

setStyleSheet

Signature: void setStyleSheet (string styleSheet)

Description: Method void QWidget::setStyleSheet(const QString &styleSheet)

Python specific notes:
The object exposes a writable attribute 'styleSheet'. This is the setter.

setTabOrder

Signature: [static] void setTabOrder (QWidget ptr arg1, QWidget ptr arg2)

Description: Static method void QWidget::setTabOrder(QWidget *, QWidget *)

This method is static and can be called without an instance.

setToolTip

Signature: void setToolTip (string arg1)

Description: Method void QWidget::setToolTip(const QString &)

Python specific notes:
The object exposes a writable attribute 'toolTip'. This is the setter.

setUpdatesEnabled

Signature: void setUpdatesEnabled (bool enable)

Description: Method void QWidget::setUpdatesEnabled(bool enable)

Python specific notes:
The object exposes a writable attribute 'updatesEnabled'. This is the setter.

setVisible

Signature: void setVisible (bool visible)

Description: Virtual method void QWidget::setVisible(bool visible)

This method can be reimplemented in a derived class.

setWhatsThis

Signature: void setWhatsThis (string arg1)

Description: Method void QWidget::setWhatsThis(const QString &)

Python specific notes:
The object exposes a writable attribute 'whatsThis'. This is the setter.

setWindowFilePath

Signature: void setWindowFilePath (string filePath)

Description: Method void QWidget::setWindowFilePath(const QString &filePath)

Python specific notes:
The object exposes a writable attribute 'windowFilePath'. This is the setter.

setWindowFlags

Signature: void setWindowFlags (Qt_QFlags_WindowType type)

Description: Method void QWidget::setWindowFlags(QFlags<Qt::WindowType> type)

Python specific notes:
The object exposes a writable attribute 'windowFlags'. This is the setter.

setWindowIcon

Signature: void setWindowIcon (const QIcon icon)

Description: Method void QWidget::setWindowIcon(const QIcon &icon)

Python specific notes:
The object exposes a writable attribute 'windowIcon'. This is the setter.

setWindowIconText

Signature: void setWindowIconText (string arg1)

Description: Method void QWidget::setWindowIconText(const QString &)

Python specific notes:
The object exposes a writable attribute 'windowIconText'. This is the setter.

setWindowModality

Signature: void setWindowModality (const Qt_WindowModality windowModality)

Description: Method void QWidget::setWindowModality(Qt::WindowModality windowModality)

Python specific notes:
The object exposes a writable attribute 'windowModality'. This is the setter.

setWindowModified

Signature: void setWindowModified (bool arg1)

Description: Method void QWidget::setWindowModified(bool)

Python specific notes:
The object exposes a writable attribute 'windowModified'. This is the setter.

setWindowOpacity

Signature: void setWindowOpacity (double level)

Description: Method void QWidget::setWindowOpacity(double level)

Python specific notes:
The object exposes a writable attribute 'windowOpacity'. This is the setter.

setWindowRole

Signature: void setWindowRole (string arg1)

Description: Method void QWidget::setWindowRole(const QString &)

Python specific notes:
The object exposes a writable attribute 'windowRole'. This is the setter.

setWindowState

Signature: void setWindowState (Qt_QFlags_WindowState state)

Description: Method void QWidget::setWindowState(QFlags<Qt::WindowState> state)

Python specific notes:
The object exposes a writable attribute 'windowState'. This is the setter.

setWindowTitle

Signature: void setWindowTitle (string arg1)

Description: Method void QWidget::setWindowTitle(const QString &)

Python specific notes:
The object exposes a writable attribute 'windowTitle'. This is the setter.

show

Signature: void show

Description: Method void QWidget::show()

showEvent

Signature: void showEvent (QShowEvent ptr arg1)

Description: Virtual method void QWidget::showEvent(QShowEvent *)

This method can be reimplemented in a derived class.

showFullScreen

Signature: void showFullScreen

Description: Method void QWidget::showFullScreen()

showMaximized

Signature: void showMaximized

Description: Method void QWidget::showMaximized()

showMinimized

Signature: void showMinimized

Description: Method void QWidget::showMinimized()

showNormal

Signature: void showNormal

Description: Method void QWidget::showNormal()

size

Signature: [const] QSize size

Description: Method QSize QWidget::size()

Python specific notes:
The object exposes a readable attribute 'size'. This is the getter.

sizeHint

Signature: [const] QSize sizeHint

Description: Virtual method QSize QWidget::sizeHint()

This method can be reimplemented in a derived class.

sizeIncrement

Signature: [const] QSize sizeIncrement

Description: Method QSize QWidget::sizeIncrement()

Python specific notes:
The object exposes a readable attribute 'sizeIncrement'. This is the getter.

sizeIncrement=

Signature: void sizeIncrement= (const QSize arg1)

Description: Method void QWidget::setSizeIncrement(const QSize &)

Python specific notes:
The object exposes a writable attribute 'sizeIncrement'. This is the setter.

sizePolicy

Signature: [const] QSizePolicy sizePolicy

Description: Method QSizePolicy QWidget::sizePolicy()

Python specific notes:
The object exposes a readable attribute 'sizePolicy'. This is the getter.

sizePolicy=

Signature: void sizePolicy= (QSizePolicy arg1)

Description: Method void QWidget::setSizePolicy(QSizePolicy)

Python specific notes:
The object exposes a writable attribute 'sizePolicy'. This is the setter.

stackUnder

Signature: void stackUnder (QWidget ptr arg1)

Description: Method void QWidget::stackUnder(QWidget *)

staticMetaObject

Signature: [static] QMetaObject staticMetaObject

Description: Obtains the static MetaObject for this class.

statusTip

Signature: [const] string statusTip

Description: Method QString QWidget::statusTip()

Python specific notes:
The object exposes a readable attribute 'statusTip'. This is the getter.

statusTip=

Signature: void statusTip= (string arg1)

Description: Method void QWidget::setStatusTip(const QString &)

Python specific notes:
The object exposes a writable attribute 'statusTip'. This is the setter.

style

Signature: [const] QStyle ptr style

Description: Method QStyle *QWidget::style()

Python specific notes:
The object exposes a readable attribute 'style'. This is the getter.

style=

Signature: void style= (QStyle ptr arg1)

Description: Method void QWidget::setStyle(QStyle *)

Python specific notes:
The object exposes a writable attribute 'style'. This is the setter.

styleChange

Signature: void styleChange (QStyle arg1)

Description: Virtual method void QWidget::styleChange(QStyle &)

This method can be reimplemented in a derived class.

styleSheet

Signature: [const] string styleSheet

Description: Method QString QWidget::styleSheet()

Python specific notes:
The object exposes a readable attribute 'styleSheet'. This is the getter.

styleSheet=

Signature: void styleSheet= (string styleSheet)

Description: Method void QWidget::setStyleSheet(const QString &styleSheet)

Python specific notes:
The object exposes a writable attribute 'styleSheet'. This is the setter.

tabletEvent

Signature: void tabletEvent (QTabletEvent ptr arg1)

Description: Virtual method void QWidget::tabletEvent(QTabletEvent *)

This method can be reimplemented in a derived class.

testAttribute

Signature: [const] bool testAttribute (const Qt_WidgetAttribute arg1)

Description: Method bool QWidget::testAttribute(Qt::WidgetAttribute)

timerEvent

Signature: void timerEvent (QTimerEvent ptr arg1)

Description: Virtual method void QWidget::timerEvent(QTimerEvent *)

This method can be reimplemented in a derived class.

toolTip

Signature: [const] string toolTip

Description: Method QString QWidget::toolTip()

Python specific notes:
The object exposes a readable attribute 'toolTip'. This is the getter.

toolTip=

Signature: void toolTip= (string arg1)

Description: Method void QWidget::setToolTip(const QString &)

Python specific notes:
The object exposes a writable attribute 'toolTip'. This is the setter.

topLevelWidget

Signature: [const] QWidget ptr topLevelWidget

Description: Method QWidget *QWidget::topLevelWidget()

tr

(1) Signature: [static] string tr (string s, string c = 0)

Description: Static method QString QWidget::tr(const char *s, const char *c)

This method is static and can be called without an instance.

(2) Signature: [static] string tr (string s, string c, int n)

Description: Static method QString QWidget::tr(const char *s, const char *c, int n)

This method is static and can be called without an instance.

trUtf8

(1) Signature: [static] string trUtf8 (string s, string c = 0)

Description: Static method QString QWidget::trUtf8(const char *s, const char *c)

This method is static and can be called without an instance.

(2) Signature: [static] string trUtf8 (string s, string c, int n)

Description: Static method QString QWidget::trUtf8(const char *s, const char *c, int n)

This method is static and can be called without an instance.

underMouse

Signature: [const] bool underMouse

Description: Method bool QWidget::underMouse()

ungrabGesture

Signature: void ungrabGesture (const Qt_GestureType type)

Description: Method void QWidget::ungrabGesture(Qt::GestureType type)

unsetCursor

Signature: void unsetCursor

Description: Method void QWidget::unsetCursor()

unsetLayoutDirection

Signature: void unsetLayoutDirection

Description: Method void QWidget::unsetLayoutDirection()

unsetLocale

Signature: void unsetLocale

Description: Method void QWidget::unsetLocale()

update

(1) Signature: void update

Description: Method void QWidget::update()

(2) Signature: void update (int x, int y, int w, int h)

Description: Method void QWidget::update(int x, int y, int w, int h)

(3) Signature: void update (const QRect arg1)

Description: Method void QWidget::update(const QRect &)

(4) Signature: void update (const QRegion arg1)

Description: Method void QWidget::update(const QRegion &)

updateGeometry

Signature: void updateGeometry

Description: Method void QWidget::updateGeometry()

updateMicroFocus

Signature: void updateMicroFocus

Description: Method void QWidget::updateMicroFocus()

This method is protected and can only be called from inside a derived class.

updatesEnabled

Signature: [const] bool updatesEnabled

Description: Method bool QWidget::updatesEnabled()

Python specific notes:
The object exposes a readable attribute 'updatesEnabled'. This is the getter.

updatesEnabled=

Signature: void updatesEnabled= (bool enable)

Description: Method void QWidget::setUpdatesEnabled(bool enable)

Python specific notes:
The object exposes a writable attribute 'updatesEnabled'. This is the setter.

visible

Signature: [const] bool visible

Description: Method bool QWidget::isVisible()

Python specific notes:
The object exposes a readable attribute 'visible'. This is the getter. The object exposes a readable attribute 'visible'. This is the getter. The object exposes a readable attribute 'visible'. This is the getter. The object exposes a readable attribute 'visible'. This is the getter. The object exposes a readable attribute 'visible'. This is the getter. The object exposes a readable attribute 'visible'. This is the getter. The object exposes a readable attribute 'visible'. This is the getter. The object exposes a readable attribute 'visible'. This is the getter. The object exposes a readable attribute 'visible'. This is the getter. The object exposes a readable attribute 'visible'. This is the getter. The object exposes a readable attribute 'visible'. This is the getter. The object exposes a readable attribute 'visible'. This is the getter.

visible=

Signature: void visible= (bool visible)

Description: Method void QWidget::setVisible(bool visible)

Python specific notes:
The object exposes a writable attribute 'visible'. This is the setter.

visibleRegion

Signature: [const] QRegion visibleRegion

Description: Method QRegion QWidget::visibleRegion()

whatsThis

Signature: [const] string whatsThis

Description: Method QString QWidget::whatsThis()

Python specific notes:
The object exposes a readable attribute 'whatsThis'. This is the getter.

whatsThis=

Signature: void whatsThis= (string arg1)

Description: Method void QWidget::setWhatsThis(const QString &)

Python specific notes:
The object exposes a writable attribute 'whatsThis'. This is the setter.

wheelEvent

Signature: void wheelEvent (QWheelEvent ptr arg1)

Description: Virtual method void QWidget::wheelEvent(QWheelEvent *)

This method can be reimplemented in a derived class.

width

Signature: [const] int width

Description: Method int QWidget::width()

Python specific notes:
The object exposes a readable attribute 'width'. This is the getter.

winId

Signature: [const] unsigned long winId

Description: Method WId QWidget::winId()

window

Signature: [const] QWidget ptr window

Description: Method QWidget *QWidget::window()

windowActivationChange

Signature: void windowActivationChange (bool arg1)

Description: Virtual method void QWidget::windowActivationChange(bool)

This method can be reimplemented in a derived class.

windowFilePath

Signature: [const] string windowFilePath

Description: Method QString QWidget::windowFilePath()

Python specific notes:
The object exposes a readable attribute 'windowFilePath'. This is the getter.

windowFilePath=

Signature: void windowFilePath= (string filePath)

Description: Method void QWidget::setWindowFilePath(const QString &filePath)

Python specific notes:
The object exposes a writable attribute 'windowFilePath'. This is the setter.

windowFlags

Signature: [const] Qt_QFlags_WindowType windowFlags

Description: Method QFlags<Qt::WindowType> QWidget::windowFlags()

Python specific notes:
The object exposes a readable attribute 'windowFlags'. This is the getter.

windowFlags=

Signature: void windowFlags= (Qt_QFlags_WindowType type)

Description: Method void QWidget::setWindowFlags(QFlags<Qt::WindowType> type)

Python specific notes:
The object exposes a writable attribute 'windowFlags'. This is the setter.

windowIcon

Signature: [const] QIcon windowIcon

Description: Method QIcon QWidget::windowIcon()

Python specific notes:
The object exposes a readable attribute 'windowIcon'. This is the getter.

windowIcon=

Signature: void windowIcon= (const QIcon icon)

Description: Method void QWidget::setWindowIcon(const QIcon &icon)

Python specific notes:
The object exposes a writable attribute 'windowIcon'. This is the setter.

windowIconText

Signature: [const] string windowIconText

Description: Method QString QWidget::windowIconText()

Python specific notes:
The object exposes a readable attribute 'windowIconText'. This is the getter.

windowIconText=

Signature: void windowIconText= (string arg1)

Description: Method void QWidget::setWindowIconText(const QString &)

Python specific notes:
The object exposes a writable attribute 'windowIconText'. This is the setter.

windowModality

Signature: [const] Qt_WindowModality windowModality

Description: Method Qt::WindowModality QWidget::windowModality()

Python specific notes:
The object exposes a readable attribute 'windowModality'. This is the getter. The object exposes a readable attribute 'windowModality'. This is the getter.

windowModality=

Signature: void windowModality= (const Qt_WindowModality windowModality)

Description: Method void QWidget::setWindowModality(Qt::WindowModality windowModality)

Python specific notes:
The object exposes a writable attribute 'windowModality'. This is the setter.

windowModified

Signature: [const] bool windowModified

Description: Method bool QWidget::isWindowModified()

Python specific notes:
The object exposes a readable attribute 'windowModified'. This is the getter.

windowModified=

Signature: void windowModified= (bool arg1)

Description: Method void QWidget::setWindowModified(bool)

Python specific notes:
The object exposes a writable attribute 'windowModified'. This is the setter.

windowOpacity

Signature: [const] double windowOpacity

Description: Method double QWidget::windowOpacity()

Python specific notes:
The object exposes a readable attribute 'windowOpacity'. This is the getter.

windowOpacity=

Signature: void windowOpacity= (double level)

Description: Method void QWidget::setWindowOpacity(double level)

Python specific notes:
The object exposes a writable attribute 'windowOpacity'. This is the setter.

windowRole

Signature: [const] string windowRole

Description: Method QString QWidget::windowRole()

Python specific notes:
The object exposes a readable attribute 'windowRole'. This is the getter.

windowRole=

Signature: void windowRole= (string arg1)

Description: Method void QWidget::setWindowRole(const QString &)

Python specific notes:
The object exposes a writable attribute 'windowRole'. This is the setter.

windowState

Signature: [const] Qt_QFlags_WindowState windowState

Description: Method QFlags<Qt::WindowState> QWidget::windowState()

Python specific notes:
The object exposes a readable attribute 'windowState'. This is the getter.

windowState=

Signature: void windowState= (Qt_QFlags_WindowState state)

Description: Method void QWidget::setWindowState(QFlags<Qt::WindowState> state)

Python specific notes:
The object exposes a writable attribute 'windowState'. This is the setter.

windowTitle

Signature: [const] string windowTitle

Description: Method QString QWidget::windowTitle()

Python specific notes:
The object exposes a readable attribute 'windowTitle'. This is the getter. The object exposes a readable attribute 'windowTitle'. This is the getter.

windowTitle=

Signature: void windowTitle= (string arg1)

Description: Method void QWidget::setWindowTitle(const QString &)

Python specific notes:
The object exposes a writable attribute 'windowTitle'. This is the setter.

windowType

Signature: [const] Qt_WindowType windowType

Description: Method Qt::WindowType QWidget::windowType()

x

Signature: [const] int x

Description: Method int QWidget::x()

Python specific notes:
The object exposes a readable attribute 'x'. This is the getter.

y

Signature: [const] int y

Description: Method int QWidget::y()

Python specific notes:
The object exposes a readable attribute 'y'. This is the getter.