equal
deleted
inserted
replaced
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() |