1.1 --- a/mapeditor.h Fri Dec 29 13:52:19 2006 +0000
1.2 +++ b/mapeditor.h Fri Jan 05 11:17:32 2007 +0000
1.3 @@ -126,10 +126,9 @@
1.4 void setMapBackgroundColor(QColor);
1.5 QColor getMapBackgroundColor();
1.6 QColor getCurrentHeadingColor();
1.7 - void colorItem(QColor);
1.8 void colorBranch(QColor);
1.9 + void colorSubtree(QColor);
1.10 void toggleStandardFlag(QString);
1.11 - virtual void setViewCenter(); // needed for zooming
1.12 BranchObj* findText(QString,bool); // Find object
1.13 void findReset(); // Reset Find
1.14 void setURL(const QString &); // set the URL
1.15 @@ -185,7 +184,6 @@
1.16
1.17 protected:
1.18 void ensureSelectionVisible();
1.19 - virtual void updateViewCenter(); // needed for zooming
1.20 virtual void contextMenuEvent ( QContextMenuEvent *e );
1.21 virtual void keyPressEvent(QKeyEvent*);
1.22 virtual void keyReleaseEvent(QKeyEvent*);
1.23 @@ -194,11 +192,11 @@
1.24 virtual void mouseDoubleClickEvent(QMouseEvent*);
1.25 virtual void mouseMoveEvent(QMouseEvent*);
1.26
1.27 - virtual void dragEnterEvent (QDragEnterEvent *);
1.28 - virtual void dropEvent (QDropEvent *);
1.29 + void dragEnterEvent (QDragEnterEvent *);
1.30 + void dragMoveEvent (QDragMoveEvent *);
1.31 + void dragLeaveEvent (QDragLeaveEvent *);
1.32 + void dropEvent (QDropEvent *);
1.33
1.34 - virtual void contentsDragEnterEvent(QDragEnterEvent *event);
1.35 - virtual void contentsDropEvent(QDropEvent *event);
1.36 private:
1.37 QGraphicsScene *mapScene;
1.38 MapCenterObj* mapCenter;
1.39 @@ -231,7 +229,6 @@
1.40 QPointF movingObj_start; // rel. pos of mouse to absPos
1.41 QPointF movingCont_start; // inital pos of moving Content or
1.42 QPointF movingVec; // how far has Content moved
1.43 - QPointF movingCenter; // used when zooming
1.44 QPrinter* printer; // Printing
1.45
1.46 bool mapDefault; // Flag if map is untouched