Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
xtpcpp
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
PAPPSO
xtpcpp
Commits
e526db12
Commit
e526db12
authored
7 years ago
by
Olivier Langella
Browse files
Options
Downloads
Patches
Plain Diff
signal problem fixed
parent
695fdf4e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/gui/peptide_detail_view/peptidewindow.cpp
+13
-13
13 additions, 13 deletions
src/gui/peptide_detail_view/peptidewindow.cpp
with
13 additions
and
13 deletions
src/gui/peptide_detail_view/peptidewindow.cpp
+
13
−
13
View file @
e526db12
...
...
@@ -98,7 +98,7 @@ PeptideWindow::PeptideWindow(ProjectWindow *parent):
connect
(
_p_project_window
,
SIGNAL
(
identificationGroupGrouped
(
IdentificationGroup
*
)),
this
,
SLOT
(
doIdentificationGroupGrouped
(
IdentificationGroup
*
)));
connect
(
this
,
SIGNAL
(
loadSpectrumSp
(
PeptideMatch
*
)),
worker
,
SLOT
(
doLoadSpectrumSp
(
PeptideMatch
*
)));
connect
(
worker
,
SIGNAL
(
spectrumSpReady
(
pappso
::
SpectrumSp
,
QString
)),
this
,
SLOT
(
doSpectrumSpReady
(
pappso
::
SpectrumSp
,
QString
)));
connect
(
worker
,
SIGNAL
(
spectrumSpReady
(
pappso
::
SpectrumSp
,
QString
,
QString
)),
this
,
SLOT
(
doSpectrumSpReady
(
pappso
::
SpectrumSp
,
QString
,
QString
)));
connect
(
_p_spectrum_overlay
,
SIGNAL
(
mzChanged
(
double
)),
this
,
SLOT
(
setMz
(
double
)));
//connect(_protein_table_model_p, SIGNAL(layoutChanged()), this, SLOT(updateStatusBar()));
#endif
...
...
@@ -191,6 +191,17 @@ void PeptideWindow::openInPeptideViewer() {
void
PeptideWindow
::
doSpectrumSpReady
(
SpectrumSp
spectrum_sp
,
QString
error
,
QString
fatal_error
)
{
qDebug
()
<<
"PeptideWindow::doSpectrumSpReady begin error="
<<
error
<<
" fatal_error="
<<
fatal_error
;
_p_spectrum_overlay
->
hideLoadingMessage
();
if
((
error
.
isEmpty
())
&&
(
fatal_error
.
isEmpty
()))
{
ui
->
statusbar
->
showMessage
(
tr
(
""
));
pappso
::
QualifiedSpectrum
spectrum_copy
;
spectrum_copy
.
setPrecursorCharge
(
_p_peptide_match
->
getCharge
());
spectrum_copy
.
setOriginalSpectrumSp
(
spectrum_sp
);
ui
->
spectrumWidget
->
setQualifiedSpectrum
(
spectrum_copy
);
ui
->
file_not_found
->
setVisible
(
false
);
ui
->
spectrumWidget
->
setVisible
(
true
);
_spectrum_is_ready
=
true
;
}
if
(
!
error
.
isEmpty
())
{
//not found
...
...
@@ -204,7 +215,7 @@ void PeptideWindow::doSpectrumSpReady(SpectrumSp spectrum_sp, QString error, QSt
ui
->
spectrumWidget
->
setVisible
(
false
);
_spectrum_is_ready
=
false
;
}
else
if
(
!
fatal_error
.
isEmpty
())
{
if
(
!
fatal_error
.
isEmpty
())
{
//fatal_error
QMessageBox
::
warning
(
this
,
...
...
@@ -219,17 +230,6 @@ void PeptideWindow::doSpectrumSpReady(SpectrumSp spectrum_sp, QString error, QSt
ui
->
spectrumWidget
->
setVisible
(
false
);
_spectrum_is_ready
=
false
;
}
else
{
ui
->
statusbar
->
showMessage
(
tr
(
""
));
pappso
::
QualifiedSpectrum
spectrum_copy
;
spectrum_copy
.
setPrecursorCharge
(
_p_peptide_match
->
getCharge
());
spectrum_copy
.
setOriginalSpectrumSp
(
spectrum_sp
);
ui
->
spectrumWidget
->
setQualifiedSpectrum
(
spectrum_copy
);
ui
->
file_not_found
->
setVisible
(
false
);
ui
->
spectrumWidget
->
setVisible
(
true
);
_spectrum_is_ready
=
true
;
}
qDebug
()
<<
"PeptideWindow::doSpectrumSpReady end"
;
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment