mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-24 00:47:57 -05:00
96 lines
2.8 KiB
Plaintext
96 lines
2.8 KiB
Plaintext
/************************************************************************
|
|
* This file has been generated automatically from *
|
|
* *
|
|
* src/gui/layout/qgslayoutnewitempropertiesdialog.h *
|
|
* *
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
************************************************************************/
|
|
|
|
|
|
|
|
|
|
class QgsLayoutItemPropertiesDialog : QDialog
|
|
{
|
|
%Docstring
|
|
A dialog for configuring properties like the size and position of layout items.
|
|
|
|
This is usually used only when constructing new layout items, allowing users to precisely
|
|
enter their sizes and positions.
|
|
|
|
.. versionadded:: 3.0
|
|
%End
|
|
|
|
%TypeHeaderCode
|
|
#include "qgslayoutnewitempropertiesdialog.h"
|
|
%End
|
|
public:
|
|
|
|
QgsLayoutItemPropertiesDialog( QWidget *parent = 0, Qt::WindowFlags flags = 0 );
|
|
%Docstring
|
|
Constructor for :py:class:`QgsLayoutNewItemPropertiesDialog`.
|
|
%End
|
|
|
|
void setItemPosition( QgsLayoutPoint position );
|
|
%Docstring
|
|
Sets the item ``position`` to show in the dialog.
|
|
|
|
.. seealso:: :py:func:`itemPosition`
|
|
%End
|
|
|
|
QgsLayoutPoint itemPosition() const;
|
|
%Docstring
|
|
Returns the current item position defined by the dialog.
|
|
|
|
.. seealso:: :py:func:`setItemPosition`
|
|
%End
|
|
|
|
int page() const;
|
|
%Docstring
|
|
Returns the page number for the new item.
|
|
%End
|
|
|
|
void setItemSize( QgsLayoutSize size );
|
|
%Docstring
|
|
Sets the item ``size`` to show in the dialog.
|
|
|
|
.. seealso:: :py:func:`itemSize`
|
|
%End
|
|
|
|
QgsLayoutSize itemSize() const;
|
|
%Docstring
|
|
Returns the item size defined by the dialog.
|
|
|
|
.. seealso:: :py:func:`setItemSize`
|
|
%End
|
|
|
|
QgsLayoutItem::ReferencePoint referencePoint() const;
|
|
%Docstring
|
|
Returns the item reference point defined by the dialog.
|
|
|
|
.. seealso:: :py:func:`setReferencePoint`
|
|
%End
|
|
|
|
void setReferencePoint( QgsLayoutItem::ReferencePoint point );
|
|
%Docstring
|
|
Sets the item reference ``point`` defined to show in the dialog.
|
|
|
|
.. seealso:: :py:func:`referencePoint`
|
|
%End
|
|
|
|
void setLayout( QgsLayout *layout );
|
|
%Docstring
|
|
Sets the ``layout`` associated with the dialog. This allows the dialog
|
|
to retrieve properties from the layout and perform tasks like automatic
|
|
conversion of units.
|
|
%End
|
|
|
|
};
|
|
|
|
/************************************************************************
|
|
* This file has been generated automatically from *
|
|
* *
|
|
* src/gui/layout/qgslayoutnewitempropertiesdialog.h *
|
|
* *
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
************************************************************************/
|