Hi,

Trying in the Python QGIS Console the following:

from qgis.gui import QgsDial
dial = QgsDial()
dial.show()

it returns:

Traceback (most recent call last):
  File "<input>", line 1, in <module>
TypeError: qgis._gui.QgsDial cannot be instantiated or sub-classed

This is weird IMO because it's not an abstract class and the class has a
constructor according to the documentation e.g
http://www.qgis.org/api/classQgsDial.html

Is it a choice, a Python binding issue, or something else?
Any feedback?


FYI, I've tried with QGIS master c578f3a and 2.14.3 on an Ubuntu 14.04 x64


Cheers


Thomas Gratier
_______________________________________________
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to