Changeset 10557
- Timestamp:
- 05/04/11 13:40:21 (14 years ago)
- Location:
- trunk/FACT++/gui
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/gui/MainWindow.cc
r10553 r10557 129 129 } 130 130 131 void on_fTriggerInterval_valueChanged(int val) 132 { 133 Dim::SendCommand("FTM_CONTROL/SET_TRIGGER_INTERVAL", val); 134 } 135 136 void on_fTriggerDelay_valueChanged(int val) 137 { 138 Dim::SendCommand("FTM_CONTROL/SET_TRIGGER_DELAY", val); 139 } 140 141 void on_fTimeMarkerDelay_valueChanged(int val) 142 { 143 Dim::SendCommand("FTM_CONTROL/SET_TIME_MARKER_DELAY", val); 144 } 145 146 void on_fDeadTime_valueChanged(int val) 147 { 148 Dim::SendCommand("FTM_CONTROL/SET_DEAD_TIME", val); 149 } 150 151 void MainWindow::slot_fFtuLED_clicked() 152 { 153 for (int32_t i=0; i<40; i++) 154 if (sender()==fFtuLED[i]) 155 { 156 Dim::SendCommand("FTM_CONTROL/TOGGLE_FTU", i); 157 break; 158 } 159 } 160 161 void MainWindow::on_fPing_toggled(bool checked) 162 { 163 if (checked) 164 Dim::SendCommand("FTM_CONTROL/PING"); 165 } 131 166 132 167 void MainWindow::on_fChatSend_clicked() … … 151 186 } 152 187 153 void MainWindow:: slot_fFtuLED_clicked()188 void MainWindow::on_fStatusFTULed_clicked() 154 189 { 155 for (int32_t i=0; i<40; i++) 156 if (sender()==fFtuLED[i]) 157 Dim::SendCommand("FTM_CONTROL/TOGGLE_FTU", i); 190 SelectTab("FTU"); 158 191 } 159 192 160 void MainWindow::on_fPing_toggled(bool checked)161 {162 if (checked)163 Dim::SendCommand("FTM_CONTROL/PING");164 } -
trunk/FACT++/gui/MainWindow.h
r10540 r10557 27 27 28 28 // Status LEDs signals 29 void on_fStatusFTULed_clicked(); 29 30 void on_fStatusFTMLed_clicked(); 30 31 void on_fStatusLoggerLed_clicked();
Note:
See TracChangeset
for help on using the changeset viewer.