Changeset 10528 for trunk/FACT++
- Timestamp:
- 05/03/11 10:49:22 (14 years ago)
- Location:
- trunk/FACT++/gui
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/gui/FactGui.h
r10524 r10528 1004 1004 return; 1005 1005 } 1006 1007 fPing->setChecked(false); 1006 1008 1007 1009 const FTM::DimFtuList &sdata = *reinterpret_cast<const FTM::DimFtuList*>(d.ptr()); -
trunk/FACT++/gui/MainWindow.cc
r10518 r10528 134 134 cout << "--------------> clicked #" << i << endl; 135 135 } 136 137 void MainWindow::on_fPing_toggled(bool checked) 138 { 139 if (checked) 140 DimClient::sendCommand("FTM_CONTROL/PING", NULL, 0); 141 } -
trunk/FACT++/gui/MainWindow.h
r10518 r10528 75 75 // Tab: FTUs 76 76 void slot_fFtuLED_clicked(); 77 void on_fPing_toggled(bool); 77 78 78 79 // Tab: Rates -
trunk/FACT++/gui/design.ui
r10518 r10528 10 10 <x>0</x> 11 11 <y>0</y> 12 <width>10 24</width>12 <width>1042</width> 13 13 <height>768</height> 14 14 </rect> … … 1709 1709 <size> 1710 1710 <width>359</width> 1711 <height>176</height> 1711 <height>185</height> 1712 </size> 1713 </property> 1714 <property name="maximumSize"> 1715 <size> 1716 <width>359</width> 1717 <height>16777215</height> 1712 1718 </size> 1713 1719 </property> … … 1716 1722 </property> 1717 1723 <layout class="QGridLayout" name="gridLayout_32"> 1718 <item row=" 0" column="0">1719 <layout class="QGridLayout" name="fFtuLedLayout" rowstretch="0, 0,0,0,0" columnstretch="0,0,0,0,0,0,0,0,0,0,0,0">1724 <item row="1" column="0" colspan="3"> 1725 <layout class="QGridLayout" name="fFtuLedLayout" rowstretch="0,1,1,1,1" columnstretch="0,1,1,1,1,1,1,1,1,1,1,0"> 1720 1726 <property name="margin"> 1721 1727 <number>4</number> … … 1762 1768 <widget class="QLabel" name="label_42"> 1763 1769 <property name="text"> 1764 <string>Crate #0</string>1770 <string>Crate #0</string> 1765 1771 </property> 1766 1772 </widget> … … 1776 1782 <widget class="QLabel" name="label_44"> 1777 1783 <property name="text"> 1778 <string>Crate #2</string>1784 <string>Crate #2</string> 1779 1785 </property> 1780 1786 </widget> … … 1968 1974 </item> 1969 1975 </layout> 1976 </item> 1977 <item row="2" column="1"> 1978 <widget class="QPushButton" name="fPing"> 1979 <property name="text"> 1980 <string> Ping </string> 1981 </property> 1982 <property name="checkable"> 1983 <bool>true</bool> 1984 </property> 1985 </widget> 1986 </item> 1987 <item row="2" column="0"> 1988 <spacer name="horizontalSpacer_13"> 1989 <property name="orientation"> 1990 <enum>Qt::Horizontal</enum> 1991 </property> 1992 <property name="sizeHint" stdset="0"> 1993 <size> 1994 <width>40</width> 1995 <height>20</height> 1996 </size> 1997 </property> 1998 </spacer> 1970 1999 </item> 1971 2000 </layout> … … 3256 3285 <html><head><meta name="qrichtext" content="1" /><style type="text/css"> 3257 3286 p, li { white-space: pre-wrap; } 3258 </style></head><body style=" font-family:' Ubuntu'; font-size:9pt; font-weight:400; font-style:normal;">3259 <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "></p></body></html></string>3287 </style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;"> 3288 <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Ubuntu';"></p></body></html></string> 3260 3289 </property> 3261 3290 <property name="textInteractionFlags"> … … 3309 3338 <x>0</x> 3310 3339 <y>0</y> 3311 <width>10 24</width>3340 <width>1042</width> 3312 3341 <height>21</height> 3313 3342 </rect> … … 3493 3522 <property name="minimumSize"> 3494 3523 <size> 3495 <width>2 07</width>3524 <width>223</width> 3496 3525 <height>262</height> 3497 3526 </size> … … 3520 3549 <item> 3521 3550 <layout class="QGridLayout" name="gridLayout_11"> 3522 <item row="1" column=" 5">3551 <item row="1" column="4"> 3523 3552 <widget class="QLabel" name="fStatusDNSLabel"> 3524 3553 <property name="text"> … … 3527 3556 </widget> 3528 3557 </item> 3529 <item row="1" column=" 4">3558 <item row="1" column="3"> 3530 3559 <widget class="QPushButton" name="fStatusDNSLed"> 3531 3560 <property name="enabled"> … … 3565 3594 </widget> 3566 3595 </item> 3567 <item row="3" column=" 5">3596 <item row="3" column="4"> 3568 3597 <widget class="QLabel" name="fStatusFTMLabel"> 3569 3598 <property name="text"> … … 3572 3601 </widget> 3573 3602 </item> 3574 <item row="3" column=" 4">3603 <item row="3" column="3"> 3575 3604 <widget class="QPushButton" name="fStatusFTMLed"> 3576 3605 <property name="enabled"> … … 3610 3639 </widget> 3611 3640 </item> 3612 <item row="3" column=" 2">3641 <item row="3" column="1"> 3613 3642 <widget class="QCheckBox" name="fStatusFTMEnable"> 3614 3643 <property name="enabled"> … … 3635 3664 </widget> 3636 3665 </item> 3637 <item row="4" column=" 5">3666 <item row="4" column="4"> 3638 3667 <widget class="QLabel" name="fStatusFADLabel"> 3639 3668 <property name="text"> … … 3642 3671 </widget> 3643 3672 </item> 3644 <item row="4" column=" 4">3673 <item row="4" column="3"> 3645 3674 <widget class="QPushButton" name="fStatusFADLed"> 3646 3675 <property name="enabled"> … … 3680 3709 </widget> 3681 3710 </item> 3682 <item row="4" column=" 2">3711 <item row="4" column="1"> 3683 3712 <widget class="QCheckBox" name="fStatusFADEnable"> 3684 3713 <property name="enabled"> … … 3705 3734 </widget> 3706 3735 </item> 3707 <item row="6" column=" 5">3736 <item row="6" column="4"> 3708 3737 <widget class="QLabel" name="fStatusChatLabel"> 3709 3738 <property name="text"> … … 3712 3741 </widget> 3713 3742 </item> 3714 <item row="6" column=" 4">3743 <item row="6" column="3"> 3715 3744 <widget class="QPushButton" name="fStatusChatLed"> 3716 3745 <property name="enabled"> … … 3750 3779 </widget> 3751 3780 </item> 3752 <item row="5" column=" 2">3781 <item row="5" column="1"> 3753 3782 <widget class="QCheckBox" name="fStatusLoggerEnable"> 3754 3783 <property name="enabled"> … … 3775 3804 </widget> 3776 3805 </item> 3777 <item row="5" column=" 4">3806 <item row="5" column="3"> 3778 3807 <widget class="QPushButton" name="fStatusLoggerLed"> 3779 3808 <property name="enabled"> … … 3813 3842 </widget> 3814 3843 </item> 3815 <item row="5" column=" 5">3844 <item row="5" column="4"> 3816 3845 <widget class="QLabel" name="fStatusLoggerLabel"> 3817 3846 <property name="text"> … … 3820 3849 </widget> 3821 3850 </item> 3822 <item row="1" column="0"> 3823 <spacer name="horizontalSpacer_7"> 3824 <property name="orientation"> 3825 <enum>Qt::Horizontal</enum> 3826 </property> 3827 <property name="sizeHint" stdset="0"> 3828 <size> 3829 <width>40</width> 3830 <height>20</height> 3831 </size> 3832 </property> 3833 </spacer> 3834 </item> 3835 <item row="1" column="6"> 3836 <spacer name="horizontalSpacer_8"> 3837 <property name="orientation"> 3838 <enum>Qt::Horizontal</enum> 3839 </property> 3840 <property name="sizeHint" stdset="0"> 3841 <size> 3842 <width>40</width> 3843 <height>20</height> 3844 </size> 3845 </property> 3846 </spacer> 3847 </item> 3848 <item row="2" column="0" colspan="7"> 3851 <item row="2" column="0" colspan="6"> 3849 3852 <widget class="Line" name="line"> 3850 3853 <property name="orientation"> … … 3853 3856 </widget> 3854 3857 </item> 3855 <item row="3" column=" 3">3858 <item row="3" column="2"> 3856 3859 <widget class="QLabel" name="fStatusFTM"> 3857 3860 <property name="sizePolicy"> … … 3872 3875 </widget> 3873 3876 </item> 3874 <item row="4" column=" 3">3877 <item row="4" column="2"> 3875 3878 <widget class="QLabel" name="fStatusFAD"> 3876 3879 <property name="sizePolicy"> … … 3891 3894 </widget> 3892 3895 </item> 3893 <item row="5" column=" 3">3896 <item row="5" column="2"> 3894 3897 <widget class="QLabel" name="fStatusLogger"> 3895 3898 <property name="sizePolicy"> … … 3910 3913 </widget> 3911 3914 </item> 3912 <item row="6" column=" 3">3915 <item row="6" column="2"> 3913 3916 <widget class="QLabel" name="fStatusChat"> 3914 3917 <property name="sizePolicy"> … … 3929 3932 </widget> 3930 3933 </item> 3931 <item row="1" column=" 3">3934 <item row="1" column="2"> 3932 3935 <widget class="QLabel" name="fStatusDNS"> 3933 3936 <property name="sizePolicy"> … … 3947 3950 </property> 3948 3951 </widget> 3952 </item> 3953 <item row="1" column="5"> 3954 <spacer name="horizontalSpacer_8"> 3955 <property name="orientation"> 3956 <enum>Qt::Horizontal</enum> 3957 </property> 3958 <property name="sizeHint" stdset="0"> 3959 <size> 3960 <width>40</width> 3961 <height>20</height> 3962 </size> 3963 </property> 3964 </spacer> 3949 3965 </item> 3950 3966 </layout>
Note:
See TracChangeset
for help on using the changeset viewer.