KLayout 0.29.8 (2024-10-28 63dd591e5) [master]

API reference - Class QWidget

Notation used in Ruby API documentation

Module: QtWidgets

Description: Binding of QWidget

Class hierarchy: QWidget » QObject

Sub-classes: , RenderFlag, QFlags_RenderFlag

Public constructors

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

Public methods

[const]QWidget ptr_const_castReturns a non-const reference to self.
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]QBackingStore ptrbackingStoreMethod QBackingStore *QWidget::backingStore()
[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 long longeffectiveWinIdMethod WId QWidget::effectiveWinId()
voidemit_customContextMenuRequested(const QPoint pos)Emitter for signal void QWidget::customContextMenuRequested(const QPoint &pos)
voidemit_destroyed(QObject ptr arg1 = nullptr)Emitter for signal void QWidget::destroyed(QObject *)
voidemit_objectNameChanged(string objectName)Emitter for signal void QWidget::objectNameChanged(const QString &objectName)
voidemit_windowIconChanged(const QIcon icon)Emitter for signal void QWidget::windowIconChanged(const QIcon &icon)
voidemit_windowIconTextChanged(string iconText)Emitter for signal void QWidget::windowIconTextChanged(const QString &iconText)
voidemit_windowTitleChanged(string title)Emitter for signal void QWidget::windowTitleChanged(const QString &title)
[const]boolenabledMethod bool QWidget::isEnabled()
voidenabled=(bool arg1)Method void QWidget::setEnabled(bool)
[const]voidensurePolishedMethod void QWidget::ensurePolished()
booleventFilter(QObject ptr watched,
QEvent ptr event)
Virtual method bool QWidget::eventFilter(QObject *watched, QEvent *event)
[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)
QPixmapgrab(const QRect rectangle = QRect(QPoint(0, 0), QSize(-1, -1)))Method QPixmap QWidget::grab(const QRect &rectangle)
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]boolhasHeightForWidthVirtual method bool QWidget::hasHeightForWidth()
[const]boolhasMouseTrackingMethod bool QWidget::hasMouseTracking()
[const]boolhasTabletTrackingMethod bool QWidget::hasTabletTracking()
[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()
[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 long 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?(const QWidget ptr arg1)Method bool QWidget::isEnabledTo(const 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?(const QWidget ptr arg1)Method bool QWidget::isVisibleTo(const 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(const QWidget ptr arg1,
const QPoint arg2)
Method QPoint QWidget::mapFrom(const 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(const QWidget ptr arg1,
const QPoint arg2)
Method QPoint QWidget::mapTo(const 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()
[signal]voidobjectNameChanged(string objectName)Signal declaration for QWidget::objectNameChanged(const QString &objectName)
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()
voidraiseMethod 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)
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)
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)
voidsetTabletTracking(bool enable)Method void QWidget::setTabletTracking(bool enable)
voidsetToolTip(string arg1)Method void QWidget::setToolTip(const QString &)
voidsetToolTipDuration(int msec)Method void QWidget::setToolTipDuration(int msec)
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)
voidsetWindowFlag(const Qt_WindowType arg1,
bool on = true)
Method void QWidget::setWindowFlag(Qt::WindowType, bool on)
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]booltabletTrackingMethod bool QWidget::hasTabletTracking()
voidtabletTracking=(bool enable)Method void QWidget::setTabletTracking(bool enable)
[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]inttoolTipDurationMethod int QWidget::toolTipDuration()
voidtoolTipDuration=(int msec)Method void QWidget::setToolTipDuration(int msec)
[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 long 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]QWindow ptrwindowHandleMethod QWindow *QWidget::windowHandle()
[const]QIconwindowIconMethod QIcon QWidget::windowIcon()
voidwindowIcon=(const QIcon icon)Method void QWidget::setWindowIcon(const QIcon &icon)
[signal]voidwindowIconChanged(const QIcon icon)Signal declaration for QWidget::windowIconChanged(const QIcon &icon)
[const]stringwindowIconTextMethod QString QWidget::windowIconText()
voidwindowIconText=(string arg1)Method void QWidget::setWindowIconText(const QString &)
[signal]voidwindowIconTextChanged(string iconText)Signal declaration for QWidget::windowIconTextChanged(const QString &iconText)
[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 &)
[signal]voidwindowTitleChanged(string title)Signal declaration for QWidget::windowTitleChanged(const QString &title)
[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 ptrcreateWindowContainer(QWindow ptr window,
QWidget ptr parent = nullptr,
Qt_QFlags_WindowType flags = Qt::WindowFlags())
Static method QWidget *QWidget::createWindowContainer(QWindow *window, QWidget *parent, QFlags<Qt::WindowType> flags)
QWidget ptrfind(unsigned long 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 = nullptr,
int n = -1)
Static method QString QWidget::tr(const char *s, const char *c, int n)
stringtrUtf8(string s,
string c = nullptr,
int n = -1)
Static method QString QWidget::trUtf8(const char *s, const char *c, int n)

Protected methods (static, non-static and constructors)

voidactionEvent(QActionEvent ptr event)Virtual method void QWidget::actionEvent(QActionEvent *event)
voidchangeEvent(QEvent ptr arg1)Virtual method void QWidget::changeEvent(QEvent *)
voidchildEvent(QChildEvent ptr event)Virtual method void QWidget::childEvent(QChildEvent *event)
voidcloseEvent(QCloseEvent ptr event)Virtual method void QWidget::closeEvent(QCloseEvent *event)
voidcontextMenuEvent(QContextMenuEvent ptr event)Virtual method void QWidget::contextMenuEvent(QContextMenuEvent *event)
voidcreate(unsigned long long arg1 = 0,
bool initializeWindow = true,
bool destroyOldWindow = true)
Method void QWidget::create(WId, bool initializeWindow, bool destroyOldWindow)
voidcustomEvent(QEvent ptr event)Virtual method void QWidget::customEvent(QEvent *event)
voiddestroy(bool destroyWindow = true,
bool destroySubWindows = true)
Method void QWidget::destroy(bool destroyWindow, bool destroySubWindows)
voiddisconnectNotify(const QMetaMethod signal)Virtual method void QWidget::disconnectNotify(const QMetaMethod &signal)
voiddragEnterEvent(QDragEnterEvent ptr event)Virtual method void QWidget::dragEnterEvent(QDragEnterEvent *event)
voiddragLeaveEvent(QDragLeaveEvent ptr event)Virtual method void QWidget::dragLeaveEvent(QDragLeaveEvent *event)
voiddragMoveEvent(QDragMoveEvent ptr event)Virtual method void QWidget::dragMoveEvent(QDragMoveEvent *event)
voiddropEvent(QDropEvent ptr event)Virtual method void QWidget::dropEvent(QDropEvent *event)
voidenterEvent(QEvent ptr event)Virtual method void QWidget::enterEvent(QEvent *event)
boolevent(QEvent ptr event)Virtual method bool QWidget::event(QEvent *event)
voidfocusInEvent(QFocusEvent ptr event)Virtual method void QWidget::focusInEvent(QFocusEvent *event)
boolfocusNextChildMethod bool QWidget::focusNextChild()
boolfocusNextPrevChild(bool next)Virtual method bool QWidget::focusNextPrevChild(bool next)
voidfocusOutEvent(QFocusEvent ptr event)Virtual method void QWidget::focusOutEvent(QFocusEvent *event)
boolfocusPreviousChildMethod bool QWidget::focusPreviousChild()
voidhideEvent(QHideEvent ptr event)Virtual method void QWidget::hideEvent(QHideEvent *event)
[const]voidinitPainter(QPainter ptr painter)Virtual method void QWidget::initPainter(QPainter *painter)
voidinputMethodEvent(QInputMethodEvent ptr arg1)Virtual method void QWidget::inputMethodEvent(QInputMethodEvent *)
[const]boolisSignalConnected(const QMetaMethod signal)Method bool QWidget::isSignalConnected(const QMetaMethod &signal)
voidkeyPressEvent(QKeyEvent ptr event)Virtual method void QWidget::keyPressEvent(QKeyEvent *event)
voidkeyReleaseEvent(QKeyEvent ptr event)Virtual method void QWidget::keyReleaseEvent(QKeyEvent *event)
voidleaveEvent(QEvent ptr event)Virtual method void QWidget::leaveEvent(QEvent *event)
[const]intmetric(const QPaintDevice_PaintDeviceMetric arg1)Virtual method int QWidget::metric(QPaintDevice::PaintDeviceMetric)
voidmouseDoubleClickEvent(QMouseEvent ptr event)Virtual method void QWidget::mouseDoubleClickEvent(QMouseEvent *event)
voidmouseMoveEvent(QMouseEvent ptr event)Virtual method void QWidget::mouseMoveEvent(QMouseEvent *event)
voidmousePressEvent(QMouseEvent ptr event)Virtual method void QWidget::mousePressEvent(QMouseEvent *event)
voidmouseReleaseEvent(QMouseEvent ptr event)Virtual method void QWidget::mouseReleaseEvent(QMouseEvent *event)
voidmoveEvent(QMoveEvent ptr event)Virtual method void QWidget::moveEvent(QMoveEvent *event)
boolnativeEvent(bytes eventType,
void * message,
long ptr result)
Virtual method bool QWidget::nativeEvent(const QByteArray &eventType, void *message, long int *result)
voidpaintEvent(QPaintEvent ptr event)Virtual method void QWidget::paintEvent(QPaintEvent *event)
voidqt_create(unsigned long 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)
[const]QPaintDevice ptrredirected(QPoint ptr offset)Virtual method QPaintDevice *QWidget::redirected(QPoint *offset)
voidresizeEvent(QResizeEvent ptr event)Virtual method void QWidget::resizeEvent(QResizeEvent *event)
[const]QObject ptrsenderMethod QObject *QWidget::sender()
[const]intsenderSignalIndexMethod int QWidget::senderSignalIndex()
[const]QPainter ptrsharedPainterVirtual method QPainter *QWidget::sharedPainter()
voidshowEvent(QShowEvent ptr event)Virtual method void QWidget::showEvent(QShowEvent *event)
voidtabletEvent(QTabletEvent ptr event)Virtual method void QWidget::tabletEvent(QTabletEvent *event)
voidtimerEvent(QTimerEvent ptr event)Virtual method void QWidget::timerEvent(QTimerEvent *event)
voidupdateMicroFocusMethod void QWidget::updateMicroFocus()
voidwheelEvent(QWheelEvent ptr event)Virtual method void QWidget::wheelEvent(QWheelEvent *event)

Detailed description

DrawChildren

Signature: [static,const] QWidget_RenderFlag DrawChildren

Description: Enum constant QWidget::DrawChildren

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

DrawWindowBackground

Signature: [static,const] QWidget_RenderFlag DrawWindowBackground

Description: Enum constant QWidget::DrawWindowBackground

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

IgnoreMask

Signature: [static,const] QWidget_RenderFlag IgnoreMask

Description: Enum constant QWidget::IgnoreMask

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

_const_cast

Signature: [const] QWidget ptr _const_cast

Description: Returns a non-const reference to self.

Basically, this method allows turning a const object reference to a non-const one. This method is provided as last resort to remove the constness from an object. Usually there is a good reason for a const object reference, so using this method may have undesired side effects.

This method has been introduced in version 0.29.6.

_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 event)

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

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.

backingStore

Signature: [const] QBackingStore ptr backingStore

Description: Method QBackingStore *QWidget::backingStore()

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

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

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

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

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

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

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 (unsigned long 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.

createWinId

Signature: void createWinId

Description: Method void QWidget::createWinId()

createWindowContainer

Signature: [static] QWidget ptr createWindowContainer (QWindow ptr window, QWidget ptr parent = nullptr, Qt_QFlags_WindowType flags = Qt::WindowFlags())

Description: Static method QWidget *QWidget::createWindowContainer(QWindow *window, QWidget *parent, QFlags<Qt::WindowType> flags)

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

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

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

This method can be reimplemented in a derived class.

destroy

Signature: void 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.

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 (const QMetaMethod signal)

Description: Virtual method void QWidget::disconnectNotify(const QMetaMethod &signal)

This method can be reimplemented in a derived class.

dragEnterEvent

Signature: void dragEnterEvent (QDragEnterEvent ptr event)

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

This method can be reimplemented in a derived class.

dragLeaveEvent

Signature: void dragLeaveEvent (QDragLeaveEvent ptr event)

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

This method can be reimplemented in a derived class.

dragMoveEvent

Signature: void dragMoveEvent (QDragMoveEvent ptr event)

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

This method can be reimplemented in a derived class.

dropEvent

Signature: void dropEvent (QDropEvent ptr event)

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

This method can be reimplemented in a derived class.

effectiveWinId

Signature: [const] unsigned long 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 = nullptr)

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

Call this method to emit this signal.

emit_objectNameChanged

Signature: void emit_objectNameChanged (string objectName)

Description: Emitter for signal void QWidget::objectNameChanged(const QString &objectName)

Call this method to emit this signal.

emit_windowIconChanged

Signature: void emit_windowIconChanged (const QIcon icon)

Description: Emitter for signal void QWidget::windowIconChanged(const QIcon &icon)

Call this method to emit this signal.

emit_windowIconTextChanged

Signature: void emit_windowIconTextChanged (string iconText)

Description: Emitter for signal void QWidget::windowIconTextChanged(const QString &iconText)

Call this method to emit this signal.

emit_windowTitleChanged

Signature: void emit_windowTitleChanged (string title)

Description: Emitter for signal void QWidget::windowTitleChanged(const QString &title)

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.

ensurePolished

Signature: [const] void ensurePolished

Description: Method void QWidget::ensurePolished()

enterEvent

Signature: void enterEvent (QEvent ptr event)

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

This method can be reimplemented in a derived class.

event

Signature: bool event (QEvent ptr event)

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

This method can be reimplemented in a derived class.

eventFilter

Signature: bool eventFilter (QObject ptr watched, QEvent ptr event)

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

This method can be reimplemented in a derived class.

find

Signature: [static] QWidget ptr find (unsigned long 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 event)

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

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

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

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.

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

grab

Signature: QPixmap grab (const QRect rectangle = QRect(QPoint(0, 0), QSize(-1, -1)))

Description: Method QPixmap QWidget::grab(const QRect &rectangle)

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.

hasHeightForWidth

Signature: [const] bool hasHeightForWidth

Description: Virtual method bool QWidget::hasHeightForWidth()

This method can be reimplemented in a derived class.

hasMouseTracking

Signature: [const] bool hasMouseTracking

Description: Method bool QWidget::hasMouseTracking()

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

hasTabletTracking

Signature: [const] bool hasTabletTracking

Description: Method bool QWidget::hasTabletTracking()

Python specific notes:
The object exposes a readable attribute 'tabletTracking'. 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 event)

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

