Documentation ¶
Index ¶
- func QGraphicsSvgItem_Tr(s string) string
- func QGraphicsSvgItem_Tr2(s string, c string) string
- func QGraphicsSvgItem_Tr3(s string, c string, n int) string
- func QSvgRenderer_Tr(s string) string
- func QSvgRenderer_Tr2(s string, c string) string
- func QSvgRenderer_Tr3(s string, c string, n int) string
- func QSvgWidget_Tr(s string) string
- func QSvgWidget_Tr2(s string, c string) string
- func QSvgWidget_Tr3(s string, c string, n int) string
- type QGraphicsSvgItem
- func NewQGraphicsSvgItem() *QGraphicsSvgItem
- func NewQGraphicsSvgItem2(fileName string) *QGraphicsSvgItem
- func NewQGraphicsSvgItem3(parentItem *qt6.QGraphicsItem) *QGraphicsSvgItem
- func NewQGraphicsSvgItem4(fileName string, parentItem *qt6.QGraphicsItem) *QGraphicsSvgItem
- func UnsafeNewQGraphicsSvgItem(h unsafe.Pointer) *QGraphicsSvgItem
- func (this *QGraphicsSvgItem) BoundingRect() *qt6.QRectF
- func (this *QGraphicsSvgItem) Delete()
- func (this *QGraphicsSvgItem) ElementId() string
- func (this *QGraphicsSvgItem) GoGC()
- func (this *QGraphicsSvgItem) IsCachingEnabled() bool
- func (this *QGraphicsSvgItem) MaximumCacheSize() *qt6.QSize
- func (this *QGraphicsSvgItem) MetaObject() *qt6.QMetaObject
- func (this *QGraphicsSvgItem) Metacast(param1 string) unsafe.Pointer
- func (this *QGraphicsSvgItem) OnBoundingRect(slot func(super func() *qt6.QRectF) *qt6.QRectF)
- func (this *QGraphicsSvgItem) OnEvent(slot func(super func(ev *qt6.QEvent) bool, ev *qt6.QEvent) bool)
- func (this *QGraphicsSvgItem) OnPaint(...)
- func (this *QGraphicsSvgItem) OnType(slot func(super func() int) int)
- func (this *QGraphicsSvgItem) Paint(painter *qt6.QPainter, option *qt6.QStyleOptionGraphicsItem, ...)
- func (this *QGraphicsSvgItem) Renderer() *QSvgRenderer
- func (this *QGraphicsSvgItem) SetCachingEnabled(cachingEnabled bool)
- func (this *QGraphicsSvgItem) SetElementId(id string)
- func (this *QGraphicsSvgItem) SetMaximumCacheSize(size *qt6.QSize)
- func (this *QGraphicsSvgItem) SetSharedRenderer(renderer *QSvgRenderer)
- func (this *QGraphicsSvgItem) Type() int
- func (this *QGraphicsSvgItem) UnsafePointer() unsafe.Pointer
- type QGraphicsSvgItem__
- type QSvgGenerator
- func (this *QSvgGenerator) Delete()
- func (this *QSvgGenerator) Description() string
- func (this *QSvgGenerator) FileName() string
- func (this *QSvgGenerator) GoGC()
- func (this *QSvgGenerator) OnDevType(slot func(super func() int) int)
- func (this *QSvgGenerator) OnInitPainter(slot func(super func(painter *qt6.QPainter), painter *qt6.QPainter))
- func (this *QSvgGenerator) OnMetric(slot func(super func(metric qt6.QPaintDevice__PaintDeviceMetric) int, ...) int)
- func (this *QSvgGenerator) OnPaintEngine(slot func(super func() *qt6.QPaintEngine) *qt6.QPaintEngine)
- func (this *QSvgGenerator) OnRedirected(...)
- func (this *QSvgGenerator) OnSharedPainter(slot func(super func() *qt6.QPainter) *qt6.QPainter)
- func (this *QSvgGenerator) OutputDevice() *qt6.QIODevice
- func (this *QSvgGenerator) Resolution() int
- func (this *QSvgGenerator) SetDescription(description string)
- func (this *QSvgGenerator) SetFileName(fileName string)
- func (this *QSvgGenerator) SetOutputDevice(outputDevice *qt6.QIODevice)
- func (this *QSvgGenerator) SetResolution(dpi int)
- func (this *QSvgGenerator) SetSize(size *qt6.QSize)
- func (this *QSvgGenerator) SetTitle(title string)
- func (this *QSvgGenerator) SetViewBox(viewBox *qt6.QRect)
- func (this *QSvgGenerator) SetViewBoxWithViewBox(viewBox *qt6.QRectF)
- func (this *QSvgGenerator) Size() *qt6.QSize
- func (this *QSvgGenerator) Title() string
- func (this *QSvgGenerator) UnsafePointer() unsafe.Pointer
- func (this *QSvgGenerator) ViewBox() *qt6.QRect
- func (this *QSvgGenerator) ViewBoxF() *qt6.QRectF
- type QSvgRenderer
- func NewQSvgRenderer() *QSvgRenderer
- func NewQSvgRenderer2(filename string) *QSvgRenderer
- func NewQSvgRenderer3(contents []byte) *QSvgRenderer
- func NewQSvgRenderer4(contents *qt6.QXmlStreamReader) *QSvgRenderer
- func NewQSvgRenderer5(parent *qt6.QObject) *QSvgRenderer
- func NewQSvgRenderer6(filename string, parent *qt6.QObject) *QSvgRenderer
- func NewQSvgRenderer7(contents []byte, parent *qt6.QObject) *QSvgRenderer
- func NewQSvgRenderer8(contents *qt6.QXmlStreamReader, parent *qt6.QObject) *QSvgRenderer
- func UnsafeNewQSvgRenderer(h unsafe.Pointer) *QSvgRenderer
- func (this *QSvgRenderer) Animated() bool
- func (this *QSvgRenderer) AnimationDuration() int
- func (this *QSvgRenderer) AspectRatioMode() qt6.AspectRatioMode
- func (this *QSvgRenderer) BoundsOnElement(id string) *qt6.QRectF
- func (this *QSvgRenderer) CurrentFrame() int
- func (this *QSvgRenderer) DefaultSize() *qt6.QSize
- func (this *QSvgRenderer) Delete()
- func (this *QSvgRenderer) ElementExists(id string) bool
- func (this *QSvgRenderer) FramesPerSecond() int
- func (this *QSvgRenderer) GoGC()
- func (this *QSvgRenderer) IsValid() bool
- func (this *QSvgRenderer) Load(filename string) bool
- func (this *QSvgRenderer) Load2(contents *qt6.QXmlStreamReader) bool
- func (this *QSvgRenderer) LoadWithContents(contents []byte) bool
- func (this *QSvgRenderer) MetaObject() *qt6.QMetaObject
- func (this *QSvgRenderer) Metacast(param1 string) unsafe.Pointer
- func (this *QSvgRenderer) OnChildEvent(slot func(super func(event *qt6.QChildEvent), event *qt6.QChildEvent))
- func (this *QSvgRenderer) OnConnectNotify(slot func(super func(signal *qt6.QMetaMethod), signal *qt6.QMetaMethod))
- func (this *QSvgRenderer) OnCustomEvent(slot func(super func(event *qt6.QEvent), event *qt6.QEvent))
- func (this *QSvgRenderer) OnDisconnectNotify(slot func(super func(signal *qt6.QMetaMethod), signal *qt6.QMetaMethod))
- func (this *QSvgRenderer) OnEvent(slot func(super func(event *qt6.QEvent) bool, event *qt6.QEvent) bool)
- func (this *QSvgRenderer) OnEventFilter(...)
- func (this *QSvgRenderer) OnRepaintNeeded(slot func())
- func (this *QSvgRenderer) OnTimerEvent(slot func(super func(event *qt6.QTimerEvent), event *qt6.QTimerEvent))
- func (this *QSvgRenderer) Render(p *qt6.QPainter)
- func (this *QSvgRenderer) Render2(p *qt6.QPainter, bounds *qt6.QRectF)
- func (this *QSvgRenderer) Render3(p *qt6.QPainter, elementId string)
- func (this *QSvgRenderer) Render32(p *qt6.QPainter, elementId string, bounds *qt6.QRectF)
- func (this *QSvgRenderer) RepaintNeeded()
- func (this *QSvgRenderer) SetAspectRatioMode(mode qt6.AspectRatioMode)
- func (this *QSvgRenderer) SetCurrentFrame(currentFrame int)
- func (this *QSvgRenderer) SetFramesPerSecond(num int)
- func (this *QSvgRenderer) SetViewBox(viewbox *qt6.QRect)
- func (this *QSvgRenderer) SetViewBoxWithViewbox(viewbox *qt6.QRectF)
- func (this *QSvgRenderer) TransformForElement(id string) *qt6.QTransform
- func (this *QSvgRenderer) UnsafePointer() unsafe.Pointer
- func (this *QSvgRenderer) ViewBox() *qt6.QRect
- func (this *QSvgRenderer) ViewBoxF() *qt6.QRectF
- type QSvgWidget
- func (this *QSvgWidget) Delete()
- func (this *QSvgWidget) GoGC()
- func (this *QSvgWidget) Load(file string)
- func (this *QSvgWidget) LoadWithContents(contents []byte)
- func (this *QSvgWidget) MetaObject() *qt6.QMetaObject
- func (this *QSvgWidget) Metacast(param1 string) unsafe.Pointer
- func (this *QSvgWidget) OnActionEvent(slot func(super func(event *qt6.QActionEvent), event *qt6.QActionEvent))
- func (this *QSvgWidget) OnChangeEvent(slot func(super func(param1 *qt6.QEvent), param1 *qt6.QEvent))
- func (this *QSvgWidget) OnCloseEvent(slot func(super func(event *qt6.QCloseEvent), event *qt6.QCloseEvent))
- func (this *QSvgWidget) OnContextMenuEvent(...)
- func (this *QSvgWidget) OnDevType(slot func(super func() int) int)
- func (this *QSvgWidget) OnDragEnterEvent(slot func(super func(event *qt6.QDragEnterEvent), event *qt6.QDragEnterEvent))
- func (this *QSvgWidget) OnDragLeaveEvent(slot func(super func(event *qt6.QDragLeaveEvent), event *qt6.QDragLeaveEvent))
- func (this *QSvgWidget) OnDragMoveEvent(slot func(super func(event *qt6.QDragMoveEvent), event *qt6.QDragMoveEvent))
- func (this *QSvgWidget) OnDropEvent(slot func(super func(event *qt6.QDropEvent), event *qt6.QDropEvent))
- func (this *QSvgWidget) OnEnterEvent(slot func(super func(event *qt6.QEnterEvent), event *qt6.QEnterEvent))
- func (this *QSvgWidget) OnEvent(slot func(super func(event *qt6.QEvent) bool, event *qt6.QEvent) bool)
- func (this *QSvgWidget) OnFocusInEvent(slot func(super func(event *qt6.QFocusEvent), event *qt6.QFocusEvent))
- func (this *QSvgWidget) OnFocusNextPrevChild(slot func(super func(next bool) bool, next bool) bool)
- func (this *QSvgWidget) OnFocusOutEvent(slot func(super func(event *qt6.QFocusEvent), event *qt6.QFocusEvent))
- func (this *QSvgWidget) OnHasHeightForWidth(slot func(super func() bool) bool)
- func (this *QSvgWidget) OnHeightForWidth(slot func(super func(param1 int) int, param1 int) int)
- func (this *QSvgWidget) OnHideEvent(slot func(super func(event *qt6.QHideEvent), event *qt6.QHideEvent))
- func (this *QSvgWidget) OnInitPainter(slot func(super func(painter *qt6.QPainter), painter *qt6.QPainter))
- func (this *QSvgWidget) OnInputMethodEvent(...)
- func (this *QSvgWidget) OnInputMethodQuery(...)
- func (this *QSvgWidget) OnKeyPressEvent(slot func(super func(event *qt6.QKeyEvent), event *qt6.QKeyEvent))
- func (this *QSvgWidget) OnKeyReleaseEvent(slot func(super func(event *qt6.QKeyEvent), event *qt6.QKeyEvent))
- func (this *QSvgWidget) OnLeaveEvent(slot func(super func(event *qt6.QEvent), event *qt6.QEvent))
- func (this *QSvgWidget) OnMetric(slot func(super func(param1 qt6.QPaintDevice__PaintDeviceMetric) int, ...) int)
- func (this *QSvgWidget) OnMinimumSizeHint(slot func(super func() *qt6.QSize) *qt6.QSize)
- func (this *QSvgWidget) OnMouseDoubleClickEvent(slot func(super func(event *qt6.QMouseEvent), event *qt6.QMouseEvent))
- func (this *QSvgWidget) OnMouseMoveEvent(slot func(super func(event *qt6.QMouseEvent), event *qt6.QMouseEvent))
- func (this *QSvgWidget) OnMousePressEvent(slot func(super func(event *qt6.QMouseEvent), event *qt6.QMouseEvent))
- func (this *QSvgWidget) OnMouseReleaseEvent(slot func(super func(event *qt6.QMouseEvent), event *qt6.QMouseEvent))
- func (this *QSvgWidget) OnMoveEvent(slot func(super func(event *qt6.QMoveEvent), event *qt6.QMoveEvent))
- func (this *QSvgWidget) OnNativeEvent(...)
- func (this *QSvgWidget) OnPaintEngine(slot func(super func() *qt6.QPaintEngine) *qt6.QPaintEngine)
- func (this *QSvgWidget) OnPaintEvent(slot func(super func(event *qt6.QPaintEvent), event *qt6.QPaintEvent))
- func (this *QSvgWidget) OnRedirected(...)
- func (this *QSvgWidget) OnResizeEvent(slot func(super func(event *qt6.QResizeEvent), event *qt6.QResizeEvent))
- func (this *QSvgWidget) OnSetVisible(slot func(super func(visible bool), visible bool))
- func (this *QSvgWidget) OnSharedPainter(slot func(super func() *qt6.QPainter) *qt6.QPainter)
- func (this *QSvgWidget) OnShowEvent(slot func(super func(event *qt6.QShowEvent), event *qt6.QShowEvent))
- func (this *QSvgWidget) OnSizeHint(slot func(super func() *qt6.QSize) *qt6.QSize)
- func (this *QSvgWidget) OnTabletEvent(slot func(super func(event *qt6.QTabletEvent), event *qt6.QTabletEvent))
- func (this *QSvgWidget) OnWheelEvent(slot func(super func(event *qt6.QWheelEvent), event *qt6.QWheelEvent))
- func (this *QSvgWidget) Renderer() *QSvgRenderer
- func (this *QSvgWidget) SizeHint() *qt6.QSize
- func (this *QSvgWidget) UnsafePointer() unsafe.Pointer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func QGraphicsSvgItem_Tr ¶
func QGraphicsSvgItem_Tr2 ¶
func QSvgRenderer_Tr ¶
func QSvgRenderer_Tr2 ¶
func QSvgWidget_Tr ¶
func QSvgWidget_Tr2 ¶
Types ¶
type QGraphicsSvgItem ¶
type QGraphicsSvgItem struct { *qt6.QGraphicsObject // contains filtered or unexported fields }
func NewQGraphicsSvgItem ¶
func NewQGraphicsSvgItem() *QGraphicsSvgItem
NewQGraphicsSvgItem constructs a new QGraphicsSvgItem object.
func NewQGraphicsSvgItem2 ¶
func NewQGraphicsSvgItem2(fileName string) *QGraphicsSvgItem
NewQGraphicsSvgItem2 constructs a new QGraphicsSvgItem object.
func NewQGraphicsSvgItem3 ¶
func NewQGraphicsSvgItem3(parentItem *qt6.QGraphicsItem) *QGraphicsSvgItem
NewQGraphicsSvgItem3 constructs a new QGraphicsSvgItem object.
func NewQGraphicsSvgItem4 ¶
func NewQGraphicsSvgItem4(fileName string, parentItem *qt6.QGraphicsItem) *QGraphicsSvgItem
NewQGraphicsSvgItem4 constructs a new QGraphicsSvgItem object.
func UnsafeNewQGraphicsSvgItem ¶
func UnsafeNewQGraphicsSvgItem(h unsafe.Pointer) *QGraphicsSvgItem
UnsafeNewQGraphicsSvgItem constructs the type using only unsafe pointers.
func (*QGraphicsSvgItem) BoundingRect ¶
func (this *QGraphicsSvgItem) BoundingRect() *qt6.QRectF
func (*QGraphicsSvgItem) Delete ¶
func (this *QGraphicsSvgItem) Delete()
Delete this object from C++ memory.
func (*QGraphicsSvgItem) ElementId ¶
func (this *QGraphicsSvgItem) ElementId() string
func (*QGraphicsSvgItem) GoGC ¶
func (this *QGraphicsSvgItem) GoGC()
GoGC adds a Go Finalizer to this pointer, so that it will be deleted from C++ memory once it is unreachable from Go memory.
func (*QGraphicsSvgItem) IsCachingEnabled ¶
func (this *QGraphicsSvgItem) IsCachingEnabled() bool
func (*QGraphicsSvgItem) MaximumCacheSize ¶
func (this *QGraphicsSvgItem) MaximumCacheSize() *qt6.QSize
func (*QGraphicsSvgItem) MetaObject ¶
func (this *QGraphicsSvgItem) MetaObject() *qt6.QMetaObject
func (*QGraphicsSvgItem) Metacast ¶
func (this *QGraphicsSvgItem) Metacast(param1 string) unsafe.Pointer
func (*QGraphicsSvgItem) OnBoundingRect ¶
func (this *QGraphicsSvgItem) OnBoundingRect(slot func(super func() *qt6.QRectF) *qt6.QRectF)
func (*QGraphicsSvgItem) OnPaint ¶
func (this *QGraphicsSvgItem) OnPaint(slot func(super func(painter *qt6.QPainter, option *qt6.QStyleOptionGraphicsItem, widget *qt6.QWidget), painter *qt6.QPainter, option *qt6.QStyleOptionGraphicsItem, widget *qt6.QWidget))
func (*QGraphicsSvgItem) OnType ¶
func (this *QGraphicsSvgItem) OnType(slot func(super func() int) int)
func (*QGraphicsSvgItem) Paint ¶
func (this *QGraphicsSvgItem) Paint(painter *qt6.QPainter, option *qt6.QStyleOptionGraphicsItem, widget *qt6.QWidget)
func (*QGraphicsSvgItem) Renderer ¶
func (this *QGraphicsSvgItem) Renderer() *QSvgRenderer
func (*QGraphicsSvgItem) SetCachingEnabled ¶
func (this *QGraphicsSvgItem) SetCachingEnabled(cachingEnabled bool)
func (*QGraphicsSvgItem) SetElementId ¶
func (this *QGraphicsSvgItem) SetElementId(id string)
func (*QGraphicsSvgItem) SetMaximumCacheSize ¶
func (this *QGraphicsSvgItem) SetMaximumCacheSize(size *qt6.QSize)
func (*QGraphicsSvgItem) SetSharedRenderer ¶
func (this *QGraphicsSvgItem) SetSharedRenderer(renderer *QSvgRenderer)
func (*QGraphicsSvgItem) Type ¶
func (this *QGraphicsSvgItem) Type() int
func (*QGraphicsSvgItem) UnsafePointer ¶
func (this *QGraphicsSvgItem) UnsafePointer() unsafe.Pointer
type QGraphicsSvgItem__ ¶
type QGraphicsSvgItem__ int
const (
QGraphicsSvgItem__Type QGraphicsSvgItem__ = 13
)
type QSvgGenerator ¶
type QSvgGenerator struct { *qt6.QPaintDevice // contains filtered or unexported fields }
func NewQSvgGenerator ¶
func NewQSvgGenerator() *QSvgGenerator
NewQSvgGenerator constructs a new QSvgGenerator object.
func UnsafeNewQSvgGenerator ¶
func UnsafeNewQSvgGenerator(h unsafe.Pointer) *QSvgGenerator
UnsafeNewQSvgGenerator constructs the type using only unsafe pointers.
func (*QSvgGenerator) Delete ¶
func (this *QSvgGenerator) Delete()
Delete this object from C++ memory.
func (*QSvgGenerator) Description ¶
func (this *QSvgGenerator) Description() string
func (*QSvgGenerator) FileName ¶
func (this *QSvgGenerator) FileName() string
func (*QSvgGenerator) GoGC ¶
func (this *QSvgGenerator) GoGC()
GoGC adds a Go Finalizer to this pointer, so that it will be deleted from C++ memory once it is unreachable from Go memory.
func (*QSvgGenerator) OnDevType ¶
func (this *QSvgGenerator) OnDevType(slot func(super func() int) int)
func (*QSvgGenerator) OnInitPainter ¶
func (this *QSvgGenerator) OnInitPainter(slot func(super func(painter *qt6.QPainter), painter *qt6.QPainter))
func (*QSvgGenerator) OnMetric ¶
func (this *QSvgGenerator) OnMetric(slot func(super func(metric qt6.QPaintDevice__PaintDeviceMetric) int, metric qt6.QPaintDevice__PaintDeviceMetric) int)
func (*QSvgGenerator) OnPaintEngine ¶
func (this *QSvgGenerator) OnPaintEngine(slot func(super func() *qt6.QPaintEngine) *qt6.QPaintEngine)
func (*QSvgGenerator) OnRedirected ¶
func (this *QSvgGenerator) OnRedirected(slot func(super func(offset *qt6.QPoint) *qt6.QPaintDevice, offset *qt6.QPoint) *qt6.QPaintDevice)
func (*QSvgGenerator) OnSharedPainter ¶
func (this *QSvgGenerator) OnSharedPainter(slot func(super func() *qt6.QPainter) *qt6.QPainter)
func (*QSvgGenerator) OutputDevice ¶
func (this *QSvgGenerator) OutputDevice() *qt6.QIODevice
func (*QSvgGenerator) Resolution ¶
func (this *QSvgGenerator) Resolution() int
func (*QSvgGenerator) SetDescription ¶
func (this *QSvgGenerator) SetDescription(description string)
func (*QSvgGenerator) SetFileName ¶
func (this *QSvgGenerator) SetFileName(fileName string)
func (*QSvgGenerator) SetOutputDevice ¶
func (this *QSvgGenerator) SetOutputDevice(outputDevice *qt6.QIODevice)
func (*QSvgGenerator) SetResolution ¶
func (this *QSvgGenerator) SetResolution(dpi int)
func (*QSvgGenerator) SetSize ¶
func (this *QSvgGenerator) SetSize(size *qt6.QSize)
func (*QSvgGenerator) SetTitle ¶
func (this *QSvgGenerator) SetTitle(title string)
func (*QSvgGenerator) SetViewBox ¶
func (this *QSvgGenerator) SetViewBox(viewBox *qt6.QRect)
func (*QSvgGenerator) SetViewBoxWithViewBox ¶
func (this *QSvgGenerator) SetViewBoxWithViewBox(viewBox *qt6.QRectF)
func (*QSvgGenerator) Size ¶
func (this *QSvgGenerator) Size() *qt6.QSize
func (*QSvgGenerator) Title ¶
func (this *QSvgGenerator) Title() string
func (*QSvgGenerator) UnsafePointer ¶
func (this *QSvgGenerator) UnsafePointer() unsafe.Pointer
func (*QSvgGenerator) ViewBox ¶
func (this *QSvgGenerator) ViewBox() *qt6.QRect
func (*QSvgGenerator) ViewBoxF ¶
func (this *QSvgGenerator) ViewBoxF() *qt6.QRectF
type QSvgRenderer ¶
func NewQSvgRenderer ¶
func NewQSvgRenderer() *QSvgRenderer
NewQSvgRenderer constructs a new QSvgRenderer object.
func NewQSvgRenderer2 ¶
func NewQSvgRenderer2(filename string) *QSvgRenderer
NewQSvgRenderer2 constructs a new QSvgRenderer object.
func NewQSvgRenderer3 ¶
func NewQSvgRenderer3(contents []byte) *QSvgRenderer
NewQSvgRenderer3 constructs a new QSvgRenderer object.
func NewQSvgRenderer4 ¶
func NewQSvgRenderer4(contents *qt6.QXmlStreamReader) *QSvgRenderer
NewQSvgRenderer4 constructs a new QSvgRenderer object.
func NewQSvgRenderer5 ¶
func NewQSvgRenderer5(parent *qt6.QObject) *QSvgRenderer
NewQSvgRenderer5 constructs a new QSvgRenderer object.
func NewQSvgRenderer6 ¶
func NewQSvgRenderer6(filename string, parent *qt6.QObject) *QSvgRenderer
NewQSvgRenderer6 constructs a new QSvgRenderer object.
func NewQSvgRenderer7 ¶
func NewQSvgRenderer7(contents []byte, parent *qt6.QObject) *QSvgRenderer
NewQSvgRenderer7 constructs a new QSvgRenderer object.
func NewQSvgRenderer8 ¶
func NewQSvgRenderer8(contents *qt6.QXmlStreamReader, parent *qt6.QObject) *QSvgRenderer
NewQSvgRenderer8 constructs a new QSvgRenderer object.
func UnsafeNewQSvgRenderer ¶
func UnsafeNewQSvgRenderer(h unsafe.Pointer) *QSvgRenderer
UnsafeNewQSvgRenderer constructs the type using only unsafe pointers.
func (*QSvgRenderer) Animated ¶
func (this *QSvgRenderer) Animated() bool
func (*QSvgRenderer) AnimationDuration ¶
func (this *QSvgRenderer) AnimationDuration() int
func (*QSvgRenderer) AspectRatioMode ¶
func (this *QSvgRenderer) AspectRatioMode() qt6.AspectRatioMode
func (*QSvgRenderer) BoundsOnElement ¶
func (this *QSvgRenderer) BoundsOnElement(id string) *qt6.QRectF
func (*QSvgRenderer) CurrentFrame ¶
func (this *QSvgRenderer) CurrentFrame() int
func (*QSvgRenderer) DefaultSize ¶
func (this *QSvgRenderer) DefaultSize() *qt6.QSize
func (*QSvgRenderer) Delete ¶
func (this *QSvgRenderer) Delete()
Delete this object from C++ memory.
func (*QSvgRenderer) ElementExists ¶
func (this *QSvgRenderer) ElementExists(id string) bool
func (*QSvgRenderer) FramesPerSecond ¶
func (this *QSvgRenderer) FramesPerSecond() int
func (*QSvgRenderer) GoGC ¶
func (this *QSvgRenderer) GoGC()
GoGC adds a Go Finalizer to this pointer, so that it will be deleted from C++ memory once it is unreachable from Go memory.
func (*QSvgRenderer) IsValid ¶
func (this *QSvgRenderer) IsValid() bool
func (*QSvgRenderer) Load ¶
func (this *QSvgRenderer) Load(filename string) bool
func (*QSvgRenderer) Load2 ¶
func (this *QSvgRenderer) Load2(contents *qt6.QXmlStreamReader) bool
func (*QSvgRenderer) LoadWithContents ¶
func (this *QSvgRenderer) LoadWithContents(contents []byte) bool
func (*QSvgRenderer) MetaObject ¶
func (this *QSvgRenderer) MetaObject() *qt6.QMetaObject
func (*QSvgRenderer) OnChildEvent ¶
func (this *QSvgRenderer) OnChildEvent(slot func(super func(event *qt6.QChildEvent), event *qt6.QChildEvent))
func (*QSvgRenderer) OnConnectNotify ¶
func (this *QSvgRenderer) OnConnectNotify(slot func(super func(signal *qt6.QMetaMethod), signal *qt6.QMetaMethod))
func (*QSvgRenderer) OnCustomEvent ¶
func (this *QSvgRenderer) OnCustomEvent(slot func(super func(event *qt6.QEvent), event *qt6.QEvent))
func (*QSvgRenderer) OnDisconnectNotify ¶
func (this *QSvgRenderer) OnDisconnectNotify(slot func(super func(signal *qt6.QMetaMethod), signal *qt6.QMetaMethod))
func (*QSvgRenderer) OnEventFilter ¶
func (*QSvgRenderer) OnRepaintNeeded ¶
func (this *QSvgRenderer) OnRepaintNeeded(slot func())
func (*QSvgRenderer) OnTimerEvent ¶
func (this *QSvgRenderer) OnTimerEvent(slot func(super func(event *qt6.QTimerEvent), event *qt6.QTimerEvent))
func (*QSvgRenderer) Render ¶
func (this *QSvgRenderer) Render(p *qt6.QPainter)
func (*QSvgRenderer) Render2 ¶
func (this *QSvgRenderer) Render2(p *qt6.QPainter, bounds *qt6.QRectF)
func (*QSvgRenderer) RepaintNeeded ¶
func (this *QSvgRenderer) RepaintNeeded()
func (*QSvgRenderer) SetAspectRatioMode ¶
func (this *QSvgRenderer) SetAspectRatioMode(mode qt6.AspectRatioMode)
func (*QSvgRenderer) SetCurrentFrame ¶
func (this *QSvgRenderer) SetCurrentFrame(currentFrame int)
func (*QSvgRenderer) SetFramesPerSecond ¶
func (this *QSvgRenderer) SetFramesPerSecond(num int)
func (*QSvgRenderer) SetViewBox ¶
func (this *QSvgRenderer) SetViewBox(viewbox *qt6.QRect)
func (*QSvgRenderer) SetViewBoxWithViewbox ¶
func (this *QSvgRenderer) SetViewBoxWithViewbox(viewbox *qt6.QRectF)
func (*QSvgRenderer) TransformForElement ¶
func (this *QSvgRenderer) TransformForElement(id string) *qt6.QTransform
func (*QSvgRenderer) UnsafePointer ¶
func (this *QSvgRenderer) UnsafePointer() unsafe.Pointer
func (*QSvgRenderer) ViewBox ¶
func (this *QSvgRenderer) ViewBox() *qt6.QRect
func (*QSvgRenderer) ViewBoxF ¶
func (this *QSvgRenderer) ViewBoxF() *qt6.QRectF
type QSvgWidget ¶
func NewQSvgWidget ¶
func NewQSvgWidget(parent *qt6.QWidget) *QSvgWidget
NewQSvgWidget constructs a new QSvgWidget object.
func NewQSvgWidget2 ¶
func NewQSvgWidget2() *QSvgWidget
NewQSvgWidget2 constructs a new QSvgWidget object.
func NewQSvgWidget3 ¶
func NewQSvgWidget3(file string) *QSvgWidget
NewQSvgWidget3 constructs a new QSvgWidget object.
func NewQSvgWidget4 ¶
func NewQSvgWidget4(file string, parent *qt6.QWidget) *QSvgWidget
NewQSvgWidget4 constructs a new QSvgWidget object.
func UnsafeNewQSvgWidget ¶
func UnsafeNewQSvgWidget(h unsafe.Pointer) *QSvgWidget
UnsafeNewQSvgWidget constructs the type using only unsafe pointers.
func (*QSvgWidget) GoGC ¶
func (this *QSvgWidget) GoGC()
GoGC adds a Go Finalizer to this pointer, so that it will be deleted from C++ memory once it is unreachable from Go memory.
func (*QSvgWidget) Load ¶
func (this *QSvgWidget) Load(file string)
func (*QSvgWidget) LoadWithContents ¶
func (this *QSvgWidget) LoadWithContents(contents []byte)
func (*QSvgWidget) MetaObject ¶
func (this *QSvgWidget) MetaObject() *qt6.QMetaObject
func (*QSvgWidget) OnActionEvent ¶
func (this *QSvgWidget) OnActionEvent(slot func(super func(event *qt6.QActionEvent), event *qt6.QActionEvent))
func (*QSvgWidget) OnChangeEvent ¶
func (this *QSvgWidget) OnChangeEvent(slot func(super func(param1 *qt6.QEvent), param1 *qt6.QEvent))
func (*QSvgWidget) OnCloseEvent ¶
func (this *QSvgWidget) OnCloseEvent(slot func(super func(event *qt6.QCloseEvent), event *qt6.QCloseEvent))
func (*QSvgWidget) OnContextMenuEvent ¶
func (this *QSvgWidget) OnContextMenuEvent(slot func(super func(event *qt6.QContextMenuEvent), event *qt6.QContextMenuEvent))
func (*QSvgWidget) OnDevType ¶
func (this *QSvgWidget) OnDevType(slot func(super func() int) int)
func (*QSvgWidget) OnDragEnterEvent ¶
func (this *QSvgWidget) OnDragEnterEvent(slot func(super func(event *qt6.QDragEnterEvent), event *qt6.QDragEnterEvent))
func (*QSvgWidget) OnDragLeaveEvent ¶
func (this *QSvgWidget) OnDragLeaveEvent(slot func(super func(event *qt6.QDragLeaveEvent), event *qt6.QDragLeaveEvent))
func (*QSvgWidget) OnDragMoveEvent ¶
func (this *QSvgWidget) OnDragMoveEvent(slot func(super func(event *qt6.QDragMoveEvent), event *qt6.QDragMoveEvent))
func (*QSvgWidget) OnDropEvent ¶
func (this *QSvgWidget) OnDropEvent(slot func(super func(event *qt6.QDropEvent), event *qt6.QDropEvent))
func (*QSvgWidget) OnEnterEvent ¶
func (this *QSvgWidget) OnEnterEvent(slot func(super func(event *qt6.QEnterEvent), event *qt6.QEnterEvent))
func (*QSvgWidget) OnFocusInEvent ¶
func (this *QSvgWidget) OnFocusInEvent(slot func(super func(event *qt6.QFocusEvent), event *qt6.QFocusEvent))
func (*QSvgWidget) OnFocusNextPrevChild ¶
func (this *QSvgWidget) OnFocusNextPrevChild(slot func(super func(next bool) bool, next bool) bool)
func (*QSvgWidget) OnFocusOutEvent ¶
func (this *QSvgWidget) OnFocusOutEvent(slot func(super func(event *qt6.QFocusEvent), event *qt6.QFocusEvent))
func (*QSvgWidget) OnHasHeightForWidth ¶
func (this *QSvgWidget) OnHasHeightForWidth(slot func(super func() bool) bool)
func (*QSvgWidget) OnHeightForWidth ¶
func (this *QSvgWidget) OnHeightForWidth(slot func(super func(param1 int) int, param1 int) int)
func (*QSvgWidget) OnHideEvent ¶
func (this *QSvgWidget) OnHideEvent(slot func(super func(event *qt6.QHideEvent), event *qt6.QHideEvent))
func (*QSvgWidget) OnInitPainter ¶
func (this *QSvgWidget) OnInitPainter(slot func(super func(painter *qt6.QPainter), painter *qt6.QPainter))
func (*QSvgWidget) OnInputMethodEvent ¶
func (this *QSvgWidget) OnInputMethodEvent(slot func(super func(param1 *qt6.QInputMethodEvent), param1 *qt6.QInputMethodEvent))
func (*QSvgWidget) OnInputMethodQuery ¶
func (this *QSvgWidget) OnInputMethodQuery(slot func(super func(param1 qt6.InputMethodQuery) *qt6.QVariant, param1 qt6.InputMethodQuery) *qt6.QVariant)
func (*QSvgWidget) OnKeyPressEvent ¶
func (this *QSvgWidget) OnKeyPressEvent(slot func(super func(event *qt6.QKeyEvent), event *qt6.QKeyEvent))
func (*QSvgWidget) OnKeyReleaseEvent ¶
func (this *QSvgWidget) OnKeyReleaseEvent(slot func(super func(event *qt6.QKeyEvent), event *qt6.QKeyEvent))
func (*QSvgWidget) OnLeaveEvent ¶
func (this *QSvgWidget) OnLeaveEvent(slot func(super func(event *qt6.QEvent), event *qt6.QEvent))
func (*QSvgWidget) OnMetric ¶
func (this *QSvgWidget) OnMetric(slot func(super func(param1 qt6.QPaintDevice__PaintDeviceMetric) int, param1 qt6.QPaintDevice__PaintDeviceMetric) int)
func (*QSvgWidget) OnMinimumSizeHint ¶
func (this *QSvgWidget) OnMinimumSizeHint(slot func(super func() *qt6.QSize) *qt6.QSize)
func (*QSvgWidget) OnMouseDoubleClickEvent ¶
func (this *QSvgWidget) OnMouseDoubleClickEvent(slot func(super func(event *qt6.QMouseEvent), event *qt6.QMouseEvent))
func (*QSvgWidget) OnMouseMoveEvent ¶
func (this *QSvgWidget) OnMouseMoveEvent(slot func(super func(event *qt6.QMouseEvent), event *qt6.QMouseEvent))
func (*QSvgWidget) OnMousePressEvent ¶
func (this *QSvgWidget) OnMousePressEvent(slot func(super func(event *qt6.QMouseEvent), event *qt6.QMouseEvent))
func (*QSvgWidget) OnMouseReleaseEvent ¶
func (this *QSvgWidget) OnMouseReleaseEvent(slot func(super func(event *qt6.QMouseEvent), event *qt6.QMouseEvent))
func (*QSvgWidget) OnMoveEvent ¶
func (this *QSvgWidget) OnMoveEvent(slot func(super func(event *qt6.QMoveEvent), event *qt6.QMoveEvent))
func (*QSvgWidget) OnNativeEvent ¶
func (*QSvgWidget) OnPaintEngine ¶
func (this *QSvgWidget) OnPaintEngine(slot func(super func() *qt6.QPaintEngine) *qt6.QPaintEngine)
func (*QSvgWidget) OnPaintEvent ¶
func (this *QSvgWidget) OnPaintEvent(slot func(super func(event *qt6.QPaintEvent), event *qt6.QPaintEvent))
func (*QSvgWidget) OnRedirected ¶
func (this *QSvgWidget) OnRedirected(slot func(super func(offset *qt6.QPoint) *qt6.QPaintDevice, offset *qt6.QPoint) *qt6.QPaintDevice)
func (*QSvgWidget) OnResizeEvent ¶
func (this *QSvgWidget) OnResizeEvent(slot func(super func(event *qt6.QResizeEvent), event *qt6.QResizeEvent))
func (*QSvgWidget) OnSetVisible ¶
func (this *QSvgWidget) OnSetVisible(slot func(super func(visible bool), visible bool))
func (*QSvgWidget) OnSharedPainter ¶
func (this *QSvgWidget) OnSharedPainter(slot func(super func() *qt6.QPainter) *qt6.QPainter)
func (*QSvgWidget) OnShowEvent ¶
func (this *QSvgWidget) OnShowEvent(slot func(super func(event *qt6.QShowEvent), event *qt6.QShowEvent))
func (*QSvgWidget) OnSizeHint ¶
func (this *QSvgWidget) OnSizeHint(slot func(super func() *qt6.QSize) *qt6.QSize)
func (*QSvgWidget) OnTabletEvent ¶
func (this *QSvgWidget) OnTabletEvent(slot func(super func(event *qt6.QTabletEvent), event *qt6.QTabletEvent))
func (*QSvgWidget) OnWheelEvent ¶
func (this *QSvgWidget) OnWheelEvent(slot func(super func(event *qt6.QWheelEvent), event *qt6.QWheelEvent))
func (*QSvgWidget) Renderer ¶
func (this *QSvgWidget) Renderer() *QSvgRenderer
func (*QSvgWidget) SizeHint ¶
func (this *QSvgWidget) SizeHint() *qt6.QSize
func (*QSvgWidget) UnsafePointer ¶
func (this *QSvgWidget) UnsafePointer() unsafe.Pointer