mirror of
				https://github.com/qgis/QGIS.git
				synced 2025-11-04 00:04:25 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			64 lines
		
	
	
		
			2.0 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			64 lines
		
	
	
		
			2.0 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
/************************************************************************
 | 
						|
 * This file has been generated automatically from                      *
 | 
						|
 *                                                                      *
 | 
						|
 * src/gui/layout/qgslayoutviewtoolselect.h                             *
 | 
						|
 *                                                                      *
 | 
						|
 * Do not edit manually ! Edit header and run scripts/sipify.py again   *
 | 
						|
 ************************************************************************/
 | 
						|
 | 
						|
 | 
						|
 | 
						|
 | 
						|
class QgsLayoutViewToolSelect : QgsLayoutViewTool
 | 
						|
{
 | 
						|
%Docstring(signature="appended")
 | 
						|
Layout view tool for selecting items in the layout.
 | 
						|
%End
 | 
						|
 | 
						|
%TypeHeaderCode
 | 
						|
#include "qgslayoutviewtoolselect.h"
 | 
						|
%End
 | 
						|
  public:
 | 
						|
    QgsLayoutViewToolSelect( QgsLayoutView *view /TransferThis/ );
 | 
						|
%Docstring
 | 
						|
Constructor for QgsLayoutViewToolSelect.
 | 
						|
%End
 | 
						|
    ~QgsLayoutViewToolSelect();
 | 
						|
 | 
						|
    virtual void layoutPressEvent( QgsLayoutViewMouseEvent *event );
 | 
						|
 | 
						|
    virtual void layoutMoveEvent( QgsLayoutViewMouseEvent *event );
 | 
						|
 | 
						|
    virtual void layoutReleaseEvent( QgsLayoutViewMouseEvent *event );
 | 
						|
 | 
						|
    virtual void wheelEvent( QWheelEvent *event );
 | 
						|
 | 
						|
    virtual void keyPressEvent( QKeyEvent *event );
 | 
						|
 | 
						|
    virtual void deactivate();
 | 
						|
 | 
						|
 | 
						|
 | 
						|
 | 
						|
    void setLayout( QgsLayout *layout );
 | 
						|
%Docstring
 | 
						|
Sets the a ``layout``.
 | 
						|
%End
 | 
						|
 | 
						|
    double searchToleranceInLayoutUnits();
 | 
						|
%Docstring
 | 
						|
Compute the search tolerance in layout units from the view current scale
 | 
						|
 | 
						|
.. versionadded:: 3.34
 | 
						|
%End
 | 
						|
 | 
						|
};
 | 
						|
 | 
						|
/************************************************************************
 | 
						|
 * This file has been generated automatically from                      *
 | 
						|
 *                                                                      *
 | 
						|
 * src/gui/layout/qgslayoutviewtoolselect.h                             *
 | 
						|
 *                                                                      *
 | 
						|
 * Do not edit manually ! Edit header and run scripts/sipify.py again   *
 | 
						|
 ************************************************************************/
 |