However it's not possible to manually assign IDs to the buttons in the group. Instead, use
QButtonGroup::setId(button, id)
after setupUI
in order to change the automatically assigned IDs. And also take into account that Qt Designer start counting negative from -2 so it wouldn't be recommendable to depend on that order.
No comments:
Post a Comment