mirror of
				https://github.com/qgis/QGIS.git
				synced 2025-11-03 00:14:12 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			77 lines
		
	
	
		
			2.1 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			77 lines
		
	
	
		
			2.1 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
/************************************************************************
 | 
						|
 * This file has been generated automatically from                      *
 | 
						|
 *                                                                      *
 | 
						|
 * src/core/qgstemporalproperty.h                                       *
 | 
						|
 *                                                                      *
 | 
						|
 * Do not edit manually ! Edit header and run scripts/sipify.pl again   *
 | 
						|
 ************************************************************************/
 | 
						|
 | 
						|
 | 
						|
 | 
						|
 | 
						|
 | 
						|
 | 
						|
 | 
						|
class QgsTemporalProperty : QObject
 | 
						|
{
 | 
						|
%Docstring(signature="appended")
 | 
						|
Base class for temporal property.
 | 
						|
 | 
						|
.. versionadded:: 3.14
 | 
						|
%End
 | 
						|
 | 
						|
%TypeHeaderCode
 | 
						|
#include "qgstemporalproperty.h"
 | 
						|
%End
 | 
						|
  public:
 | 
						|
 | 
						|
    enum Flag
 | 
						|
    {
 | 
						|
      FlagDontInvalidateCachedRendersWhenRangeChanges
 | 
						|
    };
 | 
						|
    typedef QFlags<QgsTemporalProperty::Flag> Flags;
 | 
						|
 | 
						|
 | 
						|
    QgsTemporalProperty( QObject *parent /TransferThis/ = 0, bool enabled = false );
 | 
						|
%Docstring
 | 
						|
Constructor for QgsTemporalProperty, with the specified ``parent`` object.
 | 
						|
 | 
						|
The ``active`` argument specifies whether the property is initially active (see :py:func:`~QgsTemporalProperty.isActive`).
 | 
						|
%End
 | 
						|
 | 
						|
    void setIsActive( bool active );
 | 
						|
%Docstring
 | 
						|
Sets whether the temporal property is ``active``.
 | 
						|
 | 
						|
.. seealso:: :py:func:`isActive`
 | 
						|
%End
 | 
						|
 | 
						|
    bool isActive() const;
 | 
						|
%Docstring
 | 
						|
Returns ``True`` if the temporal property is active.
 | 
						|
 | 
						|
.. seealso:: :py:func:`setIsActive`
 | 
						|
%End
 | 
						|
 | 
						|
    virtual QgsTemporalProperty::Flags flags() const;
 | 
						|
%Docstring
 | 
						|
Returns flags associated to the temporal property.
 | 
						|
%End
 | 
						|
 | 
						|
  signals:
 | 
						|
 | 
						|
    void changed();
 | 
						|
%Docstring
 | 
						|
Emitted when the temporal properties have changed.
 | 
						|
%End
 | 
						|
 | 
						|
};
 | 
						|
 | 
						|
/************************************************************************
 | 
						|
 * This file has been generated automatically from                      *
 | 
						|
 *                                                                      *
 | 
						|
 * src/core/qgstemporalproperty.h                                       *
 | 
						|
 *                                                                      *
 | 
						|
 * Do not edit manually ! Edit header and run scripts/sipify.pl again   *
 | 
						|
 ************************************************************************/
 |