FACT++  1.0
void QCameraWidget::mouseDoubleClickEvent ( QMouseEvent *  event)
virtual

Reimplemented from BasicGlCamera.

Definition at line 279 of file QCameraWidget.cc.

References BasicGlCamera::fWhite, BasicGlCamera::fWhitePatch, BasicGlCamera::PixelAtPosition(), BasicGlCamera::pixelsPatch, and BasicGlCamera::signalPixelDoubleClick().

280  {
281  int face = PixelAtPosition(cEvent->pos());
282  if (face != -1) {
283  // cout << "Event !" << endl;
284  fWhite = face;
286  // highlightPixel(face);
287  // highlightPatch(fWhitePatch);
288  // CalculatePatchColor();
289  emit signalPixelDoubleClick(face);
290  }
291  else
292  {
293  fWhite = -1;
294  fWhitePatch = -1;
295  // clearHighlightedPixels();
296  // clearHighlightedPatches();
297  }
298  updateGL();
299 
300  }
void signalPixelDoubleClick(int pixel)
static int pixelsPatch[NPIX]
Definition: BasicGlCamera.h:61
virtual int PixelAtPosition(const QPoint &pos)

+ Here is the call graph for this function: