mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 12:40:35 +01:00
Change some int to qreal
Made this change to be more compliant with svg
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
|
||||
class QDomDocument;
|
||||
class QPointF;
|
||||
class QRect;
|
||||
class QRectF;
|
||||
|
||||
/**
|
||||
* @namespace QETSVG
|
||||
@@ -32,8 +32,8 @@ class QRect;
|
||||
*/
|
||||
namespace QETSVG
|
||||
{
|
||||
QDomElement rectToElmt(const QRect &rect, QDomDocument &parent_document);
|
||||
QRect rectFromElmt(const QDomElement &xml_element);
|
||||
QDomElement rectToElmt(const QRectF &rect, QDomDocument &parent_document);
|
||||
QRectF rectFromElmt(const QDomElement &xml_element);
|
||||
|
||||
void yToAttribute(const qreal &y, QDomElement &xml_element);
|
||||
qreal yFromAttribute(const QDomElement &xml_element, const qreal &def_value=0);
|
||||
|
||||
Reference in New Issue
Block a user