List of all members |
Public Types |
Public Slots |
Public Member Functions |
Protected Member Functions
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=0) | |
Protected Member Functions | |
void paintEvent (QPaintEvent *event) | |
void wheelEvent (QWheelEvent *event) | |
Member Enumeration Documentation
◆ RendererType
Constructor & Destructor Documentation
◆ SvgView()
SvgView::SvgView | ( | QWidget * | parent = 0 | ) |
Member Function Documentation
◆ drawBackground()
void SvgView::drawBackground | ( | QPainter * | p, |
const QRectF & | rect | ||
) |
Referenced by openFile().
◆ openFile()
void SvgView::openFile | ( | const QFile & | file | ) |
References drawBackground().
Referenced by DrawingGui::DrawingView::load().
◆ paintEvent()
|
protected |
References OfflineRenderingUtils::render().
◆ setHighQualityAntialiasing
|
slot |
◆ setRenderer()
void SvgView::setRenderer | ( | RendererType | type = Native | ) |
References OpenGL.
Referenced by DrawingGui::DrawingView::setRenderer().
◆ setViewBackground
|
slot |
◆ setViewOutline
|
slot |
◆ setZoomInverted()
void DrawingGui::SvgView::setZoomInverted | ( | bool | on | ) |
Referenced by DrawingGui::DrawingView::DrawingView().
◆ wheelEvent()
|
protected |
References DraftVecUtils::scale().
The documentation for this class was generated from the following files:
- src/Mod/Drawing/Gui/DrawingView.h
- src/Mod/Drawing/Gui/DrawingView.cpp