Revision 567623

Go back to digest for 30th July 2006

Other in Graphics

Pino Toscano committed changes in /branches/work/okular-newpageview:

First big step in porting the PageView as subclass of the new shining QGraphicsView.
PageViewItem's are QGraphicsViewItem's, and are responsible for painting a page each. Similar thing for the rubber band selection, represented by a QGraphicsViewItem placed - when needed - over the pages.
The mouse modes are in the way of porting to the new view, and some have been improved.

The text selection now it's moved in an own mode (more logical); the text selections of a page are hold in the respective KPDFPage, and painted using PagePainter when the right flag is added.

What is left to do? The mouse drag for scrolling the view is not working, as well as the zoom-by-selected-area, that does not center the selected area. And - of course - clean the code and remove the old parts (when we are sure they won't be needed anymore).

Fixed also two really small bugs in part.cpp and area.cpp, I'll forwardport them soon.

File Changes

Modified 15 files
  • /branches/work/okular-newpageview
  •   /part.cpp
  •   /part.rc
  •   /core/area.cpp
  •   /core/document.cpp
  •   /core/document.h
  •   /core/observer.h
  •   /core/page.cpp
  •   /core/page.h
  •   /ui/pagepainter.cpp
  •   /ui/pagepainter.h
  •   /ui/pageview.cpp
  •   /ui/pageview.h
  •   /ui/pageviewannotator.cpp
  •   /ui/pageviewutils.cpp
  •   /ui/pageviewutils.h
15 files changed in total