.........................protected: virtual void mouseDoubleClickEvent(QMouseEvent * me);signals: void doubleClicked(const QModelIndex & index);
view_1 = new QListView(this); .........................connect(view_1, SIGNAL(doubleClicked(const QModelIndex &)), this, SLOT(loadTable(const QModelIndex &)));void MainWindow::mouseDoubleClickEvent(QMouseEvent * me){ if (me->buttons() & Qt::LeftButton) { QModelIndex index(view_1->indexAt(me->pos())); if (index.isValid()) { qDebug()<<"Ich bin der linke Knopf."; emit doubleClicked(index); } }}