Wednesday, 11 November 2015

python - Making QGIS buttons and my Plugin button mutually exclusive


I've added a toolbar to the QGIS main window and I've added some checkable buttons to the toolbar.


How can I make my checkable buttons untoggle QGIS default toolbars' checkable buttons? That is, when I activate my button by clicking on it, I want QGIS default buttons to be deactivated.



Is there a way to get the QGIS main window's QButtonGroup?




No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...