mirror of
				https://github.com/qgis/QGIS.git
				synced 2025-11-04 00:04:25 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			94 lines
		
	
	
		
			2.8 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			94 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.py again   *
 | 
						|
 ************************************************************************/
 | 
						|
 | 
						|
 | 
						|
 | 
						|
 | 
						|
class QgsLayoutItemPropertiesDialog : QDialog
 | 
						|
{
 | 
						|
%Docstring(signature="appended")
 | 
						|
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.
 | 
						|
%End
 | 
						|
 | 
						|
%TypeHeaderCode
 | 
						|
#include "qgslayoutnewitempropertiesdialog.h"
 | 
						|
%End
 | 
						|
  public:
 | 
						|
    QgsLayoutItemPropertiesDialog( QWidget *parent = 0, Qt::WindowFlags flags = Qt::WindowFlags() );
 | 
						|
%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.py again   *
 | 
						|
 ************************************************************************/
 |