feat: hide XRF tab in data collection settings
CI / test (3.14) (push) Canceled after 43s
CI / lint (pull_request) Successful in 37s
CI / test (3.12) (pull_request) Successful in 1m4s
CI / test (3.13) (pull_request) Successful in 1m4s
CI / test (3.14) (pull_request) Successful in 1m5s
CI / test-with-beamline-plugins (pxii_bec) (pull_request) Successful in 1m13s
CI / test-with-beamline-plugins (pxi_bec) (pull_request) Successful in 1m20s
CI / test-with-beamline-plugins (pxiii_bec) (pull_request) Successful in 1m24s
CI / test-with-coverage (pull_request) Successful in 1m33s
CI / coverage-analysis (pull_request) Successful in 3s
CI / lint (push) Successful in 36s
Docs build and publish / docker (push) Successful in 20s
CI / test (3.12) (push) Canceled after 48s
CI / test (3.13) (push) Canceled after 44s
CI / test-with-beamline-plugins (pxi_bec) (push) Canceled after 39s
CI / test-with-beamline-plugins (pxii_bec) (push) Canceled after 38s
CI / test-with-beamline-plugins (pxiii_bec) (push) Canceled after 34s
CI / test-with-coverage (push) Canceled after 33s
CI / coverage-analysis (push) Canceled after 0s
Build and Publish / release (push) Successful in 37s

Hide only, not remove: setTabVisible keeps index 3 valid so tab-change
logic and panel loops stay untouched. Unhide when XRF is ready for users.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit was merged in pull request #212.
This commit is contained in:
2026-09-10 13:36:48 +02:00
committed by duan_j
co-authored by Claude Fable 5.1
parent 21feb89205
commit 871baa2216
@@ -98,6 +98,9 @@ class DataCollectionSettings(QFrame):
):
self._stack.addWidget(panel)
self._tab_bar.addTab(label)
# XRF hidden from users for now, not removed: index 3 stays valid so
# _on_tab_changed and the panel loops need no change. Unhide when ready.
self._tab_bar.setTabVisible(3, False)
# Only meaningful for raster scans; hidden on the other tabs
# (_on_tab_changed).