Skip to content

roi stats swatches and text align#59

Merged
Osayi-ANL merged 2 commits intodevfrom
dev-osayi
Mar 16, 2026
Merged

roi stats swatches and text align#59
Osayi-ANL merged 2 commits intodevfrom
dev-osayi

Conversation

@Osayi-ANL
Copy link
Copy Markdown
Collaborator

Right aligned numbers on roi stats and added a color swatch(selector) to easily track roi boxes

Osayi-ANL and others added 2 commits March 13, 2026 14:48
…er in stats table

- All numeric stat/position columns (3-12) now use Qt.AlignRight|Qt.AlignVCenter
  so magnitudes (e.g. 100 vs 1,000) line up for easy visual comparison
- Name cell foreground is set from roi.pen.color() so a red ROI shows its
  name in red, green in green, etc., consistent with the ROI border color
- Paint-brush button added to the Actions column; opens QColorDialog and
  updates both the ROI border pen and the name cell color immediately
- Applied in both ensure_stats_row_for_roi (initial insert) and
  update_stats_table_for_roi (subsequent refreshes)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
add: color swatch and labeling to roi labels and boxes to allow for color selection
@Osayi-ANL Osayi-ANL requested a review from pecomyint March 16, 2026 18:35
@Osayi-ANL Osayi-ANL merged commit c3e8261 into dev Mar 16, 2026
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.

1 participant