Engauge Digitizer  2
Public Member Functions | List of all members
GridLine Class Reference

Single grid line drawn a straight or curved line. More...

#include <GridLine.h>

Public Member Functions

 GridLine ()
 Default constructor for storage in containers.
 
 GridLine (const GridLine &other)
 Copy constructor. This will assert if called since copying of pointer containers is problematic.
 
GridLineoperator= (GridLine &other)
 Assignment constructor. This will assert if called since copying of pointer containers is problematic.
 
void add (QGraphicsItem *item)
 Add graphics item which represents one segment of the line.
 
void setPen (const QPen &pen)
 Set the pen style.
 
void setVisible (bool visible)
 Set each grid line as visible or hidden.
 

Detailed Description

Single grid line drawn a straight or curved line.

This is expected to be composed of QGraphicsEllipseItem and QGraphicsLineItem objects

Definition at line 20 of file GridLine.h.


The documentation for this class was generated from the following files: