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

Add image or icon in the definition #3470

Open
ismailsunni opened this issue Nov 22, 2016 · 0 comments
Open

Add image or icon in the definition #3470

ismailsunni opened this issue Nov 22, 2016 · 0 comments
Assignees

Comments

@ismailsunni
Copy link
Member

Currently, we get the image or icon of a hazard / exposure in the wizard from something like this:

            item.setIcon(QtGui.QIcon(
                resources_path('img', 'wizard', 'keyword-subcategory-%s.svg'
                               % (h['key'] or 'notset'))))

This is not very neat. We should put the image resource in the definitions. By doing this we can get the image resource path from another module easily

This is a low priority though.

@ismailsunni ismailsunni added this to the 4.0 Final milestone Nov 22, 2016
@ismailsunni ismailsunni self-assigned this Nov 22, 2016
@Gustry Gustry removed this from the Version 4.0 beta milestone Feb 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants