mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-01-04 11:30:52 +01:00
Possibilite d'ajouter des champs de texte independants au schema
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@193 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -22,6 +22,7 @@ class DiagramView : public QGraphicsView {
|
||||
|
||||
private:
|
||||
Diagram *scene;
|
||||
bool is_adding_text;
|
||||
|
||||
// methodes
|
||||
public:
|
||||
@@ -38,6 +39,7 @@ class DiagramView : public QGraphicsView {
|
||||
void shrink();
|
||||
Diagram *diagram() { return(scene); }
|
||||
bool hasSelectedItems();
|
||||
void addText();
|
||||
|
||||
protected:
|
||||
virtual void wheelEvent(QWheelEvent *);
|
||||
@@ -57,6 +59,8 @@ class DiagramView : public QGraphicsView {
|
||||
void selectionChanged();
|
||||
/// Signal emis lorsque le mode de selection change
|
||||
void modeChanged();
|
||||
/// Signal emis lorsqu'un texte a ete pose
|
||||
void textAdded(bool);
|
||||
|
||||
public slots:
|
||||
void selectNothing();
|
||||
|
||||
Reference in New Issue
Block a user