Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qwindow_p.h>
Public Types | |
enum | PositionPolicy { WindowFrameInclusive , WindowFrameExclusive } |
enum | SiblingPosition { PositionTop , PositionBottom } |
enum class | FocusTarget { First , Last , Current , Next , Prev } |
Public Types inherited from QObjectPrivate | |
typedef void(*) | StaticMetaCallFunction(QObject *, QMetaObject::Call, int, void **) |
using | ConnectionDataPointer = QExplicitlySharedDataPointer<ConnectionData> |
Static Public Member Functions | |
static QWindowPrivate * | get (QWindow *window) |
static Qt::WindowState | effectiveState (Qt::WindowStates) |
Static Public Member Functions inherited from QObjectPrivate | |
static bool | removeConnection (Connection *c) |
static QObjectPrivate * | get (QObject *o) |
static const QObjectPrivate * | get (const QObject *o) |
template<typename Func1 , typename Func2 > | |
static QMetaObject::Connection | connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot, Qt::ConnectionType type=Qt::AutoConnection) |
template<typename Func1 , typename Func2 > | |
static bool | disconnect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot) |
static QMetaObject::Connection | connectImpl (const QObject *sender, int signal_index, const QObject *receiver, void **slot, QtPrivate::QSlotObjectBase *slotObj, int type, const int *types, const QMetaObject *senderMetaObject) |
static QMetaObject::Connection | connect (const QObject *sender, int signal_index, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType type) |
static QMetaObject::Connection | connect (const QObject *sender, int signal_index, const QObject *receiver, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType type) |
static bool | disconnect (const QObject *sender, int signal_index, void **slot) |
static bool | disconnect (const QObject *sender, int signal_index, const QObject *receiver, void **slot) |
Definition at line 33 of file qwindow_p.h.
|
strong |
Enumerator | |
---|---|
First | |
Last | |
Current | |
Next | |
Prev |
Definition at line 80 of file qwindow_p.h.
Enumerator | |
---|---|
WindowFrameInclusive | |
WindowFrameExclusive |
Definition at line 38 of file qwindow_p.h.
Enumerator | |
---|---|
PositionTop | |
PositionBottom |
Definition at line 65 of file qwindow_p.h.
|
default |
|
overridedefault |
void QWindowPrivate::_q_clearAlert | ( | ) |
Definition at line 3104 of file qwindow.cpp.
bool QWindowPrivate::applyCursor | ( | ) |
Definition at line 3181 of file qwindow.cpp.
|
virtual |
Reimplemented in QQuickWindowPrivate, QWidgetWindowPrivate, and QWidgetWindowPrivate.
Definition at line 609 of file qwindow.cpp.
Reimplemented in QWidgetWindowPrivate, and QWidgetWindowPrivate.
Definition at line 616 of file qwindow.cpp.
Definition at line 499 of file qwindow.cpp.
void QWindowPrivate::create | ( | bool | recursive | ) |
Definition at line 538 of file qwindow.cpp.
void QWindowPrivate::destroy | ( | ) |
Definition at line 2075 of file qwindow.cpp.
void QWindowPrivate::disconnectFromScreen | ( | ) |
Definition at line 493 of file qwindow.cpp.
|
static |
Definition at line 1439 of file qwindow.cpp.
Definition at line 505 of file qwindow.cpp.
|
inlinevirtual |
Reimplemented in QWidgetWindowPrivate, and QWidgetWindowPrivate.
Definition at line 58 of file qwindow_p.h.
const QWindow * QWindowPrivate::forwardToPopup | ( | QEvent * | event, |
const QWindow * | activePopupOnPress ) |
Returns the popup window that has consumed event, if any. activePopupOnPress is the window that we have observed previously handling the press.
Definition at line 2429 of file qwindow.cpp.
|
inlinestatic |
Definition at line 108 of file qwindow_p.h.
QPoint QWindowPrivate::globalPosition | ( | ) | const |
Definition at line 3001 of file qwindow.cpp.
Definition at line 214 of file qwindow.cpp.
|
inline |
Definition at line 102 of file qwindow_p.h.
|
virtual |
Reimplemented in QWidgetWindowPrivate, and QWidgetWindowPrivate.
Definition at line 2398 of file qwindow.cpp.
|
inlinevirtual |
Reimplemented in QWidgetWindowPrivate, and QWidgetWindowPrivate.
Definition at line 95 of file qwindow_p.h.
Definition at line 1868 of file qwindow.cpp.
|
inline |
Definition at line 103 of file qwindow_p.h.
Definition at line 3157 of file qwindow.cpp.
|
inlinevirtual |
Reimplemented in QQuickWindowPrivate, QWidgetWindowPrivate, and QWidgetWindowPrivate.
Definition at line 87 of file qwindow_p.h.
void QWindowPrivate::setMinOrMaxSize | ( | QSize * | oldSizeMember, |
const QSize & | size, | ||
qxp::function_ref< void()> | funcWidthChanged, | ||
qxp::function_ref< void()> | funcHeightChanged ) |
Definition at line 622 of file qwindow.cpp.
Definition at line 515 of file qwindow.cpp.
Definition at line 1581 of file qwindow.cpp.
|
virtual |
Reimplemented in QQuickPopupWindowPrivate, QQuickPopupWindowPrivate, QQuickWidgetOffscreenWindowPrivate, QQuickWidgetOffscreenWindowPrivate, QWidgetWindowPrivate, and QWidgetWindowPrivate.
Definition at line 348 of file qwindow.cpp.
QWindow * QWindowPrivate::topLevelWindow | ( | QWindow::AncestorMode | mode = QWindow::IncludeTransients | ) | const |
Definition at line 3023 of file qwindow.cpp.
|
virtual |
Reimplemented in QWidgetWindowPrivate, and QWidgetWindowPrivate.
Definition at line 2419 of file qwindow.cpp.
bool QWindowPrivate::updateDevicePixelRatio | ( | ) |
Definition at line 1412 of file qwindow.cpp.
void QWindowPrivate::updateSiblingPosition | ( | SiblingPosition | position | ) |
Definition at line 461 of file qwindow.cpp.
void QWindowPrivate::updateVisibility | ( | ) |
Definition at line 440 of file qwindow.cpp.
|
inlinevirtual |
Reimplemented in QQuickApplicationWindowPrivate, and QQuickApplicationWindowPrivate.
Definition at line 59 of file qwindow_p.h.
bool QWindowPrivate::windowRecreationRequired | ( | QScreen * | newScreen | ) | const |
Definition at line 485 of file qwindow.cpp.
QSize QWindowPrivate::baseSize |
Definition at line 143 of file qwindow_p.h.
bool QWindowPrivate::blockedByModalWindow = false |
Definition at line 147 of file qwindow_p.h.
Qt::ScreenOrientation QWindowPrivate::contentOrientation = Qt::PrimaryOrientation |
Definition at line 137 of file qwindow_p.h.
QCursor QWindowPrivate::cursor = {Qt::ArrowCursor} |
Definition at line 156 of file qwindow_p.h.
qreal QWindowPrivate::devicePixelRatio = 1.0 |
Definition at line 125 of file qwindow_p.h.
bool QWindowPrivate::exposed = false |
Definition at line 118 of file qwindow_p.h.
QRect QWindowPrivate::geometry |
Definition at line 124 of file qwindow_p.h.
bool QWindowPrivate::hasCursor = false |
Definition at line 157 of file qwindow_p.h.
bool QWindowPrivate::inClose = false |
Definition at line 119 of file qwindow_p.h.
QElapsedTimer QWindowPrivate::lastComposeTime |
Definition at line 160 of file qwindow_p.h.
QRegion QWindowPrivate::mask |
Definition at line 139 of file qwindow_p.h.
QSize QWindowPrivate::maximumSize = {QWINDOWSIZE_MAX, QWINDOWSIZE_MAX} |
Definition at line 142 of file qwindow_p.h.
QSize QWindowPrivate::minimumSize = {0, 0} |
Definition at line 141 of file qwindow_p.h.
Qt::WindowModality QWindowPrivate::modality = Qt::NonModal |
Definition at line 146 of file qwindow_p.h.
qreal QWindowPrivate::opacity = 1 |
Definition at line 138 of file qwindow_p.h.
Definition at line 114 of file qwindow_p.h.
QPlatformWindow* QWindowPrivate::platformWindow = nullptr |
Definition at line 115 of file qwindow_p.h.
bool QWindowPrivate::positionAutomatic = true |
Definition at line 131 of file qwindow_p.h.
PositionPolicy QWindowPrivate::positionPolicy = WindowFrameExclusive |
Definition at line 130 of file qwindow_p.h.
bool QWindowPrivate::receivedExpose = false |
Definition at line 129 of file qwindow_p.h.
QSurfaceFormat QWindowPrivate::requestedFormat |
Definition at line 120 of file qwindow_p.h.
bool QWindowPrivate::resizeAutomatic = true |
Definition at line 136 of file qwindow_p.h.
bool QWindowPrivate::resizeEventPending = true |
Definition at line 128 of file qwindow_p.h.
QSize QWindowPrivate::sizeIncrement |
Definition at line 144 of file qwindow_p.h.
QWindow::SurfaceType QWindowPrivate::surfaceType = QWindow::RasterSurface |
Definition at line 112 of file qwindow_p.h.
Definition at line 153 of file qwindow_p.h.
Definition at line 152 of file qwindow_p.h.
bool QWindowPrivate::transientParentPropertySet = false |
Definition at line 150 of file qwindow_p.h.
bool QWindowPrivate::updateRequestPending = false |
Definition at line 149 of file qwindow_p.h.
QWindow::Visibility QWindowPrivate::visibility = QWindow::Hidden |
Definition at line 127 of file qwindow_p.h.
bool QWindowPrivate::visibilityOnDestroy = false |
Definition at line 117 of file qwindow_p.h.
bool QWindowPrivate::visible = false |
Definition at line 116 of file qwindow_p.h.
QString QWindowPrivate::windowFilePath |
Definition at line 122 of file qwindow_p.h.
Qt::WindowFlags QWindowPrivate::windowFlags = Qt::Window |
Definition at line 113 of file qwindow_p.h.
QIcon QWindowPrivate::windowIcon |
Definition at line 123 of file qwindow_p.h.
Qt::WindowStates QWindowPrivate::windowState = Qt::WindowNoState |
Definition at line 126 of file qwindow_p.h.
QString QWindowPrivate::windowTitle |
Definition at line 121 of file qwindow_p.h.