MCPcopy Create free account
hub / github.com/Audio4Linux/JDSP4Linux / QCPPolarGrid

Method QCPPolarGrid

3rdparty/qcustomplot/qcustomplot.cpp:34180–34201  ·  view source on GitHub ↗

! Creates a QCPPolarGrid instance and sets default values. You shouldn't instantiate grids on their own, since every axis brings its own grid. */

Source from the content-addressed store, hash-verified

34178 You shouldn't instantiate grids on their own, since every axis brings its own grid.
34179*/
34180QCPPolarGrid::QCPPolarGrid(QCPPolarAxisAngular *parentAxis) :
34181 QCPLayerable(parentAxis->parentPlot(), QString(), parentAxis),
34182 mType(gtNone),
34183 mSubGridType(gtNone),
34184 mAntialiasedSubGrid(true),
34185 mAntialiasedZeroLine(true),
34186 mParentAxis(parentAxis)
34187{
34188 // warning: this is called in QCPPolarAxisAngular constructor, so parentAxis members should not be accessed/called
34189 setParent(parentAxis);
34190 setType(gtAll);
34191 setSubGridType(gtNone);
34192
34193 setAngularPen(QPen(QColor(200,200,200), 0, Qt::DotLine));
34194 setAngularSubGridPen(QPen(QColor(220,220,220), 0, Qt::DotLine));
34195
34196 setRadialPen(QPen(QColor(200,200,200), 0, Qt::DotLine));
34197 setRadialSubGridPen(QPen(QColor(220,220,220), 0, Qt::DotLine));
34198 setRadialZeroLinePen(QPen(QColor(200,200,200), 0, Qt::SolidLine));
34199
34200 setAntialiased(true);
34201}
34202
34203void QCPPolarGrid::setRadialAxis(QCPPolarAxisRadial *axis)
34204{

Callers

nothing calls this directly

Calls 2

QColorClass · 0.85
QStringClass · 0.50

Tested by

no test coverage detected