Engauge Digitizer 2
|
Container class for GridLine objects. More...
#include <GridLines.h>
Public Member Functions | |
GridLines () | |
Single constructor. | |
~GridLines () | |
Destructor deallocates memory. | |
void | add (GridLine *gridLine) |
Add specified grid line. Ownership of all allocated QGraphicsItems is passed to new GridLine. | |
void | clear () |
Deallocate and remove all grid lines. | |
void | setPen (const QPen &pen) |
Set the pen style of each grid line. | |
void | setVisible (bool visible) |
Make all grid lines visible or hidden. |
Container class for GridLine objects.
Definition at line 18 of file GridLines.h.
GridLines::GridLines | ( | ) |
GridLines::~GridLines | ( | ) |
Destructor deallocates memory.
Definition at line 14 of file GridLines.cpp.
void GridLines::add | ( | GridLine * | gridLine | ) |
Add specified grid line. Ownership of all allocated QGraphicsItems is passed to new GridLine.
Definition at line 19 of file GridLines.cpp.
void GridLines::clear | ( | ) |
Deallocate and remove all grid lines.
Definition at line 24 of file GridLines.cpp.
void GridLines::setPen | ( | const QPen & | pen | ) |
Set the pen style of each grid line.
Definition at line 34 of file GridLines.cpp.
void GridLines::setVisible | ( | bool | visible | ) |
Make all grid lines visible or hidden.
Definition at line 41 of file GridLines.cpp.