Engauge Digitizer 2
|
This class consolidates utility routines that deal with graphics items that are getting extracted from the scene. More...
#include <GraphicsItemsExtractor.h>
Public Member Functions | |
GraphicsItemsExtractor () | |
Single constructor. | |
~GraphicsItemsExtractor () | |
bool | allSelectedItemsAreEitherAxisOrGraph (const QList< QGraphicsItem * > &items, AxisOrGraph axisOrGraph) const |
Return true if all selected points are of the specified axis or graph type. | |
QStringList | selectedPointIdentifiers (const QList< QGraphicsItem * > &items) const |
Return list of selected point identifiers. |
This class consolidates utility routines that deal with graphics items that are getting extracted from the scene.
Definition at line 20 of file GraphicsItemsExtractor.h.
GraphicsItemsExtractor::GraphicsItemsExtractor | ( | ) |
GraphicsItemsExtractor::~GraphicsItemsExtractor | ( | ) |
Definition at line 19 of file GraphicsItemsExtractor.cpp.
bool GraphicsItemsExtractor::allSelectedItemsAreEitherAxisOrGraph | ( | const QList< QGraphicsItem * > & | items, |
AxisOrGraph | axisOrGraph ) const |
Return true if all selected points are of the specified axis or graph type.
Definition at line 23 of file GraphicsItemsExtractor.cpp.
QStringList GraphicsItemsExtractor::selectedPointIdentifiers | ( | const QList< QGraphicsItem * > & | items | ) | const |
Return list of selected point identifiers.
Definition at line 59 of file GraphicsItemsExtractor.cpp.