Commit 71f08e09 authored by Renne Thomas's avatar Renne Thomas
Browse files

Create engine page

parent c5ff2226
......@@ -53,7 +53,7 @@ EngineDetailWindow::setIdentificationEngineParam(IdentificationDataSourceSp *ide
void EngineDetailWindow::updateDisplay()
{
ui->lineEngineName->setText(m_identificationEngine->get()->getIdentificationEngineName());
ui->lineEngineVersion->setText(m_identificationEngine->get()->getIdentificationEngineVersion());
//ui->lineEdit_3->setText(m_identificationEngine->get()->getIdentificationEngineParam(IdentificationEngineParam::tandem_param));
ui->labelEngineName->setText(m_identificationEngine->get()->getIdentificationEngineName());
ui->labelEngineVersion->setText(m_identificationEngine->get()->getIdentificationEngineVersion());
ui->alterFixedModifications1Label->setText(m_identificationEngine->get()->getIdentificationEngine));
}
......@@ -187,16 +187,13 @@ MsIdentificationTableProxyModel::headerData(int section,
void
MsIdentificationTableProxyModel::onTableClicked(const QModelIndex &index)
{
qDebug() << "begin "
<< index.row();
qDebug() << "MsIdentificationTableProxyModel::onTableClicked begin "
<< this->mapToSource(index).row();
qDebug() << "begin " << index.row();
qDebug() << this->mapToSource(index).row();
QModelIndex source_index(this->mapToSource(index));
int row = source_index.row();
m_identificationEngine = m_msid_table_model_p->getIdentificationDataSourceSpList().at(row);
qDebug() << m_identificationEngine->getIdentificationEngineName();
msIdentificationListColumn col =
(msIdentificationListColumn)source_index.column();
......@@ -204,8 +201,7 @@ MsIdentificationTableProxyModel::onTableClicked(const QModelIndex &index)
{
m_msid_list_window->askEngineDetailView(&m_identificationEngine);
}
qDebug() << "MsIdentificationTableProxyModel::onTableClicked end "
<< index.row();
qDebug() << "end " << index.row();
}
void
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment