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
GUI fixes and minor redesign of remaining icons #951
Conversation
Gray text on buttons is OK for me. Gray checkboxes looks weird - maybe it should be more gray? |
14e5e3d
to
35f8023
Compare
Your naming scheme is OK for me |
Hi, I've made some progress. I'm struggling a bit with the GUI code, right now looks like the style of the application is defined on several places:
I'm already seeing that this will be a mess for you to review. Do you prefer me to do minimal changes trying to leave everything as it is now? Or do you prefer me to move things around and try to leave everything as tidy as I can? I've updated the image on the top, so you can see how the icons are starting to look like. Also, below is a screenshot where:
Previously I found a bit hard to differentiate disabled and enabled elements, what do you think? PD: Sorry, @alex-w I've added you as a reviewer for you to see the previous comment. I see that you are notified of every commit I do? Now I can't remove it |
Some time ago (around 5-8 years ago) each plugin had separate QSS file and code for manage it. This was obviously and logical, but all those plugins many years build as static plugins and all QSS stuff mas was moved into main QSS file to simplificate code and QSS base. I think you may review the QSS file and move defined icons directly onto buttons (maybe with some exceptions). Maybe text on few buttons should be replace by icons (e.g.: Add, Delete).
It looks good at the moment (except for GRS button, but I think I just accustomed to old version)
Don't worry about it :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In general, reviewing and cleaning up the inconsistencies that have grown over 15 years or so is a very good idea. If you have good knowledge of CSS and go through the file, you may probably find redundancies can can just be deleted or abbreviated. From what I can see in the graphics, it is better than before.
The new distinction of disabled/inactive colors is also fine.
Thanks also for the Doxygen docs on how to create icons in Inkscape.
Sorry for the delay. There I wrapped it up because I don't want to make this wait for so long. If you think that this is worth merging, I will rebase again and squash the commits a little (reducing these 31 commits into 5-10 commits) |
Please rebase your PR to resolve conflicts |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for update of GUI
There I rebased and reviewed the changes again |
Yay! Thanks, and I look forward to seeing them in the next release! |
Hello,
I want to try to fix some minor GUI problems:
8-off-settings.png
iconMore problems to fix (in another PR):
locationDialog.cpp
. See belowsetStyleSheet()
to change the style of widgets dinamically. It would be nice to set change properties withsetProperty()
and leave all the CSS inside ofnormalStyle.css
. But a workaround is necessary: source 1, source 2.Screenshots (if appropriate):
Images of almost every button I could find with an icon on it:
The overall style of windows has changed slightly:
Type of change
How Has This Been Tested?
I just run the program with the new icons, doing screenshots to see diferences between old and new icons.
Test Configuration:
Checklist: