Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Dox
  • Loading branch information
nyalldawson committed Jan 17, 2023
1 parent 92faed4 commit c126930
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
Expand Up @@ -43,8 +43,12 @@ The caller takes responsibility for deleting the returned object.
virtual void refreshDataDefinedProperty( QgsLayoutObject::DataDefinedProperty property = QgsLayoutObject::AllProperties );



Qgs2DPlot *plot();
%Docstring
Returns a reference to the elevation plot object, which can be used to
set plot appearance and properties.
%End


protected:
virtual void draw( QgsLayoutItemRenderContext &context );
Expand Down
10 changes: 9 additions & 1 deletion src/core/layout/qgslayoutitemelevationprofile.h
Expand Up @@ -52,8 +52,16 @@ class CORE_EXPORT QgsLayoutItemElevationProfile: public QgsLayoutItem
QIcon icon() const override;
void refreshDataDefinedProperty( QgsLayoutObject::DataDefinedProperty property = QgsLayoutObject::AllProperties ) override;


/**
* Returns a reference to the elevation plot object, which can be used to
* set plot appearance and properties.
*/
Qgs2DPlot *plot();

/**
* Returns a reference to the elevation plot object, which can be used to
* set plot appearance and properties.
*/
const Qgs2DPlot *plot() const SIP_SKIP;

protected:
Expand Down

0 comments on commit c126930

Please sign in to comment.