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

Show color usage and warn on spot color deletion #2235

Closed

Commits on Apr 20, 2024

  1. MapEditorController: Disable overprinting when ...

    ... deleting the last spot color.
    
    When overprinting simulation is enabled while deleting the last spot color,
    the map editor will become empty, and the overprinting action becomes
    disabled. However, the program didn't actually activate the overprinting
    simulation mode, so the user was locked out from re-enabling the normal
    rendering of the map. We must explicitly trigger the action.
    
    (Reactions are bound to trigger() to avoid hard-to-debug activation loops
    from normal state changes.)
    
    Co-authored-by: Libor Pechacek <lpechacek@gmx.com>
    2 people authored and dl3sdo committed Apr 20, 2024
    Configuration menu
    Copy the full SHA
    022089b View commit details
    Browse the repository at this point in the history
  2. Map: Add countSpotColorUsage(spot_color)

    dg0yt authored and dl3sdo committed Apr 20, 2024
    Configuration menu
    Copy the full SHA
    486ad2a View commit details
    Browse the repository at this point in the history
  3. ColorListWidget: Warn about spot color removal

    A color entry may serve as a spot color without direct use in symbols.
    So far Mapper allowed silent removal of these color entries. This patch
    adds a warning which is shown when the user tries to remove such a spot
    color.
    
    Co-authored-by: Matthias Kuehlewein <github@kuehlewein.de>
    Co-authored-by: Kai Pastor <dg0yt@darc.de>
    3 people committed Apr 20, 2024
    Configuration menu
    Copy the full SHA
    07dcd84 View commit details
    Browse the repository at this point in the history

Commits on Apr 24, 2024

  1. Map: Retrieve map colors using a specific spot color

    Add function to return a list of map colors that use a specific spot
    color.
    Remove function that just counts these map colors.
    dl3sdo committed Apr 24, 2024
    Configuration menu
    Copy the full SHA
    5af5e1b View commit details
    Browse the repository at this point in the history
  2. ColorListWidget: Use only one warnimg dialog

    Merging the functionality of issuing a warning about spot color removal
    with the functionality of counting the usage in symbols and objects.
    As a result just a single warning is showed. Use 'setDetailedText'
    function to show more details with respect to spot color removal.
    dl3sdo committed Apr 24, 2024
    Configuration menu
    Copy the full SHA
    180a5e5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f27e0c0 View commit details
    Browse the repository at this point in the history

Commits on May 5, 2024

  1. Configuration menu
    Copy the full SHA
    bde605a View commit details
    Browse the repository at this point in the history