Changeset 12189 for trunk/FACT++/gui/RawEventsViewer
- Timestamp:
- 10/17/11 19:59:41 (13 years ago)
- Location:
- trunk/FACT++/gui/RawEventsViewer
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/gui/RawEventsViewer/RawEventsViewer.cc
r12188 r12189 368 368 eventData = NULL; 369 369 drawPatch = true; 370 drawImpulse = false;370 drawImpulse = true; 371 371 drawBlur = false; 372 372 loopCurrentEvent = false; … … 1155 1155 * UICONNECTOR CONSTRUCTOR 1156 1156 ************************************************************/ 1157 UIConnector::UIConnector(QWidget *)1157 UIConnector::UIConnector(QWidget *p) 1158 1158 { 1159 1159 setupUi(this); … … 1170 1170 this, SLOT(nextSlicePlease())); 1171 1171 1172 QButtonGroup &scaleGroup = *new QButtonGroup(GLWindow);// = new QButtonGroup(canvas); 1173 QButtonGroup &animateGroup = *new QButtonGroup(GLWindow);// = new QButtonGroup(canvas); 1174 1175 scaleGroup.addButton(Ui::MainWindow::currentPixelScale); 1176 scaleGroup.addButton(Ui::MainWindow::entireCameraScale); 1177 1178 animateGroup.addButton(Ui::MainWindow::playEventsRadio); 1179 animateGroup.addButton(Ui::MainWindow::playSlicesRadio); 1172 QButtonGroup &scaleGroup = *new QButtonGroup(p);// = new QButtonGroup(canvas); 1173 QButtonGroup &animateGroup = *new QButtonGroup(p);// = new QButtonGroup(canvas); 1174 1175 scaleGroup.addButton(currentPixelScale); 1176 scaleGroup.addButton(entireCameraScale); 1177 1178 animateGroup.addButton(playEventsRadio); 1179 animateGroup.addButton(playSlicesRadio); 1180 1181 entireCameraScale->setChecked(true); 1180 1182 1181 1183 QObject::connect(GLWindow, SIGNAL(colorPaletteHasChanged()), … … 1392 1394 * PLAY PAUSE CLICKED. ui handler 1393 1395 ************************************************************/ 1394 void UIConnector:: playPauseClicked()1396 void UIConnector::on_playPauseButton_clicked() 1395 1397 { 1396 1398 if (timer.isActive()) … … 2226 2228 blueValue4->setValue(canvas->bb[4]); 2227 2229 2230 if (conf.Has("drs")) 2231 { 2232 const QString qstr(conf.Get<string>("drs").c_str()); 2233 calibFileSelected(qstr); 2234 } 2235 2228 2236 if (conf.Has("file")) 2229 2237 { … … 2232 2240 } 2233 2241 2234 if (conf.Has("drs"))2235 {2236 const QString qstr(conf.Get<string>("drs").c_str());2237 calibFileSelected(qstr);2238 }2239 2242 2240 2243 return 0; -
trunk/FACT++/gui/RawEventsViewer/RawEventsViewer.h
r12188 r12189 213 213 214 214 void newFileLoaded(); 215 void playPauseClicked();216 215 void slicesPerSecondChanged(double value); 217 216 void nextSlicePlease(); … … 219 218 void currentEventHasChanged(int event); 220 219 220 void on_playPauseButton_clicked(); 221 221 void on_loadNewFileButton_clicked(); 222 222 void on_loadDRSCalibButton_clicked();
Note:
See TracChangeset
for help on using the changeset viewer.