| 13 | } |
| 14 | |
| 15 | void QSTreeView::setTreeData(QSolverJob* qSolverJob){ |
| 16 | this->qSolverJob = qSolverJob; |
| 17 | this->tree_model = new TreeModel(qSolverJob); |
| 18 | this->setModel(this->tree_model); |
| 19 | /* |
| 20 | connect(this, |
| 21 | //SIGNAL(clicked(const QModelIndex &)), |
| 22 | SIGNAL(entered(QModelIndex)), |
| 23 | this, |
| 24 | SLOT(tree_object_clicked(const QModelIndex &)) |
| 25 | ); |
| 26 | */ |
| 27 | } |