void WindowController::mouseMoveSlot(QMouseEvent *event)
{
HTuple _row, _col,_buuuton;
double _movX, _movY;
Qt::MouseButton _btn = event->button();
if (_btn == Qt::RightButton)
return;
HTuple _channelcount;
HTuple _r = 0, _g = 0, _b = 0;
HObject _channelred, _channelgreen, _channelblue;
if (imageWidth == 0 || imageHeight == 0)
return;
//ConvertCoordinatesWindowToImage(windowHand, event->y(), event->x(), &_row, &_col);
//emit OnMouseMovePoint(imageWidth, imageHeight, _col.D(), _row.D(), _r.I(), _g.I(), _b.I());
emit OnMouseMovePoint(imageWidth, imageHeight, event->x(), event->y(), _r.I(), _g.I(), _b.I());
|