mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-23 10:30:53 +01:00
element editor: add arc is managed by ESEvent
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3470 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -28,7 +28,6 @@ class CustomElementPart;
|
||||
class ElementEditionCommand;
|
||||
class ElementPrimitiveDecorator;
|
||||
class QETElementEditor;
|
||||
class PartArc;
|
||||
class ESEventInterface;
|
||||
class QKeyEvent;
|
||||
/**
|
||||
@@ -42,7 +41,7 @@ class ElementScene : public QGraphicsScene {
|
||||
|
||||
// enum
|
||||
public:
|
||||
enum Behavior { Normal, Circle, Text, Terminal, Arc, TextField, PasteArea };
|
||||
enum Behavior { Normal, Circle, Text, Terminal, TextField, PasteArea };
|
||||
enum ItemOption {
|
||||
SortByZValue = 1,
|
||||
IncludeTerminals = 2,
|
||||
@@ -87,7 +86,6 @@ class ElementScene : public QGraphicsScene {
|
||||
/// Variables related to drawing
|
||||
ESEventInterface *m_event_interface;
|
||||
Behavior behavior;
|
||||
PartArc *current_arc;
|
||||
QETElementEditor *element_editor;
|
||||
|
||||
/// Variables to manage the paste area on the scene
|
||||
@@ -165,7 +163,6 @@ class ElementScene : public QGraphicsScene {
|
||||
void slot_move();
|
||||
void slot_addCircle();
|
||||
void slot_addText();
|
||||
void slot_addArc();
|
||||
void slot_addTerminal();
|
||||
void slot_addTextField();
|
||||
void slot_select(const ElementContent &);
|
||||
|
||||
Reference in New Issue
Block a user