![]() |
Qt 6.x
The Qt SDK
|
#include <qwaylandqtshellchrome_p.h>
Public Types | |
enum class | DecorationInteraction : quint8 { None = 0 , WestBound = 1 , EastBound = 2 , NorthBound = 4 , SouthBound = 8 , TitleBar = 16 } |
![]() | |
enum | ChangeType { Geometry = 0x01 , SiblingOrder = 0x02 , Visibility = 0x04 , Opacity = 0x08 , Destroyed = 0x10 , Parent = 0x20 , Children = 0x40 , Rotation = 0x80 , ImplicitWidth = 0x100 , ImplicitHeight = 0x200 , Enabled = 0x400 , Focus = 0x800 , AllChanges = 0xFFFFFFFF } |
enum | ExtraDataTag { NoTag = 0x1 , LeftMouseButtonAccepted = 0x2 } |
enum | DirtyType { TransformOrigin = 0x00000001 , Transform = 0x00000002 , BasicTransform = 0x00000004 , Position = 0x00000008 , Size = 0x00000010 , ZValue = 0x00000020 , Content = 0x00000040 , Smooth = 0x00000080 , OpacityValue = 0x00000100 , ChildrenChanged = 0x00000200 , ChildrenStackingChanged = 0x00000400 , ParentChanged = 0x00000800 , Clip = 0x00001000 , Window = 0x00002000 , EffectReference = 0x00008000 , Visible = 0x00010000 , HideReference = 0x00020000 , Antialiasing = 0x00040000 , TransformUpdateMask , ComplexTransformUpdateMask = Transform | Window , ContentUpdateMask = Size | Content | Smooth | Window | Antialiasing , ChildrenUpdateMask = ChildrenChanged | ChildrenStackingChanged | EffectReference | Window } |
![]() | |
typedef void(* | StaticMetaCallFunction) (QObject *, QMetaObject::Call, int, void **) |
using | ConnectionDataPointer = QExplicitlySharedDataPointer< ConnectionData > |
Definition at line 28 of file qwaylandqtshellchrome_p.h.
|
strong |
Enumerator | |
---|---|
None | |
WestBound | |
EastBound | |
NorthBound | |
SouthBound | |
TitleBar |
Definition at line 51 of file qwaylandqtshellchrome_p.h.
QT_BEGIN_NAMESPACE QPointF QWaylandQtShellChromePrivate::constrainPoint | ( | const QPointF & | point | ) | const |
Definition at line 12 of file qwaylandqtshellchrome.cpp.
References QRect::bottom(), QRect::left(), maximizedRect, qBound(), QRect::right(), QRect::top(), QPointF::x(), and QPointF::y().
Referenced by updateDecorationInteraction().
void QWaylandQtShellChromePrivate::updateDecorationInteraction | ( | quint8 | flags, |
const QQuickHandlerPoint & | centroid | ||
) |
Definition at line 22 of file qwaylandqtshellchrome.cpp.
References QRect::bottom(), constrainPoint(), decorationInteraction, decorationInteractionGeometry, decorationInteractionPosition, EastBound, QQuickItemPrivate::flags, QSize::height(), QRect::left(), QWaylandQtShellSurface::maximumSize, QWaylandQtShellSurface::minimumSize, None, NorthBound, position(), qBound(), qMax(), QWaylandQtShellSurface::requestWindowGeometry(), QRect::right(), QQuickHandlerPoint::scenePosition, QQuickHandlerPoint::scenePressPosition, shellSurface, SouthBound, QRect::top(), WestBound, QSize::width(), QWaylandQtShellSurface::windowGeometry, QWaylandQtShellSurface::windowState, QPointF::x(), and QPointF::y().
bool QWaylandQtShellChromePrivate::automaticFrameMargins = true |
Definition at line 35 of file qwaylandqtshellchrome_p.h.
QQuickItem* QWaylandQtShellChromePrivate::bottomLeftResizeHandle = nullptr |
Definition at line 79 of file qwaylandqtshellchrome_p.h.
QQuickDragHandler* QWaylandQtShellChromePrivate::bottomLeftResizeHandleHandler = nullptr |
Definition at line 71 of file qwaylandqtshellchrome_p.h.
QQuickItem* QWaylandQtShellChromePrivate::bottomResizeHandle = nullptr |
Definition at line 77 of file qwaylandqtshellchrome_p.h.
QQuickDragHandler* QWaylandQtShellChromePrivate::bottomResizeHandleHandler = nullptr |
Definition at line 68 of file qwaylandqtshellchrome_p.h.
QQuickItem* QWaylandQtShellChromePrivate::bottomRightResizeHandle = nullptr |
Definition at line 81 of file qwaylandqtshellchrome_p.h.
QQuickDragHandler* QWaylandQtShellChromePrivate::bottomRightResizeHandleHandler = nullptr |
Definition at line 72 of file qwaylandqtshellchrome_p.h.
uint QWaylandQtShellChromePrivate::currentFlags = defaultFlags |
Definition at line 43 of file qwaylandqtshellchrome_p.h.
uint QWaylandQtShellChromePrivate::currentState = Qt::WindowNoState |
Definition at line 38 of file qwaylandqtshellchrome_p.h.
quint8 QWaylandQtShellChromePrivate::decorationInteraction = quint8(DecorationInteraction::None) |
Definition at line 60 of file qwaylandqtshellchrome_p.h.
Referenced by updateDecorationInteraction().
QRect QWaylandQtShellChromePrivate::decorationInteractionGeometry |
Definition at line 62 of file qwaylandqtshellchrome_p.h.
Referenced by updateDecorationInteraction().
QPointF QWaylandQtShellChromePrivate::decorationInteractionPosition |
Definition at line 61 of file qwaylandqtshellchrome_p.h.
Referenced by updateDecorationInteraction().
uint QWaylandQtShellChromePrivate::defaultFlags |
Definition at line 39 of file qwaylandqtshellchrome_p.h.
QMargins QWaylandQtShellChromePrivate::explicitFrameMargins |
Definition at line 36 of file qwaylandqtshellchrome_p.h.
QQuickItem* QWaylandQtShellChromePrivate::leftResizeHandle = nullptr |
Definition at line 64 of file qwaylandqtshellchrome_p.h.
QQuickDragHandler* QWaylandQtShellChromePrivate::leftResizeHandleHandler = nullptr |
Definition at line 65 of file qwaylandqtshellchrome_p.h.
QRect QWaylandQtShellChromePrivate::maximizedRect |
Definition at line 45 of file qwaylandqtshellchrome_p.h.
Referenced by constrainPoint().
bool QWaylandQtShellChromePrivate::positionSet = false |
Definition at line 34 of file qwaylandqtshellchrome_p.h.
Definition at line 44 of file qwaylandqtshellchrome_p.h.
QQuickItem* QWaylandQtShellChromePrivate::rightResizeHandle = nullptr |
Definition at line 75 of file qwaylandqtshellchrome_p.h.
QQuickDragHandler* QWaylandQtShellChromePrivate::rightResizeHandleHandler = nullptr |
Definition at line 66 of file qwaylandqtshellchrome_p.h.
QPointer<QWaylandQtShell> QWaylandQtShellChromePrivate::shell |
Definition at line 49 of file qwaylandqtshellchrome_p.h.
QPointer<QWaylandQtShellSurface> QWaylandQtShellChromePrivate::shellSurface |
Definition at line 47 of file qwaylandqtshellchrome_p.h.
Referenced by updateDecorationInteraction().
QPointer<QWaylandQuickShellSurfaceItem> QWaylandQtShellChromePrivate::shellSurfaceItem |
Definition at line 46 of file qwaylandqtshellchrome_p.h.
QPointer<QWaylandSurface> QWaylandQtShellChromePrivate::surface |
Definition at line 48 of file qwaylandqtshellchrome_p.h.
QQuickItem* QWaylandQtShellChromePrivate::titleBar = nullptr |
Definition at line 82 of file qwaylandqtshellchrome_p.h.
QQuickDragHandler* QWaylandQtShellChromePrivate::titleBarHandler = nullptr |
Definition at line 73 of file qwaylandqtshellchrome_p.h.
QQuickItem* QWaylandQtShellChromePrivate::topLeftResizeHandle = nullptr |
Definition at line 78 of file qwaylandqtshellchrome_p.h.
QQuickDragHandler* QWaylandQtShellChromePrivate::topLeftResizeHandleHandler = nullptr |
Definition at line 69 of file qwaylandqtshellchrome_p.h.
QQuickItem* QWaylandQtShellChromePrivate::topResizeHandle = nullptr |
Definition at line 76 of file qwaylandqtshellchrome_p.h.
QQuickDragHandler* QWaylandQtShellChromePrivate::topResizeHandleHandler = nullptr |
Definition at line 67 of file qwaylandqtshellchrome_p.h.
QQuickItem* QWaylandQtShellChromePrivate::topRightResizeHandle = nullptr |
Definition at line 80 of file qwaylandqtshellchrome_p.h.
QQuickDragHandler* QWaylandQtShellChromePrivate::topRightResizeHandleHandler = nullptr |
Definition at line 70 of file qwaylandqtshellchrome_p.h.