1

I have inherited a QGIS system from a former employee and my predecessor built a custom plugin for it. I now need to remove a single checkbox option completely from the UI for this plugin.

Is there a simple way to do this?

1 Answer 1

4

Yes. There should be a .ui file which can be edited using Qt Designer. It will allow you to remove the checkbox. Then you will need to make sure to remove the references to this checkbox in the code.

Depending on how the user interface is instantiated, you'll also have to recompile the .ui file. This is done on the command line. On Windows, I suggest using the OSGeo4W Shell. Navigate to the plugin folder and run:

pyuic4 -o ui_file_name.py ui_file_name.ui
0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.