I know that I can write custom text to message bar with the QgsMessageBar.pushMessage() method. But if I understand the documentation right, there's no room for variables added to a string where they are escaped (like in print() function), and I get "arguments did not match any overloaded call" error when I try to call it like this. I want to print some variables for debugging my new plugin. How can I print them from the plugin's gui dialog? If message bar is not an option, how to do it?
I want to test how the plugin interacts with my QGIS plugin controls, so printing the values in Python console is not enough for me, though it's generally better for debugging.
أكثر...
I want to test how the plugin interacts with my QGIS plugin controls, so printing the values in Python console is not enough for me, though it's generally better for debugging.
أكثر...