mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-21 00:05:53 -04:00
Renamed some private vars to follow coding guidelines
This commit is contained in:
parent
4302910f94
commit
4dc5b5698a
@ -31,7 +31,7 @@ void QgsLayoutNodesItem::setNodes( const QPolygonF &nodes )
|
||||
|
||||
QRectF QgsLayoutNodesItem::boundingRect() const
|
||||
{
|
||||
return currentRectangle;
|
||||
return mCurrentRectangle;
|
||||
}
|
||||
|
||||
double QgsLayoutNodesItem::estimatedFrameBleed() const
|
||||
@ -336,7 +336,7 @@ void QgsLayoutNodesItem::updateBoundingRect()
|
||||
{
|
||||
QRectF br = rect();
|
||||
br.adjust( -mMaxSymbolBleed, -mMaxSymbolBleed, mMaxSymbolBleed, mMaxSymbolBleed );
|
||||
currentRectangle = br;
|
||||
mCurrentRectangle = br;
|
||||
|
||||
// update
|
||||
prepareGeometryChange();
|
||||
|
@ -165,7 +165,7 @@ class CORE_EXPORT QgsLayoutNodesItem: public QgsLayoutItem
|
||||
void updateSceneRect();
|
||||
|
||||
//! Current bounding rectangle of shape
|
||||
QRectF currentRectangle;
|
||||
QRectF mCurrentRectangle;
|
||||
|
||||
protected slots:
|
||||
|
||||
|
@ -420,7 +420,7 @@ void QgsLayoutItemPolyline::updateBoundingRect()
|
||||
|
||||
double margin = std::max( mMaxSymbolBleed, computeMarkerMargin() );
|
||||
br.adjust( -margin, -margin, margin, margin );
|
||||
currentRectangle = br;
|
||||
mCurrentRectangle = br;
|
||||
|
||||
// update
|
||||
prepareGeometryChange();
|
||||
|
@ -261,6 +261,8 @@ class CORE_EXPORT QgsLayoutItemPolyline: public QgsLayoutNodesItem
|
||||
double computeMarkerMargin() const;
|
||||
|
||||
friend class TestQgsLayoutPolyline;
|
||||
friend class QgsCompositionConverter;
|
||||
|
||||
};
|
||||
|
||||
#endif // QGSLAYOUTITEMPOLYLINE_H
|
||||
|
Loading…
x
Reference in New Issue
Block a user