Qt 4.8
|
#include <qwidget_p.h>
Public Types | |
enum | CloseMode { CloseNoEvent, CloseWithEvent, CloseWithSpontaneousEvent } |
enum | Direction { DirectionNorth = 0x01, DirectionEast = 0x10, DirectionSouth = 0x02, DirectionWest = 0x20 } |
enum | DrawWidgetFlags { DrawAsRoot = 0x01, DrawPaintOnScreen = 0x02, DrawRecursive = 0x04, DrawInvisible = 0x08, DontSubtractOpaqueChildren = 0x10, DontSetCompositionMode = 0x20, DontDrawOpaqueChildren = 0x40, DontDrawNativeChildren = 0x80 } |
Public Types inherited from QObjectPrivate | |
typedef void(* | StaticMetaCallFunction) (QObject *, QMetaObject::Call, int, void **) |
Public Functions | |
void | _q_showIfNotHidden () |
virtual void | aboutToDestroy () |
void | activateChildLayoutsRecursively () |
QSize | adjustedSize () const |
void | adjustQuitOnCloseAttribute () |
QInputContext * | assignedInputContext () const |
QPainter * | beginSharedPainter () |
QWidget * | childAt_helper (const QPoint &, bool) const |
QWidget * | childAtRecursiveHelper (const QPoint &p, bool, bool includeFrame=false) const |
QRect | clipRect () const |
QRegion | clipRegion () const |
void | clipToEffectiveMask (QRegion ®ion) const |
bool | close_helper (CloseMode mode) |
void | create_sys (WId window, bool initializeWindow, bool destroyOldWindow) |
QWindowSurface * | createDefaultWindowSurface () |
QWindowSurface * | createDefaultWindowSurface_sys () |
void | createExtra () |
Creates the widget extra data. More... | |
void | createRecursively () |
void | createSysExtra () |
void | createTLExtra () |
void | createTLSysExtra () |
void | createWinId (WId id=0) |
void | deactivateWidgetCleanup () |
void | deleteExtra () |
Deletes the widget extra data. More... | |
void | deleteSysExtra () |
void | deleteTLSysExtra () |
void | drawWidget (QPaintDevice *pdev, const QRegion &rgn, const QPoint &offset, int flags, QPainter *sharedPainter=0, QWidgetBackingStore *backingStore=0) |
QWidget * | effectiveFocusWidget () |
QRect | effectiveRectFor (const QRect &rect) const |
bool | endSharedPainter () |
void | enforceNativeChildren () |
QWExtra * | extraData () const |
QRect | frameStrut () const |
void | getLayoutItemMargins (int *left, int *top, int *right, int *bottom) const |
const QRegion & | getOpaqueChildren () const |
void | handleSoftwareInputPanel (Qt::MouseButton button, bool clickCausedFocus) |
virtual bool | hasHeightForWidth () const |
void | hide_helper () |
void | hide_sys () |
Platform-specific part of QWidget::hide(). More... | |
void | hideChildren (bool spontaneous) |
void | inheritStyle () |
void | init (QWidget *desktopWidget, Qt::WindowFlags f) |
QInputContext * | inputContext () const |
void | invalidateBuffer (const QRegion &) |
Invalidates the rgn (in widget's coordinates) of the backing store, i.e. More... | |
void | invalidateBuffer (const QRect &) |
This function is equivalent to calling invalidateBuffer(QRegion(rect), ...), but is more efficient as it eliminates QRegion operations/allocations and can use the rect more precisely for additional cut-offs. More... | |
void | invalidateBuffer_resizeHelper (const QPoint &oldPos, const QSize &oldSize) |
Invalidates the buffer when the widget is resized. More... | |
void | invalidateGraphicsEffectsRecursively () |
bool | isAboutToShow () const |
bool | isBackgroundInherited () const |
bool | isOverlapped (const QRect &) const |
void | lower_sys () |
QPoint | mapFromGlobal (const QPoint &pos) const |
QPoint | mapToGlobal (const QPoint &pos) const |
QWidgetBackingStore * | maybeBackingStore () const |
QTLWExtra * | maybeTopData () const |
void | moveRect (const QRect &, int dx, int dy) |
bool | nativeChildrenForced () const |
QFont | naturalWidgetFont (uint inheritedMask) const |
QPalette | naturalWidgetPalette (uint inheritedMask) const |
Returns the palette that the widget w inherits from its ancestors and QApplication::palette. More... | |
void | paintBackground (QPainter *, const QRegion &, int flags=DrawAsRoot) const |
bool | paintOnScreen () const |
void | paintSiblingsRecursive (QPaintDevice *pdev, const QObjectList &children, int index, const QRegion &rgn, const QPoint &offset, int flags, QPainter *sharedPainter, QWidgetBackingStore *backingStore) |
bool | pointInsideRectAndMask (const QPoint &) const |
QRegion | prepareToRender (const QRegion ®ion, QWidget::RenderFlags renderFlags) |
void | propagatePaletteChange () |
Propagate this widget's palette to all children, except style sheet widgets, and windows that don't enable window propagation (palettes don't normally propagate to windows). More... | |
QWidgetPrivate (int version=QObjectPrivateVersion) | |
void | raise_sys () |
QPaintDevice * | redirected (QPoint *offset) const |
void | registerDropSite (bool) |
void | render (QPaintDevice *target, const QPoint &targetOffset, const QRegion &sourceRegion, QWidget::RenderFlags renderFlags, bool readyToRender) |
void | render_helper (QPainter *painter, const QPoint &targetOffset, const QRegion &sourceRegion, QWidget::RenderFlags renderFlags) |
void | repaint_sys (const QRegion &rgn) |
void | reparentFocusWidgets (QWidget *oldtlw) |
void | resolveFont () |
Determine which font is implicitly imposed on this widget by its ancestors and QApplication::font, resolve this against its own font (attributes from the implicit font are copied over). More... | |
void | resolveLayoutDirection () |
void | resolveLocale () |
void | resolvePalette () |
Determine which palette is inherited from this widget's ancestors and QApplication::palette, resolve this against this widget's palette (attributes from the inherited palette are copied over this widget's palette). More... | |
void | restoreRedirected () |
void | scroll_sys (int dx, int dy) |
void | scroll_sys (int dx, int dy, const QRect &r) |
void | scrollChildren (int dx, int dy) |
void | scrollRect (const QRect &, int dx, int dy) |
void | sendPendingMoveAndResizeEvents (bool recursive=false, bool disableUpdates=false) |
void | sendStartupMessage (const char *message) const |
Platform-specific part of QWidget::show(). More... | |
void | setConstraints_sys () |
void | setCursor_sys (const QCursor &cursor) |
void | setDirtyOpaqueRegion () |
void | setEnabled_helper (bool) |
void | setFocus_sys () |
void | setFont_helper (const QFont &font) |
void | setGeometry_sys (int, int, int, int, bool) |
void | setLayoutDirection_helper (Qt::LayoutDirection) |
void | setLayoutItemMargins (int left, int top, int right, int bottom) |
void | setLayoutItemMargins (QStyle::SubElement element, const QStyleOption *opt=0) |
void | setLocale_helper (const QLocale &l, bool forceUpdate=false) |
void | setMask_sys (const QRegion &) |
bool | setMaximumSize_helper (int &maxw, int &maxh) |
bool | setMinimumSize_helper (int &minw, int &minh) |
void | setModal_sys () |
void | setNetWmWindowTypes () |
void | setOpaque (bool opaque) |
void | setPalette_helper (const QPalette &) |
void | setParent_sys (QWidget *parent, Qt::WindowFlags) |
void | setRedirected (QPaintDevice *replacement, const QPoint &offset) |
void | setSharedPainter (QPainter *painter) |
void | setStyle_helper (QStyle *newStyle, bool propagate, bool metalHack=false) |
void | setUpdatesEnabled_helper (bool) |
void | setWindowFilePath_helper (const QString &filePath) |
void | setWindowIcon_helper () |
void | setWindowIcon_sys (bool forceReset=false) |
void | setWindowIconText_helper (const QString &cap) |
void | setWindowIconText_sys (const QString &cap) |
void | setWindowOpacity_sys (qreal opacity) |
void | setWindowRole () |
void | setWindowTitle_helper (const QString &cap) |
void | setWindowTitle_sys (const QString &cap) |
void | setWinId (WId) |
QPainter * | sharedPainter () const |
void | show_helper () |
void | show_recursive () |
Makes the widget visible in the isVisible() meaning of the word. More... | |
void | show_sys () |
Platform-specific part of QWidget::show(). More... | |
void | showChildren (bool spontaneous) |
void | stackUnder_sys (QWidget *) |
void | subtractOpaqueChildren (QRegion &rgn, const QRect &clipRect) const |
void | subtractOpaqueSiblings (QRegion &source, bool *hasDirtySiblingsAbove=0, bool alsoNonOpaque=false) const |
void | syncBackingStore () |
void | syncBackingStore (const QRegion ®ion) |
QTLWExtra * | topData () const |
void | unsetCursor_sys () |
void | updateFont (const QFont &) |
Assign font to this widget, and propagate it to all children, except style sheet widgets (handled differently) and windows that don't enable window propagation. More... | |
void | updateFrameStrut () |
Computes the frame rectangle when needed. More... | |
void | updateGeometry_helper (bool forceUpdate) |
void | updateIsOpaque () |
void | updateIsTranslucent () |
void | updateSystemBackground () |
void | updateX11AcceptFocus () |
void | x11UpdateIsOpaque () |
~QWidgetPrivate () | |
Public Functions inherited from QObjectPrivate | |
void | _q_reregisterTimers (void *pointer) |
void | addConnection (int signal, Connection *c) |
void | cleanConnectionLists () |
void | connectNotify (const char *signal) |
void | deleteChildren () |
void | disconnectNotify (const char *signal) |
bool | isSender (const QObject *receiver, const char *signal) const |
bool | isSignalConnected (uint signalIdx) const |
Returns true if the signal with index signal_index from object sender is connected. More... | |
void | moveToThread_helper () |
QObjectPrivate (int version=QObjectPrivateVersion) | |
QObjectList | receiverList (const char *signal) const |
QObjectList | senderList () const |
void | setParent_helper (QObject *) |
void | setThreadData_helper (QThreadData *currentData, QThreadData *targetData) |
int | signalIndex (const char *signalName) const |
Returns the signal index used in the internal connectionLists vector. More... | |
virtual | ~QObjectPrivate () |
Public Functions inherited from QObjectData | |
virtual | ~QObjectData ()=0 |
Static Public Functions | |
static void | adjustFlags (Qt::WindowFlags &flags, QWidget *w=0) |
static QGraphicsProxyWidget * | nearestGraphicsProxyWidget (const QWidget *origin) |
Finds the nearest widget embedded in a graphics proxy widget along the chain formed by this widget and its ancestors. More... | |
static int | pointToRect (const QPoint &p, const QRect &r) |
static QRect | screenGeometry (const QWidget *widget) |
Static Public Functions inherited from QObjectPrivate | |
static void | clearGuards (QObject *) |
static QObjectPrivate * | get (QObject *o) |
static void | resetCurrentSender (QObject *receiver, Sender *currentSender, Sender *previousSender) |
static Sender * | setCurrentSender (QObject *receiver, Sender *sender) |
static void | signalSignature (const QMetaMethod &signal, QVarLengthArray< char > *result) |
Static Public Variables | |
static QWidgetSet * | allWidgets = 0 |
static int | instanceCounter = 0 |
static QWidget * | keyboardGrabber = 0 |
static QWidgetMapper * | mapper = 0 |
static int | maxInstances = 0 |
static QWidget * | mouseGrabber = 0 |
Definition at line 363 of file qwidget_p.h.
Enumerator | |
---|---|
CloseNoEvent | |
CloseWithEvent | |
CloseWithSpontaneousEvent |
Definition at line 380 of file qwidget_p.h.
Enumerator | |
---|---|
DirectionNorth | |
DirectionEast | |
DirectionSouth | |
DirectionWest |
Definition at line 386 of file qwidget_p.h.
Enumerator | |
---|---|
DrawAsRoot | |
DrawPaintOnScreen | |
DrawRecursive | |
DrawInvisible | |
DontSubtractOpaqueChildren | |
DontSetCompositionMode | |
DontDrawOpaqueChildren | |
DontDrawNativeChildren |
Definition at line 369 of file qwidget_p.h.
|
explicit |
Definition at line 288 of file qwidget.cpp.
QWidgetPrivate::~QWidgetPrivate | ( | ) |
Definition at line 373 of file qwidget.cpp.
void QWidgetPrivate::_q_showIfNotHidden | ( | ) |
Definition at line 8137 of file qwidget.cpp.
|
inlinevirtual |
void QWidgetPrivate::activateChildLayoutsRecursively | ( | ) |
Definition at line 7752 of file qwidget.cpp.
Referenced by activateChildLayoutsRecursively().
QSize QWidgetPrivate::adjustedSize | ( | ) | const |
Definition at line 8425 of file qwidget.cpp.
|
static |
Definition at line 1242 of file qwidget.cpp.
Referenced by QWorkspace::addWindow(), isServerProcess(), and setParent_sys().
void QWidgetPrivate::adjustQuitOnCloseAttribute | ( | ) |
Definition at line 12900 of file qwidget.cpp.
QInputContext * QWidgetPrivate::assignedInputContext | ( | ) | const |
Definition at line 446 of file qwidget.cpp.
Referenced by inputContext().
QPainter* QWidgetPrivate::beginSharedPainter | ( | ) |
QWidget * QWidgetPrivate::childAt_helper | ( | const QPoint & | p, |
bool | ignoreChildrenInDestructor | ||
) | const |
Definition at line 10288 of file qwidget.cpp.
QWidget * QWidgetPrivate::childAtRecursiveHelper | ( | const QPoint & | p, |
bool | ignoreChildrenInDestructor, | ||
bool | includeFrame = false |
||
) | const |
Definition at line 10308 of file qwidget.cpp.
QRect QWidgetPrivate::clipRect | ( | ) | const |
Definition at line 1997 of file qwidget.cpp.
Referenced by QX11PaintEngine::begin(), QIconModeViewBase::doDynamicLayout(), QListModeViewBase::doStaticLayout(), effectiveState(), moveRect(), QFocusFrame::paintEvent(), QWidgetBackingStore::staticContents(), and QWidgetBackingStore::sync().
QRegion QWidgetPrivate::clipRegion | ( | ) | const |
Definition at line 2021 of file qwidget.cpp.
Referenced by effectiveState().
void QWidgetPrivate::clipToEffectiveMask | ( | QRegion & | region | ) | const |
Definition at line 2230 of file qwidget.cpp.
Referenced by QX11PaintEngine::begin(), QWidgetBackingStore::staticContents(), and QWidgetBackingStore::sync().
bool QWidgetPrivate::close_helper | ( | CloseMode | mode | ) |
Definition at line 8218 of file qwidget.cpp.
Referenced by QApplication::qwsProcessEvent().
void QWidgetPrivate::create_sys | ( | WId | window, |
bool | initializeWindow, | ||
bool | destroyOldWindow | ||
) |
Definition at line 2480 of file qwidget_mac.mm.
Referenced by getNetWmState(), isServerProcess(), q_createNativeChildrenAndSetParent(), and qt_tablet_cleanup_wce().
QWindowSurface * QWidgetPrivate::createDefaultWindowSurface | ( | ) |
Definition at line 398 of file qwidget.cpp.
QWindowSurface * QWidgetPrivate::createDefaultWindowSurface_sys | ( | ) |
Definition at line 3412 of file qwidget_mac.mm.
Referenced by createDefaultWindowSurface(), QVGGraphicsSystem::createWindowSurface(), QGLGraphicsSystem::createWindowSurface(), effectiveState(), and setWindowRole().
void QWidgetPrivate::createExtra | ( | ) |
Creates the widget extra data.
Definition at line 1802 of file qwidget.cpp.
Referenced by QGLWindowSurface::hijackWindow(), qt_grab_cursor(), and QWidgetBackingStore::updateStaticContentsSize().
void QWidgetPrivate::createRecursively | ( | ) |
Definition at line 1423 of file qwidget.cpp.
void QWidgetPrivate::createSysExtra | ( | ) |
Definition at line 4958 of file qwidget_mac.mm.
Referenced by do_size_hints(), effectiveState(), and qt_grab_cursor().
void QWidgetPrivate::createTLExtra | ( | ) |
Definition at line 1755 of file qwidget.cpp.
Referenced by isServerProcess().
void QWidgetPrivate::createTLSysExtra | ( | ) |
Definition at line 4973 of file qwidget_mac.mm.
Referenced by do_size_hints(), effectiveState(), and qt_grab_cursor().
void QWidgetPrivate::createWinId | ( | WId | id = 0 | ) |
Definition at line 2574 of file qwidget.cpp.
Referenced by createWinId(), effectiveState(), isServerProcess(), qt_grab_cursor(), qt_tablet_cleanup_wce(), and setParent_sys().
void QWidgetPrivate::deactivateWidgetCleanup | ( | ) |
Definition at line 2496 of file qwidget.cpp.
Referenced by hide_sys(), isServerProcess(), and qt_grab_cursor().
void QWidgetPrivate::deleteExtra | ( | ) |
Deletes the widget extra data.
Definition at line 1843 of file qwidget.cpp.
Referenced by ~QWidgetPrivate().
void QWidgetPrivate::deleteSysExtra | ( | ) |
Definition at line 4965 of file qwidget_mac.mm.
Referenced by do_size_hints(), effectiveState(), qt_grab_cursor(), and qt_tablet_cleanup_wce().
void QWidgetPrivate::deleteTLSysExtra | ( | ) |
Definition at line 4985 of file qwidget_mac.mm.
Referenced by do_size_hints(), effectiveState(), and qt_grab_cursor().
void QWidgetPrivate::drawWidget | ( | QPaintDevice * | pdev, |
const QRegion & | rgn, | ||
const QPoint & | offset, | ||
int | flags, | ||
QPainter * | sharedPainter = 0 , |
||
QWidgetBackingStore * | backingStore = 0 |
||
) |
Definition at line 5679 of file qwidget.cpp.
Referenced by QWidgetEffectSourcePrivate::draw(), paintSiblingsRecursive(), and QWidgetBackingStore::sync().
|
inline |
Definition at line 587 of file qwidget_p.h.
Definition at line 658 of file qwidget_p.h.
Referenced by QWidgetBackingStore::addDirtyWidget(), effectiveState(), isServerProcess(), paintSiblingsRecursive(), and setParent_sys().
bool QWidgetPrivate::endSharedPainter | ( | ) |
|
inline |
Definition at line 638 of file qwidget_p.h.
|
inline |
Definition at line 999 of file qwidget_p.h.
Referenced by QGLWindowSurface::deleted(), QDirectFBWindowSurface::flush(), QGLWindowSurface::hijackWindow(), qt_grab_cursor(), qt_mac_unregister_widget(), qt_mac_update_widget_position(), QApplication::qwsProcessEvent(), setGeometry_sys(), and QGLWindowSurface::updateGeometry().
QRect QWidgetPrivate::frameStrut | ( | ) | const |
Definition at line 12607 of file qwidget.cpp.
Referenced by QRasterWindowSurface::flush(), isServerProcess(), qt_grab_cursor(), qt_mac_unregister_widget(), and setGeometry_sys().
void QWidgetPrivate::getLayoutItemMargins | ( | int * | left, |
int * | top, | ||
int * | right, | ||
int * | bottom | ||
) | const |
Definition at line 12848 of file qwidget.cpp.
Referenced by QDialogButtonBoxPrivate::initLayout().
const QRegion & QWidgetPrivate::getOpaqueChildren | ( | ) | const |
Definition at line 2098 of file qwidget.cpp.
Referenced by getOpaqueChildren().
|
inline |
Definition at line 669 of file qwidget_p.h.
Referenced by QDeclarativeTextInput::mouseReleaseEvent(), QDeclarativeTextEdit::mouseReleaseEvent(), and QGraphicsTextItem::mouseReleaseEvent().
|
virtual |
virtual private*
This is a bit hackish, but ideally we would have created a virtual function in the public API (however, too late...) so that subclasses could reimplement their own function. Instead we add a virtual function to QWidgetPrivate.
Reimplemented in QTabWidgetPrivate.
Definition at line 10260 of file qwidget.cpp.
Referenced by QTabWidgetPrivate::hasHeightForWidth(), QSizeGrip::mouseMoveEvent(), and QSizeGrip::mousePressEvent().
void QWidgetPrivate::hide_helper | ( | ) |
Definition at line 7898 of file qwidget.cpp.
void QWidgetPrivate::hide_sys | ( | ) |
Platform-specific part of QWidget::hide().
Definition at line 3589 of file qwidget_mac.mm.
Referenced by isServerProcess(), qt_grab_cursor(), and setNetWmWindowTypes().
void QWidgetPrivate::hideChildren | ( | bool | spontaneous | ) |
Definition at line 8167 of file qwidget.cpp.
Referenced by QApplication::x11ProcessEvent().
void QWidgetPrivate::inheritStyle | ( | ) |
Definition at line 2865 of file qwidget.cpp.
void QWidgetPrivate::init | ( | QWidget * | desktopWidget, |
Qt::WindowFlags | f | ||
) |
Definition at line 1298 of file qwidget.cpp.
QInputContext * QWidgetPrivate::inputContext | ( | ) | const |
Definition at line 457 of file qwidget.cpp.
Referenced by QWidget::resetInputContext().
void QWidgetPrivate::invalidateBuffer | ( | const QRegion & | rgn | ) |
Invalidates the rgn (in widget's coordinates) of the backing store, i.e.
all widgets intersecting with the region will be repainted when the backing store is synced.
Definition at line 1565 of file qbackingstore.cpp.
Referenced by effectiveState(), hide_sys(), isServerProcess(), lower_sys(), moveRect(), qt_grab_cursor(), qt_tablet_cleanup_wce(), QRuntimeGraphicsSystem::setGraphicsSystem(), setParent_sys(), show_sys(), and stackUnder_sys().
void QWidgetPrivate::invalidateBuffer | ( | const QRect & | rect | ) |
This function is equivalent to calling invalidateBuffer(QRegion(rect), ...), but is more efficient as it eliminates QRegion operations/allocations and can use the rect more precisely for additional cut-offs.
Definition at line 1590 of file qbackingstore.cpp.
Invalidates the buffer when the widget is resized.
Static areas are never invalidated unless absolutely needed.
Definition at line 1470 of file qbackingstore.cpp.
Referenced by effectiveState(), qt_grab_cursor(), and setGeometry_sys().
void QWidgetPrivate::invalidateGraphicsEffectsRecursively | ( | ) |
Definition at line 2059 of file qwidget.cpp.
bool QWidgetPrivate::isAboutToShow | ( | ) | const |
Definition at line 5542 of file qwidget.cpp.
bool QWidgetPrivate::isBackgroundInherited | ( | ) | const |
Definition at line 1022 of file qwidget_x11.cpp.
bool QWidgetPrivate::isOverlapped | ( | const QRect & | rect | ) | const |
Definition at line 1877 of file qwidget.cpp.
Referenced by scroll_sys().
void QWidgetPrivate::lower_sys | ( | ) |
Definition at line 4015 of file qwidget_mac.mm.
Referenced by effectiveState(), qt_grab_cursor(), and setNetWmWindowTypes().
Definition at line 1330 of file qwidget_x11.cpp.
Definition at line 1313 of file qwidget_x11.cpp.
Referenced by isServerProcess().
|
inline |
Definition at line 1036 of file qwidget_p.h.
Referenced by effectiveState(), qt_dirtyRegion(), and qt_grab_cursor().
|
inline |
Definition at line 1010 of file qwidget_p.h.
Referenced by effectiveState(), q_createNativeChildrenAndSetParent(), qt_tablet_cleanup_wce(), and setParent_sys().
void QWidgetPrivate::moveRect | ( | const QRect & | rect, |
int | dx, | ||
int | dy | ||
) |
Definition at line 917 of file qbackingstore.cpp.
Referenced by effectiveState(), qt_grab_cursor(), and setGeometry_sys().
|
inline |
Definition at line 653 of file qwidget_p.h.
Definition at line 5030 of file qwidget.cpp.
Returns the palette that the widget w inherits from its ancestors and QApplication::palette.
inheritedMask is the combination of the widget's ancestors palette request masks (i.e., which attributes from the parent widget's palette are implicitly imposed on this widget by the user). Note that this font does not take into account the palette set on w itself.
Definition at line 4884 of file qwidget.cpp.
|
static |
Finds the nearest widget embedded in a graphics proxy widget along the chain formed by this widget and its ancestors.
The search starts at origin (inclusive). If successful, the function returns the proxy that embeds the widget, or 0 if no embedded widget was found.
Definition at line 6098 of file qwidget.cpp.
Referenced by QApplicationPrivate::dispatchEnterLeave(), QWidget::scroll(), and QGraphicsProxyWidgetPrivate::sendWidgetMouseEvent().
void QWidgetPrivate::paintBackground | ( | QPainter * | painter, |
const QRegion & | rgn, | ||
int | flags = DrawAsRoot |
||
) | const |
Definition at line 2429 of file qwidget.cpp.
bool QWidgetPrivate::paintOnScreen | ( | ) | const |
Definition at line 2255 of file qwidget.cpp.
Referenced by QGraphicsViewPrivate::dispatchPendingUpdateRequests(), qt_grab_cursor(), qt_tablet_cleanup_wce(), and scroll_sys().
void QWidgetPrivate::paintSiblingsRecursive | ( | QPaintDevice * | pdev, |
const QObjectList & | children, | ||
int | index, | ||
const QRegion & | rgn, | ||
const QPoint & | offset, | ||
int | flags, | ||
QPainter * | sharedPainter, | ||
QWidgetBackingStore * | backingStore | ||
) |
Definition at line 5946 of file qwidget.cpp.
|
inline |
Definition at line 1029 of file qwidget_p.h.
Measures the shortest distance from a point to a rect.
This function is called from QDesktopwidget::screen(QPoint) to find the closest screen for a point. In directional KeypadNavigation, it is called to find the closest widget to the current focus widget center.
Definition at line 7128 of file qwidget.cpp.
Referenced by QDesktopWidget::screenNumber().
QRegion QWidgetPrivate::prepareToRender | ( | const QRegion & | region, |
QWidget::RenderFlags | renderFlags | ||
) |
Definition at line 5556 of file qwidget.cpp.
void QWidgetPrivate::propagatePaletteChange | ( | ) |
Propagate this widget's palette to all children, except style sheet widgets, and windows that don't enable window propagation (palettes don't normally propagate to windows).
Definition at line 1963 of file qwidget.cpp.
void QWidgetPrivate::raise_sys | ( | ) |
Definition at line 3937 of file qwidget_mac.mm.
Referenced by effectiveState(), qt_grab_cursor(), and setNetWmWindowTypes().
|
inline |
Definition at line 628 of file qwidget_p.h.
Referenced by QPainter::redirected().
void QWidgetPrivate::registerDropSite | ( | bool | on | ) |
Definition at line 5025 of file qwidget_mac.mm.
Referenced by create_sys(), do_size_hints(), effectiveState(), qt_grab_cursor(), qt_mac_unregister_widget(), and qt_tablet_cleanup_wce().
void QWidgetPrivate::render | ( | QPaintDevice * | target, |
const QPoint & | targetOffset, | ||
const QRegion & | sourceRegion, | ||
QWidget::RenderFlags | renderFlags, | ||
bool | readyToRender | ||
) |
Definition at line 5856 of file qwidget.cpp.
void QWidgetPrivate::render_helper | ( | QPainter * | painter, |
const QPoint & | targetOffset, | ||
const QRegion & | sourceRegion, | ||
QWidget::RenderFlags | renderFlags | ||
) |
Definition at line 5614 of file qwidget.cpp.
void QWidgetPrivate::repaint_sys | ( | const QRegion & | rgn | ) |
Definition at line 1616 of file qbackingstore.cpp.
void QWidgetPrivate::reparentFocusWidgets | ( | QWidget * | oldtlw | ) |
Moves the relevant subwidgets of this widget from the oldtlw's tab chain to that of the new parent, if there's anything to move and we're really moving
This function is called from QWidget::reparent() after the widget has been reparented.
Definition at line 7047 of file qwidget.cpp.
void QWidgetPrivate::resolveFont | ( | ) |
Determine which font is implicitly imposed on this widget by its ancestors and QApplication::font, resolve this against its own font (attributes from the implicit font are copied over).
Then propagate this font to this widget's children.
Definition at line 5074 of file qwidget.cpp.
Referenced by QGraphicsProxyWidget::event(), setModal_sys(), and updateFont().
void QWidgetPrivate::resolveLayoutDirection | ( | ) |
Definition at line 5171 of file qwidget.cpp.
void QWidgetPrivate::resolveLocale | ( | ) |
Definition at line 6167 of file qwidget.cpp.
void QWidgetPrivate::resolvePalette | ( | ) |
Determine which palette is inherited from this widget's ancestors and QApplication::palette, resolve this against this widget's palette (attributes from the inherited palette are copied over this widget's palette).
Then propagate this palette to this widget's children.
Definition at line 4927 of file qwidget.cpp.
Referenced by QGraphicsProxyWidget::event(), and propagatePaletteChange().
|
inline |
Definition at line 635 of file qwidget_p.h.
Definition at line 600 of file qwidget_p.h.
Referenced by QDesktopWidget::availableGeometry(), QDesktopWidgetPrivate::init(), QDesktopWidget::screenGeometry(), and QDesktopWidgetPrivate::updateScreenList().
void QWidgetPrivate::scroll_sys | ( | int | dx, |
int | dy | ||
) |
Definition at line 4700 of file qwidget_mac.mm.
Referenced by do_size_hints(), effectiveState(), QMacScrollOptimization::performDelayedScroll(), and qt_grab_cursor().
void QWidgetPrivate::scroll_sys | ( | int | dx, |
int | dy, | ||
const QRect & | r | ||
) |
Definition at line 4711 of file qwidget_mac.mm.
void QWidgetPrivate::scrollChildren | ( | int | dx, |
int | dy | ||
) |
Definition at line 421 of file qwidget.cpp.
Referenced by effectiveState(), qt_grab_cursor(), and scroll_sys().
void QWidgetPrivate::scrollRect | ( | const QRect & | rect, |
int | dx, | ||
int | dy | ||
) |
Definition at line 1003 of file qbackingstore.cpp.
Referenced by effectiveState(), qt_grab_cursor(), qt_mac_update_widget_position(), and scroll_sys().
void QWidgetPrivate::sendPendingMoveAndResizeEvents | ( | bool | recursive = false , |
bool | disableUpdates = false |
||
) |
Definition at line 7720 of file qwidget.cpp.
void QWidgetPrivate::sendStartupMessage | ( | const char * | message | ) | const |
Platform-specific part of QWidget::show().
Definition at line 2126 of file qwidget_x11.cpp.
void QWidgetPrivate::setConstraints_sys | ( | ) |
Definition at line 4646 of file qwidget_mac.mm.
Referenced by do_size_hints(), effectiveState(), and qt_grab_cursor().
void QWidgetPrivate::setCursor_sys | ( | const QCursor & | cursor | ) |
Definition at line 3163 of file qwidget_mac.mm.
Referenced by isServerProcess(), mapFromGlobal(), and q_createNativeChildrenAndSetParent().
void QWidgetPrivate::setDirtyOpaqueRegion | ( | ) |
Definition at line 2075 of file qwidget.cpp.
Referenced by effectiveState(), and setDirtyOpaqueRegion().
void QWidgetPrivate::setEnabled_helper | ( | bool | enable | ) |
Definition at line 3454 of file qwidget.cpp.
void QWidgetPrivate::setFocus_sys | ( | ) |
Definition at line 3913 of file qwidget_mac.mm.
Referenced by create_sys(), effectiveState(), qt_grab_cursor(), setNetWmWindowTypes(), and show_sys().
|
inline |
Definition at line 436 of file qwidget_p.h.
void QWidgetPrivate::setGeometry_sys | ( | int | x, |
int | y, | ||
int | w, | ||
int | h, | ||
bool | isMove | ||
) |
Definition at line 4495 of file qwidget_mac.mm.
Referenced by do_size_hints(), effectiveState(), and qt_grab_cursor().
void QWidgetPrivate::setLayoutDirection_helper | ( | Qt::LayoutDirection | direction | ) |
Definition at line 5153 of file qwidget.cpp.
Referenced by QMenuPrivate::updateLayoutDirection().
void QWidgetPrivate::setLayoutItemMargins | ( | int | left, |
int | top, | ||
int | right, | ||
int | bottom | ||
) |
Definition at line 12860 of file qwidget.cpp.
Referenced by QRadioButtonPrivate::init(), QCheckBoxPrivate::init(), QSpinBoxPrivate::init(), QFramePrivate::init(), QDateTimeEditPrivate::init(), QDialogButtonBoxPrivate::initLayout(), QProgressBarPrivate::resetLayoutItemMargins(), and QSliderPrivate::resetLayoutItemMargins().
void QWidgetPrivate::setLayoutItemMargins | ( | QStyle::SubElement | element, |
const QStyleOption * | opt = 0 |
||
) |
Definition at line 12876 of file qwidget.cpp.
void QWidgetPrivate::setLocale_helper | ( | const QLocale & | l, |
bool | forceUpdate = false |
||
) |
Definition at line 6128 of file qwidget.cpp.
Referenced by QtWndProc().
void QWidgetPrivate::setMask_sys | ( | const QRegion & | region | ) |
Definition at line 5076 of file qwidget_mac.mm.
Referenced by do_size_hints(), effectiveState(), qt_grab_cursor(), and qt_tablet_cleanup_wce().
bool QWidgetPrivate::setMaximumSize_helper | ( | int & | maxw, |
int & | maxh | ||
) |
Definition at line 4163 of file qwidget.cpp.
bool QWidgetPrivate::setMinimumSize_helper | ( | int & | minw, |
int & | minh | ||
) |
Definition at line 4081 of file qwidget.cpp.
void QWidgetPrivate::setModal_sys | ( | ) |
Definition at line 5201 of file qwidget_mac.mm.
Referenced by effectiveState(), QX11Data::getSolidFill(), and show_sys().
void QWidgetPrivate::setNetWmWindowTypes | ( | ) |
Definition at line 2154 of file qwidget_x11.cpp.
void QWidgetPrivate::setOpaque | ( | bool | opaque | ) |
Definition at line 2337 of file qwidget.cpp.
Referenced by setWindowOpacity_sys(), and updateRedirectedToGraphicsProxyWidget().
void QWidgetPrivate::setPalette_helper | ( | const QPalette & | palette | ) |
Definition at line 4934 of file qwidget.cpp.
void QWidgetPrivate::setParent_sys | ( | QWidget * | parent, |
Qt::WindowFlags | f | ||
) |
Definition at line 2934 of file qwidget_mac.mm.
Referenced by isBackgroundInherited(), isServerProcess(), and q_createNativeChildrenAndSetParent().
|
inline |
Definition at line 621 of file qwidget_p.h.
|
inline |
Definition at line 1022 of file qwidget_p.h.
void QWidgetPrivate::setStyle_helper | ( | QStyle * | newStyle, |
bool | propagate, | ||
bool | metalHack = false |
||
) |
Definition at line 2791 of file qwidget.cpp.
void QWidgetPrivate::setUpdatesEnabled_helper | ( | bool | enable | ) |
Definition at line 1931 of file qwidget.cpp.
void QWidgetPrivate::setWindowFilePath_helper | ( | const QString & | filePath | ) |
Definition at line 6461 of file qwidget.cpp.
Referenced by qt_mac_unregister_widget().
void QWidgetPrivate::setWindowIcon_helper | ( | ) |
Definition at line 6351 of file qwidget.cpp.
void QWidgetPrivate::setWindowIcon_sys | ( | bool | forceReset = false | ) |
Definition at line 3228 of file qwidget_mac.mm.
Referenced by isServerProcess(), q_createNativeChildrenAndSetParent(), qstring_to_xtp(), and qt_createIcon().
void QWidgetPrivate::setWindowIconText_helper | ( | const QString & | cap | ) |
Definition at line 6292 of file qwidget.cpp.
Referenced by qt_mac_unregister_widget().
void QWidgetPrivate::setWindowIconText_sys | ( | const QString & | cap | ) |
Definition at line 3295 of file qwidget_mac.mm.
Referenced by isServerProcess(), q_createNativeChildrenAndSetParent(), qstring_to_xtp(), and qt_createIcon().
void QWidgetPrivate::setWindowOpacity_sys | ( | qreal | opacity | ) |
Definition at line 5101 of file qwidget_mac.mm.
Referenced by do_size_hints(), effectiveState(), qt_grab_cursor(), and qt_tablet_cleanup_wce().
void QWidgetPrivate::setWindowRole | ( | ) |
Definition at line 3015 of file qwidget_x11.cpp.
void QWidgetPrivate::setWindowTitle_helper | ( | const QString & | cap | ) |
Definition at line 6285 of file qwidget.cpp.
Referenced by QWidget::destroy(), isServerProcess(), qt_mac_unregister_widget(), and setParent_sys().
void QWidgetPrivate::setWindowTitle_sys | ( | const QString & | cap | ) |
Definition at line 3173 of file qwidget_mac.mm.
Referenced by isServerProcess(), q_createNativeChildrenAndSetParent(), and qstring_to_xtp().
void QWidgetPrivate::setWinId | ( | WId | id | ) |
Definition at line 1726 of file qwidget.cpp.
Referenced by create_sys(), effectiveState(), isServerProcess(), q_createNativeChildrenAndSetParent(), qt_mac_unregister_widget(), qt_tablet_cleanup_wce(), and setParent_sys().
|
inline |
void QWidgetPrivate::show_helper | ( | ) |
Definition at line 7782 of file qwidget.cpp.
void QWidgetPrivate::show_recursive | ( | ) |
Makes the widget visible in the isVisible() meaning of the word.
It is only called for toplevels or widgets with visible parents.
Definition at line 7698 of file qwidget.cpp.
void QWidgetPrivate::show_sys | ( | ) |
Platform-specific part of QWidget::show().
Definition at line 3440 of file qwidget_mac.mm.
Referenced by isServerProcess(), qstring_to_xtp(), qt_grab_cursor(), qt_mac_unregister_widget(), and qt_tablet_cleanup_wce().
void QWidgetPrivate::showChildren | ( | bool | spontaneous | ) |
Definition at line 8144 of file qwidget.cpp.
Referenced by QApplication::x11ProcessEvent().
void QWidgetPrivate::stackUnder_sys | ( | QWidget * | w | ) |
Definition at line 4051 of file qwidget_mac.mm.
Referenced by effectiveState(), qt_grab_cursor(), and setNetWmWindowTypes().
Definition at line 2128 of file qwidget.cpp.
Referenced by QWidgetBackingStore::sync().
void QWidgetPrivate::subtractOpaqueSiblings | ( | QRegion & | source, |
bool * | hasDirtySiblingsAbove = 0 , |
||
bool | alsoNonOpaque = false |
||
) | const |
Definition at line 2139 of file qwidget.cpp.
Referenced by QX11PaintEngine::begin(), scroll_sys(), QWidgetBackingStore::staticContents(), and QWidgetBackingStore::sync().
void QWidgetPrivate::syncBackingStore | ( | ) |
Definition at line 1912 of file qwidget.cpp.
void QWidgetPrivate::syncBackingStore | ( | const QRegion & | region | ) |
Definition at line 1922 of file qwidget.cpp.
|
inline |
Definition at line 1004 of file qwidget_p.h.
Referenced by create_sys(), createDefaultWindowSurface_sys(), QWidget::destroy(), effectiveState(), isServerProcess(), QPlatformScreen::platformScreenForWidget(), q_createNativeChildrenAndSetParent(), qt_createIcon(), qt_grab_cursor(), qt_mac_unregister_widget(), qt_mac_update_widget_position(), setConstraints_sys(), setGeometry_sys(), setParent_sys(), setWindowIcon_sys(), setWindowOpacity_sys(), show_sys(), updateFrameStrut(), and QApplication::x11ProcessEvent().
void QWidgetPrivate::unsetCursor_sys | ( | ) |
Definition at line 3168 of file qwidget_mac.mm.
Referenced by isServerProcess(), mapFromGlobal(), and q_createNativeChildrenAndSetParent().
void QWidgetPrivate::updateFont | ( | const QFont & | font | ) |
Assign font to this widget, and propagate it to all children, except style sheet widgets (handled differently) and windows that don't enable window propagation.
implicitMask is the union of all ancestor widgets' font request masks, and determines which attributes from this widget's font should propagate.
Definition at line 5093 of file qwidget.cpp.
void QWidgetPrivate::updateFrameStrut | ( | ) |
Computes the frame rectangle when needed.
This is an internal function, you should never call this.
Definition at line 4999 of file qwidget_mac.mm.
Referenced by do_size_hints(), effectiveState(), macWindowToolbarShow(), qt_grab_cursor(), qt_mac_unregister_widget(), and qt_tablet_cleanup_wce().
void QWidgetPrivate::updateGeometry_helper | ( | bool | forceUpdate | ) |
Definition at line 10346 of file qwidget.cpp.
void QWidgetPrivate::updateIsOpaque | ( | ) |
Definition at line 2272 of file qwidget.cpp.
Referenced by create_sys().
void QWidgetPrivate::updateIsTranslucent | ( | ) |
Definition at line 2356 of file qwidget.cpp.
void QWidgetPrivate::updateSystemBackground | ( | ) |
Definition at line 3159 of file qwidget_mac.mm.
Referenced by isServerProcess(), mapFromGlobal(), and q_createNativeChildrenAndSetParent().
void QWidgetPrivate::updateX11AcceptFocus | ( | ) |
Definition at line 3138 of file qwidget_x11.cpp.
void QWidgetPrivate::x11UpdateIsOpaque | ( | ) |
Definition at line 999 of file qwidget_x11.cpp.
QString QWidgetPrivate::accessibleDescription |
Definition at line 738 of file qwidget_p.h.
QString QWidgetPrivate::accessibleName |
Definition at line 737 of file qwidget_p.h.
Definition at line 760 of file qwidget_p.h.
Referenced by QMenuPrivate::actionAt(), QMenuPrivate::actionRect(), QMenuPrivate::getLastVisibleAction(), QToolButtonPrivate::hasMenu(), QMenuBarPrivate::QWceMenuBarPrivate::rebuild(), QFileDialogPrivate::retranslateStrings(), QMenuPrivate::scrollMenu(), QMenuPrivate::setFirstActionActive(), and QMenuPrivate::updateActionRects().
|
static |
Definition at line 715 of file qwidget_p.h.
Referenced by QApplication::allWidgets(), QX11Data::clipboardReadIncrementalProperty(), QApplicationPrivate::initialize(), QClipboardData::QClipboardData(), qt_tablet_init(), QWidget::setAutoFillBackground(), setupOwner(), QGLGlobalShareWidget::shareWidget(), QWindowsXPStylePrivate::winId(), and QApplication::~QApplication().
QPalette::ColorRole QWidgetPrivate::bg_role |
Definition at line 769 of file qwidget_p.h.
signed char QWidgetPrivate::bottomLayoutItemMargin |
Definition at line 751 of file qwidget_p.h.
Referenced by fromLayoutItemRect(), and toLayoutItemRect().
short QWidgetPrivate::bottommargin |
Definition at line 747 of file qwidget_p.h.
Referenced by QLayout::totalHeightForWidth(), QLayout::totalMaximumSize(), QLayout::totalMinimumSize(), and QLayout::totalSizeHint().
QWidgetData QWidgetPrivate::data |
Definition at line 755 of file qwidget_p.h.
Referenced by QScriptDebuggerCodeWidgetPrivate::_q_onBreakpointEnableRequest(), QScriptDebuggerCodeWidgetPrivate::_q_onBreakpointsAboutToBeRemoved(), QScriptDebuggerCodeWidgetPrivate::_q_onBreakpointsDataChanged(), QScriptDebuggerCodeWidgetPrivate::_q_onBreakpointsInserted(), QScriptDebuggerCodeWidgetPrivate::_q_onBreakpointToggleRequest(), QFileDialogPrivate::_q_useNameFilter(), clipToEffectiveMask(), create_sys(), QLineEditPrivate::drag(), effectiveState(), hide_sys(), QDesktopWidgetPrivate::init(), QIconModeViewBase::intersectingSet(), isOverlapped(), isServerProcess(), QWidget::mapFromGlobal(), QWidget::mapToGlobal(), QWidget::metric(), q_createNativeChildrenAndSetParent(), qt_grab_cursor(), qt_mac_unregister_widget(), qt_mac_update_widget_position(), qt_tablet_cleanup_wce(), scroll_sys(), setGeometry_sys(), setModal_sys(), setParent_sys(), QTextBrowserPrivate::setSource(), QWidget::setWindowState(), show_sys(), subtractOpaqueSiblings(), QWidgetBackingStore::sync(), QMenuPrivate::QMacMenuPrivate::syncAction(), updateFrameStrut(), and QWidgetBackingStore::updateStaticContentsSize().
QRegion QWidgetPrivate::dirty |
Definition at line 726 of file qwidget_p.h.
Referenced by QWidgetBackingStore::addDirtyWidget(), and QWidgetBackingStore::sync().
uint QWidgetPrivate::dirtyOpaqueChildren |
Definition at line 770 of file qwidget_p.h.
Referenced by getOpaqueChildren(), and setDirtyOpaqueRegion().
QWExtra* QWidgetPrivate::extra |
Definition at line 700 of file qwidget_p.h.
Referenced by QLayout::activate(), clipToEffectiveMask(), create_sys(), createSysExtra(), createTLSysExtra(), deleteSysExtra(), deleteTLSysExtra(), QWidget::destroy(), QWidgetEffectSourcePrivate::draw(), effectiveState(), getOpaqueChildren(), isServerProcess(), QTabBarPrivate::layoutTabs(), paintSiblingsRecursive(), qt_grab_cursor(), qt_mac_unregister_widget(), qt_mac_update_widget_position(), qt_tablet_cleanup_wce(), render(), setConstraints_sys(), setGeometry_sys(), setMask_sys(), setWindowOpacity_sys(), QWidget::setWindowState(), QWidget::setWindowTitle(), QWidgetBackingStore::staticContents(), QGL2PaintEngineExPrivate::systemStateChanged(), QOpenGLPaintEngine::updateClipRegion(), updateRedirectedToGraphicsProxyWidget(), QWidgetBackingStore::updateStaticContentsSize(), and ~QWidgetPrivate().
QPaintEngine* QWidgetPrivate::extraPaintEngine |
Definition at line 708 of file qwidget_p.h.
QPalette::ColorRole QWidgetPrivate::fg_role |
Definition at line 768 of file qwidget_p.h.
QWidget* QWidgetPrivate::focus_child |
Definition at line 703 of file qwidget_p.h.
QWidget* QWidgetPrivate::focus_next |
Definition at line 701 of file qwidget_p.h.
Referenced by QWidgetExceptionCleaner::cleanup().
QWidget* QWidgetPrivate::focus_prev |
Definition at line 702 of file qwidget_p.h.
Referenced by QWidgetExceptionCleaner::cleanup().
QMap<Qt::GestureType, Qt::GestureFlags> QWidgetPrivate::gestureContext |
Definition at line 763 of file qwidget_p.h.
Referenced by QApplication::notify().
QGraphicsEffect* QWidgetPrivate::graphicsEffect |
Definition at line 710 of file qwidget_p.h.
Referenced by QWidgetBackingStore::addDirtyWidget(), paintSiblingsRecursive(), and ~QWidgetPrivate().
Qt::HANDLE QWidgetPrivate::hd |
Definition at line 754 of file qwidget_p.h.
Referenced by create_sys(), qt_grab_cursor(), and qt_tablet_cleanup_wce().
uint QWidgetPrivate::high_attributes[4] |
Definition at line 767 of file qwidget_p.h.
Referenced by QWidgetPrivate(), and setAttribute_internal().
QPointer<QInputContext> QWidgetPrivate::ic |
Definition at line 717 of file qwidget_p.h.
Referenced by QDateTimeEditPrivate::validateAndInterpret().
Qt::InputMethodHints QWidgetPrivate::imHints |
Definition at line 718 of file qwidget_p.h.
Referenced by QWidget::inputMethodQuery().
uint QWidgetPrivate::inDirtyList |
Definition at line 772 of file qwidget_p.h.
Referenced by QWidgetBackingStore::addDirtyWidget().
uint QWidgetPrivate::inheritedFontResolveMask |
Definition at line 742 of file qwidget_p.h.
Referenced by QGraphicsProxyWidget::event(), and updateFont().
uint QWidgetPrivate::inheritedPaletteResolveMask |
Definition at line 743 of file qwidget_p.h.
Referenced by QGraphicsProxyWidget::event(), and propagatePaletteChange().
uint QWidgetPrivate::inheritsInputMethodHints |
Definition at line 778 of file qwidget_p.h.
Referenced by QInputDialogPrivate::ensureComboBox(), QInputDialogPrivate::ensureLineEdit(), and QWidget::inputMethodQuery().
uint QWidgetPrivate::inSetParent |
Definition at line 780 of file qwidget_p.h.
|
static |
Definition at line 752 of file qwidget_p.h.
Referenced by init(), QApplication::~QApplication(), and QWidget::~QWidget().
uint QWidgetPrivate::isGLWidget |
Definition at line 775 of file qwidget_p.h.
Referenced by qt_reg_winclass().
uint QWidgetPrivate::isMoved |
Definition at line 774 of file qwidget_p.h.
Referenced by moveRect(), and QWidgetBackingStore::sync().
uint QWidgetPrivate::isOpaque |
Definition at line 771 of file qwidget_p.h.
Referenced by QVGGraphicsSystem::createWindowSurface(), QGLGraphicsSystem::createWindowSurface(), getOpaqueChildren(), QPixmap::grabWidget(), paintSiblingsRecursive(), qt_grab_cursor(), scroll_sys(), QRasterWindowSurface::setGeometry(), QWidgetBackingStore::staticContents(), QWidgetBackingStore::sync(), and updateRedirectedToGraphicsProxyWidget().
uint QWidgetPrivate::isScrolled |
Definition at line 773 of file qwidget_p.h.
Referenced by QWidgetBackingStore::sync().
|
static |
Definition at line 787 of file qwidget_p.h.
Referenced by qstring_to_xtp().
QLayout* QWidgetPrivate::layout |
Definition at line 704 of file qwidget_p.h.
Referenced by QPlainTextEditPrivate::_q_adjustScrollbars(), activateChildLayoutsRecursively(), QCommandLinkButtonPrivate::descriptionHeight(), QDockWidgetItem::dockWidgetChildItem(), documentSize(), QPlainTextEditPrivate::init(), QMdiSubWindowPrivate::removeBaseWidget(), setModal_sys(), and QMdiSubWindowPrivate::setSizeGrip().
signed char QWidgetPrivate::leftLayoutItemMargin |
Definition at line 748 of file qwidget_p.h.
Referenced by fromLayoutItemRect(), and toLayoutItemRect().
short QWidgetPrivate::leftmargin |
Definition at line 744 of file qwidget_p.h.
Referenced by QLayout::totalHeightForWidth(), QLayout::totalMaximumSize(), QLayout::totalMinimumSize(), QLayout::totalSizeHint(), and QMenuPrivate::updateActionRects().
QLocale QWidgetPrivate::locale |
Definition at line 757 of file qwidget_p.h.
|
static |
Definition at line 714 of file qwidget_p.h.
Referenced by QApplicationPrivate::applyX11SpecificCommandLineArguments(), QApplicationPrivate::initialize(), QWidget::nativeParentWidget(), qt_tablet_cleanup_wce(), QWidget::setAutoFillBackground(), and QApplication::~QApplication().
|
static |
Definition at line 753 of file qwidget_p.h.
Referenced by init(), QApplication::~QApplication(), and QWidget::~QWidget().
|
static |
Definition at line 786 of file qwidget_p.h.
Referenced by qstring_to_xtp().
QRegion* QWidgetPrivate::needsFlush |
Definition at line 705 of file qwidget_p.h.
Referenced by QWidgetBackingStore::dirtyRegion(), QWidgetBackingStore::flush(), and QWidgetBackingStore::markDirtyOnScreen().
QRegion QWidgetPrivate::opaqueChildren |
Definition at line 725 of file qwidget_p.h.
Referenced by getOpaqueChildren().
Qt::HANDLE QWidgetPrivate::picture |
Definition at line 785 of file qwidget_p.h.
|
mutable |
Definition at line 709 of file qwidget_p.h.
QPaintDevice* QWidgetPrivate::redirectDev |
Definition at line 706 of file qwidget_p.h.
Referenced by QPainter::redirected().
QPoint QWidgetPrivate::redirectOffset |
Definition at line 758 of file qwidget_p.h.
signed char QWidgetPrivate::rightLayoutItemMargin |
Definition at line 750 of file qwidget_p.h.
Referenced by fromLayoutItemRect(), and toLayoutItemRect().
short QWidgetPrivate::rightmargin |
Definition at line 746 of file qwidget_p.h.
Referenced by QLayout::totalHeightForWidth(), QLayout::totalMaximumSize(), QLayout::totalMinimumSize(), QLayout::totalSizeHint(), and QMenuPrivate::updateActionRects().
QSizePolicy QWidgetPrivate::size_policy |
Definition at line 756 of file qwidget_p.h.
Referenced by QTabWidgetPrivate::hasHeightForWidth().
QString QWidgetPrivate::statusTip |
Definition at line 731 of file qwidget_p.h.
QString QWidgetPrivate::toolTip |
Definition at line 728 of file qwidget_p.h.
signed char QWidgetPrivate::topLayoutItemMargin |
Definition at line 749 of file qwidget_p.h.
Referenced by fromLayoutItemRect(), and toLayoutItemRect().
short QWidgetPrivate::topmargin |
Definition at line 745 of file qwidget_p.h.
Referenced by QLayout::totalHeightForWidth(), QLayout::totalMaximumSize(), QLayout::totalMinimumSize(), QLayout::totalSizeHint(), and QMenuPrivate::updateActionRects().
uint QWidgetPrivate::usesDoubleBufferedGLContext |
Definition at line 776 of file qwidget_p.h.
QString QWidgetPrivate::whatsThis |
Definition at line 734 of file qwidget_p.h.
Referenced by QMenuPrivate::activateAction().
QWidgetItemV2* QWidgetPrivate::widgetItem |
Definition at line 707 of file qwidget_p.h.
Referenced by QWidgetItemV2::QWidgetItemV2(), QWidgetItemV2::~QWidgetItemV2(), and ~QWidgetPrivate().
QX11Info QWidgetPrivate::xinfo |
Definition at line 784 of file qwidget_p.h.