123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787 |
- .TH "QwtPolarGrid" 3 "Fri Sep 19 2014" "Version 1.1.1" "Qwt Polar User's Guide" \" -*- nroff -*-
- .ad l
- .nh
- .SH NAME
- QwtPolarGrid \-
- .PP
- An item which draws scales and grid lines on a polar plot\&.
- .SH SYNOPSIS
- .br
- .PP
- .PP
- \fC#include <qwt_polar_grid\&.h>\fP
- .PP
- Inherits \fBQwtPolarItem\fP\&.
- .SS "Public Types"
- .in +1c
- .ti -1c
- .RI "enum \fBDisplayFlag\fP { \fBSmartOriginLabel\fP = 1, \fBHideMaxRadiusLabel\fP = 2, \fBClipAxisBackground\fP = 4, \fBSmartScaleDraw\fP = 8, \fBClipGridLines\fP = 16 }"
- .br
- .ti -1c
- .RI "enum \fBGridAttribute\fP { \fBAutoScaling\fP = 0x01 }"
- .br
- .RI "\fIGrid attributes\&. \fP"
- .ti -1c
- .RI "typedef QFlags< \fBDisplayFlag\fP > \fBDisplayFlags\fP"
- .br
- .RI "\fIDisplay flags\&. \fP"
- .ti -1c
- .RI "typedef QFlags< \fBGridAttribute\fP > \fBGridAttributes\fP"
- .br
- .RI "\fIGrid attributes\&. \fP"
- .in -1c
- .SS "Public Member Functions"
- .in +1c
- .ti -1c
- .RI "\fBQwtPolarGrid\fP ()"
- .br
- .RI "\fIConstructor\&. \fP"
- .ti -1c
- .RI "virtual \fB~QwtPolarGrid\fP ()"
- .br
- .RI "\fIDestructor\&. \fP"
- .ti -1c
- .RI "virtual int \fBrtti\fP () const "
- .br
- .ti -1c
- .RI "void \fBsetDisplayFlag\fP (\fBDisplayFlag\fP, bool on=true)"
- .br
- .ti -1c
- .RI "bool \fBtestDisplayFlag\fP (\fBDisplayFlag\fP) const "
- .br
- .ti -1c
- .RI "void \fBsetGridAttribute\fP (\fBGridAttribute\fP, bool on=true)"
- .br
- .RI "\fISpecify an attribute for the grid\&. \fP"
- .ti -1c
- .RI "bool \fBtestGridAttribute\fP (\fBGridAttribute\fP) const "
- .br
- .ti -1c
- .RI "void \fBshowGrid\fP (int scaleId, bool \fBshow\fP=true)"
- .br
- .ti -1c
- .RI "bool \fBisGridVisible\fP (int scaleId) const "
- .br
- .ti -1c
- .RI "void \fBshowMinorGrid\fP (int scaleId, bool \fBshow\fP=true)"
- .br
- .ti -1c
- .RI "bool \fBisMinorGridVisible\fP (int scaleId) const "
- .br
- .ti -1c
- .RI "void \fBshowAxis\fP (int axisId, bool \fBshow\fP=true)"
- .br
- .ti -1c
- .RI "bool \fBisAxisVisible\fP (int axisId) const "
- .br
- .ti -1c
- .RI "void \fBsetPen\fP (const QPen &p)"
- .br
- .ti -1c
- .RI "void \fBsetFont\fP (const QFont &)"
- .br
- .ti -1c
- .RI "void \fBsetMajorGridPen\fP (const QPen &p)"
- .br
- .ti -1c
- .RI "void \fBsetMajorGridPen\fP (int scaleId, const QPen &p)"
- .br
- .ti -1c
- .RI "QPen \fBmajorGridPen\fP (int scaleId) const "
- .br
- .ti -1c
- .RI "void \fBsetMinorGridPen\fP (const QPen &p)"
- .br
- .ti -1c
- .RI "void \fBsetMinorGridPen\fP (int scaleId, const QPen &p)"
- .br
- .ti -1c
- .RI "QPen \fBminorGridPen\fP (int scaleId) const "
- .br
- .ti -1c
- .RI "void \fBsetAxisPen\fP (int axisId, const QPen &p)"
- .br
- .ti -1c
- .RI "QPen \fBaxisPen\fP (int axisId) const "
- .br
- .ti -1c
- .RI "void \fBsetAxisFont\fP (int axisId, const QFont &p)"
- .br
- .ti -1c
- .RI "QFont \fBaxisFont\fP (int axisId) const "
- .br
- .ti -1c
- .RI "void \fBsetScaleDraw\fP (int axisId, QwtScaleDraw *)"
- .br
- .RI "\fISet a scale draw\&. \fP"
- .ti -1c
- .RI "const QwtScaleDraw * \fBscaleDraw\fP (int axisId) const "
- .br
- .ti -1c
- .RI "QwtScaleDraw * \fBscaleDraw\fP (int axisId)"
- .br
- .ti -1c
- .RI "void \fBsetAzimuthScaleDraw\fP (QwtRoundScaleDraw *)"
- .br
- .RI "\fISet a scale draw for the azimuth scale\&. \fP"
- .ti -1c
- .RI "const QwtRoundScaleDraw * \fBazimuthScaleDraw\fP () const "
- .br
- .ti -1c
- .RI "QwtRoundScaleDraw * \fBazimuthScaleDraw\fP ()"
- .br
- .ti -1c
- .RI "virtual void \fBdraw\fP (QPainter *p, const QwtScaleMap &azimuthMap, const QwtScaleMap &radialMap, const QPointF &pole, double radius, const QRectF &rect) const "
- .br
- .ti -1c
- .RI "virtual void \fBupdateScaleDiv\fP (const QwtScaleDiv &azimuthMap, const QwtScaleDiv &radialMap, const QwtInterval &)"
- .br
- .RI "\fIUpdate the item to changes of the axes scale division\&. \fP"
- .ti -1c
- .RI "virtual int \fBmarginHint\fP () const "
- .br
- .in -1c
- .SS "Protected Member Functions"
- .in +1c
- .ti -1c
- .RI "void \fBdrawRays\fP (QPainter *, const QRectF &, const QPointF &pole, double radius, const QwtScaleMap &azimuthMap, const QList< double > &) const "
- .br
- .ti -1c
- .RI "void \fBdrawCircles\fP (QPainter *, const QRectF &, const QPointF &pole, const QwtScaleMap &radialMap, const QList< double > &) const "
- .br
- .ti -1c
- .RI "void \fBdrawAxis\fP (QPainter *, int axisId) const "
- .br
- .in -1c
- .SH "Detailed Description"
- .PP
- An item which draws scales and grid lines on a polar plot\&.
- The \fBQwtPolarGrid\fP class can be used to draw a coordinate grid\&. A coordinate grid consists of major and minor gridlines\&. The locations of the gridlines are determined by the azimuth and radial scale divisions\&.
- .PP
- \fBQwtPolarGrid\fP is also responsible for drawing the axis representing the scales\&. It is possible to display 4 radial and one azimuth axis\&.
- .PP
- Whenever the scale divisions of the plot widget changes the grid is synchronized by \fBupdateScaleDiv()\fP\&.
- .PP
- \fBSee Also:\fP
- .RS 4
- \fBQwtPolarPlot\fP, QwtPolar::Axis
- .RE
- .PP
- .SH "Member Enumeration Documentation"
- .PP
- .SS "enum \fBQwtPolarGrid::DisplayFlag\fP"
- Mysterious flags trying to avoid conflicts, when painting the scales and grid lines\&.
- .PP
- The default setting enables all flags\&.
- .PP
- \fBSee Also:\fP
- .RS 4
- \fBsetDisplayFlag()\fP, \fBtestDisplayFlag()\fP
- .RE
- .PP
- .PP
- \fBEnumerator\fP
- .in +1c
- .TP
- \fB\fISmartOriginLabel \fP\fP
- Try to avoid situations, where the label of the origin is painted over another axis\&.
- .TP
- \fB\fIHideMaxRadiusLabel \fP\fP
- Often the outermost tick of the radial scale is close to the canvas border\&. With HideMaxRadiusLabel enabled it is not painted\&.
- .TP
- \fB\fIClipAxisBackground \fP\fP
- The tick labels of the radial scales might be hard to read, when they are painted on top of the radial grid lines ( or on top of a curve/spectrogram )\&. When ClipAxisBackground the bounding rect of each label is added to the clip region\&.
- .TP
- \fB\fISmartScaleDraw \fP\fP
- Don't paint the backbone of the radial axes, when they are very close to a line of the azimuth grid\&.
- .TP
- \fB\fIClipGridLines \fP\fP
- All grid lines are clipped against the plot area before being painted\&. When the plot is zoomed in this will have an significant impact on the performance of the painting cde\&.
- .SS "enum \fBQwtPolarGrid::GridAttribute\fP"
- .PP
- Grid attributes\&.
- .PP
- \fBSee Also:\fP
- .RS 4
- setGridAttributes(), testGridAttributes()
- .RE
- .PP
- .PP
- \fBEnumerator\fP
- .in +1c
- .TP
- \fB\fIAutoScaling \fP\fP
- When AutoScaling is enabled, the radial axes will be adjusted to the interval, that is currently visible on the canvas plot\&.
- .SH "Constructor & Destructor Documentation"
- .PP
- .SS "QwtPolarGrid::QwtPolarGrid ()\fC [explicit]\fP"
- .PP
- Constructor\&. Enables major and disables minor grid lines\&. The azimuth and right radial axis are visible\&. all other axes are hidden\&. Autoscaling is enabled\&.
- .SH "Member Function Documentation"
- .PP
- .SS "QFont QwtPolarGrid::axisFont (intaxisId) const"
- .PP
- \fBReturns:\fP
- .RS 4
- Font for the tick labels of a specific axis
- .RE
- .PP
- \fBParameters:\fP
- .RS 4
- \fIaxisId\fP Axis id (QwtPolar::Axis)
- .RE
- .PP
- .SS "QPen QwtPolarGrid::axisPen (intaxisId) const"
- .PP
- \fBReturns:\fP
- .RS 4
- Pen for painting a specific axis
- .RE
- .PP
- \fBParameters:\fP
- .RS 4
- \fIaxisId\fP Axis id (QwtPolar::Axis)
- .RE
- .PP
- \fBSee Also:\fP
- .RS 4
- \fBsetAxisPen()\fP
- .RE
- .PP
- .SS "const QwtRoundScaleDraw * QwtPolarGrid::azimuthScaleDraw () const"
- .PP
- \fBReturns:\fP
- .RS 4
- Scale draw for the azimuth scale
- .RE
- .PP
- \fBSee Also:\fP
- .RS 4
- \fBsetAzimuthScaleDraw()\fP, \fBscaleDraw()\fP
- .RE
- .PP
- .SS "QwtRoundScaleDraw * QwtPolarGrid::azimuthScaleDraw ()"
- .PP
- \fBReturns:\fP
- .RS 4
- Scale draw for the azimuth scale
- .RE
- .PP
- \fBSee Also:\fP
- .RS 4
- \fBsetAzimuthScaleDraw()\fP, \fBscaleDraw()\fP
- .RE
- .PP
- .SS "void QwtPolarGrid::draw (QPainter *painter, const QwtScaleMap &azimuthMap, const QwtScaleMap &radialMap, const QPointF &pole, doubleradius, const QRectF &canvasRect) const\fC [virtual]\fP"
- Draw the grid and axes
- .PP
- \fBParameters:\fP
- .RS 4
- \fIpainter\fP Painter
- .br
- \fIazimuthMap\fP Maps azimuth values to values related to 0\&.0, M_2PI
- .br
- \fIradialMap\fP Maps radius values into painter coordinates\&.
- .br
- \fIpole\fP Position of the pole in painter coordinates
- .br
- \fIradius\fP Radius of the complete plot area in painter coordinates
- .br
- \fIcanvasRect\fP Contents rect of the canvas in painter coordinates
- .RE
- .PP
- .PP
- Implements \fBQwtPolarItem\fP\&.
- .SS "void QwtPolarGrid::drawAxis (QPainter *painter, intaxisId) const\fC [protected]\fP"
- Paint an axis
- .PP
- \fBParameters:\fP
- .RS 4
- \fIpainter\fP Painter
- .br
- \fIaxisId\fP Axis id (QwtPolar::Axis)
- .RE
- .PP
- .SS "void QwtPolarGrid::drawCircles (QPainter *painter, const QRectF &canvasRect, const QPointF &pole, const QwtScaleMap &radialMap, const QList< double > &values) const\fC [protected]\fP"
- Draw circles
- .PP
- \fBParameters:\fP
- .RS 4
- \fIpainter\fP Painter
- .br
- \fIcanvasRect\fP Contents rect of the canvas in painter coordinates
- .br
- \fIpole\fP Position of the pole in painter coordinates
- .br
- \fIradialMap\fP Maps radius values into painter coordinates\&.
- .br
- \fIvalues\fP Radial values, indicating the distances from the pole
- .RE
- .PP
- .SS "void QwtPolarGrid::drawRays (QPainter *painter, const QRectF &canvasRect, const QPointF &pole, doubleradius, const QwtScaleMap &azimuthMap, const QList< double > &values) const\fC [protected]\fP"
- Draw lines from the pole
- .PP
- \fBParameters:\fP
- .RS 4
- \fIpainter\fP Painter
- .br
- \fIcanvasRect\fP Contents rect of the canvas in painter coordinates
- .br
- \fIpole\fP Position of the pole in painter coordinates
- .br
- \fIradius\fP Length of the lines in painter coordinates
- .br
- \fIazimuthMap\fP Maps azimuth values to values related to 0\&.0, M_2PI
- .br
- \fIvalues\fP Azimuth values, indicating the direction of the lines
- .RE
- .PP
- .SS "bool QwtPolarGrid::isAxisVisible (intaxisId) const"
- .PP
- \fBReturns:\fP
- .RS 4
- true if the axis is visible
- .RE
- .PP
- \fBParameters:\fP
- .RS 4
- \fIaxisId\fP Axis id (QwtPolar::Axis)
- .RE
- .PP
- \fBSee Also:\fP
- .RS 4
- \fBshowAxis()\fP
- .RE
- .PP
- .SS "bool QwtPolarGrid::isGridVisible (intscaleId) const"
- .PP
- \fBReturns:\fP
- .RS 4
- true if grid lines are enabled
- .RE
- .PP
- \fBParameters:\fP
- .RS 4
- \fIscaleId\fP Scale id ( QwtPolar::Scale )
- .RE
- .PP
- \fBSee Also:\fP
- .RS 4
- QwtPolar::Scale, \fBshowGrid()\fP
- .RE
- .PP
- .SS "bool QwtPolarGrid::isMinorGridVisible (intscaleId) const"
- .PP
- \fBReturns:\fP
- .RS 4
- true if minor grid lines are enabled
- .RE
- .PP
- \fBParameters:\fP
- .RS 4
- \fIscaleId\fP Scale id ( QwtPolar::Scale )
- .RE
- .PP
- \fBSee Also:\fP
- .RS 4
- \fBshowMinorGrid()\fP
- .RE
- .PP
- .SS "QPen QwtPolarGrid::majorGridPen (intscaleId) const"
- .PP
- \fBReturns:\fP
- .RS 4
- Pen for painting the major grid lines of a specific scale
- .RE
- .PP
- \fBParameters:\fP
- .RS 4
- \fIscaleId\fP Scale id ( QwtPolar::Scale )
- .RE
- .PP
- \fBSee Also:\fP
- .RS 4
- \fBsetMajorGridPen()\fP, \fBminorGridPen()\fP
- .RE
- .PP
- .SS "int QwtPolarGrid::marginHint () const\fC [virtual]\fP"
- .PP
- \fBReturns:\fP
- .RS 4
- Number of pixels, that are necessary to paint the azimuth scale
- .RE
- .PP
- \fBSee Also:\fP
- .RS 4
- QwtRoundScaleDraw::extent()
- .RE
- .PP
- .PP
- Reimplemented from \fBQwtPolarItem\fP\&.
- .SS "QPen QwtPolarGrid::minorGridPen (intscaleId) const"
- .PP
- \fBReturns:\fP
- .RS 4
- Pen for painting the minor grid lines of a specific scale
- .RE
- .PP
- \fBParameters:\fP
- .RS 4
- \fIscaleId\fP Scale id ( QwtPolar::Scale )
- .RE
- .PP
- .SS "int QwtPolarGrid::rtti () const\fC [virtual]\fP"
- .PP
- \fBReturns:\fP
- .RS 4
- QwtPlotItem::Rtti_PolarGrid
- .RE
- .PP
- .PP
- Reimplemented from \fBQwtPolarItem\fP\&.
- .SS "const QwtScaleDraw * QwtPolarGrid::scaleDraw (intaxisId) const"
- Returns the scale draw of a specified axis
- .PP
- \fBParameters:\fP
- .RS 4
- \fIaxisId\fP axis index ( QwtPolar::AxisLeft <= axisId <= QwtPolar::AxisBottom)
- .RE
- .PP
- \fBReturns:\fP
- .RS 4
- specified scaleDraw for axis, or NULL if axis is invalid\&.
- .RE
- .PP
- \fBSee Also:\fP
- .RS 4
- \fBazimuthScaleDraw()\fP
- .RE
- .PP
- .SS "QwtScaleDraw * QwtPolarGrid::scaleDraw (intaxisId)"
- Returns the scale draw of a specified axis
- .PP
- \fBParameters:\fP
- .RS 4
- \fIaxisId\fP axis index ( QwtPolar::AxisLeft <= axisId <= QwtPolar::AxisBottom)
- .RE
- .PP
- \fBReturns:\fP
- .RS 4
- specified scaleDraw for axis, or NULL if axis is invalid\&.
- .RE
- .PP
- \fBSee Also:\fP
- .RS 4
- \fBsetScaleDraw()\fP, \fBazimuthScaleDraw()\fP
- .RE
- .PP
- .SS "void QwtPolarGrid::setAxisFont (intaxisId, const QFont &font)"
- Assign a font for the tick labels of a specific axis
- .PP
- \fBParameters:\fP
- .RS 4
- \fIaxisId\fP Axis id (QwtPolar::Axis)
- .br
- \fIfont\fP new Font
- .RE
- .PP
- .SS "void QwtPolarGrid::setAxisPen (intaxisId, const QPen &pen)"
- Assign a pen for painting an axis
- .PP
- \fBParameters:\fP
- .RS 4
- \fIaxisId\fP Axis id (QwtPolar::Axis)
- .br
- \fIpen\fP Pen
- .RE
- .PP
- \fBSee Also:\fP
- .RS 4
- \fBaxisPen()\fP
- .RE
- .PP
- .SS "void QwtPolarGrid::setAzimuthScaleDraw (QwtRoundScaleDraw *scaleDraw)"
- .PP
- Set a scale draw for the azimuth scale\&.
- .PP
- \fBParameters:\fP
- .RS 4
- \fIscaleDraw\fP object responsible for drawing scales\&.
- .RE
- .PP
- \fBSee Also:\fP
- .RS 4
- \fBazimuthScaleDraw()\fP, \fBsetScaleDraw()\fP
- .RE
- .PP
- .SS "void QwtPolarGrid::setDisplayFlag (\fBDisplayFlag\fPflag, boolon = \fCtrue\fP)"
- Change the display flags
- .PP
- \fBParameters:\fP
- .RS 4
- \fIflag\fP See DisplayFlag
- .br
- \fIon\fP true/false
- .RE
- .PP
- .SS "void QwtPolarGrid::setFont (const QFont &font)"
- Assign a font for all scale tick labels
- .PP
- \fBParameters:\fP
- .RS 4
- \fIfont\fP Font
- .RE
- .PP
- \fBSee Also:\fP
- .RS 4
- \fBsetAxisFont()\fP
- .RE
- .PP
- .SS "void QwtPolarGrid::setGridAttribute (\fBGridAttribute\fPattribute, boolon = \fCtrue\fP)"
- .PP
- Specify an attribute for the grid\&.
- .PP
- \fBParameters:\fP
- .RS 4
- \fIattribute\fP Grid attribute
- .br
- \fIon\fP On/Off
- .RE
- .PP
- /sa GridAttribute, \fBtestGridAttribute()\fP, \fBupdateScaleDiv()\fP, \fBQwtPolarPlot::zoom()\fP, \fBQwtPolarPlot::scaleDiv()\fP
- .SS "void QwtPolarGrid::setMajorGridPen (const QPen &pen)"
- Assign a pen for the major grid lines
- .PP
- \fBParameters:\fP
- .RS 4
- \fIpen\fP Pen
- .RE
- .PP
- \fBSee Also:\fP
- .RS 4
- \fBsetPen()\fP, \fBsetMinorGridPen()\fP, \fBmajorGridPen\fP
- .RE
- .PP
- .SS "void QwtPolarGrid::setMajorGridPen (intscaleId, const QPen &pen)"
- Assign a pen for the major grid lines of a specific scale
- .PP
- \fBParameters:\fP
- .RS 4
- \fIscaleId\fP Scale id ( QwtPolar::Scale )
- .br
- \fIpen\fP Pen
- .RE
- .PP
- \fBSee Also:\fP
- .RS 4
- \fBsetPen()\fP, \fBsetMinorGridPen()\fP, \fBmajorGridPen\fP
- .RE
- .PP
- .SS "void QwtPolarGrid::setMinorGridPen (const QPen &pen)"
- Assign a pen for the minor grid lines
- .PP
- \fBParameters:\fP
- .RS 4
- \fIpen\fP Pen
- .RE
- .PP
- \fBSee Also:\fP
- .RS 4
- \fBsetPen()\fP, \fBsetMajorGridPen()\fP, \fBminorGridPen()\fP
- .RE
- .PP
- .SS "void QwtPolarGrid::setMinorGridPen (intscaleId, const QPen &pen)"
- Assign a pen for the minor grid lines of a specific scale
- .PP
- \fBParameters:\fP
- .RS 4
- \fIscaleId\fP Scale id ( QwtPolar::Scale )
- .br
- \fIpen\fP Pen
- .RE
- .PP
- \fBSee Also:\fP
- .RS 4
- \fBsetPen()\fP, \fBsetMajorGridPen()\fP, \fBminorGridPen\fP
- .RE
- .PP
- .SS "void QwtPolarGrid::setPen (const QPen &pen)"
- Assign a pen for all axes and grid lines
- .PP
- \fBParameters:\fP
- .RS 4
- \fIpen\fP Pen
- .RE
- .PP
- \fBSee Also:\fP
- .RS 4
- \fBsetMajorGridPen()\fP, \fBsetMinorGridPen()\fP, \fBsetAxisPen()\fP
- .RE
- .PP
- .SS "void QwtPolarGrid::setScaleDraw (intaxisId, QwtScaleDraw *scaleDraw)"
- .PP
- Set a scale draw\&.
- .PP
- \fBParameters:\fP
- .RS 4
- \fIaxisId\fP axis index ( QwtPolar::AxisLeft <= axisId <= QwtPolar::AxisBottom)
- .br
- \fIscaleDraw\fP object responsible for drawing scales\&.
- .RE
- .PP
- \fBSee Also:\fP
- .RS 4
- \fBscaleDraw()\fP, \fBsetAzimuthScaleDraw()\fP
- .RE
- .PP
- .SS "void QwtPolarGrid::showAxis (intaxisId, boolshow = \fCtrue\fP)"
- Show/Hide an axis
- .PP
- \fBParameters:\fP
- .RS 4
- \fIaxisId\fP Axis id (QwtPolar::Axis)
- .br
- \fIshow\fP true/false
- .RE
- .PP
- \fBSee Also:\fP
- .RS 4
- \fBisAxisVisible()\fP
- .RE
- .PP
- .SS "void QwtPolarGrid::showGrid (intscaleId, boolshow = \fCtrue\fP)"
- Show/Hide grid lines for a scale
- .PP
- \fBParameters:\fP
- .RS 4
- \fIscaleId\fP Scale id ( QwtPolar::Scale )
- .br
- \fIshow\fP true/false
- .RE
- .PP
- .SS "void QwtPolarGrid::showMinorGrid (intscaleId, boolshow = \fCtrue\fP)"
- Show/Hide minor grid lines for a scale
- .PP
- To display minor grid lines\&. \fBshowGrid()\fP needs to be enabled too\&.
- .PP
- \fBParameters:\fP
- .RS 4
- \fIscaleId\fP Scale id ( QwtPolar::Scale )
- .br
- \fIshow\fP true/false
- .RE
- .PP
- \fBSee Also:\fP
- .RS 4
- \fBshowGrid\fP
- .RE
- .PP
- .SS "bool QwtPolarGrid::testDisplayFlag (\fBDisplayFlag\fPflag) const"
- .PP
- \fBReturns:\fP
- .RS 4
- true, if flag is enabled
- .RE
- .PP
- \fBParameters:\fP
- .RS 4
- \fIflag\fP See DisplayFlag
- .RE
- .PP
- .SS "bool QwtPolarGrid::testGridAttribute (\fBGridAttribute\fPattribute) const"
- .PP
- \fBReturns:\fP
- .RS 4
- true, if attribute is enabled
- .RE
- .PP
- \fBSee Also:\fP
- .RS 4
- \fBGridAttribute\fP, \fBsetGridAttribute()\fP
- .RE
- .PP
- .SS "void QwtPolarGrid::updateScaleDiv (const QwtScaleDiv &azimuthScaleDiv, const QwtScaleDiv &radialScaleDiv, const QwtInterval &interval)\fC [virtual]\fP"
- .PP
- Update the item to changes of the axes scale division\&. If AutoScaling is enabled the radial scale is calculated from the interval, otherwise the scales are adopted to the plot scales\&.
- .PP
- \fBParameters:\fP
- .RS 4
- \fIazimuthScaleDiv\fP Scale division of the azimuth-scale
- .br
- \fIradialScaleDiv\fP Scale division of the radius-axis
- .br
- \fIinterval\fP The interval of the radius-axis, that is visible on the canvas
- .RE
- .PP
- \fBSee Also:\fP
- .RS 4
- QwtPolarPlot::setGridAttributes()
- .RE
- .PP
- .PP
- Reimplemented from \fBQwtPolarItem\fP\&.
- .SH "Author"
- .PP
- Generated automatically by Doxygen for Qwt Polar User's Guide from the source code\&.
|