Il 10/12/2022 18:06, afernandez via QGIS-Developer ha scritto:
self.iface.mainWindow().statusBar().styleSheet(stilus)
produces the error:
TypeError: styleSheet(self): too many arguments
Hi AF,
maybe you need to use setStyleSheet(const QString ) to set a
style sheet.
Best regards.
Andrea
Hello,
I want to build QGIS on Windows. I was trying to do everything which was
described here
https://github.com/qgis/QGIS/blob/master/INSTALL.md#4-building-on-windows
but when I did this section
*4.1.4.1 Using configonly.bat to create the MSVC solution file *I get the
error.
I don't understand
Hello,
I'm facing some problems while trying to modify some of the properties of
the statusBar. For example, trying to use the styleSheet method with the
following snippet:
stilus = "background-color: black;"
self.iface.mainWindow().statusBar().styleSheet(stilus)
produces the error:
TypeError:
Il 10/12/2022 10:49, Bo Victor Thomsen via QGIS-Developer ha scritto:
It works nicely, printing the id and the WKT of the object changed.
However, the event fires *3* times, thus printing the same message 3
times.
Hi Bo Victor Thomsen,
I think the behaviour you are experiencing has been
Hi list ..
If I define an event listener for event geometryChanged event on object
QgsVectorLayer in the Python console like this:
*=
*
*# event listener...
def feedback(fid, geom):
# print id and geometry wkt in the console
print ('id: {}, geometry: