Changeset 11111
- Timestamp:
- 06/22/11 17:43:48 (14 years ago)
- Location:
- trunk/FACT++/gui
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/gui/MainWindow.cc
r11102 r11111 148 148 } 149 149 150 void MainWindow::slot_fFadStartRun_clicked() 151 { 152 Dim::SendCommand("FAD_CONTROL/START_RUN"); 153 } 154 155 void MainWindow::slot_fFadStopRun_clicked() 156 { 157 Dim::SendCommand("FAD_CONTROL/STOP_RUN"); 158 } 159 160 void MainWindow::slot_fFadSingleTrigger_clicked() 161 { 162 Dim::SendCommand("FAD_CONTROL/SEND_SINGLE_TRIGGER"); 163 } 164 165 void MainWindow::slot_fFadTriggerLineOn_clicked() 166 { 167 Dim::SendCommand("FAD_CONTROL/ENABLE_TRIGGER", uint8_t(true)); 168 } 169 170 void MainWindow::slot_fFadTriggerLineOff_clicked() 171 { 172 Dim::SendCommand("FAD_CONTROL/ENABLE_TRIGGER", uint8_t(false)); 173 } 174 175 void MainWindow::slot_fFadContTriggerOn_clicked() 176 { 177 Dim::SendCommand("FAD_CONTROL/CONTINOUS_TRIGGER_ON"); 178 } 179 180 void MainWindow::slot_fFadContTriggerOff_clicked() 181 { 182 Dim::SendCommand("FAD_CONTROL/CONTINOUS_TRIGGER_OFF"); 183 } 184 185 void MainWindow::slot_fFadStart_clicked() 186 { 187 Dim::SendCommand("FAD_CONTROL/START"); 188 } 189 190 void MainWindow::slot_fFadStop_clicked() 191 { 192 Dim::SendCommand("FAD_CONTROL/STOP"); 193 } 194 195 void MainWindow::slot_fFadAbort_clicked() 196 { 197 Dim::SendCommand("FAD_CONTROL/ABORT"); 198 } 199 200 void MainWindow::slot_fFadConnect_clicked() 201 { 202 Dim::SendCommand("FAD_CONTROL/CONNECT"); 203 } 204 205 void MainWindow::slot_fFadDisconnect_clicked() 206 { 207 Dim::SendCommand("FAD_CONTROL/DISCONNECT"); 208 } 209 150 210 void MainWindow::SetTriggerSequence() 151 211 { -
trunk/FACT++/gui/MainWindow.h
r11102 r11111 45 45 void on_fTabWidget_tabCloseRequested(int which); 46 46 virtual void on_fTabWidget_currentChanged(int) { } 47 48 // Tab: FAD 49 void slot_fFadStartRun_clicked(); 50 void slot_fFadStopRun_clicked(); 51 void slot_fFadSingleTrigger_clicked(); 52 void slot_fFadTriggerLineOn_clicked(); 53 void slot_fFadTriggerLineOff_clicked(); 54 void slot_fFadContTriggerOn_clicked(); 55 void slot_fFadContTriggerOff_clicked(); 56 void slot_fFadStart_clicked(); 57 void slot_fFadStop_clicked(); 58 void slot_fFadAbort_clicked(); 59 void slot_fFadConnect_clicked(); 60 void slot_fFadDisconnect_clicked(); 47 61 48 62 // Tab: FTM -
trunk/FACT++/gui/design.ui
r11103 r11111 52 52 </property> 53 53 <property name="currentIndex"> 54 <number> 0</number>54 <number>3</number> 55 55 </property> 56 56 <property name="documentMode"> … … 3081 3081 <rect> 3082 3082 <x>10</x> 3083 <y> 330</y>3084 <width>2 01</width>3085 <height> 172</height>3083 <y>250</y> 3084 <width>247</width> 3085 <height>256</height> 3086 3086 </rect> 3087 3087 </property> 3088 3088 <layout class="QGridLayout" name="gridLayout_37"> 3089 <item row=" 0" column="0">3089 <item row="1" column="0"> 3090 3090 <widget class="QPushButton" name="fFadLedPllLck"> 3091 3091 <property name="enabled"> … … 3125 3125 </widget> 3126 3126 </item> 3127 <item row=" 1" column="0">3127 <item row="2" column="0"> 3128 3128 <widget class="QPushButton" name="fFadLedDenable"> 3129 3129 <property name="enabled"> … … 3163 3163 </widget> 3164 3164 </item> 3165 <item row=" 2" column="0">3165 <item row="3" column="0"> 3166 3166 <widget class="QPushButton" name="fFadLedDwrite"> 3167 3167 <property name="enabled"> … … 3201 3201 </widget> 3202 3202 </item> 3203 <item row=" 3" column="0">3203 <item row="4" column="0"> 3204 3204 <widget class="QPushButton" name="fFadLedDcmLocked"> 3205 3205 <property name="enabled"> … … 3239 3239 </widget> 3240 3240 </item> 3241 <item row=" 4" column="0">3241 <item row="5" column="0"> 3242 3242 <widget class="QPushButton" name="fFadLedDcmReady"> 3243 3243 <property name="enabled"> … … 3277 3277 </widget> 3278 3278 </item> 3279 <item row=" 5" column="0">3279 <item row="6" column="0"> 3280 3280 <widget class="QPushButton" name="fFadLedSpiSclk"> 3281 3281 <property name="enabled"> … … 3315 3315 </widget> 3316 3316 </item> 3317 <item row=" 0" column="3">3317 <item row="1" column="3"> 3318 3318 <widget class="QLabel" name="label_92"> 3319 3319 <property name="text"> … … 3322 3322 </widget> 3323 3323 </item> 3324 <item row=" 1" column="3">3324 <item row="2" column="3"> 3325 3325 <widget class="QLabel" name="label_93"> 3326 3326 <property name="text"> … … 3329 3329 </widget> 3330 3330 </item> 3331 <item row=" 2" column="3">3331 <item row="3" column="3"> 3332 3332 <widget class="QLabel" name="label_94"> 3333 3333 <property name="text"> … … 3336 3336 </widget> 3337 3337 </item> 3338 <item row=" 3" column="3">3338 <item row="4" column="3"> 3339 3339 <widget class="QLabel" name="label_95"> 3340 3340 <property name="text"> … … 3343 3343 </widget> 3344 3344 </item> 3345 <item row=" 4" column="3">3345 <item row="5" column="3"> 3346 3346 <widget class="QLabel" name="label_96"> 3347 3347 <property name="text"> … … 3350 3350 </widget> 3351 3351 </item> 3352 <item row=" 5" column="3">3352 <item row="6" column="3"> 3353 3353 <widget class="QLabel" name="label_97"> 3354 3354 <property name="text"> … … 3357 3357 </widget> 3358 3358 </item> 3359 <item row=" 0" column="1">3359 <item row="1" column="1"> 3360 3360 <widget class="QPushButton" name="fFadPllLockOn"> 3361 3361 <property name="text"> … … 3364 3364 </widget> 3365 3365 </item> 3366 <item row=" 0" column="2">3366 <item row="1" column="2"> 3367 3367 <widget class="QPushButton" name="fFadPllLockOff"> 3368 3368 <property name="text"> … … 3371 3371 </widget> 3372 3372 </item> 3373 <item row=" 1" column="1">3373 <item row="2" column="1"> 3374 3374 <widget class="QPushButton" name="fFadDrsOn"> 3375 3375 <property name="text"> … … 3378 3378 </widget> 3379 3379 </item> 3380 <item row=" 2" column="1">3380 <item row="3" column="1"> 3381 3381 <widget class="QPushButton" name="fFadWriteOn"> 3382 3382 <property name="text"> … … 3385 3385 </widget> 3386 3386 </item> 3387 <item row=" 3" column="1">3387 <item row="4" column="1"> 3388 3388 <widget class="QPushButton" name="pushButton_8"> 3389 3389 <property name="text"> … … 3392 3392 </widget> 3393 3393 </item> 3394 <item row=" 4" column="1">3394 <item row="5" column="1"> 3395 3395 <widget class="QPushButton" name="pushButton_9"> 3396 3396 <property name="text"> … … 3399 3399 </widget> 3400 3400 </item> 3401 <item row=" 5" column="1">3401 <item row="6" column="1"> 3402 3402 <widget class="QPushButton" name="pushButton_10"> 3403 3403 <property name="text"> … … 3406 3406 </widget> 3407 3407 </item> 3408 <item row=" 1" column="2">3408 <item row="2" column="2"> 3409 3409 <widget class="QPushButton" name="fFadDrsOff"> 3410 3410 <property name="text"> … … 3413 3413 </widget> 3414 3414 </item> 3415 <item row=" 2" column="2">3415 <item row="3" column="2"> 3416 3416 <widget class="QPushButton" name="fFadWriteOff"> 3417 3417 <property name="text"> … … 3420 3420 </widget> 3421 3421 </item> 3422 <item row=" 3" column="2">3422 <item row="4" column="2"> 3423 3423 <widget class="QPushButton" name="pushButton_13"> 3424 3424 <property name="text"> … … 3427 3427 </widget> 3428 3428 </item> 3429 <item row=" 4" column="2">3429 <item row="5" column="2"> 3430 3430 <widget class="QPushButton" name="pushButton_14"> 3431 3431 <property name="text"> … … 3434 3434 </widget> 3435 3435 </item> 3436 <item row=" 5" column="2">3436 <item row="6" column="2"> 3437 3437 <widget class="QPushButton" name="pushButton_15"> 3438 <property name="text"> 3439 <string>off</string> 3440 </property> 3441 </widget> 3442 </item> 3443 <item row="0" column="1"> 3444 <widget class="QPushButton" name="fFadStartRun"> 3445 <property name="text"> 3446 <string>Start</string> 3447 </property> 3448 </widget> 3449 </item> 3450 <item row="0" column="2"> 3451 <widget class="QPushButton" name="fFadStopRun"> 3452 <property name="text"> 3453 <string>Stop</string> 3454 </property> 3455 </widget> 3456 </item> 3457 <item row="7" column="2"> 3458 <widget class="QPushButton" name="fFadTriggerLineOff"> 3459 <property name="text"> 3460 <string>off</string> 3461 </property> 3462 </widget> 3463 </item> 3464 <item row="7" column="3"> 3465 <widget class="QLabel" name="label_134"> 3466 <property name="text"> 3467 <string>Trigger line</string> 3468 </property> 3469 </widget> 3470 </item> 3471 <item row="8" column="3"> 3472 <widget class="QLabel" name="label_106"> 3473 <property name="text"> 3474 <string>Continous trigger</string> 3475 </property> 3476 </widget> 3477 </item> 3478 <item row="7" column="1"> 3479 <widget class="QPushButton" name="fFadTriggerLineOn"> 3480 <property name="text"> 3481 <string>on</string> 3482 </property> 3483 </widget> 3484 </item> 3485 <item row="8" column="1"> 3486 <widget class="QPushButton" name="fFadContTriggerOn"> 3487 <property name="text"> 3488 <string>on</string> 3489 </property> 3490 </widget> 3491 </item> 3492 <item row="8" column="2"> 3493 <widget class="QPushButton" name="fFadTriggerLineOn_3"> 3438 3494 <property name="text"> 3439 3495 <string>off</string> … … 3447 3503 <rect> 3448 3504 <x>10</x> 3449 <y> 30</y>3505 <y>20</y> 3450 3506 <width>281</width> 3451 3507 <height>234</height> … … 4202 4258 <property name="geometry"> 4203 4259 <rect> 4204 <x> 20</x>4205 <y> 10</y>4260 <x>10</x> 4261 <y>0</y> 4206 4262 <width>57</width> 4207 4263 <height>15</height> … … 4210 4266 <property name="text"> 4211 4267 <string>FAD </string> 4212 </property>4213 </widget>4214 <widget class="QLabel" name="label_106">4215 <property name="geometry">4216 <rect>4217 <x>30</x>4218 <y>300</y>4219 <width>91</width>4220 <height>16</height>4221 </rect>4222 </property>4223 <property name="text">4224 <string>FAD status</string>4225 4268 </property> 4226 4269 </widget> … … 4538 4581 <property name="text"> 4539 4582 <string>Event builder</string> 4583 </property> 4584 </widget> 4585 <widget class="QPushButton" name="fFadSingleTrigger"> 4586 <property name="geometry"> 4587 <rect> 4588 <x>680</x> 4589 <y>230</y> 4590 <width>94</width> 4591 <height>24</height> 4592 </rect> 4593 </property> 4594 <property name="text"> 4595 <string>Trigger</string> 4596 </property> 4597 </widget> 4598 <widget class="QPushButton" name="fFadStart"> 4599 <property name="geometry"> 4600 <rect> 4601 <x>580</x> 4602 <y>170</y> 4603 <width>94</width> 4604 <height>24</height> 4605 </rect> 4606 </property> 4607 <property name="text"> 4608 <string>Start</string> 4609 </property> 4610 </widget> 4611 <widget class="QPushButton" name="fFadStop"> 4612 <property name="geometry"> 4613 <rect> 4614 <x>680</x> 4615 <y>170</y> 4616 <width>94</width> 4617 <height>24</height> 4618 </rect> 4619 </property> 4620 <property name="text"> 4621 <string>Stop</string> 4622 </property> 4623 </widget> 4624 <widget class="QPushButton" name="fFadAbort"> 4625 <property name="geometry"> 4626 <rect> 4627 <x>780</x> 4628 <y>170</y> 4629 <width>94</width> 4630 <height>24</height> 4631 </rect> 4632 </property> 4633 <property name="text"> 4634 <string>Abort</string> 4635 </property> 4636 </widget> 4637 <widget class="QPushButton" name="fFadConnect"> 4638 <property name="geometry"> 4639 <rect> 4640 <x>620</x> 4641 <y>200</y> 4642 <width>94</width> 4643 <height>24</height> 4644 </rect> 4645 </property> 4646 <property name="text"> 4647 <string>Connect</string> 4648 </property> 4649 </widget> 4650 <widget class="QPushButton" name="fFadDisconnect"> 4651 <property name="geometry"> 4652 <rect> 4653 <x>740</x> 4654 <y>200</y> 4655 <width>94</width> 4656 <height>24</height> 4657 </rect> 4658 </property> 4659 <property name="text"> 4660 <string>Disconnect</string> 4540 4661 </property> 4541 4662 </widget>
Note:
See TracChangeset
for help on using the changeset viewer.