mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 20:50:34 +01:00
Basic Shapes: Dynamic Preview added when constructing the shape.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2876 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -20,6 +20,7 @@
|
||||
#include <QtGui>
|
||||
#include "elementslocation.h"
|
||||
#include "templatelocation.h"
|
||||
#include "qetgraphicsitem/qetshapeitem.h"
|
||||
class Conductor;
|
||||
class Diagram;
|
||||
class Element;
|
||||
@@ -57,7 +58,7 @@ class DiagramView : public QGraphicsView {
|
||||
QPointF reference_view_;
|
||||
QPointF center_view_;
|
||||
QImage image_to_add_;
|
||||
QRubberBand *rubber_band;
|
||||
QetShapeItem *newItem;
|
||||
QPointF rubber_band_origin;
|
||||
|
||||
// methods
|
||||
|
||||
Reference in New Issue
Block a user