-
Notifications
You must be signed in to change notification settings - Fork 134
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
Change weird checkbox in fermentable table #81
Comments
I think a combobox is the right replacement here. Thanks for pointing out these UI things that we've come to live with. |
I working on this point for a couple of days, and I quite stuck with some problems:
If any of you can help me with those points I'll be very grateful. EDIT: I found a good way to keep all table content visible (see #6 discussion), and during my tests to find a way to hide a QcomboBox choice (which I failed), I discovered that when I use a QListView to display the QcomboBox choices, the QcomboBox size was adapted to its content size and not to the table cell size. I think it could be a good solution to keep the table as small as possible, but allowing the use to read all QcomboBox choices without manual operation. |
Do you have any code we can look at? You can create a pull request if so. |
I've created the pull request. |
You need to poke at the sizeHints for the first question. Assuming you are using the standard editor delegates, you can do this: If I understand the documentation correctly, you can't really access the Mik On Mon, Sep 21, 2015 at 7:16 AM, theophae [email protected] wrote:
In a world of ninja v. pirate, I pilot a Gundam |
Thanks for the tips, it works very well and give the same result than my solution but in a simpler way. |
Since I use BT, I think the checkboxes that change when selected are very weird and unnatural.
For example, when the checkbox in unchecked, it indicate "steeped", but when I see it beside an unckecked checkbox, it seems to mean that the grain is not steeped.
I would be much clearer to have either a checkbox alone to indicate if the grain is mashed or a combo box with "Yes" or "No".
Same remark for the "Late Addition", it should use a combo box with "Normal" and "Late" as value.
If you think of other weird checkboxes like those, do not hesitate to add them.
I'd like to do this change, but I prefer to discuss what to do with you first.
The text was updated successfully, but these errors were encountered: