<p dir="ltr"><br>
On 22 Nov 2015 7:09 AM, "Thomas Gratier" <<a href="mailto:osgeo.mailinglist@gmail.com">osgeo.mailinglist@gmail.com</a>> wrote:<br>
><br>
> Hi,<br>
><br>
> If I go to <a href="http://qgis.org/api/2.12/classQgsBlendModeComboBox.html">http://qgis.org/api/2.12/classQgsBlendModeComboBox.html</a><br>
> I see that the class has been classified in <a href="http://qgis.org/api/2.12/group__gui.html">http://qgis.org/api/2.12/group__gui.html</a><br>
><br>
> If I go to <a href="http://qgis.org/api/2.12/classQgsMapLayerComboBox.html">http://qgis.org/api/2.12/classQgsMapLayerComboBox.html</a>, the class does not have any group whereas I would expect this class to be in the same gui group.<br>
><br>
> Why? Both are in the same src/gui directory and in Python QGIS API, doing the following</p>
<p dir="ltr">The difference is that QgsBlendModeComboBox has the documentation group set, but not QgsMapLayerComboBox. See:<br></p>
<p dir="ltr"><a href="https://github.com/qgis/QGIS/blob/master/src/gui/qgsblendmodecombobox.h#L25">https://github.com/qgis/QGIS/blob/master/src/gui/qgsblendmodecombobox.h#L25</a></p>
<p dir="ltr">Vs</p>
<p dir="ltr">QGIS/blob/master/src/gui/qgsmaplayercombobox.h#L26</p>
<p dir="ltr">This should be fixed in QgsMapLayerComboBox.h . I suspect there's lots of missing groups... Perhaps I should also add this to the documentation unit test to prevent it in future.</p>
<p dir="ltr">Nyall</p>
<p dir="ltr">><br>
> print [c for c in dir(qgis.gui) if 'QgsMapLayerComboBox' in c] # return the QgsMapLayerComboBox class but it's Python not C++...<br>
><br>
> Any idea if it's normal? How can I help to improve this part if it's not normal?<br>
><br>
> FYI, I didn't find an obvious keyword in *.h and *.c files for both classes explaining why one is included in the doc and the other not. I also looked at the doxy file template (<a href="https://github.com/qgis/QGIS/blob/master/cmake_templates/Doxyfile.in">https://github.com/qgis/QGIS/blob/master/cmake_templates/Doxyfile.in</a> without success.<br>
><br>
> Cheers and regards<br>
><br>
> Thomas Gratier<br>
><br>
> _______________________________________________<br>
> Qgis-developer mailing list<br>
> <a href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br>
> List info: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
> Unsubscribe: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
</p>