|
QElectroTech
0.8-dev
|
Go to the documentation of this file.
18 #ifndef SHAPEGRAPHICSITEMPROPERTIESWIDGET_H
19 #define SHAPEGRAPHICSITEMPROPERTIESWIDGET_H
43 void setItems(QList<QetShapeItem *> shapes_list);
46 void apply()
override;
47 void reset()
override;
50 QString
title()
const override {
return tr(
"Éditer les propriétés d'une primitive "); }
63 Ui::ShapeGraphicsItemPropertiesWidget *
ui;
70 #endif // SHAPEGRAPHICSITEMPROPERTIESWIDGET_H
ShapeType shapeType() const
Definition: qetshapeitem.h:77
Diagram * diagram() const
Definition: qetgraphicsitem.cpp:40
virtual void setMovable(bool movable)
Definition: qetgraphicsitem.h:41
bool isClosed() const
Definition: qetshapeitem.h:93
QBrush brush
Definition: qetshapeitem.h:40
The Diagram class This class represents an electric diagram. It manages its various child elements,...
Definition: diagram.h:56
@ Polygon
Definition: qetshapeitem.h:60
QUndoStack & undoStack()
Diagram::undoStack.
Definition: diagram.h:397
Definition: autonumberingdockwidget.h:25
@ Line
Definition: qetshapeitem.h:57
The QetShapeItem class this class is used to draw a basic shape (line, rectangle, ellipse) into a dia...
Definition: qetshapeitem.h:36
The QPropertyUndoCommand class This undo command manage QProperty of a QObject. This undo command can...
Definition: qpropertyundocommand.h:34
QPen pen
Definition: qetshapeitem.h:39
virtual bool isMovable() const
Definition: qetgraphicsitem.h:40
QIcon tr
Definition: qeticons.cpp:206