chore: rename Beamline Setup to Beamline setup, comment tweaks
CI / lint (push) Skipped
CI / test (3.11) (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 (push) Skipped
CI / test (3.11) (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
Panel title case now matches the other banner names. Also clarify the splash banner comment in gui.py. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
+1
-2
@@ -21,8 +21,7 @@ def main():
|
||||
try:
|
||||
basedir = os.path.dirname(__file__)
|
||||
icon_path = os.path.join(basedir, "graphics/aaregui_logo.svg")
|
||||
# The banner is an SVG now; the old aare_banner.png no longer exists
|
||||
# and yielded a null splash pixmap.
|
||||
# SVG looks strange on consoles...only show one line
|
||||
banner_path = os.path.join(basedir, "graphics/aare_banner.png")
|
||||
except Exception:
|
||||
logger.exception("Failed to load resources for splash screen")
|
||||
|
||||
@@ -953,8 +953,8 @@ class MainWindow(QMainWindow):
|
||||
self.beamline.illumination_panel.front_light.connect(self.daq.front_light)
|
||||
self.beamline.illumination_panel.back_light.connect(self.daq.back_light)
|
||||
|
||||
# Energy row inside Exp. Config. — not staff-gated like the Beamline
|
||||
# Setup copy; the server enforces write permission anyway.
|
||||
# Energy row inside Exp. Config. — not staff-gated like the
|
||||
# Beamline setup copy; the server enforces write permission anyway.
|
||||
self.data_collection.change_energy.connect(self.daq.change_energy)
|
||||
|
||||
if self._decoded_token.staff:
|
||||
|
||||
@@ -28,7 +28,7 @@ from aare.gui.widgets.title_label import TitleLabel, tighten_column
|
||||
|
||||
class DataCollectionSettings(QFrame):
|
||||
cancel = Signal()
|
||||
# Same convention as the Beamline Setup panel: keV in the GUI, eV on emit.
|
||||
# Same convention as the Beamline setup panel: keV in the GUI, eV on emit.
|
||||
change_energy = Signal(float)
|
||||
|
||||
set_width = 400
|
||||
@@ -85,7 +85,7 @@ class DataCollectionSettings(QFrame):
|
||||
centering_layout.addWidget(self.find_tip)
|
||||
centering_layout.addWidget(self.bounding_box)
|
||||
|
||||
# Energy row copied from the Beamline Setup panel so users can change
|
||||
# Energy row copied from the Beamline setup panel so users can change
|
||||
# energy without leaving the experiment configuration.
|
||||
self.energy_spin = QDoubleSpinBox(parent=self)
|
||||
self.energy_spin.setDecimals(3)
|
||||
|
||||
@@ -16,7 +16,7 @@ class MonochromatorPanel(QWidget):
|
||||
grid_layout = QGridLayout(self)
|
||||
grid_layout.addWidget(
|
||||
TitleLabel(
|
||||
"Beamline Setup", self, collapsible=True, default_collapsed=False
|
||||
"Beamline setup", self, collapsible=True, default_collapsed=False
|
||||
),
|
||||
0,
|
||||
0,
|
||||
|
||||
Reference in New Issue
Block a user