|
QGIS API Documentation 3.99.0-Master (2fe06baccd8)
|
A dialog for configuring properties like the size and position of layout items. More...
#include <qgslayoutnewitempropertiesdialog.h>

Public Member Functions | |
| QgsLayoutItemPropertiesDialog (QWidget *parent=nullptr, Qt::WindowFlags flags=Qt::WindowFlags()) | |
| Constructor for QgsLayoutNewItemPropertiesDialog. | |
| QgsLayoutPoint | itemPosition () const |
| Returns the current item position defined by the dialog. | |
| QgsLayoutSize | itemSize () const |
| Returns the item size defined by the dialog. | |
| int | page () const |
| Returns the page number for the new item. | |
| QgsLayoutItem::ReferencePoint | referencePoint () const |
| Returns the item reference point defined by the dialog. | |
| void | setItemPosition (QgsLayoutPoint position) |
| Sets the item position to show in the dialog. | |
| void | setItemSize (QgsLayoutSize size) |
| Sets the item size to show in the dialog. | |
| void | setLayout (QgsLayout *layout) |
| Sets the layout associated with the dialog. | |
| void | setReferencePoint (QgsLayoutItem::ReferencePoint point) |
| Sets the item reference point defined to show in the dialog. | |
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.
Definition at line 35 of file qgslayoutnewitempropertiesdialog.h.
| QgsLayoutItemPropertiesDialog::QgsLayoutItemPropertiesDialog | ( | QWidget * | parent = nullptr, |
| Qt::WindowFlags | flags = Qt::WindowFlags() ) |
Constructor for QgsLayoutNewItemPropertiesDialog.
Definition at line 29 of file qgslayoutnewitempropertiesdialog.cpp.
| QgsLayoutPoint QgsLayoutItemPropertiesDialog::itemPosition | ( | ) | const |
Returns the current item position defined by the dialog.
Definition at line 81 of file qgslayoutnewitempropertiesdialog.cpp.
| QgsLayoutSize QgsLayoutItemPropertiesDialog::itemSize | ( | ) | const |
Returns the item size defined by the dialog.
Definition at line 98 of file qgslayoutnewitempropertiesdialog.cpp.
| int QgsLayoutItemPropertiesDialog::page | ( | ) | const |
Returns the page number for the new item.
Definition at line 86 of file qgslayoutnewitempropertiesdialog.cpp.
| QgsLayoutItem::ReferencePoint QgsLayoutItemPropertiesDialog::referencePoint | ( | ) | const |
Returns the item reference point defined by the dialog.
Definition at line 103 of file qgslayoutnewitempropertiesdialog.cpp.
| void QgsLayoutItemPropertiesDialog::setItemPosition | ( | QgsLayoutPoint | position | ) |
Sets the item position to show in the dialog.
Definition at line 66 of file qgslayoutnewitempropertiesdialog.cpp.
| void QgsLayoutItemPropertiesDialog::setItemSize | ( | QgsLayoutSize | size | ) |
Sets the item size to show in the dialog.
Definition at line 91 of file qgslayoutnewitempropertiesdialog.cpp.
| void QgsLayoutItemPropertiesDialog::setLayout | ( | QgsLayout * | layout | ) |
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.
Definition at line 186 of file qgslayoutnewitempropertiesdialog.cpp.
| void QgsLayoutItemPropertiesDialog::setReferencePoint | ( | QgsLayoutItem::ReferencePoint | point | ) |
Sets the item reference point defined to show in the dialog.
Definition at line 144 of file qgslayoutnewitempropertiesdialog.cpp.