qdragmoveevent.3qt
来自「tmark1.11:用于生成QT/EMBEDDED应用工程的Markfile文件」· 3QT 代码 · 共 73 行
3QT
73 行
.TH QDragMoveEvent 3qt "6 July 1999" "Troll Tech AS" \" -*- nroff -*-.\" Copyright 1992-1999 Troll Tech AS. All rights reserved. See the.\" license file included in the distribution for a complete license.\" statement..\".ad l.nh.SH NAMEQDragMoveEvent \- Event sent as a drag-and-drop is in progress.SH SYNOPSIS.br.PP\fC#include <qevent.h>\fR.PPInherits QDropEvent..PPInherited by QDragEnterEvent..PP.SS "Public Members".in +1c.ti -1c.BI "\fBQDragMoveEvent\fR ( const QPoint & " "pos" ", Type " "typ" "=DragMove )".br.ti -1c.BI "QRect \fBanswerRect\fR () const".br.ti -1c.BI "void \fBaccept\fR ( bool " "y" "=TRUE )".br.ti -1c.BI "void \fBaccept\fR ( const QRect & r )".br.ti -1c.BI "void \fBignore\fR ( const QRect & r )".br.ti -1c.BI "void \fBignore\fR ()".br.in -1c.SH DESCRIPTIONEvent sent as a drag-and-drop is in progress..PPWhen a widget accepts drop events, it will receive this event repeatedly while the the drag is inside that widget. The widget should examine the event, especially seeing what data it provides, and accept() the drop if appropriate..PPNote that this class inherits most of its functionality from QDropEvent..PPExamples:.(ldesktop/desktop.cpp.)l.SH MEMBER FUNCTION DOCUMENTATION.SH "QDragMoveEvent::QDragMoveEvent ( const QPoint & pos, Type type=DragMove )"Creates a QDragMoveEvent for which the mouse is at point \fIpos,\fR and the given event \fItype.\fR.PPNote that internal state is also involved with QDragMoveEvent, so it is not useful to create these yourself..SH "void QDragMoveEvent::accept ( const QRect & r )"The same as accept(), but also notifies that future moves will also be acceptable if they remain within the rectangle \fIr\fR on the widget - this can improve performance, but may also be ignored by the underlying system..PPIf the rectangle is empty, then drag move events will be sent continuously. This is useful if the source is scrolling in a timer event..SH "QRect QDragMoveEvent::answerRect () const"{ return rect; }.PPReturns the rectangle for which the acceptance of the move event applies..SH "void QDragMoveEvent::ignore ( const QRect & r )"The opposite of accept(const QRect&)..SH "SEE ALSO".BR http://www.troll.no/qt/qdragmoveevent.html.SH COPYRIGHTCopyright 1992-1999 Troll Tech AS. See the license file included inthe distribution for a complete license statement..SH AUTHORGenerated automatically from the source code.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?