45 #include "private/qapplication_p.h" 46 #include "private/qevent_p.h" 47 #include "private/qkeysequence_p.h" 58 #include "private/qcore_symbian_p.h" 78 :
QEvent(type), modState(modifiers)
182 :
QInputEvent(type, modifiers), p(position), b(button), mouseState(buttons)
206 modState = Qt::KeyboardModifiers(state & (
int)Qt::KeyButtonMask);
216 Qt::ButtonState
button,
int state)
220 modState = Qt::KeyboardModifiers(state & (
int)Qt::KeyButtonMask);
255 return new QMouseEventEx(type, pos, globalPos, button, buttons, modifiers);
289 :
QMouseEvent(type, pos.toPoint(), globalPos, button, buttons, modifiers),
posF(pos)
291 d =
reinterpret_cast<QEventPrivate *
>(
this);
532 :
QEvent(type),
p(pos), op(oldPos)
606 #ifndef QT_NO_WHEELEVENT 608 Qt::MouseButtons
buttons, Qt::KeyboardModifiers modifiers,
631 modState = Qt::KeyboardModifiers(state & (
int)Qt::KeyButtonMask);
661 modState = Qt::KeyboardModifiers(state & (
int) Qt::KeyButtonMask);
664 #endif // QT_NO_WHEELEVENT 827 bool autorep,
ushort count)
828 :
QInputEvent(type, modifiers), txt(text), k(key),
c(count), autor(autorep)
847 return new QKeyEventEx(type, key, modifiers, text, autorep, count,
848 nativeScanCode, nativeVirtualKey, nativeModifiers);
874 return (reinterpret_cast<const QKeyEvent*>(
d) !=
this 875 ? 0 : reinterpret_cast<const QKeyEventEx*>(
this)->nScanCode);
891 return (reinterpret_cast<const QKeyEvent*>(
d) !=
this 892 ? 0 : reinterpret_cast<const QKeyEventEx*>(
this)->nVirtualKey);
908 return (reinterpret_cast<const QKeyEvent*>(
d) !=
this 909 ? 0 : reinterpret_cast<const QKeyEventEx*>(
this)->nModifiers);
924 :
QKeyEvent(type, key, modifiers, text, autorep, count),
925 nScanCode(nativeScanCode), nVirtualKey(nativeVirtualKey), nModifiers(nativeModifiers)
927 d =
reinterpret_cast<QEventPrivate*
>(
this);
941 d =
reinterpret_cast<QEventPrivate*
>(
this);
1012 #ifndef QT_NO_SHORTCUT 1030 uint oldSearchKey = searchkey;
1043 while (first <= last) {
1044 int mid = (first + last) / 2;
1050 else if (searchkey < midVal.
shortcut){
1060 for (
unsigned int i = mid + 1 ; i < N - 1 ; ++i) {
1069 for (
int i = mid - 1 ; i >= 0 ; --i) {
1082 #endif // QT_NO_SHORTCUT 1183 :
QEvent(type), m_reason(reason)
1602 #ifndef QT_NO_CONTEXTMENU 1682 Qt::ButtonState QContextMenuEvent::state()
const 1759 #endif // QT_NO_CONTEXTMENU 2113 #ifndef QT_NO_TABLETEVENT 2229 const QPointF &hiResGlobalPos,
int device,
int pointerType,
2230 qreal pressure,
int xTilt,
int yTilt,
qreal tangentialPressure,
2231 qreal rotation,
int z, Qt::KeyboardModifiers keyState,
qint64 uniqueID)
2235 mHiResGlobalPos(hiResGlobalPos),
2237 mPointerType(pointerType),
2242 mTangential(tangentialPressure),
2492 #endif // QT_NO_TABLETEVENT 2494 #ifndef QT_NO_DRAGANDDROP 2509 :
QDropEvent(pos, actions, data, buttons, modifiers, type)
2510 , rect(pos,
QSize(1, 1))
2704 for (
int i = 0; i < formats.
size(); ++i)
2742 return manager ? manager->
source() : 0;
2915 QT3_SUPPORT QDropEvent::Action QDropEvent::action()
const 2978 Qt::MouseButtons
buttons, Qt::KeyboardModifiers modifiers)
3064 #endif // QT_NO_DRAGANDDROP 3094 :
QEvent(type), p(pos), gp(globalPos)
3171 #ifndef QT_NO_STATUSTIP 3239 #endif // QT_NO_STATUSTIP 3241 #ifndef QT_NO_WHATSTHIS 3283 #endif // QT_NO_WHATSTHIS 3285 #ifndef QT_NO_ACTION 3343 #endif // QT_NO_ACTION 3486 fileHandle.FullName(fullName);
3487 f = qt_TDesC2QString(fullName);
3490 qt_symbian_throwIfError(priv->file.Duplicate(fileHandle));
3491 d =
reinterpret_cast<QEventPrivate *
>(priv.
take());
3547 if (priv->file.SubSessionHandle()) {
3551 if (dup.Duplicate(priv->file) == KErrNone) {
3559 return file.
open(flags);
3562 #ifndef QT_NO_TOOLBAR 3613 #endif // QT_NO_TOOLBAR 3615 #ifndef QT_NO_SHORTCUT 3636 #endif // QT_NO_SHORTCUT 3638 #ifndef QT_NO_DEBUG_STREAM 3640 #ifndef Q_BROKEN_DEBUG_STREAM 3643 return dbg <<
"QEvent(this = 0x0)";
3645 switch (e->
type()) {
3655 switch(me->
type()) {
3657 n =
"MouseButtonPress";
3663 n =
"MouseButtonRelease";
3667 n =
"MouseButtonDblClick";
3670 dbg.
nospace() <<
"QMouseEvent(" << n
3678 #ifndef QT_NO_TOOLTIP 3684 n =
"WindowActivate";
3687 n =
"WindowDeactivate";
3690 n =
"ActivationChange";
3692 #ifndef QT_NO_WHEELEVENT 3703 switch(ke->
type()) {
3705 n =
"ShortcutOverride";
3715 dbg.
nospace() <<
"QKeyEvent(" << n
3716 <<
", " <<
hex << ke->
key()
3718 <<
", \"" << ke->
text()
3720 <<
", " << ke->
count()
3737 n =
"PaletteChange";
3740 n =
"PolishRequest";
3746 n =
"UpdateRequest";
3791 n =
"ParentAboutToChange";
3821 n =
"GraphicsSceneMouseMove";
3824 n =
"GraphicsSceneMousePress";
3827 n =
"GraphicsSceneMouseRelease";
3830 n =
"GraphicsSceneMouseDoubleClick";
3833 n =
"GraphicsSceneContextMenu";
3836 n =
"GraphicsSceneHoverEnter";
3839 n =
"GraphicsSceneHoverMove";
3842 n =
"GraphicsSceneHoverLeave";
3845 n =
"GraphicsSceneHelp";
3848 n =
"GraphicsSceneDragEnter";
3851 n =
"GraphicsSceneDragMove";
3854 n =
"GraphicsSceneDragLeave";
3857 n =
"GraphicsSceneDrop";
3860 n =
"GraphicsSceneWheel";
3863 n =
"GraphicsSceneResize";
3866 n =
"GraphicsSceneMove";
3872 n =
"ToolTipChange";
3887 n =
"KeyboardLayoutChange";
3890 n =
"DynamicPropertyChange";
3902 n =
"UngrabKeyboard";
3905 case QEvent::ChildInsertedRequest:
3906 n =
"ChildInsertedRequest";
3908 case QEvent::ChildInserted: n =
"ChildInserted";
3913 dbg.
nospace() <<
"QChildEvent(" << n <<
", " << (
static_cast<const QChildEvent*
>(e))->child();
3915 #ifndef QT_NO_GESTURES 3921 dbg.
nospace() <<
"QEvent(" << (
const void *)e <<
", type = " << e->
type() <<
')';
3925 dbg.
nospace() <<
'Q' << n <<
"Event(" << (
const void *)e <<
')';
3928 qWarning(
"This compiler doesn't support streaming QEvent to QDebug");
3935 #ifndef QT_NO_CLIPBOARD 3961 #endif // QT_NO_CLIPBOARD 4066 d = (QEventPrivate*)(
this);
4096 QMenubarUpdatedEvent::QMenubarUpdatedEvent(
QMenuBar *
const menuBar)
4309 Qt::KeyboardModifiers modifiers,
4310 Qt::TouchPointStates touchPointStates,
4314 _deviceType(deviceType),
4315 _touchPointStates(touchPointStates),
4316 _touchPoints(touchPoints)
4816 #ifndef QT_NO_GESTURES 4898 gestures.
append(gesture);
4911 gestures.
append(gesture);
5052 #ifndef QT_NO_GRAPHICSVIEW 5074 #endif //QT_NO_GRAPHICSVIEW 5092 #ifdef Q_NO_USING_KEYWORD 5144 #endif // QT_NO_GESTURES
QDragEnterEvent(const QPoint &pos, Qt::DropActions actions, const QMimeData *data, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers)
Constructs a QDragEnterEvent that represents a drag entering a widget at the given point with mouse a...
T qobject_cast(QObject *object)
The QDebug class provides an output stream for debugging information.
void setAccepted(QGesture *, bool)
Sets the accept flag of the given gesture object to the specified value.
QKeySequence::StandardKey standardKey
int id() const
Returns the id number of this touch point.
void setScreenPos(const QPointF &screenPos)
void setLastPos(const QPointF &lastPos)
QStatusTipEvent(const QString &tip)
Constructs a status tip event with the text specified by tip.
The QKeyEvent class describes a key event.
QPointF mapToScene(const QPoint &point) const
Returns the viewport coordinate point mapped to scene coordinates.
#define QT_END_NAMESPACE
This macro expands to.
virtual QStringList formats() const
Returns a list of formats supported by the object.
QClipboardEvent(QEventPrivate *data)
const char * format(int n=0) const
Returns a string describing one of the available data types for this drag.
QPointF startScenePos() const
Returns the starting scene position of this touch point.
QList< QGesture * > activeGestures() const
Returns a list of active (not canceled) gestures.
Qt::TouchPointState state() const
Returns the current state of this touch point.
Qt::MouseButtons mouseState
static QMouseEvent * createExtendedMouseEvent(Type type, const QPointF &pos, const QPoint &globalPos, Qt::MouseButton button, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers)
void setRect(const QRectF &rect)
quint32 nativeScanCode() const
Returns the native scan code of the key event.
QShortcutEvent(const QKeySequence &key, int id, bool ambiguous=false)
Constructs a shortcut event for the given key press, associated with the QShortcut ID id...
Qt::TouchPointStates state
bool open(OpenMode flags)
Opens the file using OpenMode mode, returning true if successful; otherwise false.
bool provides(const char *) const
Returns true if this event provides format mimeType; otherwise returns false.
The QWheelEvent class contains parameters that describe a wheel event.
~QWhatsThisClickedEvent()
void setStartNormalizedPos(const QPointF &startNormalizedPos)
QRectF rect() const
Returns the rect for this touch point, relative to the widget or QGraphicsItem that received the even...
QIconDragEvent()
Constructs an icon drag event object with the accept flag set to false.
QDebug & nospace()
Clears the stream's internal flag that records whether the last character was a space and returns a r...
QList< QGesture * > canceledGestures() const
Returns a list of canceled gestures.
Qt::DropAction defaultAction(Qt::DropActions possibleActions, Qt::KeyboardModifiers modifiers) const
The QByteArray class provides an array of bytes.
void setStartScenePos(const QPointF &startScenePos)
T * take()
Returns the value of the pointer referenced by this object.
The QPointF class defines a point in the plane using floating point precision.
static Qt::MouseButtons buttons
static qreal position(QGraphicsObject *item, QDeclarativeAnchorLine::AnchorLine anchorLine)
QPointF startNormalizedPos
QPointF lastScreenPos() const
Returns the screen position of this touch point from the previous touch event.
void setDropAction(Qt::DropAction action)
Sets the action to be performed on the data by the target.
quint32 nativeModifiers() const
Returns the native modifiers of a key event.
QShowEvent()
Constructs a QShowEvent.
QLatin1String(DBUS_INTERFACE_DBUS))) Q_GLOBAL_STATIC_WITH_ARGS(QString
long ASN1_INTEGER_get ASN1_INTEGER * a
QPointF lastScenePos() const
Returns the scene position of this touch point from the previous touch event.
StandardKey
This enum represent standard key bindings.
QByteArray data(const QString &mimetype) const
Returns the data stored in the object in the format described by the MIME type specified by mimeType...
bool ref()
Atomically increments the value of this QAtomicInt.
Qt::MouseButtons mouseState
The QUrl class provides a convenient interface for working with URLs.
The QString class provides a Unicode character string.
QPointF scenePos() const
Returns the scene position of this touch point.
void setNormalizedPos(const QPointF &normalizedPos)
QWhatsThisClickedEvent(const QString &href)
Constructs an event containing a URL specified by href when a link is clicked in a "What's This...
The QDragMoveEvent class provides an event which is sent while a drag and drop action is in progress...
DeviceType
This enum represents the type of device that generated a QTouchEvent.
QWindowStateChangeEvent(Qt::WindowStates aOldState)
QPointF normalizedPos() const
Returns the normalized position of this touch point.
void setStartPos(const QPointF &startPos)
QByteArray encodedData(const char *) const
Returns a byte array containing the drag's data, in format.
QRectF sceneRect() const
Returns the rect for this touch point in scene coordinates.
Q_CORE_EXPORT QTextStream & hex(QTextStream &s)
QDragMoveEvent(const QPoint &pos, Qt::DropActions actions, const QMimeData *data, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Type type=DragMove)
Creates a QDragMoveEvent of the required type indicating that the mouse is at position pos given with...
const QPoint & pos() const
Returns the position of the mouse cursor, relative to the widget that received the event...
bool isEmpty() const
Returns true if the list contains no items; otherwise returns false.
The QScopedPointer class stores a pointer to a dynamically allocated object, and deletes it upon dest...
~QDragMoveEvent()
Destroys the event.
~TouchPoint()
Destroys the QTouchEvent::TouchPoint.
static uint currentPlatform()
QPointF mapToGraphicsScene(const QPointF &gesturePoint) const
Returns the scene-local coordinates if the gesturePoint is inside a graphics view.
void setState(Qt::TouchPointStates state)
Qt::DropAction default_action
static const QRectF boundingRect(const QPointF *points, int pointCount)
qreal pressure() const
Returns the pressure of this touch point.
Qt::KeyboardModifiers modifiers() const
Returns the keyboard modifier flags that existed immediately after the event occurred.
int key() const
Returns the code of the key that was pressed or released.
void append(const T &t)
Inserts value at the end of the list.
QResizeEvent(const QSize &size, const QSize &oldSize)
Constructs a resize event with the new and old widget sizes, size and oldSize respectively.
#define QT_BEGIN_NAMESPACE
This macro expands to.
Qt::KeyboardModifiers modState
The QRectF class defines a rectangle in the plane using floating point precision. ...
static QKeyEvent * createExtendedKeyEvent(Type type, int key, Qt::KeyboardModifiers modifiers, quint32 nativeScanCode, quint32 nativeVirtualKey, quint32 nativeModifiers, const QString &text=QString(), bool autorep=false, ushort count=1)
QPointF lastPos() const
Returns the position of this touch point from the previous touch event, relative to the widget or QGr...
bool hasExtendedInfo() const
QDebug operator<<(QDebug dbg, const QEvent *e)
const T value(const Key &key) const
Returns the value associated with the key key.
const T & at(int i) const
Returns the item at index position i in the list.
bool deref()
Atomically decrements the value of this QAtomicInt.
The QStringList class provides a list of strings.
Q_CORE_EXPORT void qWarning(const char *,...)
int delta() const
Returns the distance that the wheel is rotated, in eighths of a degree.
static const char * data(const QByteArray &arr)
Qt::MouseButtons buttons() const
Returns the mouse state when the event occurred.
void setSceneRect(const QRectF &sceneRect)
QEvent(Type type)
Contructs an event object of type type.
QBool contains(const QString &str, Qt::CaseSensitivity cs=Qt::CaseSensitive) const
Returns true if the list contains the string str; otherwise returns false.
QTouchEvent(QEvent::Type eventType, QTouchEvent::DeviceType deviceType=TouchScreen, Qt::KeyboardModifiers modifiers=Qt::NoModifier, Qt::TouchPointStates touchPointStates=0, const QList< QTouchEvent::TouchPoint > &touchPoints=QList< QTouchEvent::TouchPoint >())
Constructs a QTouchEvent with the given eventType, deviceType, and touchPoints.
QPointF screenPos() const
Returns the screen position of this touch point.
QPointF startNormalizedPos() const
Returns the normalized starting position of this touch point.
int count() const
Returns the number of keys involved in this event.
QList< QGesture * > gestures() const
Returns all gestures that are delivered in the event.
The QRegion class specifies a clip region for a painter.
QPointF startScreenPos() const
Returns the starting screen position of this touch point.
QByteArray toLatin1() const Q_REQUIRED_RESULT
Returns a Latin-1 representation of the string as a QByteArray.
QPointF posF() const
Returns the position of the mouse cursor as a QPointF, relative to the widget that received the event...
void setScreenRect(const QRectF &screenRect)
QTouchEventTouchPointPrivate * detach()
The QMimeData class provides a container for data that records information about its MIME type...
QMoveEvent(const QPoint &pos, const QPoint &oldPos)
Constructs a move event with the new and old widget positions, pos and oldPos respectively.
QString toLocalFile() const
Returns the path of this URL formatted as a local file path.
Qt::MouseButton button() const
Returns the button that caused the event.
~QGestureEvent()
Destroys QGestureEvent.
QUpdateLaterEvent(const QRegion &paintRegion)
QString file() const
Returns the file that is being opened.
The QMouseEvent class contains parameters that describe a mouse event.
static QDragManager * self()
The QChildEvent class contains event parameters for child object events.
const char * constData() const
Returns a pointer to the data stored in the byte array.
void setLastScreenPos(const QPointF &lastScreenPos)
QPointF lastNormalizedPos
QWidget * widget() const
Returns the widget on which the event occurred.
QList< QGesture * > gestures
void setLastScenePos(const QPointF &lastScenePos)
The QDropEvent class provides an event which is sent when a drag and drop action is completed...
static Qt::KeyboardModifiers keyboardModifiers()
Returns the current state of the modifier keys on the keyboard.
Qt::MouseButtons mouseState
The QKeySequence class encapsulates a key sequence as used by shortcuts.
Qt::MouseButtons buttons() const
Returns the button state when the event was generated.
The QFile class provides an interface for reading from and writing to files.
QFileOpenEvent(const QString &file)
Constructs a file open event for the given file.
Type
This enum type defines the valid event types in Qt.
QKeyEvent(Type type, int key, Qt::KeyboardModifiers modifiers, const QString &text=QString(), bool autorep=false, ushort count=1)
Constructs a key event object.
~QTouchEvent()
Destroys the QTouchEvent.
The QGesture class represents a gesture, containing properties that describe the corresponding user i...
QUrl url() const
Returns the url that is being opened.
QString text() const
Returns the Unicode text that this key generated.
Qt::GestureType gestureType
the type of the gesture
QPoint toPoint() const
Rounds the coordinates of this point to the nearest integer, and returns a QPoint object with the rou...
QGestureEventPrivate * d_func()
QPointF pos() const
Returns the position of this touch point, relative to the widget or QGraphicsItem that received the e...
QWidget * source() const
If the source of the drag operation is a widget in this application, this function returns that sourc...
The QPoint class defines a point in the plane using integer precision.
QFocusEvent(Type type, Qt::FocusReason reason=Qt::OtherFocusReason)
Constructs a focus event object.
static const uint numberOfKeyBindings
void setStartScreenPos(const QPointF &startScreenPos)
int size() const
Returns the number of items in the list.
QMouseEventEx(Type type, const QPointF &pos, const QPoint &globalPos, Qt::MouseButton button, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers)
void setWidget(QWidget *widget)
Sets the widget for this event to the widget specified.
void setPressure(qreal pressure)
Qt::DropAction drop_action
QTabletEvent(Type t, const QPoint &pos, const QPoint &globalPos, const QPointF &hiResGlobalPos, int device, int pointerType, qreal pressure, int xTilt, int yTilt, qreal tangentialPressure, qreal rotation, int z, Qt::KeyboardModifiers keyState, qint64 uniqueID)
Construct a tablet event of the given type.
TouchPointState
This enum represents the state of a touch point at the time the QTouchEvent occurred.
QTouchEventTouchPointPrivate * d
The QRect class defines a rectangle in the plane using integer precision.
bool isAutoRepeat() const
Returns true if this event comes from an auto-repeating key; returns false if it comes from an initia...
QHideEvent()
Constructs a QHideEvent.
QDragLeaveEvent()
Constructs a QDragLeaveEvent.
QPaintEvent(const QRegion &paintRegion)
Constructs a paint event object with the region that needs to be updated.
bool isPrimary() const
Returns true if this touch point is the primary touch point.
The TouchPoint class provides information about a touch point in a QTouchEvent.
bool openFile(QFile &file, QIODevice::OpenMode flags) const
Opens a QFile on the file referenced by this event in the mode specified by flags.
QDropEvent(const QPoint &pos, Qt::DropActions actions, const QMimeData *data, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Type type=Drop)
Constructs a drop event of a certain type corresponding to a drop at the point specified by pos in th...
The QGraphicsView class provides a widget for displaying the contents of a QGraphicsScene.
TouchPoint(int id=-1)
Constructs a QTouchEvent::TouchPoint for use in a QTouchEvent.
static QUrl fromLocalFile(const QString &localfile)
Returns a QUrl representation of localFile, interpreted as a local file.
QGesture * gesture(Qt::GestureType type) const
Returns a gesture object by type.
void setScenePos(const QPointF &scenePos)
static const QKeyBinding keyBindings[]
void ignore()
Clears the accept flag parameter of the event object, the equivalent of calling setAccepted(false).
~QShortcutEvent()
Destroys the event object.
void accept()
Sets the accept flag of the event object, the equivalent of calling setAccepted(true).
Qt::GestureState state
the current state of the gesture
QRectF screenRect() const
Returns the rect for this touch point in screen coordinates.
QGestureEvent(const QList< QGesture *> &gestures)
Creates new QGestureEvent containing a list of gestures.
QHoverEvent(Type type, const QPoint &pos, const QPoint &oldPos)
Constructs a hover event object.
The QSize class defines the size of a two-dimensional object using integer point precision.
QWheelEvent(const QPoint &pos, int delta, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::Orientation orient=Qt::Vertical)
Constructs a wheel event object.
static Qt::MouseButtons mouseButtons()
Returns the current state of the buttons on the mouse.
QMouseEvent(Type type, const QPoint &pos, Qt::MouseButton button, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers)
Constructs a mouse event object.
QTouchEvent::TouchPoint & operator=(const QTouchEvent::TouchPoint &other)
~QWindowStateChangeEvent()
void setLastNormalizedPos(const QPointF &lastNormalizedPos)
QActionEvent(int type, QAction *action, QAction *before=0)
Constructs an action event.
QHelpEvent(Type type, const QPoint &pos, const QPoint &globalPos)
Constructs a help event with the given type corresponding to the widget-relative position specified b...
QDebug & space()
Writes a space character to the debug stream and returns a reference to the stream.
void setPos(const QPointF &pos)
void moveCenter(const QPointF &p)
Moves the rectangle, leaving the center point at the given position.
The QEvent class is the base class of all event classes.
Type type() const
Returns the event type.
QPointF lastNormalizedPos() const
Returns the normalized position of this touch point from the previous touch event.
QMap< Qt::GestureType, bool > accepted
const QPoint & globalPos() const
Returns the global position of the mouse cursor at the time of the event.
QPointF center() const
Returns the center point of the rectangle.
#define Q_UNUSED(x)
Indicates to the compiler that the parameter with the specified name is not used in the body of a fun...
quint32 nativeVirtualKey() const
Returns the native virtual key, or key sym of the key event.
QKeyEventEx(Type type, int key, Qt::KeyboardModifiers modifiers, const QString &text, bool autorep, ushort count, quint32 nativeScanCode, quint32 nativeVirtualKey, quint32 nativeModifiers)
Creates an extended key event object, which in addition to the normal key event data, also contains the native scan code, virtual key and modifiers.
The QAction class provides an abstract user interface action that can be inserted into widgets...
void setFileName(const QString &name)
Sets the name of the file.
QDragResponseEvent(bool accepted)
Constructs a drag response event containing the accepted value, indicating whether the drag and drop ...
int open(const char *, int,...)
static QPoint pos()
Returns the position of the cursor (hot spot) in global screen coordinates.
QPointF startPos() const
Returns the starting position of this touch point, relative to the widget or QGraphicsItem that recei...
bool matches(QKeySequence::StandardKey key) const
Returns true if the key event matches the given standard key; otherwise returns false.
QCloseEvent()
Constructs a close event object.