-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Scripting: add addRadioButtonGroup to Dialog #4107
Conversation
Currently I'm trying a few different things to try to get the radio buttons to show up. They seem to be invisible. Tried putting them in a QHBoxLayout and that didn't seem to help . Trying to do something like the example here |
Also planning on looking at #4014 in the future, and thinking I should start providing the tooltip optional argument on this widget. Only thing is in this case (and with the combo box) the tooltip would be for the whole button group, which might be less useful than per radio button. I guess you could embed a description of all the options in your tooltip though. |
Would it be possible to have the tooltip method accept an array of tooltips, one for each radio button? |
42d6270
to
a85c90b
Compare
…oup.addItem(value, tooltip?) method for adding a single radio button
c513e24
to
f404177
Compare
f5abd06
to
748ec38
Compare
Examples radio.button.tabs.movradio.button.tooltips.mov |
Fix #3478
TODO @dogboydog
Examples: https://github.com/dogboydog/tiled-dialog-scripts Radio*.mjs
radio.button.tooltips.mov