#include <vobjpaintdevice.h>
Public Member Functions | |
| VObjPaintDevice () | |
| virtual | ~VObjPaintDevice () Q_DECL_OVERRIDE |
| virtual QPaintEngine * | paintEngine () const Q_DECL_OVERRIDE |
| QString | getFileName () const |
| void | setFileName (const QString &value) |
| QSize | getSize () |
| void | setSize (const QSize &size) |
| QIODevice * | getOutputDevice () |
| void | setOutputDevice (QIODevice *outputDevice) |
| int | getResolution () const |
| void | setResolution (int dpi) |
Protected Member Functions | |
| virtual int | metric (PaintDeviceMetric metric) const Q_DECL_OVERRIDE |
Private Attributes | |
| QSharedPointer< VObjEngine > | engine |
| QString | fileName |
| uint | owns_iodevice |
Definition at line 65 of file vobjpaintdevice.h.
| VObjPaintDevice::VObjPaintDevice | ( | ) |
Definition at line 62 of file vobjpaintdevice.cpp.
References owns_iodevice.
|
virtual |
Definition at line 69 of file vobjpaintdevice.cpp.
References engine, and owns_iodevice.
| QString VObjPaintDevice::getFileName | ( | ) | const |
Definition at line 86 of file vobjpaintdevice.cpp.
References fileName.
| QIODevice * VObjPaintDevice::getOutputDevice | ( | ) |
Definition at line 130 of file vobjpaintdevice.cpp.
References engine.
| int VObjPaintDevice::getResolution | ( | ) | const |
Definition at line 149 of file vobjpaintdevice.cpp.
References engine.
| QSize VObjPaintDevice::getSize | ( | ) |
Definition at line 113 of file vobjpaintdevice.cpp.
References engine.
|
protectedvirtual |
Definition at line 161 of file vobjpaintdevice.cpp.
References engine.
|
virtual |
Definition at line 79 of file vobjpaintdevice.cpp.
References engine.
| void VObjPaintDevice::setFileName | ( | const QString & | value | ) |
Definition at line 92 of file vobjpaintdevice.cpp.
References engine, fileName, and owns_iodevice.
Referenced by MainWindowsNoGUI::ObjFile().
| void VObjPaintDevice::setOutputDevice | ( | QIODevice * | outputDevice | ) |
Definition at line 136 of file vobjpaintdevice.cpp.
References engine, fileName, and owns_iodevice.
| void VObjPaintDevice::setResolution | ( | int | dpi | ) |
Definition at line 155 of file vobjpaintdevice.cpp.
References engine.
Referenced by MainWindowsNoGUI::ObjFile().
| void VObjPaintDevice::setSize | ( | const QSize & | size | ) |
Definition at line 119 of file vobjpaintdevice.cpp.
References engine.
Referenced by MainWindowsNoGUI::ObjFile().
|
private |
Definition at line 88 of file vobjpaintdevice.h.
Referenced by getOutputDevice(), getResolution(), getSize(), metric(), paintEngine(), setFileName(), setOutputDevice(), setResolution(), setSize(), and ~VObjPaintDevice().
|
private |
Definition at line 89 of file vobjpaintdevice.h.
Referenced by getFileName(), setFileName(), and setOutputDevice().
|
private |
Definition at line 90 of file vobjpaintdevice.h.
Referenced by setFileName(), setOutputDevice(), VObjPaintDevice(), and ~VObjPaintDevice().