]> jspc29.x-matter.uni-frankfurt.de Git - hadesdaq.git/commitdiff
update control GUI
authorhadaq <jan@lxhadeb07>
Wed, 18 Oct 2023 14:35:52 +0000 (16:35 +0200)
committerhadaq <jan@lxhadeb07>
Wed, 18 Oct 2023 14:35:52 +0000 (16:35 +0200)
12 files changed:
control/gui/Buttons2.pm
control/gui/expert/28_Stop_TDC_CAL.png
control/gui/expert/Restart_Hmon
control/gui/expert/old/Thresholds_STS_Reset [moved from control/gui/expert/Thresholds_STS_Reset with 100% similarity]
control/gui/monitor/10_CTS_Mon
control/gui/monitor/91_Hmon_Snaphot.png
control/gui/monitor/old/40_Eventbuilder [moved from control/gui/monitor/40_Eventbuilder with 100% similarity]
control/gui/reboot/50_Reboot_Start [moved from control/gui/reboot/50_Reboot_Start_iTOF with 100% similarity]
control/gui/reboot/50_Reboot_TOF_FW_Hubs [moved from control/gui/reboot/50_Reboot_FW_TOF_Ho_Hubs with 100% similarity]
control/gui/reboot/old/50_Reboot_STS_Hodo [moved from control/gui/reboot/50_Reboot_STS_Hodo with 100% similarity]
control/gui/settings/Thresholds_TOF_FW [moved from control/gui/settings/Thresholds_TOF with 100% similarity]
control/gui/settings/old/Thresholds_HODO [moved from control/gui/settings/Thresholds_HODO with 100% similarity]

index 97327902c2832711aae757711e839ffdc43bdff5..a5216ce722a012a7e7e479f1d866f949f1c9e17f 100644 (file)
@@ -145,7 +145,7 @@ sub NEW {
     $groupBox_4->setObjectName( "groupBox_4" );
     #$groupBox_3->setCheckable(1);
     #$groupBox_3->setChecked(0);
-    $groupBox_4->hide();
+    #$groupBox_4->hide();
     my $vl_gb4 = Qt::VBoxLayout( $groupBox_4 );
     $self->{vl_gb4} = $vl_gb4;
     $vl_gb4->setObjectName( "vl_gb4" );
@@ -190,11 +190,11 @@ sub NEW {
 
 #    $vl_top->addWidget( $pushButton );
 
-    my $checkBox = Qt::CheckBox( $centralwidget );
-    $self->{checkBox} = $checkBox;
-    $checkBox->setObjectName( "checkBox" );
#   my $checkBox = Qt::CheckBox( $centralwidget );
#   $self->{checkBox} = $checkBox;
#   $checkBox->setObjectName( "checkBox" );
 
-    $vl_top->addWidget( $checkBox );
#   $vl_top->addWidget( $checkBox );
 
     $mainWindow->setCentralWidget( $centralwidget );
     my $menubar = Qt::MenuBar( $mainWindow );
@@ -246,8 +246,8 @@ sub NEW {
 #    Qt::Object::connect($pushButton, SIGNAL 'clicked()' , $mainWindow, SLOT 'close()' );
 
 
-    Qt::Object::connect($checkBox, SIGNAL 'stateChanged(int)' ,
-                      this, SLOT 'hide_expert_checked(int)' );
+#    Qt::Object::connect($checkBox, SIGNAL 'stateChanged(int)' ,
+#                     this, SLOT 'hide_expert_checked(int)' );
 
     Qt::MetaObject::connectSlotsByName( $mainWindow );
 
@@ -267,7 +267,7 @@ sub retranslateUi {
     $self->{groupBox_6}->setTitle( Qt::Application::translate( 'MainWindow', "Settings", undef, Qt::Application::UnicodeUTF8() ) );
     $self->{groupBox_7}->setTitle( Qt::Application::translate( 'MainWindow', "Reboot", undef, Qt::Application::UnicodeUTF8() ) );
 #    $self->{pushButton}->setText( Qt::Application::translate( 'MainWindow', "Quit DAQ-Control", undef, Qt::Application::UnicodeUTF8() ) );
-    $self->{checkBox}->setText( Qt::Application::translate( 'MainWindow', "Show Expert Tools", undef, Qt::Application::UnicodeUTF8() ) );
+#    $self->{checkBox}->setText( Qt::Application::translate( 'MainWindow', "Show Expert Tools", undef, Qt::Application::UnicodeUTF8() ) );
 
 
 } # retranslateUi
@@ -336,7 +336,7 @@ my \$icon$i = Qt::Icon;
 \$icon$i->addPixmap(Qt::Pixmap(\"$icon_path\"), Qt::Icon::Normal(), Qt::Icon::Off() );
 
 \$pb$i->setIcon( \$icon$i );
-\$pb$i->setIconSize( Qt::Size(40, 40) );
+\$pb$i->setIconSize( Qt::Size(32, 32) );
 
 |;
 
index b17be10355494683ec20f002e833c92636d466ab..3d6e2c17e2d0f300a28502d9654ee6a1694b634d 100644 (file)
Binary files a/control/gui/expert/28_Stop_TDC_CAL.png and b/control/gui/expert/28_Stop_TDC_CAL.png differ
index a120706aae940efa242378988068402640d0fee0..0dd3bb1b84b4fdf81cad3d0ec6f8a22e80f93767 100755 (executable)
@@ -8,6 +8,7 @@ xterm -geometry 80x24 -bg orange -fg black -e bash -c '
   ./start.sh #1>/dev/null 2>/dev/null
   echo Hmon has been restarted
   sleep 5
+  exit
   "
 '
 
index 6214a041326a19e3450ac633f7a0b98bb760d623..ce98270d5941d332e9d620ddedda91901990283f 100755 (executable)
@@ -4,16 +4,16 @@
 #if [ $myvar == "256" ]; then exit; fi
 #notifyall.sh "DAQ" "<I> DAQ is going to be restarted." "STARTUP" &
 
-export DAQOPSERVER=hadesp31
-cd /home/hadaq/trbsoft/hadesdaq/control/ctsmon
-perl ./mon_cts.pl 
-sleep 1
+#export DAQOPSERVER=hadesp31
+#cd /home/hadaq/trbsoft/hadesdaq/control/ctsmon
+#perl ./mon_cts.pl 
+#sleep 1
 
-exit
+#exit
 
 
 #xterm -geometry 80x24 -bg orange -fg black -e bash --login -c '
-  ssh -X hadaq@lxhadeb06 "
+  ssh -X hadaq@lxhadesdaqp "
   source /home/hadaq/.bashrc
   export DAQOPSERVER=hadesp31
   cd /home/hadaq/trbsoft/hadesdaq/control/ctsmon
index c72e7547a2357991fb6ef4842cca544b506a2534..98bb06f6b46bca810d1cf4822fb8af92c765def5 100644 (file)
Binary files a/control/gui/monitor/91_Hmon_Snaphot.png and b/control/gui/monitor/91_Hmon_Snaphot.png differ