From 2b08d0eeadf87b9431d9d80f4b0746eed96b7610 Mon Sep 17 00:00:00 2001 From: Benjamin Labrecque Date: Fri, 28 Aug 2026 16:50:03 +0200 Subject: [PATCH 1/2] claude: add topbar to guis --- .gitea/scripts/common.sh | 6 +- .gitea/workflows/add-new-service.yml | 1 + .gitea/workflows/deploy.yml | 1 + .../qt/A_BD_TestService99-X00.ui | 55 ++++++++- qt/A_BD_DBPM3Curr.ui | 106 ++++++++++++------ qt/A_BD_FeedBackOverview.ui | 28 ++++- qt/A_BD_InjectionGuard.ui | 20 ++-- qt/A_BD_Master.ui | 61 ++++++++-- qt/A_BD_NTurns.ui | 90 +++++++++++---- qt/A_BD_OrbitBump.ui | 72 +++++++++--- qt/A_BD_OrbitBump_Expert.ui | 80 +++++++++---- qt/A_BD_OrbitBump_ExpertBackUp.ui | 63 +++++++++-- qt/A_BD_OrbitBump_Expert_all.ui | 48 +++++++- qt/A_BD_OrbitBump_Operator.ui | 66 +++++++++-- qt/A_BD_PostMortemLog.ui | 57 +++++++++- qt/A_BD_Scrubbing.ui | 84 ++++++++++---- qt/A_BD_TauBPM.ui | 78 ++++++++++--- qt/A_BD_TauPCT.ui | 78 ++++++++++--- qt/A_BD_Timing.ui | 86 ++++++++++---- qt/A_BD_TopUpTool.ui | 94 +++++++++++----- qt/A_BD_Tune.ui | 59 +++++++++- qt/A_BD_TuneBump.ui | 20 ++-- templates/qt/A_BD_{{ui_filename}}.ui.jinja | 55 ++++++++- 23 files changed, 1043 insertions(+), 265 deletions(-) diff --git a/.gitea/scripts/common.sh b/.gitea/scripts/common.sh index 387a396..7bcbbc0 100644 --- a/.gitea/scripts/common.sh +++ b/.gitea/scripts/common.sh @@ -5,7 +5,9 @@ # Overridable so the scripts can be exercised outside of the runner HLA_ROOT=${HLA_ROOT:-/sls/bd/hla} -# Sets AGEBD_ENV_SUFFIX_UPPER/LOWER for the given environment. +# Sets AGEBD_ENV_SUFFIX_UPPER/LOWER/PAREN for the given environment. +# PAREN is the human readable variant used in qt panel titles, e.g. +# "Tune{{ agebd_env_suffix_paren }}" -> "Tune (dev)" on dev, "Tune" on prod. # Usage: set_env_suffix set_env_suffix() { local ENV=$1 @@ -13,9 +15,11 @@ set_env_suffix() { if [ "${ENV}" = "dev" ]; then AGEBD_ENV_SUFFIX_UPPER="-DEV" AGEBD_ENV_SUFFIX_LOWER="-dev" + AGEBD_ENV_SUFFIX_PAREN=" (dev)" elif [ "${ENV}" = "prod" ]; then AGEBD_ENV_SUFFIX_UPPER="" AGEBD_ENV_SUFFIX_LOWER="" + AGEBD_ENV_SUFFIX_PAREN="" else echo "Unknown environment '${ENV}', expected 'dev' or 'prod'" >&2 exit 1 diff --git a/.gitea/workflows/add-new-service.yml b/.gitea/workflows/add-new-service.yml index 3d18c25..65159c0 100644 --- a/.gitea/workflows/add-new-service.yml +++ b/.gitea/workflows/add-new-service.yml @@ -51,6 +51,7 @@ jobs: set_env_suffix "dev" sed -i "s/{{ *agebd_env_suffix_upper* }}/${AGEBD_ENV_SUFFIX_UPPER}/g" "${DEST_DIR}/"* sed -i "s/{{ *agebd_env_suffix_lower* }}/${AGEBD_ENV_SUFFIX_LOWER}/g" "${DEST_DIR}/"* + sed -i "s/{{ *agebd_env_suffix_paren* }}/${AGEBD_ENV_SUFFIX_PAREN}/g" "${DEST_DIR}/"* # The ioc steps read the deployed ioc files on /sls, so the service # has to be deployed before its ioc is installed. diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index e665244..3a060b2 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -121,6 +121,7 @@ jobs: set_env_suffix "${AGEBD_ENV}" sed -i "s/{{ *agebd_env_suffix_upper* }}/${AGEBD_ENV_SUFFIX_UPPER}/g" "${DEST_DIR}/"* sed -i "s/{{ *agebd_env_suffix_lower* }}/${AGEBD_ENV_SUFFIX_LOWER}/g" "${DEST_DIR}/"* + sed -i "s/{{ *agebd_env_suffix_paren* }}/${AGEBD_ENV_SUFFIX_PAREN}/g" "${DEST_DIR}/"* # ----------------------------------------------------------------- # Services Detection, Testing, and Deployment diff --git a/cli/tests/fixtures/expected_output/qt/A_BD_TestService99-X00.ui b/cli/tests/fixtures/expected_output/qt/A_BD_TestService99-X00.ui index 9fbb703..2ed516e 100644 --- a/cli/tests/fixtures/expected_output/qt/A_BD_TestService99-X00.ui +++ b/cli/tests/fixtures/expected_output/qt/A_BD_TestService99-X00.ui @@ -8,18 +8,60 @@ 0 0 800 - 600 + 632 MainWindow + + + + 0 + 0 + 800 + 32 + + + + + Sans Serif + 18 + 75 + false + true + + + + TestService99-X00{{ agebd_env_suffix_paren }} + + + Qt::AlignLeading + + + + 255 + 255 + 255 + + + + + 200 + 0 + 0 + + + + caLabel::Static + + 0 - 60 + 92 100 50 @@ -44,7 +86,7 @@ 0 - 0 + 32 601 22 @@ -60,7 +102,7 @@ 6 - 34 + 66 401 21 @@ -98,6 +140,11 @@ QCheckBox
caToggleButton
+ + caLabel + QLabel +
caLabel
+
diff --git a/qt/A_BD_DBPM3Curr.ui b/qt/A_BD_DBPM3Curr.ui index 350323b..7bc450f 100644 --- a/qt/A_BD_DBPM3Curr.ui +++ b/qt/A_BD_DBPM3Curr.ui @@ -8,18 +8,60 @@ 0 0 530 - 500 + 532
MainWindow + + + + 0 + 0 + 530 + 32 + + + + + Sans Serif + 18 + 75 + false + true + + + + DBPM3 Current{{ agebd_env_suffix_paren }} + + + Qt::AlignLeading + + + + 255 + 255 + 255 + + + + + 200 + 0 + 0 + + + + caLabel::Static + + 570 - 140 + 172 70 20 @@ -29,7 +71,7 @@ 570 - 80 + 112 70 20 @@ -54,7 +96,7 @@ 250 - 100 + 132 200 30 @@ -114,7 +156,7 @@ 250 - 140 + 172 200 30 @@ -174,7 +216,7 @@ 250 - 180 + 212 200 30 @@ -234,7 +276,7 @@ 250 - 380 + 412 200 30 @@ -294,7 +336,7 @@ 250 - 420 + 452 200 30 @@ -354,7 +396,7 @@ 10 - 100 + 132 230 30 @@ -370,7 +412,7 @@ 10 - 140 + 172 230 30 @@ -386,7 +428,7 @@ 10 - 180 + 212 230 30 @@ -402,7 +444,7 @@ 10 - 380 + 412 230 30 @@ -418,7 +460,7 @@ 10 - 220 + 252 230 30 @@ -434,7 +476,7 @@ 10 - 420 + 452 230 30 @@ -450,7 +492,7 @@ 460 - 140 + 172 60 30 @@ -510,7 +552,7 @@ 460 - 380 + 412 60 30 @@ -570,7 +612,7 @@ 460 - 180 + 212 60 30 @@ -630,7 +672,7 @@ 460 - 420 + 452 60 30 @@ -690,7 +732,7 @@ 460 - 100 + 132 60 30 @@ -750,7 +792,7 @@ 10 - 10 + 42 510 40 @@ -769,7 +811,7 @@ 10 - 300 + 332 230 30 @@ -785,7 +827,7 @@ 250 - 300 + 332 271 30 @@ -845,7 +887,7 @@ 10 - 260 + 292 411 30 @@ -867,7 +909,7 @@ 430 - 260 + 292 91 30 @@ -886,7 +928,7 @@ 10 - 340 + 372 511 30 @@ -911,7 +953,7 @@ 250 - 220 + 252 271 30 @@ -971,7 +1013,7 @@ 10 - 60 + 92 230 30 @@ -987,7 +1029,7 @@ 460 - 60 + 92 60 30 @@ -1047,7 +1089,7 @@ 250 - 60 + 92 200 30 @@ -1107,7 +1149,7 @@ 250 - 460 + 492 200 30 @@ -1167,7 +1209,7 @@ 10 - 460 + 492 230 30 @@ -1183,7 +1225,7 @@ 460 - 460 + 492 60 30 diff --git a/qt/A_BD_FeedBackOverview.ui b/qt/A_BD_FeedBackOverview.ui index be6df57..7d46181 100644 --- a/qt/A_BD_FeedBackOverview.ui +++ b/qt/A_BD_FeedBackOverview.ui @@ -62,17 +62,37 @@ caLabel[statusTip="Operation"]{ 27 - - Operation + + + Sans Serif + 18 + 75 + false + true + - Feedback / Feed Forward Overview + Feedback / Feed Forward Overview{{ agebd_env_suffix_paren }} Qt::AlignLeading + + + 255 + 255 + 255 + + + + + 200 + 0 + 0 + + - caLabel::Default + caLabel::Static diff --git a/qt/A_BD_InjectionGuard.ui b/qt/A_BD_InjectionGuard.ui index b037d9f..ec5d508 100644 --- a/qt/A_BD_InjectionGuard.ui +++ b/qt/A_BD_InjectionGuard.ui @@ -859,24 +859,28 @@ caLabel[statusTip="Operation"]{ true
- - Operation - - Injection Guard + Injection Guard{{ agebd_env_suffix_paren }} Qt::AlignLeading + + + 255 + 255 + 255 + + - 218 - 218 - 218 + 200 + 0 + 0 - caLabel::Default + caLabel::Static
diff --git a/qt/A_BD_Master.ui b/qt/A_BD_Master.ui index 2e3ed38..2ee84f8 100644 --- a/qt/A_BD_Master.ui +++ b/qt/A_BD_Master.ui @@ -8,18 +8,60 @@ 0 0 1200 - 1060 + 1092 MainWindow + + + + 0 + 0 + 1200 + 32 + + + + + Sans Serif + 18 + 75 + false + true + + + + Master{{ agebd_env_suffix_paren }} + + + Qt::AlignLeading + + + + 255 + 255 + 255 + + + + + 200 + 0 + 0 + + + + caLabel::Static + + 1290 - 170 + 202 70 20 @@ -29,7 +71,7 @@ 1290 - 110 + 142 70 20 @@ -54,7 +96,7 @@ 10 - 10 + 42 101 30 @@ -86,7 +128,7 @@ 840 - 10 + 42 351 30 @@ -118,7 +160,7 @@ 10 - 50 + 82 1180 1000 @@ -137,7 +179,7 @@ 1310 - 210 + 242 31 5 @@ -184,6 +226,11 @@ QLabel
wmSignalPropagator
+ + caLabel + QLabel +
caLabel
+
diff --git a/qt/A_BD_NTurns.ui b/qt/A_BD_NTurns.ui index 39e9cf3..311ba55 100644 --- a/qt/A_BD_NTurns.ui +++ b/qt/A_BD_NTurns.ui @@ -8,18 +8,60 @@ 0 0 705 - 813 + 845
MainWindow + + + + 0 + 0 + 705 + 32 + + + + + Sans Serif + 18 + 75 + false + true + + + + N Turns{{ agebd_env_suffix_paren }} + + + Qt::AlignLeading + + + + 255 + 255 + 255 + + + + + 200 + 0 + 0 + + + + caLabel::Static + + 190 - 10 + 42 341 65 @@ -38,7 +80,7 @@ 810 - 280 + 312 70 20 @@ -48,7 +90,7 @@ 810 - 220 + 252 70 20 @@ -73,7 +115,7 @@ 10 - 90 + 122 340 30 @@ -99,7 +141,7 @@ 360 - 90 + 122 340 30 @@ -125,7 +167,7 @@ 10 - 130 + 162 130 30 @@ -149,7 +191,7 @@ 10 - 170 + 202 130 30 @@ -173,7 +215,7 @@ 10 - 210 + 242 130 30 @@ -197,7 +239,7 @@ 160 - 130 + 162 100 30 @@ -213,7 +255,7 @@ 160 - 170 + 202 100 30 @@ -226,7 +268,7 @@ 160 - 210 + 242 100 30 @@ -239,7 +281,7 @@ 370 - 170 + 202 130 30 @@ -263,7 +305,7 @@ 370 - 210 + 242 130 30 @@ -287,7 +329,7 @@ 520 - 210 + 242 100 30 @@ -300,7 +342,7 @@ 520 - 170 + 202 100 30 @@ -313,7 +355,7 @@ 520 - 130 + 162 100 30 @@ -329,7 +371,7 @@ 370 - 130 + 162 130 30 @@ -353,7 +395,7 @@ 10 - 250 + 282 130 30 @@ -377,7 +419,7 @@ 160 - 250 + 282 101 30 @@ -437,7 +479,7 @@ 520 - 250 + 282 101 30 @@ -497,7 +539,7 @@ 370 - 250 + 282 130 30 @@ -521,7 +563,7 @@ 1 - 300 + 332 703 250 @@ -577,7 +619,7 @@ 1 - 560 + 592 703 250 diff --git a/qt/A_BD_OrbitBump.ui b/qt/A_BD_OrbitBump.ui index d248f98..a0ac929 100644 --- a/qt/A_BD_OrbitBump.ui +++ b/qt/A_BD_OrbitBump.ui @@ -8,18 +8,60 @@ 0 0 770 - 990 + 1022 MainWindow + + + + 0 + 0 + 770 + 32 + + + + + Sans Serif + 18 + 75 + false + true + + + + Orbit Bump{{ agebd_env_suffix_paren }} + + + Qt::AlignLeading + + + + 255 + 255 + 255 + + + + + 200 + 0 + 0 + + + + caLabel::Static + + 10 - 220 + 252 750 346 @@ -41,7 +83,7 @@ 10 - 80 + 112 750 100 @@ -63,7 +105,7 @@ 10 - 190 + 222 261 30 @@ -86,7 +128,7 @@ 10 - 50 + 82 291 30 @@ -109,7 +151,7 @@ 10 - 570 + 602 261 30 @@ -132,7 +174,7 @@ 10 - 600 + 632 750 541 @@ -154,7 +196,7 @@ 330 - 50 + 82 100 30 @@ -177,7 +219,7 @@ 440 - 50 + 82 100 30 @@ -200,7 +242,7 @@ 550 - 50 + 82 100 30 @@ -223,7 +265,7 @@ 660 - 50 + 82 100 30 @@ -246,7 +288,7 @@ 598 - 4 + 36 170 30 @@ -272,7 +314,7 @@ 2 - 2 + 34 767 33 @@ -314,7 +356,7 @@ 800 - 260 + 292 70 20 @@ -339,7 +381,7 @@ 800 - 320 + 352 70 20 diff --git a/qt/A_BD_OrbitBump_Expert.ui b/qt/A_BD_OrbitBump_Expert.ui index 9155f42..d0b3906 100644 --- a/qt/A_BD_OrbitBump_Expert.ui +++ b/qt/A_BD_OrbitBump_Expert.ui @@ -8,18 +8,60 @@ 0 0 1801 - 196 + 228 MainWindow + + + + 0 + 0 + 1801 + 32 + + + + + Sans Serif + 18 + 75 + false + true + + + + Orbit Bump Expert{{ agebd_env_suffix_paren }} + + + Qt::AlignLeading + + + + 255 + 255 + 255 + + + + + 200 + 0 + 0 + + + + caLabel::Static + + 10 - 72 + 104 1790 120 @@ -41,7 +83,7 @@ 240 - 42 + 74 100 30 @@ -64,7 +106,7 @@ 354 - 42 + 74 100 30 @@ -87,7 +129,7 @@ 462 - 42 + 74 100 30 @@ -110,7 +152,7 @@ 574 - 42 + 74 100 30 @@ -133,7 +175,7 @@ 686 - 42 + 74 100 30 @@ -156,7 +198,7 @@ 966 - 42 + 74 100 30 @@ -179,7 +221,7 @@ 1246 - 42 + 74 100 30 @@ -202,7 +244,7 @@ 1526 - 42 + 74 100 30 @@ -225,7 +267,7 @@ 791 - 42 + 74 80 30 @@ -248,7 +290,7 @@ 876 - 42 + 74 80 30 @@ -271,7 +313,7 @@ 1071 - 42 + 74 80 30 @@ -294,7 +336,7 @@ 1156 - 42 + 74 80 30 @@ -317,7 +359,7 @@ 1631 - 42 + 74 80 30 @@ -340,7 +382,7 @@ 1351 - 42 + 74 80 30 @@ -363,7 +405,7 @@ 1716 - 42 + 74 80 30 @@ -386,7 +428,7 @@ 1436 - 42 + 74 80 30 @@ -409,7 +451,7 @@ 0 - 0 + 32 1909 33 diff --git a/qt/A_BD_OrbitBump_ExpertBackUp.ui b/qt/A_BD_OrbitBump_ExpertBackUp.ui index 272110f..74a1cd8 100644 --- a/qt/A_BD_OrbitBump_ExpertBackUp.ui +++ b/qt/A_BD_OrbitBump_ExpertBackUp.ui @@ -8,18 +8,60 @@ 0 0 1178 - 600 + 632 MainWindow + + + + 0 + 0 + 1178 + 32 + + + + + Sans Serif + 18 + 75 + false + true + + + + Orbit Bump Expert (Backup){{ agebd_env_suffix_paren }} + + + Qt::AlignLeading + + + + 255 + 255 + 255 + + + + + 200 + 0 + 0 + + + + caLabel::Static + + 80 - 30 + 62 460 40 @@ -39,7 +81,7 @@ 650 - 30 + 62 460 40 @@ -59,7 +101,7 @@ 270 - 340 + 372 501 51 @@ -81,7 +123,7 @@ 50 - 110 + 142 501 51 @@ -103,7 +145,7 @@ 270 - 230 + 262 501 51 @@ -125,7 +167,7 @@ 630 - 110 + 142 501 51 @@ -147,7 +189,7 @@ 260 - 450 + 482 501 51 @@ -178,6 +220,11 @@ QLineEdit
caLineEdit
+ + caLabel + QLabel +
caLabel
+
diff --git a/qt/A_BD_OrbitBump_Expert_all.ui b/qt/A_BD_OrbitBump_Expert_all.ui index 05a106f..997afed 100644 --- a/qt/A_BD_OrbitBump_Expert_all.ui +++ b/qt/A_BD_OrbitBump_Expert_all.ui @@ -8,18 +8,60 @@ 0 0 1819 - 1470 + 1502
MainWindow + + + + 0 + 0 + 1819 + 32 + + + + + Sans Serif + 18 + 75 + false + true + + + + Orbit Bump Expert All{{ agebd_env_suffix_paren }} + + + Qt::AlignLeading + + + + 255 + 255 + 255 + + + + + 200 + 0 + 0 + + + + caLabel::Static + + 0 - 2 + 34 1837 33 @@ -61,7 +103,7 @@ 0 - 40 + 72 1819 1430 diff --git a/qt/A_BD_OrbitBump_Operator.ui b/qt/A_BD_OrbitBump_Operator.ui index 44e9ac5..13ecf36 100644 --- a/qt/A_BD_OrbitBump_Operator.ui +++ b/qt/A_BD_OrbitBump_Operator.ui @@ -8,18 +8,60 @@ 0 0 770 - 950 + 982 MainWindow + + + + 0 + 0 + 770 + 32 + + + + + Sans Serif + 18 + 75 + false + true + + + + Orbit Bump Operator{{ agebd_env_suffix_paren }} + + + Qt::AlignLeading + + + + 255 + 255 + 255 + + + + + 200 + 0 + 0 + + + + caLabel::Static + + 10 - 190 + 222 750 346 @@ -41,7 +83,7 @@ 10 - 80 + 112 750 80 @@ -63,7 +105,7 @@ 10 - 160 + 192 261 30 @@ -86,7 +128,7 @@ 10 - 50 + 82 291 30 @@ -109,7 +151,7 @@ 10 - 530 + 562 261 30 @@ -132,7 +174,7 @@ 10 - 560 + 592 750 541 @@ -154,7 +196,7 @@ 330 - 50 + 82 100 30 @@ -177,7 +219,7 @@ 440 - 50 + 82 100 30 @@ -200,7 +242,7 @@ 550 - 50 + 82 100 30 @@ -223,7 +265,7 @@ 660 - 50 + 82 100 30 @@ -246,7 +288,7 @@ 590 - 10 + 42 170 30 diff --git a/qt/A_BD_PostMortemLog.ui b/qt/A_BD_PostMortemLog.ui index ef605fb..b5956ac 100644 --- a/qt/A_BD_PostMortemLog.ui +++ b/qt/A_BD_PostMortemLog.ui @@ -11,7 +11,7 @@ 0 0 1200 - 1275 + 1307 @@ -24,11 +24,53 @@ + + + + 0 + 0 + 1200 + 32 + + + + + Sans Serif + 18 + 75 + false + true + + + + Post Mortem Log{{ agebd_env_suffix_paren }} + + + Qt::AlignLeading + + + + 255 + 255 + 255 + + + + + 200 + 0 + 0 + + + + caLabel::Static + + 1460 - 210 + 242 70 20 @@ -38,7 +80,7 @@ 1460 - 150 + 182 70 20 @@ -63,7 +105,7 @@ 1450 - 260 + 292 91 21 @@ -82,7 +124,7 @@ 5 - 5 + 37 1190 1265 @@ -1159,6 +1201,11 @@ QFrame
qwt_plot.h
+ + caLabel + QLabel +
caLabel
+
diff --git a/qt/A_BD_Scrubbing.ui b/qt/A_BD_Scrubbing.ui index fa49779..5beab5d 100644 --- a/qt/A_BD_Scrubbing.ui +++ b/qt/A_BD_Scrubbing.ui @@ -8,18 +8,60 @@ 0 0 1500 - 1000 + 1032
MainWindow + + + + 0 + 0 + 1500 + 32 + + + + + Sans Serif + 18 + 75 + false + true + + + + Scrubbing{{ agebd_env_suffix_paren }} + + + Qt::AlignLeading + + + + 255 + 255 + 255 + + + + + 200 + 0 + 0 + + + + caLabel::Static + + 10 - 10 + 42 211 61 @@ -38,7 +80,7 @@ 640 - 280 + 312 861 461 @@ -384,7 +426,7 @@ 1990 - 540 + 572 70 20 @@ -394,7 +436,7 @@ 1980 - 360 + 392 71 20 @@ -422,7 +464,7 @@ 10 - 80 + 112 391 41 @@ -444,7 +486,7 @@ 230 - 40 + 72 50 30 @@ -469,7 +511,7 @@ 349 - 40 + 72 50 30 @@ -494,7 +536,7 @@ 350 - 10 + 42 50 30 @@ -517,7 +559,7 @@ 290 - 10 + 42 50 30 @@ -540,7 +582,7 @@ 230 - 10 + 42 50 30 @@ -563,7 +605,7 @@ 290 - 40 + 72 50 30 @@ -588,7 +630,7 @@ 5 - 450 + 482 631 291 @@ -3386,7 +3428,7 @@ Remaining 420 - 750 + 782 1081 241 @@ -3474,7 +3516,7 @@ Remaining 5 - 750 + 782 410 241 @@ -3731,7 +3773,7 @@ Remaining 5 - 130 + 162 530 140 @@ -4009,7 +4051,7 @@ Remaining 5 - 280 + 312 255 160 @@ -4150,7 +4192,7 @@ Remaining 550 - 0 + 32 951 271 @@ -4486,7 +4528,7 @@ Remaining 410 - 30 + 62 120 40 @@ -4509,7 +4551,7 @@ Remaining 410 - 80 + 112 120 40 @@ -4535,7 +4577,7 @@ AGEBD-SCRUBBING{{ agebd_env_suffix_upper }}:CONTROL-VACUUM-DYN-FRAC 270 - 280 + 312 360 180 diff --git a/qt/A_BD_TauBPM.ui b/qt/A_BD_TauBPM.ui index 66455d0..a6ef567 100644 --- a/qt/A_BD_TauBPM.ui +++ b/qt/A_BD_TauBPM.ui @@ -8,18 +8,60 @@ 0 0 550 - 267 + 299 MainWindow + + + + 0 + 0 + 550 + 32 + + + + + Sans Serif + 18 + 75 + false + true + + + + Tau BPM{{ agebd_env_suffix_paren }} + + + Qt::AlignLeading + + + + 255 + 255 + 255 + + + + + 200 + 0 + 0 + + + + caLabel::Static + + 10 - 60 + 92 230 30 @@ -35,7 +77,7 @@ 10 - 140 + 172 230 30 @@ -51,7 +93,7 @@ 10 - 190 + 222 230 30 @@ -67,7 +109,7 @@ 260 - 190 + 222 120 30 @@ -127,7 +169,7 @@ 420 - 190 + 222 120 30 @@ -187,7 +229,7 @@ 390 - 190 + 222 21 30 @@ -203,7 +245,7 @@ 260 - 230 + 262 120 30 @@ -263,7 +305,7 @@ 420 - 230 + 262 120 30 @@ -323,7 +365,7 @@ 390 - 230 + 262 21 30 @@ -339,7 +381,7 @@ 660 - 130 + 162 70 20 @@ -349,7 +391,7 @@ 660 - 70 + 102 70 20 @@ -374,7 +416,7 @@ 10 - 230 + 262 230 30 @@ -390,7 +432,7 @@ 260 - 60 + 92 280 30 @@ -406,7 +448,7 @@ 260 - 140 + 172 280 30 @@ -425,7 +467,7 @@ 0 - 10 + 42 541 40 @@ -444,7 +486,7 @@ 10 - 100 + 132 230 30 @@ -460,7 +502,7 @@ 260 - 100 + 132 280 30 diff --git a/qt/A_BD_TauPCT.ui b/qt/A_BD_TauPCT.ui index 702529c..820ca86 100644 --- a/qt/A_BD_TauPCT.ui +++ b/qt/A_BD_TauPCT.ui @@ -8,18 +8,60 @@ 0 0 570 - 260 + 292 MainWindow + + + + 0 + 0 + 570 + 32 + + + + + Sans Serif + 18 + 75 + false + true + + + + Tau PCT{{ agebd_env_suffix_paren }} + + + Qt::AlignLeading + + + + 255 + 255 + 255 + + + + + 200 + 0 + 0 + + + + caLabel::Static + + 10 - 60 + 92 260 30 @@ -35,7 +77,7 @@ 10 - 140 + 172 260 30 @@ -51,7 +93,7 @@ 10 - 180 + 212 260 30 @@ -67,7 +109,7 @@ 280 - 180 + 212 120 30 @@ -127,7 +169,7 @@ 440 - 180 + 212 120 30 @@ -187,7 +229,7 @@ 410 - 180 + 212 21 30 @@ -203,7 +245,7 @@ 280 - 220 + 252 120 30 @@ -263,7 +305,7 @@ 440 - 220 + 252 120 30 @@ -323,7 +365,7 @@ 410 - 220 + 252 21 30 @@ -339,7 +381,7 @@ 660 - 130 + 162 70 20 @@ -349,7 +391,7 @@ 660 - 70 + 102 70 20 @@ -374,7 +416,7 @@ 10 - 220 + 252 260 30 @@ -390,7 +432,7 @@ 280 - 60 + 92 280 30 @@ -406,7 +448,7 @@ 280 - 140 + 172 280 30 @@ -425,7 +467,7 @@ 0 - 10 + 42 561 40 @@ -444,7 +486,7 @@ 280 - 100 + 132 280 30 @@ -460,7 +502,7 @@ 10 - 100 + 132 260 30 diff --git a/qt/A_BD_Timing.ui b/qt/A_BD_Timing.ui index 6ba15a4..a10966a 100644 --- a/qt/A_BD_Timing.ui +++ b/qt/A_BD_Timing.ui @@ -8,7 +8,7 @@ 0 0 750 - 880 + 912 @@ -18,11 +18,53 @@ (Qt::Window | Qt::FramelessWindowHint); + + + + 0 + 0 + 750 + 32 + + + + + Sans Serif + 18 + 75 + false + true + + + + Timing{{ agebd_env_suffix_paren }} + + + Qt::AlignLeading + + + + 255 + 255 + 255 + + + + + 200 + 0 + 0 + + + + caLabel::Static + + 1390 - 270 + 302 70 20 @@ -32,7 +74,7 @@ 1390 - 210 + 242 70 20 @@ -57,7 +99,7 @@ 10 - 20 + 52 161 31 @@ -80,7 +122,7 @@ 10 - 170 + 202 431 705 @@ -1385,7 +1427,7 @@ 480 - 170 + 202 260 705 @@ -3333,7 +3375,7 @@ 10 - 50 + 82 411 30 @@ -3357,7 +3399,7 @@ 550 - 10 + 42 100 60 @@ -3417,7 +3459,7 @@ 410 - 10 + 42 140 40 @@ -3440,7 +3482,7 @@ 440 - 170 + 202 41 705 @@ -4054,7 +4096,7 @@ 571 - 75 + 107 80 25 @@ -4078,7 +4120,7 @@ 661 - 80 + 112 80 20 @@ -4138,7 +4180,7 @@ 660 - 105 + 137 80 20 @@ -4201,7 +4243,7 @@ 570 - 105 + 137 80 25 @@ -4225,7 +4267,7 @@ 10 - 80 + 112 550 45 @@ -4250,7 +4292,7 @@ 660 - 40 + 72 80 30 @@ -4300,7 +4342,7 @@ 400 - 140 + 172 81 30 @@ -4323,7 +4365,7 @@ 10 - 140 + 172 271 30 @@ -4346,7 +4388,7 @@ 490 - 140 + 172 241 30 @@ -4369,7 +4411,7 @@ 410 - 50 + 82 131 20 @@ -4401,7 +4443,7 @@ 310 - 130 + 162 70 20 @@ -4434,7 +4476,7 @@ 660 - 10 + 42 80 30 diff --git a/qt/A_BD_TopUpTool.ui b/qt/A_BD_TopUpTool.ui index 2ed18e6..28c9c3c 100644 --- a/qt/A_BD_TopUpTool.ui +++ b/qt/A_BD_TopUpTool.ui @@ -8,18 +8,60 @@ 0 0 1852 - 610 + 642 MainWindow + + + + 0 + 0 + 1852 + 32 + + + + + Sans Serif + 18 + 75 + false + true + + + + Top Up Tool{{ agebd_env_suffix_paren }} + + + Qt::AlignLeading + + + + 255 + 255 + 255 + + + + + 200 + 0 + 0 + + + + caLabel::Static + + 10 - 10 + 42 391 61 @@ -38,7 +80,7 @@ 729 - 0 + 32 1111 601 @@ -198,7 +240,7 @@ 280 - 140 + 172 85 40 @@ -223,7 +265,7 @@ 160 - 140 + 172 105 40 @@ -246,7 +288,7 @@ 1990 - 540 + 572 70 20 @@ -256,7 +298,7 @@ 1980 - 360 + 392 71 20 @@ -284,7 +326,7 @@ 10 - 90 + 122 391 41 @@ -306,7 +348,7 @@ 570 - 190 + 222 50 30 @@ -331,7 +373,7 @@ 570 - 310 + 342 50 30 @@ -356,7 +398,7 @@ 480 - 310 + 342 50 30 @@ -379,7 +421,7 @@ 480 - 230 + 262 50 30 @@ -402,7 +444,7 @@ 480 - 190 + 222 50 30 @@ -425,7 +467,7 @@ 570 - 230 + 262 50 30 @@ -450,7 +492,7 @@ 10 - 330 + 362 601 270 @@ -2974,7 +3016,7 @@ AGETI-CVME-MASTER-TMA:Evt-14.VALA 440 - 20 + 52 271 50 @@ -3027,7 +3069,7 @@ AGETI-CVME-MASTER-TMA:Evt-14.VALA 10 - 170 + 202 461 151 @@ -3234,7 +3276,7 @@ AGETI-CVME-MASTER-TMA:Evt-14.VALA 480 - 270 + 302 71 30 @@ -3257,7 +3299,7 @@ AGETI-CVME-MASTER-TMA:Evt-14.VALA 630 - 190 + 222 50 30 @@ -3282,7 +3324,7 @@ AGETI-CVME-MASTER-TMA:Evt-14.VALA 630 - 230 + 262 50 30 @@ -3307,7 +3349,7 @@ AGETI-CVME-MASTER-TMA:Evt-14.VALA 570 - 270 + 302 50 30 @@ -3332,7 +3374,7 @@ AGETI-CVME-MASTER-TMA:Evt-14.VALA 630 - 270 + 302 50 30 @@ -3357,7 +3399,7 @@ AGETI-CVME-MASTER-TMA:Evt-14.VALA 550 - 150 + 182 71 30 @@ -3380,7 +3422,7 @@ AGETI-CVME-MASTER-TMA:Evt-14.VALA 630 - 150 + 182 71 30 @@ -3403,7 +3445,7 @@ AGETI-CVME-MASTER-TMA:Evt-14.VALA 440 - 90 + 122 161 30 @@ -3426,7 +3468,7 @@ AGETI-CVME-MASTER-TMA:Evt-14.VALA 620 - 90 + 122 51 31 diff --git a/qt/A_BD_Tune.ui b/qt/A_BD_Tune.ui index 8690699..d854fcd 100644 --- a/qt/A_BD_Tune.ui +++ b/qt/A_BD_Tune.ui @@ -8,24 +8,66 @@ 0 0 950 - 780 + 812 1600 - 800 + 832 MainWindow + + + + 0 + 0 + 950 + 32 + + + + + Sans Serif + 18 + 75 + false + true + + + + Tune{{ agebd_env_suffix_paren }} + + + Qt::AlignLeading + + + + 255 + 255 + 255 + + + + + 200 + 0 + 0 + + + + caLabel::Static + + 20 - 400 + 432 911 331 @@ -233,7 +275,7 @@ 20 - 20 + 52 141 171 @@ -370,7 +412,7 @@ measurement 180 - 20 + 52 281 141 @@ -565,7 +607,7 @@ measurement 20 - 200 + 232 911 191 @@ -2295,6 +2337,11 @@ ARS07-DBPM-0840 QFrame
qwt_plot.h
+ + caLabel + QLabel +
caLabel
+
diff --git a/qt/A_BD_TuneBump.ui b/qt/A_BD_TuneBump.ui index bf4250b..2113a6b 100644 --- a/qt/A_BD_TuneBump.ui +++ b/qt/A_BD_TuneBump.ui @@ -409,24 +409,28 @@ caLabel[statusTip="Operation"]{ true
- - Operation - - Tune Shift + Tune Shift{{ agebd_env_suffix_paren }} Qt::AlignLeading + + + 255 + 255 + 255 + + - 218 - 218 - 218 + 200 + 0 + 0 - caLabel::Default + caLabel::Static
diff --git a/templates/qt/A_BD_{{ui_filename}}.ui.jinja b/templates/qt/A_BD_{{ui_filename}}.ui.jinja index 85fe03a..d7e619c 100644 --- a/templates/qt/A_BD_{{ui_filename}}.ui.jinja +++ b/templates/qt/A_BD_{{ui_filename}}.ui.jinja @@ -8,18 +8,60 @@ 0 0 800 - 600 + 632
MainWindow + + + + 0 + 0 + 800 + 32 + + + + + Sans Serif + 18 + 75 + false + true + + + + {{ ui_filename }}{{ '{{ agebd_env_suffix_paren }}' }} + + + Qt::AlignLeading + + + + 255 + 255 + 255 + + + + + 200 + 0 + 0 + + + + caLabel::Static + + 0 - 60 + 92 100 50 @@ -44,7 +86,7 @@ 0 - 0 + 32 601 22 @@ -60,7 +102,7 @@ 6 - 34 + 66 401 21 @@ -98,6 +140,11 @@ QCheckBox
caToggleButton
+ + caLabel + QLabel +
caLabel
+
-- 2.54.0 From 30d8affec0259e3adb7cfe0804ffcdefa06d7f55 Mon Sep 17 00:00:00 2001 From: Benjamin Labrecque Date: Fri, 28 Aug 2026 17:13:07 +0200 Subject: [PATCH 2/2] fix orbitbump --- qt/A_BD_OrbitBump.ui | 80 +++++++----------------------- qt/A_BD_OrbitBump_Expert.ui | 88 +++++++++------------------------ qt/A_BD_OrbitBump_Expert_all.ui | 58 +++------------------- qt/A_BD_ServiceManager.ui | 20 +++++--- 4 files changed, 62 insertions(+), 184 deletions(-) diff --git a/qt/A_BD_OrbitBump.ui b/qt/A_BD_OrbitBump.ui index a0ac929..05a40dc 100644 --- a/qt/A_BD_OrbitBump.ui +++ b/qt/A_BD_OrbitBump.ui @@ -8,60 +8,18 @@ 0 0 770 - 1022 + 990
MainWindow - - - - 0 - 0 - 770 - 32 - - - - - Sans Serif - 18 - 75 - false - true - - - - Orbit Bump{{ agebd_env_suffix_paren }} - - - Qt::AlignLeading - - - - 255 - 255 - 255 - - - - - 200 - 0 - 0 - - - - caLabel::Static - - 10 - 252 + 220 750 346 @@ -83,7 +41,7 @@ 10 - 112 + 80 750 100 @@ -105,7 +63,7 @@ 10 - 222 + 190 261 30 @@ -128,7 +86,7 @@ 10 - 82 + 50 291 30 @@ -151,7 +109,7 @@ 10 - 602 + 570 261 30 @@ -174,7 +132,7 @@ 10 - 632 + 600 750 541 @@ -196,7 +154,7 @@ 330 - 82 + 50 100 30 @@ -219,7 +177,7 @@ 440 - 82 + 50 100 30 @@ -242,7 +200,7 @@ 550 - 82 + 50 100 30 @@ -265,7 +223,7 @@ 660 - 82 + 50 100 30 @@ -288,7 +246,7 @@ 598 - 36 + 4 170 30 @@ -314,7 +272,7 @@ 2 - 34 + 2 767 33 @@ -329,7 +287,7 @@ - Beamline local Bumps + Beamline local Bumps{{ agebd_env_suffix_paren }} Qt::AlignLeading @@ -343,9 +301,9 @@ - 100 - 100 - 100 + 200 + 0 + 0 @@ -356,7 +314,7 @@ 800 - 292 + 260 70 20 @@ -381,7 +339,7 @@ 800 - 352 + 320 70 20 diff --git a/qt/A_BD_OrbitBump_Expert.ui b/qt/A_BD_OrbitBump_Expert.ui index d0b3906..6f2e128 100644 --- a/qt/A_BD_OrbitBump_Expert.ui +++ b/qt/A_BD_OrbitBump_Expert.ui @@ -8,60 +8,18 @@ 0 0 1801 - 228 + 196 MainWindow - - - - 0 - 0 - 1801 - 32 - - - - - Sans Serif - 18 - 75 - false - true - - - - Orbit Bump Expert{{ agebd_env_suffix_paren }} - - - Qt::AlignLeading - - - - 255 - 255 - 255 - - - - - 200 - 0 - 0 - - - - caLabel::Static - - 10 - 104 + 72 1790 120 @@ -83,7 +41,7 @@ 240 - 74 + 42 100 30 @@ -106,7 +64,7 @@ 354 - 74 + 42 100 30 @@ -129,7 +87,7 @@ 462 - 74 + 42 100 30 @@ -152,7 +110,7 @@ 574 - 74 + 42 100 30 @@ -175,7 +133,7 @@ 686 - 74 + 42 100 30 @@ -198,7 +156,7 @@ 966 - 74 + 42 100 30 @@ -221,7 +179,7 @@ 1246 - 74 + 42 100 30 @@ -244,7 +202,7 @@ 1526 - 74 + 42 100 30 @@ -267,7 +225,7 @@ 791 - 74 + 42 80 30 @@ -290,7 +248,7 @@ 876 - 74 + 42 80 30 @@ -313,7 +271,7 @@ 1071 - 74 + 42 80 30 @@ -336,7 +294,7 @@ 1156 - 74 + 42 80 30 @@ -359,7 +317,7 @@ 1631 - 74 + 42 80 30 @@ -382,7 +340,7 @@ 1351 - 74 + 42 80 30 @@ -405,7 +363,7 @@ 1716 - 74 + 42 80 30 @@ -428,7 +386,7 @@ 1436 - 74 + 42 80 30 @@ -451,7 +409,7 @@ 0 - 32 + 0 1909 33 @@ -466,7 +424,7 @@ - $(sourcepoint) $(beamline) + $(sourcepoint) $(beamline){{ agebd_env_suffix_paren }} Qt::AlignLeading @@ -480,9 +438,9 @@ - 100 - 100 - 100 + 200 + 0 + 0 diff --git a/qt/A_BD_OrbitBump_Expert_all.ui b/qt/A_BD_OrbitBump_Expert_all.ui index 997afed..6bccc50 100644 --- a/qt/A_BD_OrbitBump_Expert_all.ui +++ b/qt/A_BD_OrbitBump_Expert_all.ui @@ -8,33 +8,33 @@ 0 0 1819 - 1502 + 1470 MainWindow - + 0 - 0 - 1819 - 32 + 2 + 1837 + 33 Sans Serif - 18 + 20 75 false true - Orbit Bump Expert All{{ agebd_env_suffix_paren }} + Beamline local Bumps Expert{{ agebd_env_suffix_paren }} Qt::AlignLeading @@ -57,53 +57,11 @@ caLabel::Static - - - - 0 - 34 - 1837 - 33 - - - - - Sans Serif - 20 - 75 - false - true - - - - Beamline local Bumps Expert - - - Qt::AlignLeading - - - - 255 - 255 - 255 - - - - - 100 - 100 - 100 - - - - caLabel::Static - - 0 - 72 + 40 1819 1430 diff --git a/qt/A_BD_ServiceManager.ui b/qt/A_BD_ServiceManager.ui index 792b30a..35a1e06 100644 --- a/qt/A_BD_ServiceManager.ui +++ b/qt/A_BD_ServiceManager.ui @@ -1213,24 +1213,28 @@ caLabel[statusTip="Operation"]{ true - - Operation - - Service Overview + Service Overview{{ agebd_env_suffix_paren }} Qt::AlignLeading + + + 255 + 255 + 255 + + - 218 - 218 - 218 + 200 + 0 + 0 - caLabel::Default + caLabel::Static -- 2.54.0