This method can be reimplemented in a derived class.

initPainter

Signature: [const] void initPainter (QPainter ptr painter)

Description: Virtual method void QWidget::initPainter(QPainter *painter)

This method can be reimplemented in a derived class.

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 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.
This method is available as 'isActiveWindow_' in Python to distiguish it from the property with the same name.

isActiveWindow?

Signature: [const] bool isActiveWindow?

Description: Method bool QWidget::isActiveWindow()

Python specific notes:
The object exposes a readable attribute 'isActiveWindow'. This is the getter.
This method is available as 'isActiveWindow_' in Python to distiguish it from the property with the same name.

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? (const QWidget ptr arg1)

Description: Method bool QWidget::isEnabledTo(const 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.
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()

isSignalConnected

Signature: [const] bool isSignalConnected (const QMetaMethod signal)

Description: Method bool QWidget::isSignalConnected(const QMetaMethod &signal)

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

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.
The object exposes a readable attribute 'visible'. This is the getter.

isVisibleTo?

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

Description: Method bool QWidget::isVisibleTo(const 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.

keyPressEvent

Signature: void keyPressEvent (QKeyEvent ptr event)

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

This method can be reimplemented in a derived class.

keyReleaseEvent

Signature: void keyReleaseEvent (QKeyEvent ptr event)

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

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.

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

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

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 (const QWidget ptr arg1, const QPoint arg2)

Description: Method QPoint QWidget::mapFrom(const 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 (const QWidget ptr arg1, const QPoint arg2)

Description: Method QPoint QWidget::mapTo(const 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 event)

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

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

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

This method can be reimplemented in a derived class.

mousePressEvent

Signature: void mousePressEvent (QMouseEvent ptr event)

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

This method can be reimplemented in a derived class.

mouseReleaseEvent

Signature: void mouseReleaseEvent (QMouseEvent ptr event)

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

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

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

This method can be reimplemented in a derived class.

nativeEvent

Signature: bool nativeEvent (bytes eventType, void * message, long ptr result)

Description: Virtual method bool QWidget::nativeEvent(const QByteArray &eventType, void *message, long int *result)

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 = nullptr, Qt_QFlags_WindowType f = Qt::WindowFlags())

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.

objectNameChanged

Signature: [signal] void objectNameChanged (string objectName)

Description: Signal declaration for QWidget::objectNameChanged(const QString &objectName)

You can bind a procedure to this signal.

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

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

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

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.

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

Python specific notes:
This attribute is available as 'raise_' in Python.

raise

Signature: void raise

Description: Method void QWidget::raise()

Python specific notes:
This attribute is available as 'raise_' in Python.

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.

redirected

Signature: [const] QPaintDevice ptr redirected (QPoint ptr offset)

Description: Virtual method QPaintDevice *QWidget::redirected(QPoint *offset)

This method can be reimplemented in a derived class.

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

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

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

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.

senderSignalIndex

Signature: [const] int senderSignalIndex

Description: Method int QWidget::senderSignalIndex()

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.

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)

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.

setTabletTracking

Signature: void setTabletTracking (bool enable)

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

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

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.

setToolTipDuration

Signature: void setToolTipDuration (int msec)

Description: Method void QWidget::setToolTipDuration(int msec)

Python specific notes:
The object exposes a writable attribute 'toolTipDuration'. 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.

setWindowFlag

Signature: void setWindowFlag (const Qt_WindowType arg1, bool on = true)

Description: Method void QWidget::setWindowFlag(Qt::WindowType, bool on)

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.

sharedPainter

Signature: [const] QPainter ptr sharedPainter

Description: Virtual method QPainter *QWidget::sharedPainter()

This method can be reimplemented in a derived class.

show

Signature: void show

Description: Method void QWidget::show()

showEvent

Signature: void showEvent (QShowEvent ptr event)

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

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.

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

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

This method can be reimplemented in a derived class.

tabletTracking

Signature: [const] bool tabletTracking

Description: Method bool QWidget::hasTabletTracking()

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

tabletTracking=

Signature: void tabletTracking= (bool enable)

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

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

testAttribute

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

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

timerEvent

Signature: void timerEvent (QTimerEvent ptr event)

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

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.

toolTipDuration

Signature: [const] int toolTipDuration

Description: Method int QWidget::toolTipDuration()

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

toolTipDuration=

Signature: void toolTipDuration= (int msec)

Description: Method void QWidget::setToolTipDuration(int msec)

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

topLevelWidget

Signature: [const] QWidget ptr topLevelWidget

Description: Method QWidget *QWidget::topLevelWidget()

tr

Signature: [static] string tr (string s, string c = nullptr, int n = -1)

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

Signature: [static] string trUtf8 (string s, string c = nullptr, int n = -1)

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.
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 event)

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

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 long winId

Description: Method WId QWidget::winId()

window

Signature: [const] QWidget ptr window

Description: Method QWidget *QWidget::window()

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.

windowHandle

Signature: [const] QWindow ptr windowHandle

Description: Method QWindow *QWidget::windowHandle()

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.

windowIconChanged

Signature: [signal] void windowIconChanged (const QIcon icon)

Description: Signal declaration for QWidget::windowIconChanged(const QIcon &icon)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'windowIconChanged'. This is the getter.
The object exposes a writable attribute 'windowIconChanged'. 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.

windowIconTextChanged

Signature: [signal] void windowIconTextChanged (string iconText)

Description: Signal declaration for QWidget::windowIconTextChanged(const QString &iconText)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'windowIconTextChanged'. This is the getter.
The object exposes a writable attribute 'windowIconTextChanged'. 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.

windowTitleChanged

Signature: [signal] void windowTitleChanged (string title)

Description: Signal declaration for QWidget::windowTitleChanged(const QString &title)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'windowTitleChanged'. This is the getter.
The object exposes a writable attribute 'windowTitleChanged'. 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.