DrawingGui::SvgView Class Reference

#include <DrawingView.h>

List of all members.

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)

Detailed Description

Definition at line 45 of file DrawingView.h.


Member Enumeration Documentation

Enumerator:
Native 
OpenGL 
Image 

Definition at line 50 of file DrawingView.h.


Constructor & Destructor Documentation

SvgView::SvgView ( QWidget *  parent = 0  ) 

Definition at line 65 of file DrawingView.cpp.


Member Function Documentation

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

Definition at line 88 of file DrawingView.cpp.

References texture().

Referenced by openFile().

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]

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

Generated on Wed Nov 23 19:01:56 2011 for FreeCAD by  doxygen 1.6.1