The SlintGraphicsView class.
More...
#include <slintgraphicsview.h>
Inherits QObject.
◆ SlintGraphicsView() [1/2]
◆ SlintGraphicsView() [2/2]
◆ ~SlintGraphicsView()
◆ isPanning()
◆ calcPosWithTolerance()
QPainterPath calcPosWithTolerance |
( |
const Point & |
pos, |
|
|
qreal |
multiplier |
|
) |
| const |
|
noexcept |
◆ mapToScenePos()
Point mapToScenePos |
( |
const QPointF & |
pos | ) |
const |
|
noexcept |
◆ setEventHandler()
◆ render()
slint::Image render |
( |
GraphicsScene & |
scene, |
|
|
float |
width, |
|
|
float |
height |
|
) |
| |
|
noexcept |
◆ pointerEvent()
bool pointerEvent |
( |
const QPointF & |
pos, |
|
|
slint::private_api::PointerEvent |
e |
|
) |
| |
|
noexcept |
◆ scrollEvent()
bool scrollEvent |
( |
const QPointF & |
pos, |
|
|
slint::private_api::PointerScrollEvent |
e |
|
) |
| |
|
noexcept |
◆ keyEvent()
bool keyEvent |
( |
const slint::private_api::KeyEvent & |
e | ) |
|
|
noexcept |
◆ scrollLeft()
◆ scrollRight()
◆ scrollUp()
◆ scrollDown()
◆ zoomIn()
◆ zoomOut()
◆ zoomToSceneRect()
void zoomToSceneRect |
( |
const QRectF & |
r | ) |
|
|
noexcept |
◆ operator=()
◆ stateChanged
◆ transformChanged
void transformChanged |
( |
| ) |
|
|
signal |
◆ scroll()
void scroll |
( |
const QPointF & |
delta | ) |
|
|
privatenoexcept |
◆ zoom()
void zoom |
( |
const QPointF & |
center, |
|
|
qreal |
factor |
|
) |
| |
|
privatenoexcept |
◆ smoothTo()
◆ applyProjection()
bool applyProjection |
( |
const Projection & |
projection | ) |
|
|
privatenoexcept |
◆ mEventHandler
◆ mProjection
◆ mViewSize
◆ mMouseEvent
◆ mLeftMouseButtonDoubleClickTimer
QDeadlineTimer mLeftMouseButtonDoubleClickTimer |
|
private |
◆ mPanning
◆ mPanningStartScreenPos
QPointF mPanningStartScreenPos |
|
private |
◆ mPanningStartScenePos
QPointF mPanningStartScenePos |
|
private |
◆ mAnimationDataStart
◆ mAnimationDataDelta
◆ mAnimation
std::unique_ptr<QVariantAnimation> mAnimation |
|
private |
The documentation for this class was generated from the following files: