contactengine/mainwindow.cpp
changeset 37 1ced6e446fd4
parent 34 93c5a58496b6
equal deleted inserted replaced
36:2886a23e4d5d 37:1ced6e446fd4
    29     ui->listView->setModel(this->ce);
    29     ui->listView->setModel(this->ce);
    30 
    30 
    31     this->details = new DetailsGV(this,ui->graphicsView);
    31     this->details = new DetailsGV(this,ui->graphicsView);
    32     connect(this->details,SIGNAL(closeMe()),this,SLOT(close()));
    32     connect(this->details,SIGNAL(closeMe()),this,SLOT(close()));
    33     connect(this->details,SIGNAL(backToList()),this, SLOT(displayList()));
    33     connect(this->details,SIGNAL(backToList()),this, SLOT(displayList()));
    34 
    34     connect(ui->listView, SIGNAL(clicked(QModelIndex)),this, SLOT(displayDetails()));
    35     ui->stackedWidget->setCurrentIndex(MainWindow::EListPage);
    35     ui->stackedWidget->setCurrentIndex(MainWindow::EListPage);
    36 
    36 
    37 }
    37 }
    38 
    38 
    39 void MainWindow::createMenus()
    39 void MainWindow::createMenus()