Skip to content
Permalink
Browse files

Fix mention of compositions in dox

  • Loading branch information
github-actions authored and nirvn committed Feb 6, 2020
1 parent 5bbb1e8 commit b446bc018500840d1b55150185d2cb5bcdecde7e
@@ -153,7 +153,7 @@ Sets the ``offset`` added to the picture's rotation from a map's North.

ResizeMode resizeMode() const;
%Docstring
Returns the resize mode used for drawing the picture within the composer
Returns the resize mode used for drawing the picture within the layout
item's frame.

.. seealso:: :py:func:`setResizeMode`
@@ -22,7 +22,7 @@ typedef QVector< QgsLayoutTableColumn * > QgsLayoutTableColumns;
class QgsLayoutTableStyle
{
%Docstring
Styling option for a composer table cell
Styling option for a layout table cell

.. versionadded:: 3.0
%End
@@ -199,7 +199,7 @@ Sets the sort ``rank`` for the column. If the sort rank is > 0 then the column
will be sorted in the table. The sort rank specifies the priority given to the
column when the table is sorted by multiple columns, with lower sort ranks
having higher priority. This property is only used when the column
is part of a :py:class:`QgsComposerAttributeTable`.
is part of a :py:class:`QgsLayoutItemAttributeTable`.
If the sort ``rank`` is <= 0 then the column is not being sorted.

.. note::
@@ -550,7 +550,7 @@ an absolute path.

QgsLayoutManager *layoutManager();
%Docstring
Returns the project's layout manager, which manages compositions within
Returns the project's layout manager, which manages print layouts, atlases and reports within
the project.

.. versionadded:: 3.0
@@ -155,7 +155,7 @@ class CORE_EXPORT QgsLayoutItemPicture: public QgsLayoutItem
void setNorthOffset( double offset );

/**
* Returns the resize mode used for drawing the picture within the composer
* Returns the resize mode used for drawing the picture within the layout
* item's frame.
* \see setResizeMode()
*/
@@ -496,7 +496,7 @@ class CORE_EXPORT QgsLayoutItemScaleBar: public QgsLayoutItem
//! Calculates with of a segment in mm and stores it in mSegmentMillimeters
void refreshSegmentMillimeters();

//! Returns diagonal of composer map in selected units (map units / meters / feet / nautical miles)
//! Returns diagonal of layout map in selected units (map units / meters / feet / nautical miles)
double mapWidth() const;

QgsScaleBarRenderer::ScaleBarContext createScaleContext() const;
@@ -30,7 +30,7 @@ class QgsLayoutTableColumn;
/**
* \ingroup core
* List of QVariants, representing a the contents of a single row in
* a QgsComposerTable
* a QgsLayoutTable
* \since QGIS 3.0
*/
typedef QVector< QVariant > QgsLayoutTableRow;
@@ -59,7 +59,7 @@ typedef QVector< QgsLayoutTableColumn * > QgsLayoutTableColumns;
/**
* \ingroup core
* \class QgsLayoutTableStyle
* \brief Styling option for a composer table cell
* \brief Styling option for a layout table cell
* \since QGIS 3.0
*/

@@ -173,7 +173,7 @@ class CORE_EXPORT QgsLayoutTableColumn : public QObject
* will be sorted in the table. The sort rank specifies the priority given to the
* column when the table is sorted by multiple columns, with lower sort ranks
* having higher priority. This property is only used when the column
* is part of a QgsComposerAttributeTable.
* is part of a QgsLayoutItemAttributeTable.
* If the sort \a rank is <= 0 then the column is not being sorted.
*
* \note only applicable when used in a QgsLayoutItemAttributeTable
@@ -534,15 +534,15 @@ class CORE_EXPORT QgsProject : public QObject, public QgsExpressionContextGenera
QgsRelationManager *relationManager() const;

/**
* Returns the project's layout manager, which manages compositions within
* Returns the project's layout manager, which manages print layouts, atlases and reports within
* the project.
* \note not available in Python bindings
* \since QGIS 3.0
*/
const QgsLayoutManager *layoutManager() const SIP_SKIP;

/**
* Returns the project's layout manager, which manages compositions within
* Returns the project's layout manager, which manages print layouts, atlases and reports within
* the project.
* \since QGIS 3.0
*/

0 comments on commit b446bc0

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