Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QGuiApplicationPrivate::QLastCursorPosition Struct Reference

#include <qguiapplication_p.h>

Collaboration diagram for QGuiApplicationPrivate::QLastCursorPosition:

Public Member Functions

constexpr QLastCursorPosition () noexcept
constexpr Q_IMPLICIT QLastCursorPosition (QPointF p) noexcept
constexpr Q_IMPLICIT operator QPointF () const noexcept
constexpr qreal x () const noexcept
constexpr qreal y () const noexcept
Q_GUI_EXPORT QPoint toPoint () const noexcept
constexpr void reset () noexcept

Friends

constexpr bool operator== (const QLastCursorPosition &p1, const QPointF &p2) noexcept
constexpr bool operator!= (const QLastCursorPosition &p1, const QPointF &p2) noexcept
constexpr bool operator== (const QPointF &p1, const QLastCursorPosition &p2) noexcept
constexpr bool operator!= (const QPointF &p1, const QLastCursorPosition &p2) noexcept

Detailed Description

Definition at line 213 of file qguiapplication_p.h.

Constructor & Destructor Documentation

◆ QLastCursorPosition() [1/2]

QGuiApplicationPrivate::QLastCursorPosition::QLastCursorPosition ( )
inlineconstexprnoexcept

Definition at line 216 of file qguiapplication_p.h.

◆ QLastCursorPosition() [2/2]

Q_IMPLICIT QGuiApplicationPrivate::QLastCursorPosition::QLastCursorPosition ( QPointF p)
inlineconstexprnoexcept

Definition at line 217 of file qguiapplication_p.h.

Member Function Documentation

◆ operator QPointF()

Q_IMPLICIT QGuiApplicationPrivate::QLastCursorPosition::operator QPointF ( ) const
inlineconstexprnoexcept

Definition at line 218 of file qguiapplication_p.h.

◆ reset()

void QGuiApplicationPrivate::QLastCursorPosition::reset ( )
inlineconstexprnoexcept

Definition at line 223 of file qguiapplication_p.h.

◆ toPoint()

QPoint QGuiApplicationPrivate::QLastCursorPosition::toPoint ( ) const
noexcept

Definition at line 4478 of file qguiapplication.cpp.

◆ x()

qreal QGuiApplicationPrivate::QLastCursorPosition::x ( ) const
inlineconstexprnoexcept

Definition at line 219 of file qguiapplication_p.h.

◆ y()

qreal QGuiApplicationPrivate::QLastCursorPosition::y ( ) const
inlineconstexprnoexcept

Definition at line 220 of file qguiapplication_p.h.

◆ operator!= [1/2]

bool operator!= ( const QLastCursorPosition & p1,
const QPointF & p2 )
friend

Definition at line 234 of file qguiapplication_p.h.

◆ operator!= [2/2]

bool operator!= ( const QPointF & p1,
const QLastCursorPosition & p2 )
friend

Definition at line 242 of file qguiapplication_p.h.

◆ operator== [1/2]

bool operator== ( const QLastCursorPosition & p1,
const QPointF & p2 )
friend

Definition at line 229 of file qguiapplication_p.h.

◆ operator== [2/2]

bool operator== ( const QPointF & p1,
const QLastCursorPosition & p2 )
friend

Definition at line 238 of file qguiapplication_p.h.


The documentation for this struct was generated from the following files: