java.lang.Object
io.qt.QtObject
io.qt.core.QEvent
io.qt.gui.QScrollPrepareEvent
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Sent in preparation of scrolling
Java wrapper for Qt class QScrollPrepareEvent
- Since:
- This class was introduced in Qt 4.8.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.core.QEvent
QEvent.Type
-
Field Summary
Fields inherited from class io.qt.core.QEvent
staticMetaObject
-
Constructor Summary
ConstructorDescriptionQScrollPrepareEvent
(QPoint startPos) Overloaded constructor forQScrollPrepareEvent(io.qt.core.QPointF)
.QScrollPrepareEvent
(QPointF startPos) -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates and returns a copy of this object.final QPointF
final QRectF
final void
setContentPos
(QPoint pos) Overloaded function forsetContentPos(io.qt.core.QPointF)
.final void
setContentPos
(QPointF pos) final void
setContentPosRange
(QRect rect) Overloaded function forsetContentPosRange(io.qt.core.QRectF)
.final void
setContentPosRange
(QRectF rect) final void
setViewportSize
(QSize size) Overloaded function forsetViewportSize(io.qt.core.QSizeF)
.final void
setViewportSize
(QSizeF size) final QPointF
startPos()
final QSizeF
Methods inherited from class io.qt.core.QEvent
accept, assign, ignore, isAccepted, registerEventType, registerEventType, set, setAccepted, spontaneous, toString, type
Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QScrollPrepareEvent
- Parameters:
startPos
-
-
QScrollPrepareEvent
- Parameters:
other
-
-
QScrollPrepareEvent
Overloaded constructor for
QScrollPrepareEvent(io.qt.core.QPointF)
.
-
-
Method Details
-
contentPos
- Returns:
-
contentPosRange
- Returns:
-
setContentPos
- Parameters:
pos
-
-
setContentPosRange
- Parameters:
rect
-
-
setViewportSize
- Parameters:
size
-
-
startPos
- Returns:
-
viewportSize
- Returns:
-
clone
Creates and returns a copy of this object.
See
QScrollPrepareEvent::
QScrollPrepareEvent(QScrollPrepareEvent) -
setContentPos
Overloaded function for
setContentPos(io.qt.core.QPointF)
. -
setContentPosRange
Overloaded function for
setContentPosRange(io.qt.core.QRectF)
. -
setViewportSize
Overloaded function for
setViewportSize(io.qt.core.QSizeF)
.
-