Subgroup: Project

Class: QgsProjectVersion

class qgis.core.QgsProjectVersion

Bases: sip.wrapper

A class to describe the version of a project. Used in places where you need to check if the current version of QGIS is greater than the one used to create a project file.

Methods

isNull Returns true if this is a NULL project version.
majorVersion
minorVersion
subVersion
text

Attributes

isNull(self) → bool

Returns true if this is a NULL project version.

majorVersion(self) → int
minorVersion(self) → int
subVersion(self) → int
text(self) → str