minor: typos, witespace, comments

This commit is contained in:
plc-user 2025-02-01 08:49:12 +01:00
parent ffef9aaea5
commit 3051c225bb
4 changed files with 9 additions and 11 deletions

View File

@ -3009,7 +3009,7 @@ Alle Bauteile und Unterordner von diesem Ordner werden ebenso gelöscht.</transl
<message>
<location filename="../sources/exportpropertieswidget.cpp" line="214"/>
<source>SVG: fond transparent</source>
<translation>SVG-transparenter Hintergrund</translation>
<translation>SVG: transparenter Hintergrund</translation>
</message>
</context>
<context>

View File

@ -177,9 +177,7 @@ void PartDynamicTextField::fromXml(const QDomElement &dom_elmt) {
setFont(font_);
}
else if (dom_elmt.hasAttribute("font_size")) {
#if TODO_LIST
#pragma message("@TODO plc-user: remove again, when elements are converted!")
#endif
// plc-user: for convenience - to support font-size from old 'input' ?")
setFont(QETApp::dynamicTextsItemFont(dom_elmt.attribute("font_size", QString::number(9)).toInt()));
}
else {

View File

@ -116,7 +116,7 @@ void PartPolygon::fromXml(const QDomElement &qde)
/**
@brief PartPolygon::toXml
Export this polygin in xml
Export this polygon in xml
@param xml_document : Xml document to use for create the xml element
@return an xml element that describe this polygon
*/

View File

@ -67,12 +67,12 @@ class PartRectangle : public CustomElementGraphicPart
QRectF rect() const;
void setRect(const QRectF &rect);
qreal XRadius() const {return m_xRadius;}
void setXRadius(qreal X);
qreal YRadius() const {return m_yRadius;}
void setYRadius(qreal Y);
void setRotation(qreal angle);
qreal rotation() const;
qreal XRadius() const {return m_xRadius;}
void setXRadius(qreal X);
qreal YRadius() const {return m_yRadius;}
void setYRadius(qreal Y);
void setRotation(qreal angle);
qreal rotation() const;
QRectF sceneGeometricRect() const override;
virtual QPointF sceneTopLeft() const;