The SlintGraphicsView class.
More...
#include <slintgraphicsview.h>
Inherits QObject.
◆ SlintGraphicsView() [1/2]
| SlintGraphicsView |
( |
const QRectF & |
defaultSceneRect, |
|
|
const QMarginsF & |
defaultMargins, |
|
|
QObject * |
parent = nullptr |
|
) |
| |
|
explicitnoexcept |
◆ SlintGraphicsView() [2/2]
◆ ~SlintGraphicsView()
◆ isPanning()
◆ calcPosWithTolerance()
| QPainterPath calcPosWithTolerance |
( |
const Point & |
pos, |
|
|
qreal |
multiplier |
|
) |
| const |
|
noexcept |
◆ mapToScenePos()
| Point mapToScenePos |
( |
const QPointF & |
pos, |
|
|
qreal |
devicePixelRatio |
|
) |
| const |
|
noexcept |
◆ setUseOpenGl()
| void setUseOpenGl |
( |
bool |
use | ) |
|
|
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 |
◆ defaultSymbolSceneRect()
| QRectF defaultSymbolSceneRect |
( |
| ) |
|
|
staticnoexcept |
◆ defaultFootprintSceneRect()
| QRectF defaultFootprintSceneRect |
( |
| ) |
|
|
staticnoexcept |
◆ defaultSchematicSceneRect()
| QRectF defaultSchematicSceneRect |
( |
| ) |
|
|
staticnoexcept |
◆ defaultBoardSceneRect()
| QRectF defaultBoardSceneRect |
( |
| ) |
|
|
staticnoexcept |
◆ defaultMargins()
| QMarginsF defaultMargins |
( |
| ) |
|
|
staticnoexcept |
◆ defaultEditorMargins()
| QMarginsF defaultEditorMargins |
( |
| ) |
|
|
staticnoexcept |
◆ 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 |
◆ validateSceneRect()
| QRectF validateSceneRect |
( |
const QRectF & |
r | ) |
const |
|
privatenoexcept |
◆ mDefaultSceneRect
| const QRectF mDefaultSceneRect |
|
private |
◆ mDefaultMargins
| const QMarginsF mDefaultMargins |
|
private |
◆ mEventHandler
◆ mGlSurface
| std::unique_ptr<QOffscreenSurface> mGlSurface |
|
private |
◆ mGlContext
| std::unique_ptr<QOpenGLContext> mGlContext |
|
private |
◆ mGlFbo
| std::unique_ptr<QOpenGLFramebufferObject> mGlFbo |
|
private |
◆ mGlError
◆ 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: