Project: QGIS

Version: 2.18.0

Feature: New PyQGIS classes in 2.18

New core classes

  • QgsAnnotation - an interface for annotation items which are drawn over a map
  • QgsFeedback - a base class for feedback objects to be used for cancellation of something running in a worker thread
  • QgsOptionalExpression - an expression with an additional enabled flag

New GUI classes

Reusable widgets:

  • QgsExpressionLineEdit - includes a line edit for entering expressions together with a button to open the expression creation dialog. This widget is designed for use in contexts where no layer fields are available for use in an expression and space is constrained.
  • QgsTabWidget - similar to QTabWidget but with additional methods to temporarily hide/show tabs