改进代码

This commit is contained in:
feiyangqingyun
2021-10-08 10:52:05 +08:00
parent f6923b97a2
commit 200b7eeafb
171 changed files with 2894 additions and 1940 deletions

View File

@@ -117,7 +117,7 @@ Qt::Orientation QwtScaleDraw::orientation() const
\param start Start border distance
\param end End border distance
*/
void QwtScaleDraw::getBorderDistHint(
void QwtScaleDraw::getBorderDistHint(
const QFont &font, int &start, int &end ) const
{
start = 0;
@@ -234,7 +234,7 @@ int QwtScaleDraw::minLabelDist( const QFont &font ) const
maxDist = dist;
}
double angle = qwtRadians( labelRotation() );
double angle = qwtRadians( labelRotation() );
if ( vertical )
angle += M_PI / 2;
@@ -347,7 +347,7 @@ int QwtScaleDraw::minLength( const QFont &font ) const
/*!
Find the position, where to paint a label
The position has a distance that depends on the length of the ticks
The position has a distance that depends on the length of the ticks
in direction of the alignment().
\param value Value