[Kst] branches/work/kst/portto4/kst/src/libkstapp
Adam Treat
treat at kde.org
Sat May 26 14:43:29 CEST 2007
SVN commit 668438 by treat:
* Set drag mode and TODO updates
M +4 -1 TODO
M +3 -0 kstplotview.cpp
--- branches/work/kst/portto4/kst/src/libkstapp/TODO #668437:668438
@@ -4,4 +4,7 @@
- OpenGL?
- SVG item?
- Use some templates/factories for CreateCommands?
-- Undo/Redo for item select/focus/move and other ItemChange's.
\ No newline at end of file
+- Undo/Redo for item select/focus/move and other ItemChange's
+- Make Undo/Redo of move command work for selections too
+- Movement of lines alone doesn't work
+- Box the objects so they can't be dragged out of the visible size of scene?
\ No newline at end of file
--- branches/work/kst/portto4/kst/src/libkstapp/kstplotview.cpp #668437:668438
@@ -63,6 +63,9 @@
if (_mouseMode != Create) {
setCursor(Qt::ArrowCursor);
+ setDragMode(QGraphicsView::RubberBandDrag);
+ } else {
+ setDragMode(QGraphicsView::NoDrag);
}
emit mouseModeChanged();
More information about the Kst
mailing list