Hi,

I tried to implement your solution, but it doesn't work, even when I stop the signal fires

source code:
--------------


class myTableViewublic QTableView
{
Q_OBJECT
public:
myTableView():QTableView()
{
timer_.setSingleShot(true);
timer_.setInterval(1000);

connect(this,SIGNAL(clicked(QModelIndex)),this,SLO T(clickedSlot(QModelIndex)));
connect(this,SIGNAL(doubleClicked(QModelIndex)),th is,SLOT(doubleClickedSlot(QModelIndex)));

connect(&timer_, SIGNAL(timeout()), this, SLOT(checkIfIsOneClick()), Qt::QueuedConnection);
}

~myTableView()
{
}

private slots:

void clickedSlot(QModelIndex index)
{
timer_.start();
qDebug() << "ONE CLICK - PART I";
}

void doubleClickedSlot(QModelIndex index)
{
timer_.stop();
qDebug() << "TWO CLICK";
}

void checkIfIsOneClick()
{
qDebug() << "ONE CLICK - PART II";
}

private:
QTimer timer_;

};



Thanks