FACT++  1.0
MainWindow.cc
Go to the documentation of this file.
1 #include "MainWindow.h"
2 
3 #include <iostream>
4 #include <sstream>
5 
6 #include <QTimer>
7 
8 #include "src/Dim.h"
9 
10 #include "DockWindow.h"
11 #include "HtmlDelegate.h"
12 #include "CheckBoxDelegate.h"
13 
14 using namespace std;
15 
16 void MainWindow::MakeLEDs(QPushButton **arr, QGridLayout *lay, const char *slot) const
17 {
18  arr[0]->setToolTip("Crate 0, Board 0, Index 0");
19 
20  for (int i=1; i<40; i++)
21  {
22  QPushButton *b = new QPushButton(static_cast<QWidget*>(arr[0]->parent()));
23 
24  b->setEnabled(arr[0]->isEnabled());
25  b->setSizePolicy(arr[0]->sizePolicy());
26  b->setMaximumSize(arr[0]->maximumSize());
27  b->setIcon(arr[0]->icon());
28  b->setIconSize(arr[0]->iconSize());
29  b->setCheckable(arr[0]->isCheckable());
30  b->setFlat(arr[0]->isFlat());
31 
32  ostringstream str;
33  str << "Crate " << i/10 << ", Board " << i%10 << ", Index " << i;
34  b->setToolTip(str.str().c_str());
35 
36  lay->addWidget(b, i/10+1, i%10+1, 1, 1);
37 
38  arr[i] = b;
39  }
40 
41  const QString name = arr[0]->objectName();
42 
43  for (int i=0; i<40; i++)
44  {
45  arr[i]->setObjectName(name+QString::number(i));
46  QObject::connect(arr[i], SIGNAL(clicked()), this, slot);
47  }
48 }
49 
50 MainWindow::MainWindow(QWidget *p) : QMainWindow(p)
51 {
52  // setupUi MUST be called before the DimNetwork is initilized
53  // In this way it can be ensured that nothing from the
54  // DimNetwork arrives before all graphical elements are
55  // initialized. This is a simple but very powerfull trick.
56  setupUi(this);
57 
58  // Now here we can do further setup which should be done
59  // before the gui is finally displayed.
60  fDimCmdServers->setItemDelegate(new CheckBoxDelegate);
61  fDimCmdCommands->setItemDelegate(new CheckBoxDelegate);
62  fDimCmdDescription->setItemDelegate(new HtmlDelegate);
63 
64  fDimSvcServers->setItemDelegate(new CheckBoxDelegate);
65  fDimSvcServices->setItemDelegate(new CheckBoxDelegate);
66  fDimSvcDescription->setItemDelegate(new HtmlDelegate);
67 
68  // Set a default string to be displayed in a the status bar at startup
69  fStatusBar->showMessage(PACKAGE_STRING " | " PACKAGE_URL " | report bugs to <" PACKAGE_BUGREPORT ">");
70 
71  // Initialize the 40 FTU Leds as a copy of the prototype LED
72  fFtuLED[0] = fFtuLEDPrototype;
73  MakeLEDs(fFtuLED, fFtuLedLayout, SLOT(slot_fFtuLED_clicked()));
74 
75  // Initialize the 40 FAD Leds as a copy of the prototype LED
76  fFadLED[0] = fFadLEDPrototype;
77  MakeLEDs(fFadLED, fFadLedLayout, SLOT(slot_fFadLED_clicked()));
78 
79  // Initialize a timer to update the displayed UTC time
80  QTimer *timer = new QTimer(this);
81  connect(timer, SIGNAL(timeout()), this, SLOT(slot_TimeUpdate()));
82  timer->start(100);
83 }
84 
86 {
87  // Used toUTC to support also older Qt versions
88  // toTime_t() always returns the datetime converted to UTC
89  // dateTime() unfortunately returns our UTC always as LocalTime
90  QDateTime now = QDateTime::currentDateTime().toUTC();
91  now.setTimeSpec(Qt::LocalTime);
92 
93  if (now.toTime_t()==fUTC->dateTime().toTime_t())
94  return;
95 
96  fUTC->setDateTime(now);
97 }
98 
99 
100 void MainWindow::SelectTab(const QString &name)
101 {
102  for (int i=0; i<fTabWidget->count(); i++)
103  if (fTabWidget->tabText(i)==name)
104  {
105  fTabWidget->setCurrentIndex(i);
106  break;
107  }
108 }
109 
111 {
112  if (fTableComments->model())
113  fTableComments->model()->insertRow(fTableComments->model()->rowCount());
114 }
115 
117 {
118  const int32_t v[2] = { -1, val };
119 
120  if (!fInHandler)
121  Dim::SendCommand("FTM_CONTROL/SET_N_OUT_OF_4", v);
122 }
123 
125 {
126  fRatesCanv->SetMin(min);
127 }
128 
130 {
131  fRatesCanv->SetMax(max);
132 }
133 
135 {
136  Dim::SendCommand("DIS_DNS/KILL_SERVERS", int(1));
137 }
138 
140 {
141  Dim::SendCommand("DIS_DNS/KILL_SERVERS", int(1));
142  Dim::SendCommand("DIS_DNS/EXIT", int(1));
143 }
144 
146 {
147  // To get the correct size we have to switch to this tab
148  // An alternative would be to take the size of the current tab
149  fTabWidget->setCurrentIndex(which);
150 
151  QWidget *w = fTabWidget->currentWidget(); //fTabWidget->widget(which);
152  if (!w)
153  {
154  cout << "Weird... the tab requested to be closed doesn't exist!" << endl;
155  return;
156  }
157 
158  QDockWidget *d = w->findChild<QDockWidget*>();
159  if (!d)
160  {
161  cout << "Sorry, tab requested to be closed contains no QDockWidget!" << endl;
162  return;
163  }
164 
165  new DockWindow(d, fTabWidget->tabText(which));
166  fTabWidget->removeTab(which);
167 
168  if (fTabWidget->count()==1)
169  fTabWidget->setTabsClosable(false);
170 }
171 
173 {
174  struct Value
175  {
176  uint64_t time;
177  uint64_t nevts;
178  char type[];
179  };
180 
181  const int idx1 = fMcpRunType->currentIndex();
182  const int idx2 = fMcpTime->currentIndex();
183  const int idx3 = fMcpNumEvents->currentIndex();
184 
185  const int64_t v2 = fMcpTime->itemData(idx2).toInt();
186  const int64_t v3 = fMcpNumEvents->itemData(idx3).toInt();
187 
188  const QString rt = fMcpRunType->itemData(idx1).toString();
189 
190  const size_t len = sizeof(Value)+rt.length()+1;
191 
192  char *buf = new char[len];
193 
194  Value *val = reinterpret_cast<Value*>(buf);
195 
196  val->time = v2;
197  val->nevts = v3;
198 
199  strcpy(val->type, rt.toStdString().c_str());
200 
201  Dim::SendCommand("MCP/START", buf, len);
202 
203  delete [] buf;
204 
205 }
207 {
208  Dim::SendCommand("MCP/STOP");
209 }
210 
212 {
213  Dim::SendCommand("MCP/RESET");
214 }
215 
217 {
218  Dim::SendCommand("DATA_LOGGER/START_RUN_LOGGING");
219 }
220 
222 {
223  Dim::SendCommand("DATA_LOGGER/STOP_RUN_LOGGING");
224 }
225 
227 {
228  Dim::SendCommand("FTM_CONTROL/START_TRIGGER");
229 }
230 
232 {
233  Dim::SendCommand("FTM_CONTROL/STOP_TRIGGER");
234 }
235 
236 /*
237 void MainWindow::on_fFadStartRun_clicked()
238 {
239  Dim::SendCommand("FAD_CONTROL/START_RUN");
240 }
241 
242 void MainWindow::on_fFadStopRun_clicked()
243 {
244  Dim::SendCommand("FAD_CONTROL/STOP_RUN");
245 }
246 */
247 
249 {
250  Dim::SendCommand("FAD_CONTROL/ENABLE_DRS", uint8_t(true));
251 }
252 
254 {
255  Dim::SendCommand("FAD_CONTROL/ENABLE_DRS", uint8_t(false));
256 }
257 
259 {
260  Dim::SendCommand("FAD_CONTROL/ENABLE_DWRITE", uint8_t(true));
261 }
262 
264 {
265  Dim::SendCommand("FAD_CONTROL/ENABLE_DWRITE", uint8_t(false));
266 }
267 
269 {
270  Dim::SendCommand("FAD_CONTROL/SEND_SINGLE_TRIGGER");
271 }
272 
274 {
275  Dim::SendCommand("FAD_CONTROL/ENABLE_TRIGGER_LINE", uint8_t(true));
276 }
277 
279 {
280  Dim::SendCommand("FAD_CONTROL/ENABLE_TRIGGER_LINE", uint8_t(false));
281 }
282 
284 {
285  Dim::SendCommand("FAD_CONTROL/ENABLE_CONTINOUS_TRIGGER", uint8_t(true));
286 }
287 
289 {
290  Dim::SendCommand("FAD_CONTROL/ENABLE_CONTINOUS_TRIGGER", uint8_t(false));
291 }
292 
294 {
295  Dim::SendCommand("FAD_CONTROL/ENABLE_BUSY_ON", uint8_t(true));
296 }
297 
299 {
300  Dim::SendCommand("FAD_CONTROL/ENABLE_BUSY_ON", uint8_t(false));
301 }
302 
304 {
305  Dim::SendCommand("FAD_CONTROL/ENABLE_BUSY_OFF", uint8_t(true));
306 }
307 
309 {
310  Dim::SendCommand("FAD_CONTROL/ENABLE_BUSY_OFF", uint8_t(false));
311 }
312 
314 {
315  Dim::SendCommand("FAD_CONTROL/ENABLE_COMMAND_SOCKET_MODE", uint8_t(true));
316 }
317 
319 {
320  Dim::SendCommand("FAD_CONTROL/ENABLE_COMMAND_SOCKET_MODE", uint8_t(false));
321 }
322 
324 {
325  Dim::SendCommand("FAD_CONTROL/RESET_EVENT_COUNTER");
326 }
327 
329 {
330  Dim::SendCommand("FAD_CONTROL/SET_FILE_FORMAT", fmt);
331 }
332 
334 {
335  Dim::SendCommand("FAD_CONTROL/START");
336 }
337 
339 {
340  Dim::SendCommand("FAD_CONTROL/STOP");
341 }
342 
344 {
345  Dim::SendCommand("FAD_CONTROL/ABORT");
346 }
347 
349 {
350  Dim::SendCommand("FAD_CONTROL/SOFT_RESET");
351 }
352 
354 {
355  Dim::SendCommand("FAD_CONTROL/HARD_RESET");
356 }
357 
359 {
360  for (int32_t i=0; i<40; i++)
361  if (sender()==fFadLED[i])
362  {
363  Dim::SendCommand("FAD_CONTROL/TOGGLE", i);
364  break;
365  }
366 }
367 
369 {
370  Dim::SendCommand("FAD_CONTROL/SET_TRIGGER_RATE", uint32_t(val));
371 }
372 
374 {
375  Dim::SendCommand("FAD_CONTROL/SET_RUN_NUMBER", uint64_t(val));
376 }
377 
379 {
380  const int32_t vals1[2] = { -1, fFadRoiCmd->value() };
381  Dim::SendCommand("FAD_CONTROL/SET_REGION_OF_INTEREST", vals1);
382 
383  for (int ch=8; ch<36; ch+=9)
384  {
385  const int32_t vals2[2] = { ch, fFadRoiCh9Cmd->value() };
386  Dim::SendCommand("FAD_CONTROL/SET_REGION_OF_INTEREST", vals2);
387  }
388 }
389 
390 void MainWindow::FadDacCmd_valueChanged(uint16_t val, uint16_t idx)
391 {
392  const uint32_t cmd[2] = { idx, val };
393  Dim::SendCommand("FAD_CONTROL/SET_DAC_VALUE", cmd);
394 }
395 
397 {
398  Dim::SendCommand("FAD_CONTROL/START_DRS_CALIBRATION");
399 }
400 
402 {
403  Dim::SendCommand("FAD_CONTROL/RESET_SECONDARY_DRS_BASELINE");
404 }
405 
407 {
408  const uint16_t d[3] =
409  {
410  uint16_t(fTriggerSeqPed->value()),
411  uint16_t(fTriggerSeqLPext->value()),
412  uint16_t(fTriggerSeqLPint->value())
413  };
414 
415  if (!fInHandler)
416  Dim::SendCommand("FTM_CONTROL/SET_TRIGGER_SEQUENCE", d);
417 }
418 
419 /*
420 void MainWindow::on_fEnableTrigger_clicked(bool b)
421 {
422  Dim::SendCommand("FTM_CONTROL/ENABLE_TRIGGER", b);
423 }
424 
425 void MainWindow::on_fEnableExt1_clicked(bool b)
426 {
427  Dim::SendCommand("FTM_CONTROL/ENABLE_EXT1", b);
428 }
429 
430 void MainWindow::on_fEnableExt2_clicked(bool b)
431 {
432  Dim::SendCommand("FTM_CONTROL/ENABLE_EXT2", b);
433 }
434 
435 void MainWindow::on_fEnableVeto_clicked(bool b)
436 {
437  Dim::SendCommand("FTM_CONTROL/ENABLE_VETO", b);
438 }
439 */
441 {
442  if (!fInHandler)
443  Dim::SendCommand("FTM_CONTROL/SET_TRIGGER_MULTIPLICITY", v);
444 }
445 
447 {
448  if (!fInHandler)
449  Dim::SendCommand("FTM_CONTROL/SET_TRIGGER_WINDOW", v/4-2);
450 }
451 
453 {
454  if (!fInHandler)
455  Dim::SendCommand("FTM_CONTROL/SET_CALIBRATION_MULTIPLICITY", v);
456 }
457 
459 {
460  if (!fInHandler)
461  Dim::SendCommand("FTM_CONTROL/SET_CALIBRATION_WINDOW", v/4-2);
462 }
463 
465 {
466  if (!fInHandler)
467  Dim::SendCommand("FTM_CONTROL/SET_TRIGGER_INTERVAL", val);
468 }
469 
471 {
472  if (!fInHandler)
473  Dim::SendCommand("FTM_CONTROL/SET_TRIGGER_DELAY", val/4-2);
474 }
475 
477 {
478  if (!fInHandler)
479  Dim::SendCommand("FTM_CONTROL/SET_TIME_MARKER_DELAY", val/4-2);
480 }
481 
483 {
484  if (!fInHandler)
485  Dim::SendCommand("FTM_CONTROL/SET_DEAD_TIME", val/4-2);
486 }
487 
489 {
490  if (!fInHandler)
491  Dim::SendCommand("FTM_CONTROL/SET_PRESCALING", val);
492 }
493 
495 {
496  Dim::SendCommand("FTM_CONTROL/ENABLE_PIXEL", int16_t(-1));
497 }
498 
500 {
501  Dim::SendCommand("FTM_CONTROL/DISABLE_PIXEL", int16_t(-1));
502 }
503 
505 {
506  if (!fInHandler)
507  Dim::SendCommand("FTM_CONTROL/ENABLE_TRIGGER", b==Qt::Checked);
508 }
509 
511 {
512  if (!fInHandler)
513  Dim::SendCommand("FTM_CONTROL/ENABLE_EXT1", b==Qt::Checked);
514 }
515 
517 {
518  if (!fInHandler)
519  Dim::SendCommand("FTM_CONTROL/ENABLE_EXT2", b==Qt::Checked);
520 }
521 
523 {
524  if (!fInHandler)
525  Dim::SendCommand("FTM_CONTROL/ENABLE_CLOCK_CONDITIONER", b==Qt::Checked);
526 }
527 
529 {
530  if (!fInHandler)
531  Dim::SendCommand("FTM_CONTROL/ENABLE_VETO", b==Qt::Checked);
532 }
533 
535 {
536  if (!fInHandler)
537  Dim::SendCommand("FTM_CONTROL/SET_CLOCK_FREQUENCY", fClockCondFreq->itemData(idx).toInt());
538 }
539 
541 {
542  for (int32_t i=0; i<40; i++)
543  if (sender()==fFtuLED[i])
544  {
545  Dim::SendCommand("FTM_CONTROL/TOGGLE_FTU", i);
546  break;
547  }
548 }
549 
551 {
552  if (checked)
553  Dim::SendCommand("FTM_CONTROL/PING");
554 }
555 
557 {
558  static const struct Data { int32_t id; char on; } __attribute__((__packed__)) d = { -1, 1 };
559  Dim::SendCommand("FTM_CONTROL/ENABLE_FTU", &d, sizeof(Data));
560 }
561 
563 {
564  static const struct Data { int32_t id; char on; } __attribute__((__packed__)) d = { -1, 0 };
565  Dim::SendCommand("FTM_CONTROL/ENABLE_FTU", &d, sizeof(Data));
566 }
567 
569 {
570  if (!fInHandler)
571  Dim::SendCommand("FTM_CONTROL/SET_INTENSITY_LPINT", uint16_t(val));
572 }
573 
575 {
576  if (!fInHandler)
577  Dim::SendCommand("FTM_CONTROL/SET_INTENSITY_LPEXT", uint16_t(val));
578 }
579 
581 {
582  if (!fInHandler)
583  Dim::SendCommand("FTM_CONTROL/ENABLE_GROUP1_LPINT", uint8_t(b));
584 }
585 
587 {
588  if (!fInHandler)
589  Dim::SendCommand("FTM_CONTROL/ENABLE_GROUP1_LPEXT", uint8_t(b));
590 }
591 
593 {
594  if (!fInHandler)
595  Dim::SendCommand("FTM_CONTROL/ENABLE_GROUP2_LPINT", uint8_t(b));
596 }
597 
599 {
600  if (!fInHandler)
601  Dim::SendCommand("FTM_CONTROL/ENABLE_GROUP2_LPEXT", uint8_t(b));
602 }
603 
605 {
606  fFeedbackDevCam->SetMin(min);
607  fFeedbackDevCam->updateCamera();
608 }
609 
611 {
612  fFeedbackDevCam->SetMax(max);
613  fFeedbackDevCam->updateCamera();
614 }
615 
617 {
618  fFeedbackCmdCam->SetMin(min);
619  fFeedbackCmdCam->updateCamera();
620 }
621 
623 {
624  fFeedbackCmdCam->SetMax(max);
625  fFeedbackCmdCam->updateCamera();
626 }
627 
629 {
630  Dim::SendCommand("FEEDBACK/START",
631  (float)fFeedbackOvervoltage->value());
632 }
633 
635 {
636  Dim::SendCommand("FEEDBACK/STOP");
637 }
638 
640 {
641  Dim::SendCommand("FEEDBACK/CALIBRATE");
642 }
643 
645 {
646  fBiasVoltDacVolt->setValue(val*90./4096);
647 }
648 
649 /*
650 void MainWindow::on_fBiasRequestStatus_clicked()
651 {
652  if (!fInHandler)
653  Dim::SendCommand("BIAS_CONTROL/REQUEST_STATUS");
654 }
655 */
656 
658 {
659  if (!fInHandler)
660  Dim::SendCommand("BIAS_CONTROL/SET_ZERO_VOLTAGE");
661 }
662 
664 {
665  if (!fInHandler)
666  Dim::SendCommand("BIAS_CONTROL/RESET_OVER_CURRENT_STATUS");
667 }
668 
669 
670 void MainWindow::on_fBiasApplyChVolt_clicked() // SET_CHANNEL_VOLTAGE
671 {
672  if (fInHandler)
673  return;
674 
675  const struct Data { uint16_t ch; float val; } __attribute__((__packed__)) val = {
676  uint16_t(fBiasHvBoard->value()*32+fBiasHvChannel->value()),
677  float(fBiasVolt->value())
678  };
679 
680  Dim::SendCommand("BIAS_CONTROL/SET_CHANNEL_VOLTAGE", &val, sizeof(Data));
681 }
682 
684 {
685  if (fInHandler)
686  return;
687 
688  const uint16_t val[2] =
689  {
690  uint16_t(fBiasHvBoard->value()*32+fBiasHvChannel->value()),
691  uint16_t(fBiasVoltDac->value())
692  };
693 
694  Dim::SendCommand("BIAS_CONTROL/SET_CHANNEL_DAC", val);
695 }
696 
698 {
699  if (!fInHandler)
700  Dim::SendCommand("BIAS_CONTROL/SET_GLOBAL_VOLTAGE", float(fBiasVolt->value()));
701 }
702 
704 {
705  if (!fInHandler)
706  Dim::SendCommand("BIAS_CONTROL/SET_GLOBAL_DAC", uint16_t(fBiasVoltDac->value()));
707 }
708 
710 {
711  fBiasCamV->SetMin(min);
712  fBiasCamV->updateCamera();
713 }
714 
716 {
717  fBiasCamV->SetMax(max);
718  fBiasCamV->updateCamera();
719 }
720 
722 {
723  fBiasCamA->SetMin(min);
724  fBiasCamA->updateCamera();
725 }
726 
728 {
729  fBiasCamA->SetMax(max);
730  fBiasCamA->updateCamera();
731 }
732 
734 {
735  const string msg = fChatMessage->text().toStdString();
736  if (Dim::SendCommand("CHAT/MSG", msg.c_str(), msg.length()+1))
737  fChatMessage->clear();
738 }
739 
741 {
742  SelectTab("Logger");
743 }
744 
746 {
747  SelectTab("Chat");
748 }
749 
751 {
752  SelectTab("Trigger");
753 }
754 
756 {
757  SelectTab("FTUs");
758 }
759 
761 {
762  SelectTab("FAD");
763 }
void on_fFadSocket0_clicked()
Definition: MainWindow.cc:313
void on_fFadBusyOnOff_clicked()
Definition: MainWindow.cc:298
void on_fLpIntGroup1_stateChanged(int)
Definition: MainWindow.cc:580
#define PACKAGE_BUGREPORT
void on_fLpExtIntensity_valueChanged(int)
Definition: MainWindow.cc:574
#define PACKAGE_STRING
void SelectTab(const QString &name)
Definition: MainWindow.cc:100
void on_fDrsCalibReset_clicked()
Definition: MainWindow.cc:401
A main window which can be used to display a QDockWidget from a tab.
Definition: DockWindow.h:10
int Data[MAX_SERVICES]
A delegate which displays an arrow if there are sub items and raises an event if the checkbox is chec...
void on_fMcpReset_clicked()
Definition: MainWindow.cc:211
void on_fTimeMarkerDelay_valueChanged(int)
Definition: MainWindow.cc:476
void on_fBiasApplyChDac_clicked()
Definition: MainWindow.cc:683
void on_fStatusFTMLed_clicked()
Definition: MainWindow.cc:750
void on_fLpExtGroup2_stateChanged(int)
Definition: MainWindow.cc:598
void on_fTabWidget_tabCloseRequested(int which)
Definition: MainWindow.cc:145
bool fInHandler
Definition: MainWindow.h:26
void on_fFadResetTriggerId_clicked()
Definition: MainWindow.cc:323
uint16_t fTriggerSeqLPint
Definition: HeadersFTM.h:194
void on_fPhysicsWindow_valueChanged(int)
Definition: MainWindow.cc:446
void on_fFadHardReset_clicked()
Definition: MainWindow.cc:353
void on_fLpIntGroup2_stateChanged(int)
Definition: MainWindow.cc:592
void on_fFadDwriteOn_clicked()
Definition: MainWindow.cc:258
void on_fFeedbackDevMax_valueChanged(int)
Definition: MainWindow.cc:610
void on_fEnableTrigger_stateChanged(int)
Definition: MainWindow.cc:504
void on_fFeedbackStart_clicked()
Definition: MainWindow.cc:628
void on_fRatesMax_valueChanged(int)
Definition: MainWindow.cc:129
int i
Definition: db_dim_client.c:21
char str[80]
Definition: test_client.c:7
void slot_TimeUpdate()
Definition: MainWindow.cc:85
void on_fFtuPing_toggled(bool)
Definition: MainWindow.cc:550
void on_fFadBusyOffOn_clicked()
Definition: MainWindow.cc:303
void on_fFadSingleTrigger_clicked()
Definition: MainWindow.cc:268
void on_fFadContTriggerOff_clicked()
Definition: MainWindow.cc:288
void on_fFeedbackCmdMax_valueChanged(int)
Definition: MainWindow.cc:622
void on_fMcpStartRun_clicked()
Definition: MainWindow.cc:172
void on_fCalibCoincidence_valueChanged(int)
Definition: MainWindow.cc:452
void on_fFeedbackCalibrate_clicked()
Definition: MainWindow.cc:639
void on_fFtuAllOff_clicked()
Definition: MainWindow.cc:562
STL namespace.
void on_fShutdown_clicked()
Definition: MainWindow.cc:134
void on_fClockCondFreq_activated(int)
Definition: MainWindow.cc:534
char id[4]
Definition: FITS.h:71
void on_fBiasSetToZero_clicked()
Definition: MainWindow.cc:657
void on_fFtuAllOn_clicked()
Definition: MainWindow.cc:556
void on_fFadBusyOffOff_clicked()
Definition: MainWindow.cc:308
void MakeLEDs(QPushButton **arr, QGridLayout *lay, const char *slot) const
Definition: MainWindow.cc:16
void on_fStatusLoggerLed_clicked()
Definition: MainWindow.cc:740
void on_fCalibWindow_valueChanged(int)
Definition: MainWindow.cc:458
void on_fFadDrsOff_clicked()
Definition: MainWindow.cc:253
void on_fFadRunNumberCmd_valueChanged(int)
Definition: MainWindow.cc:373
void on_fFadTriggerLineOff_clicked()
Definition: MainWindow.cc:278
void on_fFadBusyOnOn_clicked()
Definition: MainWindow.cc:293
void on_fFadStop_clicked()
Definition: MainWindow.cc:338
void on_fFadContTriggerOn_clicked()
Definition: MainWindow.cc:283
MainWindow(QWidget *p=0)
Definition: MainWindow.cc:50
void on_fLoggerStop_clicked()
Definition: MainWindow.cc:221
void on_fNoutof4Val_valueChanged(int)
Definition: MainWindow.cc:116
void on_fBiasApplyGlobalVolt_clicked()
Definition: MainWindow.cc:697
void on_fFadDwriteOff_clicked()
Definition: MainWindow.cc:263
void on_fMcpStopRun_clicked()
Definition: MainWindow.cc:206
void on_fFadRoiCmd_valueChanged(int=0)
Definition: MainWindow.cc:378
bool SendCommand(const std::string &command)
Definition: Dim.h:26
void on_fShutdownAll_clicked()
Definition: MainWindow.cc:139
void on_fLoggerStart_clicked()
Definition: MainWindow.cc:216
void on_fStatusChatLed_clicked()
Definition: MainWindow.cc:745
void on_fPhysicsCoincidence_valueChanged(int)
Definition: MainWindow.cc:440
uint16_t fTriggerSeqLPext
Definition: HeadersFTM.h:195
void on_fLpIntIntensity_valueChanged(int)
Definition: MainWindow.cc:568
int type
void FadSetFileFormat(uint16_t fmt)
Definition: MainWindow.cc:328
#define PACKAGE_URL
void on_fBiasApplyGlobalDac_clicked()
Definition: MainWindow.cc:703
void on_fStatusFTULed_clicked()
Definition: MainWindow.cc:755
void on_fFadStart_clicked()
Definition: MainWindow.cc:333
void on_fFadPrescalerCmd_valueChanged(int)
Definition: MainWindow.cc:368
typedef __attribute__
void on_fEnableVeto_stateChanged(int)
Definition: MainWindow.cc:528
Warning because the service this data corrsponds to might have been last updated longer ago than Local time
Definition: smartfact.txt:92
void on_fPixelEnableAll_clicked()
Definition: MainWindow.cc:494
void on_fFeedbackCmdMin_valueChanged(int)
Definition: MainWindow.cc:616
void on_fBiasVoltMin_valueChanged(int)
Definition: MainWindow.cc:709
void on_fBiasApplyChVolt_clicked()
Definition: MainWindow.cc:670
A Qt-Delegate to display HTML text (QTextDocument) in a list.
Definition: HtmlDelegate.h:6
void on_fLpExtGroup1_stateChanged(int)
Definition: MainWindow.cc:586
void FadDacCmd_valueChanged(uint16_t, uint16_t)
Definition: MainWindow.cc:390
void on_fPrescalingVal_valueChanged(int)
Definition: MainWindow.cc:488
uint16_t fTriggerSeqPed
Definition: HeadersFTM.h:196
void on_fBiasVoltDac_valueChanged(int)
Definition: MainWindow.cc:644
void on_fBiasReset_clicked()
Definition: MainWindow.cc:663
void on_fFtmStartRun_clicked()
Definition: MainWindow.cc:226
void on_fDrsCalibStart_clicked()
Definition: MainWindow.cc:396
void on_fDeadTime_valueChanged(int)
Definition: MainWindow.cc:482
void on_fFadTriggerLineOn_clicked()
Definition: MainWindow.cc:273
void on_fRatesMin_valueChanged(int)
Definition: MainWindow.cc:124
void slot_fFadLED_clicked()
Definition: MainWindow.cc:358
void on_fBiasVoltMax_valueChanged(int)
Definition: MainWindow.cc:715
void on_fPixelDisableAll_clicked()
Definition: MainWindow.cc:499
void on_fFadDrsOn_clicked()
Definition: MainWindow.cc:248
void on_fFeedbackStop_clicked()
Definition: MainWindow.cc:634
void SetTriggerSequence()
Definition: MainWindow.cc:406
void on_fFeedbackDevMin_valueChanged(int)
Definition: MainWindow.cc:604
void on_fStatusFADLed_clicked()
Definition: MainWindow.cc:760
void on_fFadAbort_clicked()
Definition: MainWindow.cc:343
void on_fCommentInsertRow_clicked()
Definition: MainWindow.cc:110
void on_fTriggerInterval_valueChanged(int)
Definition: MainWindow.cc:464
void on_fBiasCurrentMax_valueChanged(int)
Definition: MainWindow.cc:727
QPushButton * fFtuLED[40]
Definition: MainWindow.h:23
void on_fEnableExt1_stateChanged(int)
Definition: MainWindow.cc:510
void on_fBiasCurrentMin_valueChanged(int)
Definition: MainWindow.cc:721
void on_fChatSend_clicked()
Definition: MainWindow.cc:733
void on_fFadSocket17_clicked()
Definition: MainWindow.cc:318
void on_fEnableClockCond_stateChanged(int)
Definition: MainWindow.cc:522
void on_fTriggerDelay_valueChanged(int)
Definition: MainWindow.cc:470
void on_fEnableExt2_stateChanged(int)
Definition: MainWindow.cc:516
void slot_fFtuLED_clicked()
Definition: MainWindow.cc:540
void on_fFadSoftReset_clicked()
Definition: MainWindow.cc:348
void on_fFtmStopRun_clicked()
Definition: MainWindow.cc:231
QPushButton * fFadLED[40]
Definition: MainWindow.h:24