feat: hide XRF tab in data collection settings
CI / lint (push) Skipped
CI / test (3.12) (push) Skipped
CI / test (3.13) (push) Skipped
CI / test-with-beamline-plugins (pxi_bec) (push) Skipped
CI / test-with-beamline-plugins (pxii_bec) (push) Skipped
CI / test-with-beamline-plugins (pxiii_bec) (push) Skipped
CI / lint (pull_request) Successful in 44s
CI / test (3.12) (pull_request) Successful in 1m4s
CI / test (3.14) (pull_request) Successful in 1m5s
CI / test (3.13) (pull_request) Successful in 1m7s
CI / test-with-beamline-plugins (pxii_bec) (pull_request) Successful in 1m12s
CI / test-with-beamline-plugins (pxi_bec) (pull_request) Successful in 1m13s
CI / test-with-beamline-plugins (pxiii_bec) (pull_request) Successful in 1m18s
CI / test-with-coverage (pull_request) Successful in 1m39s
CI / coverage-analysis (pull_request) Successful in 3s

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 is contained in:
2026-09-10 11:45:32 +02:00
co-authored by Claude Fable 5.1
parent 074ba48ade
commit 6d876ad033
@@ -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).