mirror of
				https://github.com/qgis/QGIS.git
				synced 2025-10-31 00:06:02 -04:00 
			
		
		
		
	Move vector, project and network related core .cpp/.h files into dedicated subdirectories. An attempt to organise src/core better to make things easier to find.
		
			
				
	
	
		
			91 lines
		
	
	
		
			2.7 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			91 lines
		
	
	
		
			2.7 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| /************************************************************************
 | |
|  * This file has been generated automatically from                      *
 | |
|  *                                                                      *
 | |
|  * src/core/project/qgsprojectdisplaysettings.h                         *
 | |
|  *                                                                      *
 | |
|  * Do not edit manually ! Edit header and run scripts/sipify.pl again   *
 | |
|  ************************************************************************/
 | |
| 
 | |
| 
 | |
| 
 | |
| class QgsProjectDisplaySettings : QObject
 | |
| {
 | |
| %Docstring
 | |
| Contains settings and properties relating to how a QgsProject should display
 | |
| values such as map coordinates and bearings.
 | |
| 
 | |
| .. versionadded:: 3.12
 | |
| %End
 | |
| 
 | |
| %TypeHeaderCode
 | |
| #include "qgsprojectdisplaysettings.h"
 | |
| %End
 | |
|   public:
 | |
| 
 | |
|     QgsProjectDisplaySettings( QObject *parent = 0 );
 | |
| %Docstring
 | |
| Constructor for QgsProjectDisplaySettings with the specified ``parent`` object.
 | |
| %End
 | |
| 
 | |
|     ~QgsProjectDisplaySettings();
 | |
| 
 | |
|     void reset();
 | |
| %Docstring
 | |
| Resets the settings to a default state.
 | |
| %End
 | |
| 
 | |
|     void setBearingFormat( QgsBearingNumericFormat *format /Transfer/ );
 | |
| %Docstring
 | |
| Sets the project bearing ``format``, which controls how bearings associated with the project are displayed.
 | |
| 
 | |
| Ownership of ``format`` is transferred to the settings.
 | |
| 
 | |
| .. seealso:: :py:func:`bearingFormat`
 | |
| 
 | |
| .. seealso:: :py:func:`bearingFormatChanged`
 | |
| %End
 | |
| 
 | |
|     const QgsBearingNumericFormat *bearingFormat() const;
 | |
| %Docstring
 | |
| Returns the project bearing's format, which controls how bearings associated with the project are displayed.
 | |
| 
 | |
| .. seealso:: :py:func:`setBearingFormat`
 | |
| 
 | |
| .. seealso:: :py:func:`bearingFormatChanged`
 | |
| %End
 | |
| 
 | |
|     bool readXml( const QDomElement &element, const QgsReadWriteContext &context );
 | |
| %Docstring
 | |
| Reads the settings's state from a DOM element.
 | |
| 
 | |
| .. seealso:: :py:func:`writeXml`
 | |
| %End
 | |
| 
 | |
|     QDomElement writeXml( QDomDocument &doc, const QgsReadWriteContext &context ) const;
 | |
| %Docstring
 | |
| Returns a DOM element representing the settings.
 | |
| 
 | |
| .. seealso:: :py:func:`readXml`
 | |
| %End
 | |
| 
 | |
|   signals:
 | |
| 
 | |
|     void bearingFormatChanged();
 | |
| %Docstring
 | |
| Emitted when the bearing format changes.
 | |
| 
 | |
| .. seealso:: :py:func:`setBearingFormat`
 | |
| 
 | |
| .. seealso:: :py:func:`bearingFormat`
 | |
| %End
 | |
| 
 | |
| };
 | |
| 
 | |
| /************************************************************************
 | |
|  * This file has been generated automatically from                      *
 | |
|  *                                                                      *
 | |
|  * src/core/project/qgsprojectdisplaysettings.h                         *
 | |
|  *                                                                      *
 | |
|  * Do not edit manually ! Edit header and run scripts/sipify.pl again   *
 | |
|  ************************************************************************/
 |