Skip to content
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

Display units for object fields #33

Closed
mattdoiron opened this issue Mar 1, 2020 · 5 comments
Closed

Display units for object fields #33

mattdoiron opened this issue Mar 1, 2020 · 5 comments
Assignees
Labels
enhancement New feature or request

Comments

@mattdoiron
Copy link
Owner

I find it useful to see the units next to the fields when using the IDF Editor.

@mattdoiron mattdoiron added the enhancement New feature or request label Mar 1, 2020
@mattdoiron mattdoiron self-assigned this Mar 1, 2020
@mattdoiron
Copy link
Owner Author

I agree. I would like to add this feature, however, it's not a native/built-in feature of pyQt's table widgets, so it will take a fair bit of sub-classing/custom coding to allow it. I'll definitely keep it on the list, but I can't predict when I'll be able to do it!

@mattdoiron
Copy link
Owner Author

What if you just put the units in the same column as the field names but after the field name in parentheses? It is not a perfect solution but it is important information for the user.

@mattdoiron
Copy link
Owner Author

The units could definitely be shown in the column with the field names more easily. I could even have them included in the cells themselves relatively easily (and disappear during edit mode). I would make both of these options that the user could enable/disable in the preferences.

@mattdoiron
Copy link
Owner Author

Added feature to show units in the field name header. This required the configs to be decoupled a bit from the main GUI, which needed to be done eventually. Also decoupled logger from config stuff. See #37.

→ <<cset 1cbe040e2719>>

@mattdoiron
Copy link
Owner Author

Added option to show units in cells themselves. Enabled option in preferences to enable/disable this. Closes #37.

→ <<cset 3356933dca90>>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant