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 25 of file GridLine.cpp.
GridLine::GridLine | ( | const GridLine & | other | ) |
Copy constructor. This will assert if called since copying of pointer containers is problematic.
Definition at line 19 of file GridLine.cpp.
void GridLine::add | ( | QGraphicsItem * | item | ) |
Add graphics item which represents one segment of the line.
Definition at line 45 of file GridLine.cpp.
Assignment constructor. This will assert if called since copying of pointer containers is problematic.
Definition at line 37 of file GridLine.cpp.
void GridLine::setPen | ( | const QPen & | pen | ) |
Set the pen style.
Definition at line 50 of file GridLine.cpp.
void GridLine::setVisible | ( | bool | visible | ) |
Set each grid line as visible or hidden.
Definition at line 68 of file GridLine.cpp.