change changed status's color to blue
2 unresolved threads
2 unresolved threads
closes #256 (closed)
- Change the changed status's color to blue from red which is more of the color code for error
- Set up in view/util/color.py the dict COLOR with meaningful color name.
- In database dialogs, change also the background of changed widgets to light blue for case that it is changed to empty. This won't affect valueColorEdit and combo box. (Changing border won't be consider because it change styleSheet which will affect the appearance of button on widget like combo box or spin box)
Edited by Lan Dam
Merge request reports
Activity
Filter activity
assigned to @ldam
That should be fine. You can also refer to this link for some ideas. https://ux.stackexchange.com/questions/35307/how-to-visually-indicate-a-change-in-setting
added 14 commits
-
0e353ad8...72a1acaa - 12 commits from branch
develop
- 29a36663 - Merge branch 'develop' into i256_change_changed_color_to_blue
- 0e9c14f3 - set light blue back ground for widget with changed content
-
0e353ad8...72a1acaa - 12 commits from branch
requested review from @kienle
60 61 palette.setColor(QtGui.QPalette.ColorRole.Base, 61 62 QtGui.QColor(255, 255, 255)) 62 63 if changed: 63 # red text 64 # blue text 64 65 palette.setColor(QtGui.QPalette.ColorRole.Text, 65 QtGui.QColor(255, 0, 0)) 66 QtGui.QColor(COLOR['changedStatus'])) 66 67 # The selected text in a QComboBox on Linux has ButtonText as its color 67 68 # role (probably because the QComboBox on Linux looks like one button, 68 69 # while the one on Mac looks like a TextEdit combined with a button). 69 70 palette.setColor(QtGui.QPalette.ColorRole.ButtonText, 70 QtGui.QColor(255, 0, 0)) 71 QtGui.QColor('changedStatus')) changed this line in version 3 of the diff
added 16 commits
-
0e9c14f3...cf4192a3 - 14 commits from branch
develop
- a8acf3bf - correct setting color for ButtonText
- 699a9348 - Merge branch 'develop' into i256_change_changed_color_to_blue
-
0e9c14f3...cf4192a3 - 14 commits from branch
reset approvals from @kienle by pushing to the branch
enabled an automatic merge when the pipeline for 699a9348 succeeds
mentioned in commit e9098d5b
mentioned in merge request !283 (closed)