Skip to content

[#855] Add missing input-value clipping warning icon to Qt 3D LUT window - #883

Merged
eoyilmaz merged 1 commit into
developfrom
855-qt-3dlut-input-clipping-warning-icon
Jul 18, 2026
Merged

[#855] Add missing input-value clipping warning icon to Qt 3D LUT window#883
eoyilmaz merged 1 commit into
developfrom
855-qt-3dlut-input-clipping-warning-icon

Conversation

@eoyilmaz

Copy link
Copy Markdown
Owner

Summary

  • The 3D LUT window's input-value clipping warning showed text but no warning-triangle icon under Qt, unlike wx.
  • Add a QLabel pixmap sourced via get_theme_pixmap(16, "dialog-warning") next to the clipping-warning text in _build_trc_block(), mirroring the same pattern already used in measurement_report.py.
  • Toggle the icon's visibility together with the label in lut3d_show_input_value_clipping_warning().
  • Bump version to 3.10.0.dev50.

Closes #855

Test plan

  • Verified DisplayCAL/ui/tools/lut3d.py imports cleanly and get_theme_pixmap(16, "dialog-warning") resolves a non-null 16x16 pixmap under an offscreen QApplication.
  • Forced the same show conditions (XYZbpout > XYZbpin, "Unmodified" selected, rendering intent not in la/p/pa/ms/s/lp) on a live LUT3DWindow instance and confirmed both the icon and label become visible.
  • Screenshotted the rendered window and visually confirmed the warning-triangle icon now appears next to "Unmodified" alongside the orange warning text, matching wx's behavior.

wx shows a warning-triangle icon (`dialog-warning.png`) next to the
clipping-warning text in the 3D LUT window's TRC block. The Qt port only
ever created and toggled the text `QLabel`, so the icon never appeared.
Add a `QLabel` pixmap alongside it, sourced via `get_theme_pixmap()`
(mirroring the same pattern already used in `measurement_report.py`),
and toggle its visibility together with the label in
`lut3d_show_input_value_clipping_warning()`.

Bump version to 3.10.0.dev50.
@eoyilmaz
eoyilmaz merged commit 7b4362d into develop Jul 18, 2026
29 of 30 checks passed
@eoyilmaz
eoyilmaz deleted the 855-qt-3dlut-input-clipping-warning-icon branch July 18, 2026 19:32
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

Successfully merging this pull request may close these issues.

[Qt] 3D LUT window: missing input-value clipping-warning icon

1 participant