Exemple #1
0
void ManagerGui::sentDoubleClicked ( const QModelIndex & index ) {
    //!
    //!SLOT: Catches the double clicks from the sent table.
    //!

    QModelIndex realIndex = sentProxy->mapToSource(index);
    Report *selectedReport = model->getReport(realIndex);

    ViewReport *viewReport = new ViewReport(selectedReport->getTextualDescription());
    viewReport->show();
}