mirror of
https://gitlab.psi.ch/pyqtacc/proscan.git
synced 2026-02-21 07:58:39 +01:00
submastership devl
This commit is contained in:
@@ -580,8 +580,6 @@ class GUIHeader(QWidget):
|
||||
#for key, pf in self.pframe_matrix["O2"][11].items():
|
||||
# pf.setStyleSheet("background-color:{0};".format(color))
|
||||
|
||||
|
||||
|
||||
for key, pf in self.pframe_matrix["PRE-PIF"][3].items():
|
||||
pf.setStyleSheet("background-color:{0};".format(color))
|
||||
|
||||
@@ -715,15 +713,14 @@ class GUIHeader(QWidget):
|
||||
# if header == "SH":
|
||||
# station.setTitle("BMA1 SH")
|
||||
# else:
|
||||
|
||||
hertz = 2 if header == "COMET" else 0
|
||||
|
||||
|
||||
with_sub_master = False
|
||||
|
||||
if header == "SH":
|
||||
beam_current = QLabel("SH ")
|
||||
beam_current.setStyleSheet("font-weight: bold;")
|
||||
beam_current.setAlignment(Qt.AlignmentFlag(Qt.AlignTop | Qt.AlignHCenter))
|
||||
beam_current.setAlignment(Qt.AlignmentFlag(Qt.AlignTop|Qt.AlignHCenter))
|
||||
extra_height = 15
|
||||
extra_width = 0
|
||||
else:
|
||||
@@ -749,7 +746,6 @@ class GUIHeader(QWidget):
|
||||
beam_current.setFixedWidth(100)
|
||||
|
||||
grid_layout = QGridLayout()
|
||||
|
||||
grid_layout.addWidget(beam_current, 0, 0, 1, 1, Qt.AlignCenter)
|
||||
|
||||
if header == "MASTER" and with_sub_master:
|
||||
|
||||
Reference in New Issue
Block a user