<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Yes, I'm still using setEditorWidgetV2() in my plugin because of
v2.8 being in use. I was just trying to determine what minimum
version would be necessary to start using editFormConfig(). <br>
<br>
Looking at your links, I think I see part of my problem. Google is
taking me to: <br>
<br>
<a class="moz-txt-link-freetext" href="https://qgis.org/api/classQgsVectorLayer.html">https://qgis.org/api/classQgsVectorLayer.html</a> <br>
<br>
Note no version number after "/api/". <br>
<br>
This page is also 'green' not 'blue' like the pages you referenced.
I wondered about that color change. <span class="moz-smiley-s1"><span>:-)</span></span><br>
<br>
Thanks for confirming that the "added in" note should exist. Those
help in setting the minimum required QGIS version for plugins.<br>
<br>
<div class="moz-signature"><b>Worth Lutz</b><br>
<br>
<br>
</div>
<div class="moz-cite-prefix">On 5/5/2016 2:57 PM, Jürgen E. Fischer
wrote:<br>
</div>
<blockquote cite="mid:20160505185732.GA3937@norbit.de" type="cite">
<pre wrap="">Hi Worth,
On Thu, 05. May 2016 at 12:57:10 -0400, Worth Lutz wrote:
</pre>
<blockquote type="cite">
<pre wrap="">When trying to convert to the suggested new methods, they seem to
not be available.
for example: Q_DECL_DEPRECATED void QgsVectorLayer::setEditorWidgetV2
suggests "Use editFormConfig()->setWidgetType() instead".
</pre>
</blockquote>
<pre wrap="">
</pre>
<blockquote type="cite">
<pre wrap="">The method, "editFormConfig", does not seem to be available in QGIS
v2.8 on my Ubuntu machine.
</pre>
</blockquote>
<pre wrap="">
setEditorWidgetV2 is not deprecated in 2.8 [0] it deprecated in 2.14 [1] and
there editFormConfig() is available [2]. There should be a "added in" note -
but that's apparently missing for editFormConfig().
Jürgen
[0] <a class="moz-txt-link-freetext" href="http://qgis.org/api/2.8/classQgsVectorLayer.html#a05a33f4d4f9953571f680f6b18589559">http://qgis.org/api/2.8/classQgsVectorLayer.html#a05a33f4d4f9953571f680f6b18589559</a>
[1] <a class="moz-txt-link-freetext" href="http://qgis.org/api/2.14/classQgsVectorLayer.html#a3ead0bb00ccad05b556a0602f48350bf">http://qgis.org/api/2.14/classQgsVectorLayer.html#a3ead0bb00ccad05b556a0602f48350bf</a>
[2] <a class="moz-txt-link-freetext" href="http://qgis.org/api/2.14/classQgsVectorLayer.html#ae89009b6dc6f544d19123a2f311acfe4">http://qgis.org/api/2.14/classQgsVectorLayer.html#ae89009b6dc6f544d19123a2f311acfe4</a>
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Qgis-developer mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a>
List info: <a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/qgis-developer">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a>
Unsubscribe: <a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/qgis-developer">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a></pre>
</blockquote>
<br>
</body>
</html>