mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-16 00:05:45 -04:00
78 lines
2.1 KiB
Plaintext
78 lines
2.1 KiB
Plaintext
/************************************************************************
|
|
* This file has been generated automatically from *
|
|
* *
|
|
* src/core/mesh/qgsmeshtimesettings.h *
|
|
* *
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
class QgsMeshTimeSettings
|
|
{
|
|
%Docstring(signature="appended")
|
|
|
|
Represents a mesh time settings for mesh datasets
|
|
|
|
.. versionadded:: 3.8
|
|
%End
|
|
|
|
%TypeHeaderCode
|
|
#include "qgsmeshtimesettings.h"
|
|
%End
|
|
public:
|
|
|
|
enum TimeUnit
|
|
{
|
|
//! second unit
|
|
seconds,
|
|
//! minute unit
|
|
minutes,
|
|
//! hour unit
|
|
hours,
|
|
//! day unit
|
|
days
|
|
};
|
|
|
|
QgsMeshTimeSettings();
|
|
|
|
QDomElement writeXml( QDomDocument &doc, const QgsReadWriteContext &context ) const;
|
|
%Docstring
|
|
Writes configuration to a new DOM element
|
|
%End
|
|
void readXml( const QDomElement &elem, const QgsReadWriteContext &context );
|
|
%Docstring
|
|
Reads configuration from the given DOM element
|
|
%End
|
|
|
|
QString relativeTimeFormat() const;
|
|
%Docstring
|
|
Returns format used for relative time
|
|
%End
|
|
void setRelativeTimeFormat( const QString &relativeTimeFormat );
|
|
%Docstring
|
|
Sets format used for relative time
|
|
%End
|
|
|
|
QString absoluteTimeFormat() const;
|
|
%Docstring
|
|
Returns format used for absolute time
|
|
%End
|
|
void setAbsoluteTimeFormat( const QString &absoluteTimeFormat );
|
|
%Docstring
|
|
Sets format used for absolute time
|
|
%End
|
|
|
|
};
|
|
|
|
|
|
/************************************************************************
|
|
* This file has been generated automatically from *
|
|
* *
|
|
* src/core/mesh/qgsmeshtimesettings.h *
|
|
* *
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
************************************************************************/
|