DrawingGui::SvgView Class Reference

#include <DrawingView.h>

Public Types

enum  RendererType { Native , OpenGL , Image }
 

Public Slots

void setHighQualityAntialiasing (bool highQualityAntialiasing)
 
void setViewBackground (bool enable)
 
void setViewOutline (bool enable)
 

Public Member Functions

void drawBackground (QPainter *p, const QRectF &rect)
 
void openFile (const QFile &file)
 
void setRenderer (RendererType type=Native)
 
void setZoomInverted (bool on)
 
 SvgView (QWidget *parent=nullptr)
 

Protected Member Functions

void paintEvent (QPaintEvent *event)
 
void wheelEvent (QWheelEvent *event)
 

Member Enumeration Documentation

◆ RendererType

Enumerator
Native 
OpenGL 
Image 

Constructor & Destructor Documentation

◆ SvgView()

SvgView::SvgView ( QWidget parent = nullptr)

Member Function Documentation

◆ drawBackground()

void SvgView::drawBackground ( QPainter *  p,
const QRectF &  rect 
)

Referenced by openFile().

◆ openFile()

void SvgView::openFile ( const QFile &  file)

◆ paintEvent()

void SvgView::paintEvent ( QPaintEvent *  event)
protected

◆ setHighQualityAntialiasing

void SvgView::setHighQualityAntialiasing ( bool  highQualityAntialiasing)
slot

◆ setRenderer()

void SvgView::setRenderer ( RendererType  type = Native)

References OpenGL.

Referenced by DrawingGui::DrawingView::setRenderer().

◆ setViewBackground

void SvgView::setViewBackground ( bool  enable)
slot

◆ setViewOutline

void SvgView::setViewOutline ( bool  enable)
slot

◆ setZoomInverted()

void DrawingGui::SvgView::setZoomInverted ( bool  on)

◆ wheelEvent()

void SvgView::wheelEvent ( QWheelEvent *  event)
protected

The documentation for this class was generated from the following files: