Skip to content
Permalink
Browse files

more cosmetics

  • Loading branch information
jef-n committed Oct 22, 2011
1 parent d8540c0 commit a2a6e78675833a4db0286a85354bf168032d2b49
Showing with 155 additions and 142 deletions.
  1. +3 −2 src/analysis/interpolation/qgsgridfilewriter.cpp
  2. +4 −3 src/analysis/raster/qgsaspectfilter.h
  3. +2 −2 src/analysis/raster/qgsderivativefilter.cpp
  4. +3 −2 src/analysis/raster/qgsderivativefilter.h
  5. +5 −5 src/analysis/raster/qgsninecellfilter.cpp
  6. +6 −5 src/analysis/raster/qgsninecellfilter.h
  7. +1 −1 src/analysis/raster/qgsruggednessfilter.cpp
  8. +1 −1 src/analysis/raster/qgsruggednessfilter.h
  9. +3 −3 src/analysis/raster/qgsslopefilter.cpp
  10. +4 −3 src/analysis/raster/qgsslopefilter.h
  11. +5 −5 src/analysis/raster/qgstotalcurvaturefilter.cpp
  12. +4 −3 src/analysis/raster/qgstotalcurvaturefilter.h
  13. +2 −2 src/analysis/vector/qgsoverlayanalyzer.h
  14. +3 −3 src/analysis/vector/qgszonalstatistics.h
  15. +1 −1 src/app/composer/qgscomposermanager.h
  16. +1 −1 src/app/qgisapp.cpp
  17. +1 −1 src/app/qgsdecorationscalebardialog.cpp
  18. +1 −1 src/app/qgsfieldcalculator.cpp
  19. +2 −2 src/app/qgsformannotationdialog.cpp
  20. +2 −2 src/app/qgsmaptooladdvertex.cpp
  21. +1 −1 src/app/qgsmaptoolrotatepointsymbols.h
  22. +1 −1 src/app/qgspointrotationitem.h
  23. +1 −1 src/core/composer/qgscomposerarrow.cpp
  24. +2 −1 src/core/composer/qgscomposerattributetable.cpp
  25. +1 −1 src/core/composer/qgscomposeritem.h
  26. +2 −2 src/core/composer/qgscomposerlabel.cpp
  27. +6 −6 src/core/composer/qgscomposermap.cpp
  28. +2 −2 src/core/composer/qgscomposerpicture.cpp
  29. +1 −1 src/core/composer/qgscomposertable.cpp
  30. +1 −1 src/core/composer/qgscomposertable.h
  31. +6 −6 src/core/qgsexpression.cpp
  32. +1 −1 src/core/qgsgeometry.cpp
  33. +1 −1 src/core/qgsgeometry.h
  34. +1 −1 src/core/qgspalgeometry.h
  35. +5 −2 src/core/qgspallabeling.cpp
  36. +1 −1 src/core/qgspallabeling.h
  37. +6 −6 src/gui/qgsannotationitem.cpp
  38. +4 −4 src/gui/qgsexpressionbuilderwidget.cpp
  39. +5 −5 src/gui/qgsformannotationitem.cpp
  40. +4 −2 src/mapserver/qgis_map_serv.cpp
  41. +1 −1 src/mapserver/qgscomparisonfilter.h
  42. +8 −4 src/mapserver/qgsconfigparser.cpp
  43. +1 −1 src/mapserver/qgsconfigparser.h
  44. +1 −1 src/mapserver/qgshttprequesthandler.cpp
  45. +1 −1 src/mapserver/qgsmslayerbuilder.h
  46. +1 −1 src/mapserver/qgssldrule.h
  47. +2 −2 src/mapserver/qgswmsserver.h
  48. +1 −1 src/plugins/diagram_overlay/qgsbardiagramfactory.h
  49. +3 −3 src/plugins/diagram_overlay/qgsdiagramfactory.h
  50. +1 −1 src/plugins/diagram_overlay/qgsdiagramrenderer.h
  51. +1 −1 src/plugins/diagram_overlay/qgssvgdiagramfactory.h
  52. +1 −1 src/plugins/georeferencer/qgsgcpcanvasitem.cpp
  53. +5 −3 src/plugins/georeferencer/qgsgeorefplugingui.cpp
  54. +2 −2 src/plugins/georeferencer/qgsgeoreftransform.cpp
  55. +1 −1 src/plugins/georeferencer/qgsresidualplotitem.h
  56. +4 −6 src/plugins/globe/globe_plugin.cpp
  57. +0 −3 src/plugins/globe/globe_plugin_dialog.h
  58. +5 −5 src/plugins/globe/qgsosgearthtilesource.cpp
  59. +3 −3 src/plugins/grass/qgsgrassselect.cpp
  60. +1 −1 src/plugins/interpolation/qgsinterpolationdialog.cpp
  61. +1 −1 src/plugins/point_displacement_renderer/qgspointdisplacementrenderer.cpp
  62. +1 −1 src/plugins/point_displacement_renderer/qgspointdisplacementrenderer.h
  63. +2 −2 src/plugins/point_displacement_renderer/qgspointdisplacementrendererwidget.cpp
  64. +1 −1 src/providers/wfs/qgswfsdata.h
  65. +1 −1 src/providers/wfs/qgswfsprovider.cpp
@@ -20,8 +20,9 @@
#include <QFile>
#include <QProgressDialog>

QgsGridFileWriter::QgsGridFileWriter( QgsInterpolator* i, QString outputPath, QgsRectangle extent, int nCols, int nRows , double cellSizeX, double cellSizeY ): \
mInterpolator( i ), mOutputFilePath( outputPath ), mInterpolationExtent( extent ), mNumColumns( nCols ), mNumRows( nRows ), mCellSizeX( cellSizeX ), mCellSizeY( cellSizeY )
QgsGridFileWriter::QgsGridFileWriter( QgsInterpolator* i, QString outputPath, QgsRectangle extent, int nCols, int nRows , double cellSizeX, double cellSizeY )
: mInterpolator( i ), mOutputFilePath( outputPath ), mInterpolationExtent( extent ), mNumColumns( nCols ), mNumRows( nRows )
, mCellSizeX( cellSizeX ), mCellSizeY( cellSizeY )
{

}
@@ -29,10 +29,11 @@ class ANALYSIS_EXPORT QgsAspectFilter: public QgsDerivativeFilter

protected:
protected:
/**Calculates output value from nine input values. The input values and the output value can be equal to the \
/**Calculates output value from nine input values. The input values and the output value can be equal to the
nodata value if not present or outside of the border. Must be implemented by subclasses*/
float processNineCellWindow( float* x11, float* x21, float* x31, \
float* x12, float* x22, float* x32, float* x13, float* x23, float* x33 );
float processNineCellWindow( float* x11, float* x21, float* x31,
float* x12, float* x22, float* x32,
float* x13, float* x23, float* x33 );
};

#endif // QGSASPECTFILTER_H
@@ -17,8 +17,8 @@

#include "qgsderivativefilter.h"

QgsDerivativeFilter::QgsDerivativeFilter( const QString& inputFile, const QString& outputFile, const QString& outputFormat ): \
QgsNineCellFilter( inputFile, outputFile, outputFormat )
QgsDerivativeFilter::QgsDerivativeFilter( const QString& inputFile, const QString& outputFile, const QString& outputFormat )
: QgsNineCellFilter( inputFile, outputFile, outputFormat )
{

}
@@ -27,8 +27,9 @@ class QgsDerivativeFilter: public QgsNineCellFilter
QgsDerivativeFilter( const QString& inputFile, const QString& outputFile, const QString& outputFormat );
virtual ~QgsDerivativeFilter();
//to be implemented by subclasses
virtual float processNineCellWindow( float* x11, float* x21, float* x31, float* x12, float* x22, \
float* x32, float* x13, float* x23, float* x33 ) = 0;
virtual float processNineCellWindow( float* x11, float* x21, float* x31,
float* x12, float* x22, float* x32,
float* x13, float* x23, float* x33 ) = 0;

protected:
/**Calculates the first order derivative in x-direction according to Horn (1981)*/
@@ -25,8 +25,8 @@
#define TO8(x) (x).toLocal8Bit().constData()
#endif

QgsNineCellFilter::QgsNineCellFilter( const QString& inputFile, const QString& outputFile, const QString& outputFormat ): \
mInputFile( inputFile ), mOutputFile( outputFile ), mOutputFormat( outputFormat ), mCellSizeX( -1 ), mCellSizeY( -1 ), mInputNodataValue( -1 ), mOutputNodataValue( -1 )
QgsNineCellFilter::QgsNineCellFilter( const QString& inputFile, const QString& outputFile, const QString& outputFormat )
: mInputFile( inputFile ), mOutputFile( outputFile ), mOutputFormat( outputFormat ), mCellSizeX( -1 ), mCellSizeY( -1 ), mInputNodataValue( -1 ), mOutputNodataValue( -1 )
{

}
@@ -153,17 +153,17 @@ int QgsNineCellFilter::processRaster( QProgressDialog* p )
{
if ( j == 0 )
{
resultLine[j] = processNineCellWindow( &mInputNodataValue, &scanLine1[j], &scanLine1[j+1], &mInputNodataValue, &scanLine2[j], \
resultLine[j] = processNineCellWindow( &mInputNodataValue, &scanLine1[j], &scanLine1[j+1], &mInputNodataValue, &scanLine2[j],
&scanLine2[j+1], &mInputNodataValue, &scanLine3[j], &scanLine3[j+1] );
}
else if ( j == xSize - 1 )
{
resultLine[j] = processNineCellWindow( &scanLine1[j-1], &scanLine1[j], &mInputNodataValue, &scanLine2[j-1], &scanLine2[j], \
resultLine[j] = processNineCellWindow( &scanLine1[j-1], &scanLine1[j], &mInputNodataValue, &scanLine2[j-1], &scanLine2[j],
&mInputNodataValue, &scanLine3[j-1], &scanLine3[j], &mInputNodataValue );
}
else
{
resultLine[j] = processNineCellWindow( &scanLine1[j-1], &scanLine1[j], &scanLine1[j+1], &scanLine2[j-1], &scanLine2[j], \
resultLine[j] = processNineCellWindow( &scanLine1[j-1], &scanLine1[j], &scanLine1[j+1], &scanLine2[j-1], &scanLine2[j],
&scanLine2[j+1], &scanLine3[j-1], &scanLine3[j], &scanLine3[j+1] );
}
}
@@ -23,8 +23,8 @@

class QProgressDialog;

/**Base class for raster analysis methods that work with a 3x3 cell filter and calculate the value of each cell based on \
the cell value and the eight neighbour cells. Common examples are slope and aspect calculation in DEMs. Subclasses only implement \
/**Base class for raster analysis methods that work with a 3x3 cell filter and calculate the value of each cell based on
the cell value and the eight neighbour cells. Common examples are slope and aspect calculation in DEMs. Subclasses only implement
the method that calculates the new value from the nine values. Everything else (reading file, writing file) is done by this subclass*/

class ANALYSIS_EXPORT QgsNineCellFilter
@@ -52,10 +52,11 @@ class ANALYSIS_EXPORT QgsNineCellFilter
GDALDatasetH openOutputFile( GDALDatasetH inputDataset, GDALDriverH outputDriver );

protected:
/**Calculates output value from nine input values. The input values and the output value can be equal to the \
/**Calculates output value from nine input values. The input values and the output value can be equal to the
nodata value if not present or outside of the border. Must be implemented by subclasses*/
virtual float processNineCellWindow( float* x11, float* x21, float* x31, \
float* x12, float* x22, float* x32, float* x13, float* x23, float* x33 ) = 0;
virtual float processNineCellWindow( float* x11, float* x21, float* x31,
float* x12, float* x22, float* x32,
float* x13, float* x23, float* x33 ) = 0;

QString mInputFile;
QString mOutputFile;
@@ -33,7 +33,7 @@ QgsRuggednessFilter::~QgsRuggednessFilter()

}

float QgsRuggednessFilter::processNineCellWindow( float* x11, float* x21, float* x31, \
float QgsRuggednessFilter::processNineCellWindow( float* x11, float* x21, float* x31,
float* x12, float* x22, float* x32, float* x13, float* x23, float* x33 )
{
//the formula would be that easy without nodata values...
@@ -29,7 +29,7 @@ class ANALYSIS_EXPORT QgsRuggednessFilter: public QgsNineCellFilter
~QgsRuggednessFilter();

protected:
/**Calculates output value from nine input values. The input values and the output value can be equal to the \
/**Calculates output value from nine input values. The input values and the output value can be equal to the
nodata value if not present or outside of the border. Must be implemented by subclasses*/
float processNineCellWindow( float* x11, float* x21, float* x31, \
float* x12, float* x22, float* x32, float* x13, float* x23, float* x33 );
@@ -17,8 +17,8 @@

#include "qgsslopefilter.h"

QgsSlopeFilter::QgsSlopeFilter( const QString& inputFile, const QString& outputFile, const QString& outputFormat ): \
QgsDerivativeFilter( inputFile, outputFile, outputFormat )
QgsSlopeFilter::QgsSlopeFilter( const QString& inputFile, const QString& outputFile, const QString& outputFormat )
: QgsDerivativeFilter( inputFile, outputFile, outputFormat )
{

}
@@ -28,7 +28,7 @@ QgsSlopeFilter::~QgsSlopeFilter()

}

float QgsSlopeFilter::processNineCellWindow( float* x11, float* x21, float* x31, \
float QgsSlopeFilter::processNineCellWindow( float* x11, float* x21, float* x31,
float* x12, float* x22, float* x32, float* x13, float* x23, float* x33 )
{
float derX = calcFirstDerX( x11, x21, x31, x12, x22, x32, x13, x23, x33 );
@@ -28,10 +28,11 @@ class ANALYSIS_EXPORT QgsSlopeFilter: public QgsDerivativeFilter
~QgsSlopeFilter();

protected:
/**Calculates output value from nine input values. The input values and the output value can be equal to the \
/**Calculates output value from nine input values. The input values and the output value can be equal to the
nodata value if not present or outside of the border. Must be implemented by subclasses*/
float processNineCellWindow( float* x11, float* x21, float* x31, \
float* x12, float* x22, float* x32, float* x13, float* x23, float* x33 );
float processNineCellWindow( float* x11, float* x21, float* x31,
float* x12, float* x22, float* x32,
float* x13, float* x23, float* x33 );
};

#endif // QGSSLOPEFILTER_H
@@ -17,8 +17,8 @@

#include "qgstotalcurvaturefilter.h"

QgsTotalCurvatureFilter::QgsTotalCurvatureFilter( const QString& inputFile, const QString& outputFile, const QString& outputFormat ): \
QgsNineCellFilter( inputFile, outputFile, outputFormat )
QgsTotalCurvatureFilter::QgsTotalCurvatureFilter( const QString& inputFile, const QString& outputFile, const QString& outputFormat )
: QgsNineCellFilter( inputFile, outputFile, outputFormat )
{

}
@@ -28,12 +28,12 @@ QgsTotalCurvatureFilter::~QgsTotalCurvatureFilter()

}

float QgsTotalCurvatureFilter::processNineCellWindow( float* x11, float* x21, float* x31, float* x12, \
float QgsTotalCurvatureFilter::processNineCellWindow( float* x11, float* x21, float* x31, float* x12,
float* x22, float* x32, float* x13, float* x23, float* x33 )
{
//return nodata if one value is the nodata value
if ( *x11 == mInputNodataValue || *x21 == mInputNodataValue || *x31 == mInputNodataValue || *x12 == mInputNodataValue \
|| *x22 == mInputNodataValue || *x32 == mInputNodataValue || *x13 == mInputNodataValue || *x23 == mInputNodataValue \
if ( *x11 == mInputNodataValue || *x21 == mInputNodataValue || *x31 == mInputNodataValue || *x12 == mInputNodataValue
|| *x22 == mInputNodataValue || *x32 == mInputNodataValue || *x13 == mInputNodataValue || *x23 == mInputNodataValue
|| *x33 == mInputNodataValue )
{
return mOutputNodataValue;
@@ -28,10 +28,11 @@ class ANALYSIS_EXPORT QgsTotalCurvatureFilter: public QgsNineCellFilter
~QgsTotalCurvatureFilter();

protected:
/**Calculates total curvature from nine input values. The input values and the output value can be equal to the \
/**Calculates total curvature from nine input values. The input values and the output value can be equal to the
nodata value if not present or outside of the border. Must be implemented by subclasses*/
float processNineCellWindow( float* x11, float* x21, float* x31, \
float* x12, float* x22, float* x32, float* x13, float* x23, float* x33 );
float processNineCellWindow( float* x11, float* x21, float* x31,
float* x12, float* x22, float* x32,
float* x13, float* x23, float* x33 );
};

#endif // QGSTOTALCURVATUREFILTER_H
@@ -45,8 +45,8 @@ class ANALYSIS_EXPORT QgsOverlayAnalyzer
@param onlySelectedFeatures if true, only selected features are considered, else all the features
@param p progress dialog (or 0 if no progress dialog is to be shown)
@note: added in version 1.4*/
bool intersection( QgsVectorLayer* layerA, QgsVectorLayer* layerB, \
const QString& shapefileName, bool onlySelectedFeatures = false, \
bool intersection( QgsVectorLayer* layerA, QgsVectorLayer* layerB,
const QString& shapefileName, bool onlySelectedFeatures = false,
QProgressDialog* p = 0 );

#if 0
@@ -44,14 +44,14 @@ class ANALYSIS_EXPORT QgsZonalStatistics
int& offsetX, int& offsetY, int& nCellsX, int& nCellsY ) const;

/**Returns statistics by considering the pixels where the center point is within the polygon (fast)*/
void statisticsFromMiddlePointTest( void* band, QgsGeometry* poly, int pixelOffsetX, int pixelOffsetY, int nCellsX, int nCellsY, \
void statisticsFromMiddlePointTest( void* band, QgsGeometry* poly, int pixelOffsetX, int pixelOffsetY, int nCellsX, int nCellsY,
double cellSizeX, double cellSizeY, const QgsRectangle& rasterBBox, double& sum, double& count );

void statisticsFromMiddlePointTest_improved( void* band, QgsGeometry* poly, int pixelOffsetX, int pixelOffsetY, int nCellsX, int nCellsY, \
void statisticsFromMiddlePointTest_improved( void* band, QgsGeometry* poly, int pixelOffsetX, int pixelOffsetY, int nCellsX, int nCellsY,
double cellSizeX, double cellSizeY, const QgsRectangle& rasterBBox, double& sum, double& count );

/**Returns statistics with precise pixel - polygon intersection test (slow) */
void statisticsFromPreciseIntersection( void* band, QgsGeometry* poly, int pixelOffsetX, int pixelOffsetY, int nCellsX, int nCellsY, \
void statisticsFromPreciseIntersection( void* band, QgsGeometry* poly, int pixelOffsetX, int pixelOffsetY, int nCellsX, int nCellsY,
double cellSizeX, double cellSizeY, const QgsRectangle& rasterBBox, double& sum, double& count );


@@ -22,7 +22,7 @@
class QListWidgetItem;
class QgsComposer;

/**A dialog that shows the existing composer instances. Lets the user add new \
/**A dialog that shows the existing composer instances. Lets the user add new
instances and change title of existing ones*/
class QgsComposerManager: public QDialog, private Ui::QgsComposerManagerBase
{
@@ -3517,7 +3517,7 @@ QgsGeometry* QgisApp::unionGeometries( const QgsVectorLayer* vl, QgsFeatureList&

//convert unionGeom to a multipart geometry in case it is necessary to match the layer type
QGis::WkbType t = vl->wkbType();
bool layerIsMultiType = ( t == QGis::WKBMultiPoint || t == QGis::WKBMultiPoint25D || t == QGis::WKBMultiLineString \
bool layerIsMultiType = ( t == QGis::WKBMultiPoint || t == QGis::WKBMultiPoint25D || t == QGis::WKBMultiLineString
|| t == QGis::WKBMultiLineString25D || t == QGis::WKBMultiPolygon || t == QGis::WKBMultiPoint25D );
if ( layerIsMultiType && !unionGeom->isMultipart() )
{
@@ -42,7 +42,7 @@ QgsDecorationScaleBarDialog::QgsDecorationScaleBarDialog( QgsDecorationScaleBar&
spnSize->setValue( mDeco.mPreferredSize );

chkSnapping->setChecked( mDeco.mSnapping );
\

cboPlacement->clear();
cboPlacement->addItems( mDeco.mPlacementLabels );
cboPlacement->setCurrentIndex( mDeco.mPlacementIndex );
@@ -476,7 +476,7 @@ void QgsFieldCalculator::getFieldValues( int limit )
void QgsFieldCalculator::setOkButtonState()
{
bool okEnabled = true;
if (( mOutputFieldNameLineEdit->text().isEmpty() && mUpdateExistingFieldCheckBox->checkState() == Qt::Unchecked )\
if (( mOutputFieldNameLineEdit->text().isEmpty() && mUpdateExistingFieldCheckBox->checkState() == Qt::Unchecked )
|| mExpressionTextEdit->toPlainText().isEmpty() )
{
okEnabled = false;
@@ -5,8 +5,8 @@
#include <QFileInfo>
#include <QGraphicsScene>

QgsFormAnnotationDialog::QgsFormAnnotationDialog( QgsFormAnnotationItem* item, QWidget * parent, Qt::WindowFlags f ): \
QDialog( parent, f ), mItem( item ), mEmbeddedWidget( 0 )
QgsFormAnnotationDialog::QgsFormAnnotationDialog( QgsFormAnnotationItem* item, QWidget * parent, Qt::WindowFlags f )
: QDialog( parent, f ), mItem( item ), mEmbeddedWidget( 0 )
{
setupUi( this );
mEmbeddedWidget = new QgsAnnotationWidget( mItem );
@@ -104,8 +104,8 @@ void QgsMapToolAddVertex::canvasReleaseEvent( QMouseEvent * e )
QList<QgsSnappingResult>::iterator filterIt = filteredSnapResults.begin();
for ( ; filterIt != filteredSnapResults.end(); ++filterIt )
{
if ( filterIt->snappedAtGeometry == recentIt->snappedAtGeometry \
&& filterIt->snappedVertexNr == recentIt->snappedVertexNr \
if ( filterIt->snappedAtGeometry == recentIt->snappedAtGeometry
&& filterIt->snappedVertexNr == recentIt->snappedVertexNr
&& filterIt->beforeVertexNr == recentIt->beforeVertexNr )
{
filteredSnapResults.erase( filterIt );
@@ -36,7 +36,7 @@ class QgsMapToolRotatePointSymbols: public QgsMapToolEdit

bool isEditTool() {return true;}

/**Returns true if the symbols of a maplayer can be rotated. This means the layer \
/**Returns true if the symbols of a maplayer can be rotated. This means the layer
is a vector layer, has type point or multipoint and has at least one rotation attribute in the renderer*/
static bool layerIsRotatable( QgsMapLayer* ml );

@@ -39,7 +39,7 @@ class QgsPointRotationItem: public QgsMapCanvasItem
/**Sets the center point of the rotation symbol (in map coordinates)*/
void setPointLocation( const QgsPoint& p );

/**Sets the rotation of the symbol and displays the new rotation number. \
/**Sets the rotation of the symbol and displays the new rotation number.
Units are degrees, starting from north direction, clockwise direction*/
void setSymbolRotation( int r ) {mRotation = r;}

@@ -260,7 +260,7 @@ void QgsComposerArrow::setArrowHeadWidth( double width )
void QgsComposerArrow::adaptItemSceneRect()
{
//rectangle containing start and end point
QRectF rect = QRectF( qMin( mStartPoint.x(), mStopPoint.x() ), qMin( mStartPoint.y(), mStopPoint.y() ), \
QRectF rect = QRectF( qMin( mStartPoint.x(), mStopPoint.x() ), qMin( mStartPoint.y(), mStopPoint.y() ),
qAbs( mStopPoint.x() - mStartPoint.x() ), qAbs( mStopPoint.y() - mStartPoint.y() ) );
double enlarge = 0;
if ( mMarkerMode == DefaultMarker )
@@ -43,7 +43,8 @@ bool QgsComposerAttributeTableCompare::operator()( const QgsAttributeMap& m1, co
}


QgsComposerAttributeTable::QgsComposerAttributeTable( QgsComposition* composition ): QgsComposerTable( composition ), mVectorLayer( 0 ), mComposerMap( 0 ), \
QgsComposerAttributeTable::QgsComposerAttributeTable( QgsComposition* composition )
: QgsComposerTable( composition ), mVectorLayer( 0 ), mComposerMap( 0 ),
mMaximumNumberOfFeatures( 5 ), mShowOnlyVisibleFeatures( true )
{
//set first vector layer from layer registry as default one
@@ -296,7 +296,7 @@ class CORE_EXPORT QgsComposerItem: public QObject, public QGraphicsRectItem
/**Returns angle of the line from p1 to p2 (clockwise, starting at N)*/
double angle( const QPointF& p1, const QPointF& p2 ) const;

/**Returns the current (zoom level dependent) tolerance to decide if mouse position is close enough to the \
/**Returns the current (zoom level dependent) tolerance to decide if mouse position is close enough to the
item border for resizing*/
double rectHandlerBorderTolerance() const;

0 comments on commit a2a6e78

Please sign in to comment.
You can’t perform that action at this time.