Closed jrast closed 9 years ago
Can you add support for QButtonGroups?
The code could looke something like this:
def _get_QButtonGroup(self): return [(nr, btn.isChecked()) for nr, btn in enumerate(self.buttons())] def _set_QButtonGroup(self, v): for idx, state in v: self.buttons()[idx].setChecked(state) def _event_QButtonGroup(self): return self.buttonClicked
Sure, looks good. Can you open a pull request with this fix?
Let me know if you need help doing that.
Closing as fixed by PR 5, thanks again!
Can you add support for QButtonGroups?
The code could looke something like this: