Changeset 14077 for trunk/FACT++/gui/RawEventsViewer
- Timestamp:
- 06/05/12 14:22:22 (13 years ago)
- Location:
- trunk/FACT++/gui/RawEventsViewer
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/gui/RawEventsViewer/RawEventsViewer.cc
r14076 r14077 975 975 animateGroup.addButton(playEventsRadio); 976 976 animateGroup.addButton(playSlicesRadio); 977 animateGroup.addButton(playPixelsRadio); 977 978 978 979 entireCameraScale->setChecked(true); … … 1086 1087 GLWindow->eventStepping(true); 1087 1088 else 1088 GLWindow->nextSlice(); 1089 if (playPixelsRadio->isChecked()) 1090 GLWindow->setCurrentPixel((GLWindow->getCurrentPixel()+1)%1440); 1091 else 1092 GLWindow->nextSlice(); 1089 1093 } 1090 1094 -
trunk/FACT++/gui/RawEventsViewer/RawEventsViewer.h
r12917 r14077 83 83 const int roi, 84 84 const int roiTM); 85 85 int getCurrentPixel(){return selectedPixel;} 86 86 public Q_SLOTS: 87 87 void plusEvent(); … … 91 91 void previousSlice(); 92 92 void setCurrentPixel(int); 93 93 94 94 95 Q_SIGNALS: -
trunk/FACT++/gui/RawEventsViewer/viewer.ui
r12917 r14077 8 8 <y>0</y> 9 9 <width>984</width> 10 <height>7 12</height>10 <height>757</height> 11 11 </rect> 12 12 </property> … … 1137 1137 <layout class="QHBoxLayout" name="horizontalLayout_5"> 1138 1138 <item> 1139 <widget class="QRadioButton" name="playSlicesRadio"> 1140 <property name="text"> 1141 <string>play Slices</string> 1142 </property> 1143 <property name="checked"> 1144 <bool>true</bool> 1145 </property> 1146 </widget> 1147 </item> 1148 <item> 1139 1149 <widget class="QRadioButton" name="playEventsRadio"> 1140 1150 <property name="text"> 1141 1151 <string>play Events</string> 1152 </property> 1153 </widget> 1154 </item> 1155 <item> 1156 <widget class="QRadioButton" name="playPixelsRadio"> 1157 <property name="text"> 1158 <string>play Pixels</string> 1142 1159 </property> 1143 1160 </widget> … … 1180 1197 </item> 1181 1198 <item row="1" column="8"> 1182 <layout class="QHBoxLayout" name="horizontalLayout_4"> 1183 <item> 1184 <widget class="QRadioButton" name="playSlicesRadio"> 1185 <property name="text"> 1186 <string>play Slices</string> 1187 </property> 1188 <property name="checked"> 1189 <bool>true</bool> 1190 </property> 1191 </widget> 1192 </item> 1193 </layout> 1199 <layout class="QHBoxLayout" name="horizontalLayout_4"/> 1194 1200 </item> 1195 1201 </layout>
Note:
See TracChangeset
for help on using the changeset viewer.