#include <graphicdevicewidget.h>
Definition at line 36 of file graphicdevicewidget.h.
◆ GraphicDeviceWidget()
GraphicDeviceWidget::GraphicDeviceWidget |
( |
QWidget * |
parent | ) |
|
◆ ~GraphicDeviceWidget()
GraphicDeviceWidget::~GraphicDeviceWidget |
( |
| ) |
|
|
virtual |
◆ toQPaintDevice()
virtual void GraphicDeviceWidget::toQPaintDevice |
( |
QPaintDevice * |
device, |
|
|
const QSize & |
size |
|
) |
| |
|
pure virtual |
◆ toSvgFile()
void GraphicDeviceWidget::toSvgFile |
( |
const QString & |
filename, |
|
|
const QString & |
title, |
|
|
const QString & |
description, |
|
|
const QSize & |
size |
|
) |
| |
|
finalvirtual |
Definition at line 42 of file graphicdevicewidget.cpp.
47 QSvgGenerator generator;
49 generator.setFileName(filename);
50 generator.setSize(size);
51 generator.setViewBox(QRect(0, 0, size.width(), size.height()));
52 generator.setTitle(title);
53 generator.setDescription(description);
References toQPaintDevice().
The documentation for this class was generated from the following files: