mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
Wrap QgsMapCanvasMap in PRIVATE condition to avoid sip/doc testing
This commit is contained in:
parent
ab4a83b49b
commit
0974f0b81b
@ -20,6 +20,8 @@
|
|||||||
|
|
||||||
#include <QPainter>
|
#include <QPainter>
|
||||||
|
|
||||||
|
/// @cond PRIVATE
|
||||||
|
|
||||||
QgsMapCanvasMap::QgsMapCanvasMap( QgsMapCanvas* canvas )
|
QgsMapCanvasMap::QgsMapCanvasMap( QgsMapCanvas* canvas )
|
||||||
: QgsMapCanvasItem( canvas )
|
: QgsMapCanvasItem( canvas )
|
||||||
{
|
{
|
||||||
@ -74,3 +76,5 @@ void QgsMapCanvasMap::paint( QPainter* painter )
|
|||||||
painter->drawRoundedRect( br, rad, rad );
|
painter->drawRoundedRect( br, rad, rad );
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// @endcond
|
||||||
|
@ -21,11 +21,12 @@
|
|||||||
class QgsMapSettings;
|
class QgsMapSettings;
|
||||||
class QgsMapCanvas;
|
class QgsMapCanvas;
|
||||||
|
|
||||||
|
/// @cond PRIVATE
|
||||||
|
|
||||||
/** \ingroup gui
|
/** \ingroup gui
|
||||||
* A rectangular graphics item representing the map on the canvas.
|
* A rectangular graphics item representing the map on the canvas.
|
||||||
*
|
*
|
||||||
* @note This class is not a part of public API
|
* @note This class is not a part of public API
|
||||||
* @note not available in Python bindings
|
|
||||||
*/
|
*/
|
||||||
class QgsMapCanvasMap : public QgsMapCanvasItem
|
class QgsMapCanvasMap : public QgsMapCanvasItem
|
||||||
{
|
{
|
||||||
@ -49,4 +50,6 @@ class QgsMapCanvasMap : public QgsMapCanvasItem
|
|||||||
QImage mImage;
|
QImage mImage;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/// @endcond
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user