mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-04-09 16:09:59 +02:00
Texts group item can be rotate.
The keybord shortcut for texts group alignment change. Now it's ctrl + arrow-left/up/right git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5141 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -121,7 +121,7 @@ class Diagram : public QGraphicsScene
|
||||
void mouseMoveEvent (QGraphicsSceneMouseEvent *event) override;
|
||||
void mouseReleaseEvent (QGraphicsSceneMouseEvent *event) override;
|
||||
void wheelEvent (QGraphicsSceneWheelEvent *event) override;
|
||||
void keyPressEvent (QKeyEvent *) override;
|
||||
void keyPressEvent (QKeyEvent *event) override;
|
||||
void keyReleaseEvent (QKeyEvent *) override;
|
||||
|
||||
public:
|
||||
@@ -187,10 +187,8 @@ class Diagram : public QGraphicsScene
|
||||
QList<CustomElement *> customElements() const;
|
||||
QList<Element *> elements() const;
|
||||
QList<Conductor *> conductors() const;
|
||||
QSet<DiagramTextItem *> selectedTexts() const;
|
||||
QSet<Conductor *> selectedConductors() const;
|
||||
DiagramContent content() const;
|
||||
DiagramContent selectedContent();
|
||||
bool canRotateSelection() const;
|
||||
int beginMoveElements(QGraphicsItem * = nullptr);
|
||||
void continueMoveElements(const QPointF &);
|
||||
|
||||
Reference in New Issue
Block a user