diff options
Diffstat (limited to 'src/widgets/kernel/qwidget.cpp')
-rw-r--r-- | src/widgets/kernel/qwidget.cpp | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/src/widgets/kernel/qwidget.cpp b/src/widgets/kernel/qwidget.cpp index b40d2fef5d..dbb229484b 100644 --- a/src/widgets/kernel/qwidget.cpp +++ b/src/widgets/kernel/qwidget.cpp @@ -12658,11 +12658,21 @@ void QWidget::initPainter(QPainter *painter) const painter->d_func()->state->font = f; } +/*! + \internal + + Do PaintDevice rendering with the specified \a offset. +*/ QPaintDevice *QWidget::redirected(QPoint *offset) const { return d_func()->redirected(offset); } +/*! + \internal + + A painter that is shared among other instances of QPainter. +*/ QPainter *QWidget::sharedPainter() const { // Someone sent a paint event directly to the widget @@ -12805,6 +12815,45 @@ void QWidgetPrivate::setWidgetParentHelper(QObject *widgetAsObject, QObject *new widget->setParent(static_cast<QWidget*>(newParent)); } +/*! \fn Qt::HANDLE QWidget::macCGHandle() const + \internal + + Returns the CoreGraphics handle of the widget. Use of this function is not portable. + This function will return 0 if no painter context can be established, or if the handle + could not be created. + + \warning This function is only available on OS X. +*/ +/*! \fn Qt::HANDLE QWidget::macQDHandle() const + \internal + + Returns the QuickDraw handle of the widget. Use of this function is not portable. + This function will return 0 if QuickDraw is not supported, or if the handle could + not be created. + + \warning This function is only available on OS X. +*/ +/*! \fn const QX11Info &QWidget::x11Info() const + \internal + + Returns information about the configuration of the X display used to display + the widget. + + \warning This function is only available on X11. +*/ + +/*! \fn Qt::HANDLE QWidget::x11PictureHandle() const + \internal + + Returns the X11 picture handle of the widget for XRender + support. Use of this function is not portable. This function will + return 0 if XRender support is not compiled into Qt, if the + XRender extension is not supported on the X11 display, or if the + handle could not be created. + + \warning This function is only available on X11. + +*/ QT_END_NAMESPACE #include "moc_qwidget.cpp" |