Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
i2MassChroQ
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
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
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
i2MassChroQ
Commits
62fe8978
Commit
62fe8978
authored
7 years ago
by
Langella Olivier
Browse files
Options
Downloads
Patches
Plain Diff
cleaning ui file
parent
608dea92
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/gui/peptide_detail_view/peptide_detail_view.ui
+37
-52
37 additions, 52 deletions
src/gui/peptide_detail_view/peptide_detail_view.ui
src/gui/peptide_detail_view/peptidewindow.cpp
+6
-6
6 additions, 6 deletions
src/gui/peptide_detail_view/peptidewindow.cpp
with
43 additions
and
58 deletions
src/gui/peptide_detail_view/peptide_detail_view.ui
+
37
−
52
View file @
62fe8978
...
...
@@ -7,7 +7,7 @@
<x>
0
</x>
<y>
0
</y>
<width>
826
</width>
<height>
40
4
</height>
<height>
4
3
0
</height>
</rect>
</property>
<property
name=
"windowTitle"
>
...
...
@@ -24,7 +24,7 @@
<item>
<widget
class=
"QLabel"
name=
"label_2"
>
<property
name=
"text"
>
<string>
sequence
</string>
<string>
se
&
quence
</string>
</property>
</widget>
</item>
...
...
@@ -104,7 +104,7 @@
<item>
<widget
class=
"QLabel"
name=
"scan_label"
>
<property
name=
"text"
>
<string>
TextLabel
</string>
<string>
TextLa
&
bel
</string>
</property>
<property
name=
"textInteractionFlags"
>
<set>
Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse
</set>
...
...
@@ -127,41 +127,42 @@
<item>
<layout
class=
"QVBoxLayout"
name=
"verticalLayout_9"
>
<item>
<widget
class=
"QWidget"
name=
"file_not_found"
>
<layout
class=
"QFormLayout"
name=
"file_not_found_layout"
>
<item
row=
"0"
column=
"0"
>
<widget
class=
"QLabel"
name=
"mz_data_dir_label"
>
<property
name=
"text"
>
<string>
TextLabel
</string>
</property>
</widget>
</item>
<item
row=
"0"
column=
"1"
>
<widget
class=
"QPushButton"
name=
"select_dir"
>
<property
name=
"text"
>
<string>
set mz data directory
</string>
</property>
</widget>
</item>
</layout>
</widget>
<widget
class=
"QWidget"
name=
"file_not_found
_widget"
native=
"true
"
>
<layout
class=
"QFormLayout"
name=
"file_not_found_layout"
>
<item
row=
"0"
column=
"0"
>
<widget
class=
"QLabel"
name=
"mz_data_dir_label"
>
<property
name=
"text"
>
<string>
TextLabel
</string>
</property>
</widget>
</item>
<item
row=
"0"
column=
"1"
>
<widget
class=
"QPushButton"
name=
"select_dir"
>
<property
name=
"text"
>
<string>
set mz data directory
</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<layout
class=
"QHBoxLayout"
name=
"horizontalLayout_2"
>
<item>
<layout
class=
"QHBoxLayout"
name=
"horizontalLayout_4"
>
<item>
<widget
class=
"QSpectrumWidget"
name=
"spectrumWidget"
native=
"true"
>
<property
name=
"sizePolicy"
>
<sizepolicy
hsizetype=
"Expanding"
vsizetype=
"Expanding"
>
<horstretch>
0
</horstretch>
<verstretch>
0
</verstretch>
</sizepolicy>
</property>
</widget>
</item>
<item>
<layout
class=
"QVBoxLayout"
name=
"verticalLayout_8"
/>
<layout
class=
"QVBoxLayout"
name=
"verticalLayout_8"
>
<item>
<widget
class=
"QSpectrumWidget"
name=
"spectrumWidget"
native=
"true"
>
<property
name=
"sizePolicy"
>
<sizepolicy
hsizetype=
"Expanding"
vsizetype=
"Expanding"
>
<horstretch>
0
</horstretch>
<verstretch>
0
</verstretch>
</sizepolicy>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</item>
...
...
@@ -190,7 +191,7 @@
<item
row=
"1"
column=
"0"
>
<widget
class=
"QLabel"
name=
"hyperscore_title_label"
>
<property
name=
"text"
>
<string>
hyperscore
</string>
<string>
h
&
yperscore
</string>
</property>
</widget>
</item>
...
...
@@ -218,7 +219,7 @@
<item
row=
"3"
column=
"0"
>
<widget
class=
"QLabel"
name=
"z_title_label"
>
<property
name=
"text"
>
<string>
charge
</string>
<string>
cha
&
rge
</string>
</property>
</widget>
</item>
...
...
@@ -232,7 +233,7 @@
<item
row=
"4"
column=
"0"
>
<widget
class=
"QLabel"
name=
"mz_title_label"
>
<property
name=
"text"
>
<string>
mz
</string>
<string>
m
&
z
</string>
</property>
</widget>
</item>
...
...
@@ -340,7 +341,7 @@
<x>
0
</x>
<y>
0
</y>
<width>
826
</width>
<height>
2
3
</height>
<height>
2
5
</height>
</rect>
</property>
</widget>
...
...
@@ -355,22 +356,6 @@
</customwidgets>
<resources/>
<connections>
<connection>
<sender>
select_dir
</sender>
<signal>
clicked()
</signal>
<receiver>
PeptideDetailView
</receiver>
<slot>
chooseDefaultMzDataDir()
</slot>
<hints>
<hint
type=
"sourcelabel"
>
<x>
371
</x>
<y>
101
</y>
</hint>
<hint
type=
"destinationlabel"
>
<x>
838
</x>
<y>
384
</y>
</hint>
</hints>
</connection>
<connection>
<sender>
pushButton
</sender>
<signal>
clicked()
</signal>
...
...
This diff is collapsed.
Click to expand it.
src/gui/peptide_detail_view/peptidewindow.cpp
+
6
−
6
View file @
62fe8978
...
...
@@ -90,7 +90,7 @@ PeptideWindow::PeptideWindow(ProjectWindow *parent):
_p_precision
=
Precision
::
getPpmInstance
(
precision
);
}
ui
->
file_not_found
->
setVisible
(
false
);
ui
->
file_not_found
_widget
->
setVisible
(
false
);
qRegisterMetaType
<
pappso
::
SpectrumSp
>
(
"pappso::SpectrumSp"
);
#if QT_VERSION >= 0x050000
...
...
@@ -177,7 +177,7 @@ void PeptideWindow::chooseDefaultMzDataDir() {
qDebug
()
<<
"PeptideWindow::chooseDefaultMzDataDir begin"
;
_p_spectrum_overlay
->
displayLoadingMessage
();
ui
->
file_not_found
->
setVisible
(
false
);
ui
->
file_not_found
_widget
->
setVisible
(
false
);
ui
->
spectrumWidget
->
setVisible
(
true
);
emit
loadSpectrumSp
(
_p_peptide_evidence
);
ui
->
statusbar
->
showMessage
(
tr
(
"loading spectrum"
));
...
...
@@ -205,7 +205,7 @@ void PeptideWindow::doSpectrumSpReady(SpectrumSp spectrum_sp, QString error, QSt
spectrum_copy
.
setOriginalSpectrumSp
(
spectrum_sp
);
ui
->
spectrumWidget
->
setQualifiedSpectrum
(
spectrum_copy
);
ui
->
file_not_found
->
setVisible
(
false
);
ui
->
file_not_found
_widget
->
setVisible
(
false
);
ui
->
spectrumWidget
->
setVisible
(
true
);
_spectrum_is_ready
=
true
;
}
...
...
@@ -218,7 +218,7 @@ void PeptideWindow::doSpectrumSpReady(SpectrumSp spectrum_sp, QString error, QSt
ui
->
mz_data_dir_label
->
setText
(
path
);
ui
->
file_not_found
->
setVisible
(
true
);
ui
->
file_not_found
_widget
->
setVisible
(
true
);
ui
->
spectrumWidget
->
setVisible
(
false
);
_spectrum_is_ready
=
false
;
}
...
...
@@ -233,7 +233,7 @@ void PeptideWindow::doSpectrumSpReady(SpectrumSp spectrum_sp, QString error, QSt
ui
->
mz_data_dir_label
->
setText
(
path
);
ui
->
file_not_found
->
setVisible
(
true
);
ui
->
file_not_found
_widget
->
setVisible
(
true
);
ui
->
spectrumWidget
->
setVisible
(
false
);
_spectrum_is_ready
=
false
;
}
...
...
@@ -250,7 +250,7 @@ void PeptideWindow::setPeptideEvidence(PeptideEvidence * p_peptide_evidence) {
emit
loadSpectrumSp
(
_p_peptide_evidence
);
_p_spectrum_overlay
->
displayLoadingMessage
();
ui
->
file_not_found
->
setVisible
(
false
);
ui
->
file_not_found
_widget
->
setVisible
(
false
);
ui
->
spectrumWidget
->
setVisible
(
true
);
ui
->
statusbar
->
showMessage
(
tr
(
"loading spectrum"
));
...
...
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