Ghosts Class Reference

Class for showing points and lines for all coordinate systems simultaneously, even though the code normally only allows graphical items for once coordinate system to be visible at a time. More...

#include <Ghosts.h>

List of all members.

Public Member Functions

 Ghosts (unsigned int coordSystemIndexToBeRestored)
 Single constructor.
unsigned int coordSystemIndexToBeRestored () const
 Coordinate system index that was active before the ghosts.
void captureGraphicsItems (QGraphicsScene &scene)
 Take a snapshot of the graphics items.
void createGhosts (QGraphicsScene &scene)
 Create ghosts from the path/rect/polygon lists.
void destroyGhosts (QGraphicsScene &scene)
 Destory ghosts. Called at end of algorithm.

Detailed Description

Class for showing points and lines for all coordinate systems simultaneously, even though the code normally only allows graphical items for once coordinate system to be visible at a time.

QGraphicsLineItems are ignored since those are just used for the AxesChecker, and QGraphicsPixmapItems are ignored since those are just used for the background. The other QGraphicsItem subclasses are captured and converted into ghosts.

Definition at line 26 of file Ghosts.h.


The documentation for this class was generated from the following files:
 All Classes Functions Variables Enumerations Friends

Generated on 21 Oct 2017 for Engauge Digitizer by  doxygen 1.6.1