[Qgis-developer] Help needed for 1st dive into Qgis C++ - Access and modify the Scale List combo box

kimaidou kimaidou at gmail.com
Mon May 7 03:51:14 PDT 2012


Hi again,

Here I am :
https://gist.github.com/2627175

I am stuck and really do not understand why. When opening a project,
setting some project scales via the project properties dialog, Applying and
"OK", I get the following errors :

Warning: Object::connect: No such slot QgsScaleComboBox::updateScales()
Warning: Object::connect:  (sender name:   'QgsProjectPropertiesBase')
Warning: Object::connect:  (receiver name: 'mScaleEdit')

But the slot IS defined.
As you see, I even tried to comment some of the addItem() in
qgsscalecombobox.cpp, but when opening Qgis, these scales remain in the
default scale List...

It must be a dummy typo...

Michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/qgis-developer/attachments/20120507/79a5a34c/attachment.html


More information about the Qgis-developer mailing list