Skip to content
Snippets Groups Projects
Commit e9e850d9 authored by Olivier Langella's avatar Olivier Langella
Browse files

view ptm island list

parent 6381d239
No related branches found
No related tags found
No related merge requests found
......@@ -121,7 +121,7 @@
<sender>view_ptm_island_button</sender>
<signal>clicked()</signal>
<receiver>IdentificationGroupWidget</receiver>
<slot>doViewPtmIslands()</slot>
<slot>doViewPtmIslandList()</slot>
<hints>
<hint type="sourcelabel">
<x>220</x>
......@@ -136,6 +136,6 @@
</connections>
<slots>
<slot>doViewProteinList()</slot>
<slot>doViewPtmIslands()</slot>
<slot>doViewPtmIslandList()</slot>
</slots>
</ui>
......@@ -54,6 +54,12 @@ IdentificationGroupWidget::~IdentificationGroupWidget()
delete ui;
}
void IdentificationGroupWidget::doViewPtmIslandList() {
qDebug() << "IdentificationGroupWidget::doViewPtmIslandList begin " << _p_identification_group;
_p_project_window->doViewPtmIslandList(_p_identification_group);
qDebug() << "IdentificationGroupWidget::doViewPtmIslandList end";
}
void IdentificationGroupWidget::doViewProteinList() {
qDebug() << "IdentificationGroupWidget::doViewProteinList begin " << _p_identification_group;
......
......@@ -42,6 +42,7 @@ public:
public slots:
void doViewProteinList();
void doViewPtmIslandList();
void doIdentificationGroupGrouped(IdentificationGroup * p_identification_group);
......
......@@ -354,6 +354,30 @@ void ProjectWindow::doViewProteinDetail(ProteinMatch * protein_match) {
qDebug() << "ProjectWindow::doViewProteinDetail end";
}
void ProjectWindow::doViewPtmIslandList(IdentificationGroup* p_identification_group) {
qDebug() << "ProjectWindow::doViewPtmIslandList begin " << p_identification_group;
//if (p_identification_group == nullptr) {
//}
if (_protein_list_window_collection.size() == 0) {
connectNewProteinListWindow();
}
Qt::KeyboardModifiers modifier = QApplication::keyboardModifiers();
if (modifier == Qt::ControlModifier) {
connectNewProteinListWindow();
}
_p_current_protein_list_window->show();
//_p_current_protein_list_window->raise();
//_p_current_protein_list_window->activateWindow();
qDebug() << "ProjectWindow::doViewPtmIslandList end " << p_identification_group;
_p_current_protein_list_window->setIdentificationGroup(p_identification_group);
emit identificationGroupGrouped(p_identification_group);
qDebug() << "ProjectWindow::doViewPtmIslandList end";
}
void ProjectWindow::doViewProteinList(IdentificationGroup* p_identification_group) {
qDebug() << "ProjectWindow::doViewProteinList begin " << p_identification_group;
//if (p_identification_group == nullptr) {
......
......@@ -59,6 +59,7 @@ public:
~ProjectWindow();
public slots:
void doViewPtmIslandList(IdentificationGroup* p_identification_group);
void doViewProteinList(IdentificationGroup* p_identification_group =nullptr);
void setDefaultProteinListWindow(ProteinListWindow* p_protein_list_window);
void doAutomaticFilterParametersChanged(AutomaticFilterParameters parameters);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment