Changeset 12427 for trunk/FACT++
- Timestamp:
- 11/06/11 18:09:11 (13 years ago)
- Location:
- trunk/FACT++/gui
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/gui/FactGui.h
r12416 r12427 3002 3002 fFeedbackFrameLeft->setEnabled(s.index!=5 && s.index!=7); 3003 3003 fFeedbackCanvLeft->setEnabled(s.index!=5 && s.index!=7); 3004 } 3005 3006 if (server=="RATE_CONTROL") 3007 { 3008 fStatusRateControlLabel->setText(s.name.c_str()); 3009 fStatusRateControlLabel->setToolTip(s.comment.c_str()); 3010 3011 if (s.index==7) // InProgress 3012 SetLedColor(fStatusFeedbackLed, kLedInProgress, time); 3013 if (s.index==6) // GlobalThresholdSet 3014 SetLedColor(fStatusFeedbackLed, kLedGreenCheck, time); 3015 if (s.index==5 || s.index==6) // SettingGlobalThreshold / WaitingForreference 3016 SetLedColor(fStatusFeedbackLed, kLedGreen, time); 3017 if (s.index==4) // Connected 3018 SetLedColor(fStatusFeedbackLed, kLedGreenBar, time); 3019 if (s.index==3) // Connecting 3020 SetLedColor(fStatusFeedbackLed, kLedOrange, time); 3021 if (s.index<3) // NoDim / Disconnected 3022 SetLedColor(fStatusFeedbackLed, kLedRed, time); 3023 if (s.index<1) // No Dim connection 3024 SetLedColor(fStatusFeedbackLed, kLedGray, time); 3004 3025 } 3005 3026 -
trunk/FACT++/gui/design.ui
r12414 r12427 15780 15780 <size> 15781 15781 <width>251</width> 15782 <height>80 3</height>15782 <height>807</height> 15783 15783 </size> 15784 15784 </property> … … 15936 15936 </widget> 15937 15937 </item> 15938 <item row="1 1" column="1">15938 <item row="12" column="1"> 15939 15939 <widget class="QLabel" name="label_135"> 15940 15940 <property name="text"> … … 15943 15943 </widget> 15944 15944 </item> 15945 <item row="1 2" column="1">15945 <item row="13" column="1"> 15946 15946 <widget class="QLabel" name="label_60"> 15947 15947 <property name="text"> … … 15953 15953 </widget> 15954 15954 </item> 15955 <item row="1 3" column="0">15955 <item row="14" column="0"> 15956 15956 <widget class="QCheckBox" name="fStatusLoggerEnable"> 15957 15957 <property name="enabled"> … … 15978 15978 </widget> 15979 15979 </item> 15980 <item row="1 3" column="1">15980 <item row="14" column="1"> 15981 15981 <widget class="QLabel" name="fStatusLogger"> 15982 15982 <property name="sizePolicy"> … … 15997 15997 </widget> 15998 15998 </item> 15999 <item row="1 4" column="1">15999 <item row="15" column="1"> 16000 16000 <widget class="QLabel" name="fStatusChat"> 16001 16001 <property name="sizePolicy"> … … 16177 16177 </widget> 16178 16178 </item> 16179 <item row="1 1" column="2">16179 <item row="12" column="2"> 16180 16180 <widget class="QPushButton" name="fStatusFSCLed"> 16181 16181 <property name="maximumSize"> … … 16197 16197 </widget> 16198 16198 </item> 16199 <item row="1 2" column="2">16199 <item row="13" column="2"> 16200 16200 <widget class="QPushButton" name="fStatusSchedulerLed"> 16201 16201 <property name="maximumSize"> … … 16217 16217 </widget> 16218 16218 </item> 16219 <item row="1 1" column="3">16219 <item row="12" column="3"> 16220 16220 <widget class="QLabel" name="fStatusFSCLabel"> 16221 16221 <property name="text"> … … 16238 16238 </widget> 16239 16239 </item> 16240 <item row="1 3" column="2">16240 <item row="14" column="2"> 16241 16241 <widget class="QPushButton" name="fStatusLoggerLed"> 16242 16242 <property name="enabled"> … … 16276 16276 </widget> 16277 16277 </item> 16278 <item row="1 4" column="2">16278 <item row="15" column="2"> 16279 16279 <widget class="QPushButton" name="fStatusChatLed"> 16280 16280 <property name="enabled"> … … 16314 16314 </widget> 16315 16315 </item> 16316 <item row="1 2" column="3">16316 <item row="13" column="3"> 16317 16317 <widget class="QLabel" name="fStatusSchedulerLabel"> 16318 16318 <property name="text"> … … 16321 16321 </widget> 16322 16322 </item> 16323 <item row="1 3" column="3">16323 <item row="14" column="3"> 16324 16324 <widget class="QLabel" name="fStatusLoggerLabel"> 16325 16325 <property name="text"> … … 16328 16328 </widget> 16329 16329 </item> 16330 <item row="1 4" column="3">16330 <item row="15" column="3"> 16331 16331 <widget class="QLabel" name="fStatusChatLabel"> 16332 16332 <property name="text"> … … 16393 16393 </widget> 16394 16394 </item> 16395 <item row="10" column="2"> 16396 <widget class="QPushButton" name="fStatusFeedbackLed"> 16395 <item row="9" column="3"> 16396 <widget class="QLabel" name="fStatusBiasLabel"> 16397 <property name="text"> 16398 <string>Offline</string> 16399 </property> 16400 </widget> 16401 </item> 16402 <item row="3" column="3"> 16403 <widget class="QLabel" name="fStatusMCPLabel"> 16404 <property name="text"> 16405 <string>Offline</string> 16406 </property> 16407 </widget> 16408 </item> 16409 <item row="3" column="2"> 16410 <widget class="QPushButton" name="fStatusMCPLed"> 16397 16411 <property name="enabled"> 16398 16412 <bool>true</bool> … … 16431 16445 </widget> 16432 16446 </item> 16433 <item row="9" column="3"> 16434 <widget class="QLabel" name="fStatusBiasLabel"> 16447 <item row="3" column="1"> 16448 <widget class="QLabel" name="label_246"> 16449 <property name="text"> 16450 <string>MCP</string> 16451 </property> 16452 <property name="alignment"> 16453 <set>Qt::AlignCenter</set> 16454 </property> 16455 </widget> 16456 </item> 16457 <item row="9" column="2"> 16458 <widget class="QPushButton" name="fStatusBiasLed"> 16459 <property name="enabled"> 16460 <bool>true</bool> 16461 </property> 16462 <property name="sizePolicy"> 16463 <sizepolicy hsizetype="Fixed" vsizetype="Minimum"> 16464 <horstretch>0</horstretch> 16465 <verstretch>0</verstretch> 16466 </sizepolicy> 16467 </property> 16468 <property name="maximumSize"> 16469 <size> 16470 <width>18</width> 16471 <height>16777215</height> 16472 </size> 16473 </property> 16474 <property name="text"> 16475 <string/> 16476 </property> 16477 <property name="icon"> 16478 <iconset resource="design.qrc"> 16479 <normaloff>:/Resources/icons/gray circle 1.png</normaloff>:/Resources/icons/gray circle 1.png</iconset> 16480 </property> 16481 <property name="iconSize"> 16482 <size> 16483 <width>16</width> 16484 <height>16</height> 16485 </size> 16486 </property> 16487 <property name="checkable"> 16488 <bool>false</bool> 16489 </property> 16490 <property name="flat"> 16491 <bool>true</bool> 16492 </property> 16493 </widget> 16494 </item> 16495 <item row="8" column="2"> 16496 <widget class="QPushButton" name="fStatusDriveLed"> 16497 <property name="enabled"> 16498 <bool>true</bool> 16499 </property> 16500 <property name="sizePolicy"> 16501 <sizepolicy hsizetype="Fixed" vsizetype="Minimum"> 16502 <horstretch>0</horstretch> 16503 <verstretch>0</verstretch> 16504 </sizepolicy> 16505 </property> 16506 <property name="maximumSize"> 16507 <size> 16508 <width>18</width> 16509 <height>16777215</height> 16510 </size> 16511 </property> 16512 <property name="text"> 16513 <string/> 16514 </property> 16515 <property name="icon"> 16516 <iconset resource="design.qrc"> 16517 <normaloff>:/Resources/icons/gray circle 1.png</normaloff>:/Resources/icons/gray circle 1.png</iconset> 16518 </property> 16519 <property name="iconSize"> 16520 <size> 16521 <width>16</width> 16522 <height>16</height> 16523 </size> 16524 </property> 16525 <property name="checkable"> 16526 <bool>false</bool> 16527 </property> 16528 <property name="flat"> 16529 <bool>true</bool> 16530 </property> 16531 </widget> 16532 </item> 16533 <item row="7" column="1"> 16534 <widget class="QLabel" name="label_124"> 16535 <property name="text"> 16536 <string>Event builder</string> 16537 </property> 16538 <property name="alignment"> 16539 <set>Qt::AlignCenter</set> 16540 </property> 16541 </widget> 16542 </item> 16543 <item row="8" column="1"> 16544 <widget class="QLabel" name="label_125"> 16545 <property name="text"> 16546 <string>Drive</string> 16547 </property> 16548 <property name="alignment"> 16549 <set>Qt::AlignCenter</set> 16550 </property> 16551 </widget> 16552 </item> 16553 <item row="7" column="3"> 16554 <widget class="QLabel" name="fStatusEventBuilderLabel"> 16435 16555 <property name="text"> 16436 16556 <string>Offline</string> 16557 </property> 16558 </widget> 16559 </item> 16560 <item row="8" column="3"> 16561 <widget class="QLabel" name="fStatusDriveLabel"> 16562 <property name="text"> 16563 <string>Offline</string> 16564 </property> 16565 </widget> 16566 </item> 16567 <item row="11" column="1"> 16568 <widget class="QLabel" name="label_262"> 16569 <property name="text"> 16570 <string>Rate control</string> 16571 </property> 16572 <property name="alignment"> 16573 <set>Qt::AlignCenter</set> 16574 </property> 16575 </widget> 16576 </item> 16577 <item row="10" column="2"> 16578 <widget class="QPushButton" name="fStatusFeedbackLed"> 16579 <property name="enabled"> 16580 <bool>true</bool> 16581 </property> 16582 <property name="sizePolicy"> 16583 <sizepolicy hsizetype="Fixed" vsizetype="Minimum"> 16584 <horstretch>0</horstretch> 16585 <verstretch>0</verstretch> 16586 </sizepolicy> 16587 </property> 16588 <property name="maximumSize"> 16589 <size> 16590 <width>18</width> 16591 <height>16777215</height> 16592 </size> 16593 </property> 16594 <property name="text"> 16595 <string/> 16596 </property> 16597 <property name="icon"> 16598 <iconset resource="design.qrc"> 16599 <normaloff>:/Resources/icons/gray circle 1.png</normaloff>:/Resources/icons/gray circle 1.png</iconset> 16600 </property> 16601 <property name="iconSize"> 16602 <size> 16603 <width>16</width> 16604 <height>16</height> 16605 </size> 16606 </property> 16607 <property name="checkable"> 16608 <bool>false</bool> 16609 </property> 16610 <property name="flat"> 16611 <bool>true</bool> 16612 </property> 16613 </widget> 16614 </item> 16615 <item row="11" column="2"> 16616 <widget class="QPushButton" name="fStatusRateControlLed"> 16617 <property name="enabled"> 16618 <bool>true</bool> 16619 </property> 16620 <property name="sizePolicy"> 16621 <sizepolicy hsizetype="Fixed" vsizetype="Minimum"> 16622 <horstretch>0</horstretch> 16623 <verstretch>0</verstretch> 16624 </sizepolicy> 16625 </property> 16626 <property name="maximumSize"> 16627 <size> 16628 <width>18</width> 16629 <height>16777215</height> 16630 </size> 16631 </property> 16632 <property name="text"> 16633 <string/> 16634 </property> 16635 <property name="icon"> 16636 <iconset resource="design.qrc"> 16637 <normaloff>:/Resources/icons/gray circle 1.png</normaloff>:/Resources/icons/gray circle 1.png</iconset> 16638 </property> 16639 <property name="iconSize"> 16640 <size> 16641 <width>16</width> 16642 <height>16</height> 16643 </size> 16644 </property> 16645 <property name="checkable"> 16646 <bool>false</bool> 16647 </property> 16648 <property name="flat"> 16649 <bool>true</bool> 16437 16650 </property> 16438 16651 </widget> … … 16445 16658 </widget> 16446 16659 </item> 16447 <item row="3" column="3"> 16448 <widget class="QLabel" name="fStatusMCPLabel"> 16449 <property name="text"> 16450 <string>Offline</string> 16451 </property> 16452 </widget> 16453 </item> 16454 <item row="3" column="2"> 16455 <widget class="QPushButton" name="fStatusMCPLed"> 16456 <property name="enabled"> 16457 <bool>true</bool> 16458 </property> 16459 <property name="sizePolicy"> 16460 <sizepolicy hsizetype="Fixed" vsizetype="Minimum"> 16461 <horstretch>0</horstretch> 16462 <verstretch>0</verstretch> 16463 </sizepolicy> 16464 </property> 16465 <property name="maximumSize"> 16466 <size> 16467 <width>18</width> 16468 <height>16777215</height> 16469 </size> 16470 </property> 16471 <property name="text"> 16472 <string/> 16473 </property> 16474 <property name="icon"> 16475 <iconset resource="design.qrc"> 16476 <normaloff>:/Resources/icons/gray circle 1.png</normaloff>:/Resources/icons/gray circle 1.png</iconset> 16477 </property> 16478 <property name="iconSize"> 16479 <size> 16480 <width>16</width> 16481 <height>16</height> 16482 </size> 16483 </property> 16484 <property name="checkable"> 16485 <bool>false</bool> 16486 </property> 16487 <property name="flat"> 16488 <bool>true</bool> 16489 </property> 16490 </widget> 16491 </item> 16492 <item row="3" column="1"> 16493 <widget class="QLabel" name="label_246"> 16494 <property name="text"> 16495 <string>MCP</string> 16496 </property> 16497 <property name="alignment"> 16498 <set>Qt::AlignCenter</set> 16499 </property> 16500 </widget> 16501 </item> 16502 <item row="9" column="2"> 16503 <widget class="QPushButton" name="fStatusBiasLed"> 16504 <property name="enabled"> 16505 <bool>true</bool> 16506 </property> 16507 <property name="sizePolicy"> 16508 <sizepolicy hsizetype="Fixed" vsizetype="Minimum"> 16509 <horstretch>0</horstretch> 16510 <verstretch>0</verstretch> 16511 </sizepolicy> 16512 </property> 16513 <property name="maximumSize"> 16514 <size> 16515 <width>18</width> 16516 <height>16777215</height> 16517 </size> 16518 </property> 16519 <property name="text"> 16520 <string/> 16521 </property> 16522 <property name="icon"> 16523 <iconset resource="design.qrc"> 16524 <normaloff>:/Resources/icons/gray circle 1.png</normaloff>:/Resources/icons/gray circle 1.png</iconset> 16525 </property> 16526 <property name="iconSize"> 16527 <size> 16528 <width>16</width> 16529 <height>16</height> 16530 </size> 16531 </property> 16532 <property name="checkable"> 16533 <bool>false</bool> 16534 </property> 16535 <property name="flat"> 16536 <bool>true</bool> 16537 </property> 16538 </widget> 16539 </item> 16540 <item row="8" column="2"> 16541 <widget class="QPushButton" name="fStatusDriveLed"> 16542 <property name="enabled"> 16543 <bool>true</bool> 16544 </property> 16545 <property name="sizePolicy"> 16546 <sizepolicy hsizetype="Fixed" vsizetype="Minimum"> 16547 <horstretch>0</horstretch> 16548 <verstretch>0</verstretch> 16549 </sizepolicy> 16550 </property> 16551 <property name="maximumSize"> 16552 <size> 16553 <width>18</width> 16554 <height>16777215</height> 16555 </size> 16556 </property> 16557 <property name="text"> 16558 <string/> 16559 </property> 16560 <property name="icon"> 16561 <iconset resource="design.qrc"> 16562 <normaloff>:/Resources/icons/gray circle 1.png</normaloff>:/Resources/icons/gray circle 1.png</iconset> 16563 </property> 16564 <property name="iconSize"> 16565 <size> 16566 <width>16</width> 16567 <height>16</height> 16568 </size> 16569 </property> 16570 <property name="checkable"> 16571 <bool>false</bool> 16572 </property> 16573 <property name="flat"> 16574 <bool>true</bool> 16575 </property> 16576 </widget> 16577 </item> 16578 <item row="7" column="1"> 16579 <widget class="QLabel" name="label_124"> 16580 <property name="text"> 16581 <string>Event builder</string> 16582 </property> 16583 <property name="alignment"> 16584 <set>Qt::AlignCenter</set> 16585 </property> 16586 </widget> 16587 </item> 16588 <item row="8" column="1"> 16589 <widget class="QLabel" name="label_125"> 16590 <property name="text"> 16591 <string>Drive</string> 16592 </property> 16593 <property name="alignment"> 16594 <set>Qt::AlignCenter</set> 16595 </property> 16596 </widget> 16597 </item> 16598 <item row="7" column="3"> 16599 <widget class="QLabel" name="fStatusEventBuilderLabel"> 16600 <property name="text"> 16601 <string>Offline</string> 16602 </property> 16603 </widget> 16604 </item> 16605 <item row="8" column="3"> 16606 <widget class="QLabel" name="fStatusDriveLabel"> 16660 <item row="11" column="3"> 16661 <widget class="QLabel" name="fStatusRateControlLabel"> 16607 16662 <property name="text"> 16608 16663 <string>Offline</string> … … 16618 16673 </property> 16619 16674 </widget> 16620 </item>16621 <item>16622 <spacer name="verticalSpacer_3">16623 <property name="orientation">16624 <enum>Qt::Vertical</enum>16625 </property>16626 <property name="sizeHint" stdset="0">16627 <size>16628 <width>20</width>16629 <height>40</height>16630 </size>16631 </property>16632 </spacer>16633 16675 </item> 16634 16676 <item> … … 16659 16701 </item> 16660 16702 </layout> 16661 </item>16662 <item>16663 <spacer name="verticalSpacer_34">16664 <property name="orientation">16665 <enum>Qt::Vertical</enum>16666 </property>16667 <property name="sizeType">16668 <enum>QSizePolicy::Fixed</enum>16669 </property>16670 <property name="sizeHint" stdset="0">16671 <size>16672 <width>20</width>16673 <height>3</height>16674 </size>16675 </property>16676 </spacer>16677 16703 </item> 16678 16704 <item> … … 16733 16759 </item> 16734 16760 <item> 16735 <spacer name="verticalSpacer_35">16736 <property name="orientation">16737 <enum>Qt::Vertical</enum>16738 </property>16739 <property name="sizeType">16740 <enum>QSizePolicy::Fixed</enum>16741 </property>16742 <property name="sizeHint" stdset="0">16743 <size>16744 <width>20</width>16745 <height>3</height>16746 </size>16747 </property>16748 </spacer>16749 </item>16750 <item>16751 16761 <widget class="QLabel" name="label_151"> 16752 16762 <property name="text"> … … 16778 16788 </item> 16779 16789 </layout> 16780 </item>16781 <item>16782 <spacer name="verticalSpacer_36">16783 <property name="orientation">16784 <enum>Qt::Vertical</enum>16785 </property>16786 <property name="sizeType">16787 <enum>QSizePolicy::Fixed</enum>16788 </property>16789 <property name="sizeHint" stdset="0">16790 <size>16791 <width>20</width>16792 <height>3</height>16793 </size>16794 </property>16795 </spacer>16796 16790 </item> 16797 16791 <item>
Note:
See TracChangeset
for help on using the changeset viewer.