mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-01-06 22:00:52 +01:00
element editor: add mirror and flip for “text”
Maybe not (yet) perfect, but it looks pretty good to me! Why am I doing this to myself? All this crap with fonts and stuff! It's been crap for as long as I can remember.
This commit is contained in:
@@ -62,6 +62,8 @@ class PartText : public QGraphicsTextItem, public CustomElementPart {
|
||||
void fromXml(const QDomElement &) override;
|
||||
const QDomElement toXml(QDomDocument &) const override;
|
||||
void setRotation(qreal angle);
|
||||
void mirror();
|
||||
void flip();
|
||||
bool isUseless() const override;
|
||||
QRectF sceneGeometricRect() const override;
|
||||
void startUserTransformation(const QRectF &) override;
|
||||
|
||||
Reference in New Issue
Block a user