Engauge Digitizer 2
|
Single grid line drawn a straight or curved line. More...
#include <GridLine.h>
Public Member Functions | |
GridLine () | |
Default constructor for storage in containers. | |
virtual | ~GridLine () |
GridLine (const GridLine &other) | |
Copy constructor. This will assert if called since copying of pointer containers is problematic. | |
GridLine & | operator= (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. | |
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.
GridLine::GridLine | ( | ) |
|
virtual |
Definition at line 23 of file GridLine.cpp.
Copy constructor. This will assert if called since copying of pointer containers is problematic.
Definition at line 18 of file GridLine.cpp.
void GridLine::add | ( | QGraphicsItem * | item | ) |
Add graphics item which represents one segment of the line.
Definition at line 42 of file GridLine.cpp.
Assignment constructor. This will assert if called since copying of pointer containers is problematic.
Definition at line 35 of file GridLine.cpp.
Set the pen style.
Definition at line 47 of file GridLine.cpp.
Set each grid line as visible or hidden.
Definition at line 65 of file GridLine.cpp.