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

[ColorWidget] Edit CMYK as percent #58376

Merged
merged 8 commits into from
Aug 22, 2024
Merged

Conversation

troopa81
Copy link
Contributor

@troopa81 troopa81 commented Aug 13, 2024

Regarding the discussion starting here, this PR proposes to display and edit CMYK values as percentage.

This PR includes #58375

cc @tannenfreund87 @andreasneumann @nyalldawson

Funded by Bordeaux Métropôle

@troopa81 troopa81 added the GUI/UX Related to QGIS application GUI or User Experience label Aug 13, 2024
@github-actions github-actions bot added this to the 3.40.0 milestone Aug 13, 2024
@troopa81 troopa81 changed the title UI cmyk percent [ColorWidget] Edit CMYK as percent Aug 13, 2024
Copy link

github-actions bot commented Aug 13, 2024

🪟 Windows builds ready!

Windows builds of this PR are available for testing here. Debug symbols for this build are available here.

(Built from commit dac3d30)

src/gui/qgscolorwidgets.h Outdated Show resolved Hide resolved
src/gui/qgscolorwidgets.h Show resolved Hide resolved
src/gui/qgscolorwidgets.cpp Outdated Show resolved Hide resolved
@nyalldawson
Copy link
Collaborator

Nice work @troopa81 !

@troopa81
Copy link
Contributor Author

I had to add 1b8c949 to make cppcheck happy and avoid the following error message

home/runner/work/QGIS/QGIS/src/gui/qgscolorwidgets.cpp:99,error,missingReturn,Found a exit path from function with non-void return type that has missing return statement

src/gui/qgscolorwidgets.cpp Outdated Show resolved Hide resolved
src/gui/qgscolorwidgets.cpp Outdated Show resolved Hide resolved
@troopa81
Copy link
Contributor Author

unrelated test failure

@troopa81 troopa81 merged commit 0880614 into qgis:master Aug 22, 2024
28 of 29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
GUI/UX Related to QGIS application GUI or User Experience
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants