[Kde-games-devel] Magnifier for Palapeli (patch)

Stefan Majewsky kdemailinglists at bethselamin.de
Sun Aug 22 11:40:20 CEST 2010


On Sunday 22 August 2010 04:44:42 Ian Wadham wrote:
> In principle, no problem with the above, but I am a bit unclear on what or
> where the main view is and how the "size" of a piece is determined in the
> first place.  I think the main view is the double rectangle that brings up
> resize arrows when you move near its edges.  

By main view, I mean the QGraphicsView instance on which you place the 
magnifier. The "double rectangle" is the ConstraintVisualizer, with the outer 
rectangle being the sceneRect.

> I think the size of a piece
> is based on the number of pixels in the original image and the number
> of pieces in the puzzle and is measured in pixels.

That's correct.

Greetings
Stefan


More information about the kde-games-devel mailing list