Subversion Repositories Scribus

Rev

Go to most recent revision | Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
12610 4858d 19h jghali /trunk/Scribus/scribus/canvasmode_create.h fix #6769 : crash when canceling item creation and pressing escape, and repeating this multiple times
rewrites canvasmode_create in such a way that objects are now only created on mouse release, avoiding dangerous round trip between canvas modes
 
11576 5098d 07h avox /trunk/Scribus/scribus/canvasmode_create.h fix undo handling (#6595 et. al.)
- UndoManager::beginTransaction() now returns a Transaction object
- proper nesting of begin/commit is enforced

adjustments for PoDoFo current svn version (0.5.99)
 
11339 5128d 22h avox /trunk/Scribus/scribus/canvasmode_create.h sanitize canvasgestures:
* more comments in header files
* use a prepare() method to initialize the gesture before startGesture()
* introduce a clear() method which puts the gesture into a state where it can't modify the document (not really used atm)
* call QMouseEvent::accept() in mouseReleaseEvent and MouseMoveEvent()
* call QMouseEvent::accept() in mousePressEvent only if the gesture is prepared to start

This commit also activates the new LineMove gesture
 
11091 5167d 13h avox /trunk/Scribus/scribus/canvasmode_create.h resize rotated items, some cleanups  
10978 5188d 19h avox /trunk/Scribus/scribus/canvasmode_create.h move item create to new canvasmode classes (freehand is still unused)