[Qgis-developer] Normal behaviour for QgsDial?

Thomas Gratier osgeo.mailinglist at gmail.com
Fri Jun 10 10:12:56 PDT 2016


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20160610/cecb5a18/attachment.html>


More information about the Qgis-developer mailing list