#include <QGISVGTemplate.h>
|
enum | { Type = QGraphicsItem::UserType + 153
} |
|
enum | { Type = QGraphicsItem::UserType + 150
} |
|
|
void | createClickHandles (void) |
|
virtual QVariant | itemChange (GraphicsItemChange change, const QVariant &value) |
|
void | load (const QString &fileName) |
|
void | openFile (const QFile &file) |
|
virtual QVariant | itemChange (GraphicsItemChange change, const QVariant &value) |
|
◆ anonymous enum
◆ QGISVGTemplate()
QGISVGTemplate::QGISVGTemplate |
( |
QGSPage * |
scene | ) |
|
◆ ~QGISVGTemplate()
QGISVGTemplate::~QGISVGTemplate |
( |
| ) |
|
|
virtual |
◆ createClickHandles()
void QGISVGTemplate::createClickHandles |
( |
void |
| ) |
|
|
protected |
References Base::Console(), Base::ConsoleSingleton::Error(), QDomNodeModel::fromDomNode(), App::GetApplication(), ParameterGrp::GetFloat(), ParameterGrp::GetGroup(), TechDraw::DrawSVGTemplate::getHeight(), getSVGTemplate(), App::Application::GetUserParameter(), App::PropertyFileIncluded::getValue(), TechDrawGui::Rez::guiX(), Base::ConsoleSingleton::Message(), TechDraw::DrawSVGTemplate::PageResult, ZVALUE::SVGTEMPLATE, TechDrawGui::QGITemplate::textFields, QDomNodeModel::toDomNode(), and Base::ConsoleSingleton::Warning().
Referenced by load().
◆ draw()
void QGISVGTemplate::draw |
( |
void |
| ) |
|
|
virtual |
◆ getSVGTemplate()
◆ itemChange()
QVariant QGISVGTemplate::itemChange |
( |
GraphicsItemChange |
change, |
|
|
const QVariant & |
value |
|
) |
| |
|
protectedvirtual |
◆ load()
void QGISVGTemplate::load |
( |
const QString & |
fileName | ) |
|
|
protected |
References createClickHandles(), firstTime, TechDraw::DrawSVGTemplate::getHeight(), getSVGTemplate(), TechDraw::DrawSVGTemplate::getWidth(), TechDrawGui::Rez::guiX(), m_svgItem, and m_svgRender.
Referenced by draw(), draftguitools.gui_setstyle.Draft_SetStyle_TaskPanel::loadDefaults(), draftguitools.gui_setstyle.Draft_SetStyle_TaskPanel::onLoadStyle(), and draftguitools.gui_setstyle.Draft_SetStyle_TaskPanel::onSaveStyle().
◆ openFile()
void QGISVGTemplate::openFile |
( |
const QFile & |
file | ) |
|
|
protected |
◆ type()
int TechDrawGui::QGISVGTemplate::type |
( |
void |
| ) |
const |
◆ updateView()
void QGISVGTemplate::updateView |
( |
bool |
update = false | ) |
|
|
virtual |
◆ firstTime
bool TechDrawGui::QGISVGTemplate::firstTime |
|
protected |
◆ m_svgItem
◆ m_svgRender
QSvgRenderer* TechDrawGui::QGISVGTemplate::m_svgRender |
|
protected |
The documentation for this class was generated from the following files:
- FreeCAD/src/Mod/TechDraw/Gui/QGISVGTemplate.h
- FreeCAD/src/Mod/TechDraw/Gui/QGISVGTemplate.cpp