#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) |
SvgView (QWidget *parent=0) | |
Protected Member Functions | |
void | paintEvent (QPaintEvent *event) |
void | wheelEvent (QWheelEvent *event) |
Definition at line 45 of file DrawingView.h.
Definition at line 50 of file DrawingView.h.
SvgView::SvgView | ( | QWidget * | parent = 0 |
) |
Definition at line 65 of file DrawingView.cpp.
void SvgView::drawBackground | ( | QPainter * | p, | |
const QRectF & | rect | |||
) |
void SvgView::openFile | ( | const QFile & | file | ) |
Definition at line 96 of file DrawingView.cpp.
References drawBackground().
Referenced by DrawingGui::DrawingView::load().
void SvgView::paintEvent | ( | QPaintEvent * | event | ) | [protected] |
Definition at line 173 of file DrawingView.cpp.
References Image, and draftTools::p.
void SvgView::setHighQualityAntialiasing | ( | bool | highQualityAntialiasing | ) | [slot] |
Definition at line 148 of file DrawingView.cpp.
void SvgView::setRenderer | ( | RendererType | type = Native |
) |
Definition at line 135 of file DrawingView.cpp.
References OpenGL.
Referenced by DrawingGui::DrawingView::setRenderer().
void SvgView::setViewBackground | ( | bool | enable | ) | [slot] |
Definition at line 157 of file DrawingView.cpp.
void SvgView::setViewOutline | ( | bool | enable | ) | [slot] |
Definition at line 165 of file DrawingView.cpp.
void SvgView::wheelEvent | ( | QWheelEvent * | event | ) | [protected] |
Definition at line 192 of file DrawingView.cpp.
References boost::numeric::bindings::umfpack::detail::factor(), KDL::pow(), and scale.