0

Does anyone know how to set a checkbox to un-checked by default in a QGIS plugin? Is it done within the UI script for the plugin and can it be achieved within Qt Designer?

  • What does mean un-ticked? Is it unchecked? – xunilk Dec 19 '18 at 14:11
  • Un-checked was what I meant - thanks – AWGIS Dec 19 '18 at 14:42
0

I found it in Qt Designer - it was really simple. All you need to do is select the check box and in the property editor under QAbstractButton there is an option to have the box checked.

  • If you've answered your own question don't forget to click the little grey arrow to denote a correct answer. – Ed Rollason Dec 19 '18 at 15:31
  • @EdRollason will do but I have to wait 2 days until I can. – AWGIS Dec 19 '18 at 15:37

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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