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
Admin message
A compter du 1er avril, attention à vos pipelines :
Nouvelles limitations de Docker Hub
Show more breadcrumbs
PAPPSO
i2MassChroQ
Commits
a2b7feff
Commit
a2b7feff
authored
7 years ago
by
Langella Olivier
Browse files
Options
Downloads
Patches
Plain Diff
protein form is OK
parent
843e8359
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/gui/edit_tandem_preset_dialog/edit_tandem_preset_dialog.ui
+173
-8
173 additions, 8 deletions
...ui/edit_tandem_preset_dialog/edit_tandem_preset_dialog.ui
src/gui/edit_tandem_preset_dialog/edittandempresetdialog.cpp
+39
-1
39 additions, 1 deletion
src/gui/edit_tandem_preset_dialog/edittandempresetdialog.cpp
with
212 additions
and
9 deletions
src/gui/edit_tandem_preset_dialog/edit_tandem_preset_dialog.ui
+
173
−
8
View file @
a2b7feff
...
@@ -571,6 +571,41 @@
...
@@ -571,6 +571,41 @@
<layout
class=
"QVBoxLayout"
name=
"verticalLayout_6"
>
<layout
class=
"QVBoxLayout"
name=
"verticalLayout_6"
>
<item>
<item>
<layout
class=
"QGridLayout"
name=
"gridLayout_3"
>
<layout
class=
"QGridLayout"
name=
"gridLayout_3"
>
<item
row=
"9"
column=
"0"
>
<widget
class=
"QLabel"
name=
"label_25"
>
<property
name=
"text"
>
<string>
Interpretation of peptide phosphorylation model
</string>
</property>
</widget>
</item>
<item
row=
"7"
column=
"2"
>
<widget
class=
"QComboBox"
name=
"pqa_combo_box"
>
<item>
<property
name=
"text"
>
<string>
yes
</string>
</property>
</item>
<item>
<property
name=
"text"
>
<string>
no
</string>
</property>
</item>
</widget>
</item>
<item
row=
"8"
column=
"0"
>
<widget
class=
"QLabel"
name=
"label_24"
>
<property
name=
"text"
>
<string>
Protein N-terminus cyclisation
</string>
</property>
</widget>
</item>
<item
row=
"7"
column=
"0"
>
<widget
class=
"QLabel"
name=
"label_23"
>
<property
name=
"text"
>
<string>
Protein N-terminus common modifications
</string>
</property>
</widget>
</item>
<item
row=
"3"
column=
"2"
>
<item
row=
"3"
column=
"2"
>
<widget
class=
"QLineEdit"
name=
"pcntmc_edit"
/>
<widget
class=
"QLineEdit"
name=
"pcntmc_edit"
/>
</item>
</item>
...
@@ -663,19 +698,19 @@
...
@@ -663,19 +698,19 @@
<item
row=
"2"
column=
"2"
>
<item
row=
"2"
column=
"2"
>
<widget
class=
"QLineEdit"
name=
"pcctmc_edit"
/>
<widget
class=
"QLineEdit"
name=
"pcctmc_edit"
/>
</item>
</item>
<item
row=
"5"
column=
"0"
>
<item
row=
"6"
column=
"2"
>
<widget
class=
"QLineEdit"
name=
"pntrmm_edit"
/>
</item>
<item
row=
"4"
column=
"2"
>
<widget
class=
"QLineEdit"
name=
"pctrmm_edit"
/>
</item>
<item
row=
"6"
column=
"0"
>
<widget
class=
"QLabel"
name=
"label_22"
>
<widget
class=
"QLabel"
name=
"label_22"
>
<property
name=
"text"
>
<property
name=
"text"
>
<string>
Moiety added to protein N-terminus
</string>
<string>
Moiety added to protein N-terminus
</string>
</property>
</property>
</widget>
</widget>
</item>
</item>
<item
row=
"4"
column=
"2"
>
<widget
class=
"QLineEdit"
name=
"pctrmm_edit"
/>
</item>
<item
row=
"5"
column=
"2"
>
<widget
class=
"QLineEdit"
name=
"pntrmm_edit"
/>
</item>
<item
row=
"4"
column=
"3"
>
<item
row=
"4"
column=
"3"
>
<widget
class=
"QPushButton"
name=
"pctrmm_push_button"
>
<widget
class=
"QPushButton"
name=
"pctrmm_push_button"
>
<property
name=
"text"
>
<property
name=
"text"
>
...
@@ -683,13 +718,79 @@
...
@@ -683,13 +718,79 @@
</property>
</property>
</widget>
</widget>
</item>
</item>
<item
row=
"
5
"
column=
"3"
>
<item
row=
"
6
"
column=
"3"
>
<widget
class=
"QPushButton"
name=
"pntrmm_push_button"
>
<widget
class=
"QPushButton"
name=
"pntrmm_push_button"
>
<property
name=
"text"
>
<property
name=
"text"
>
<string>
?
</string>
<string>
?
</string>
</property>
</property>
</widget>
</widget>
</item>
</item>
<item
row=
"9"
column=
"2"
>
<widget
class=
"QComboBox"
name=
"pstpb_combo_box"
>
<item>
<property
name=
"text"
>
<string>
yes
</string>
</property>
</item>
<item>
<property
name=
"text"
>
<string>
no
</string>
</property>
</item>
</widget>
</item>
<item
row=
"8"
column=
"2"
>
<widget
class=
"QComboBox"
name=
"pqp_combo_box"
>
<item>
<property
name=
"text"
>
<string>
yes
</string>
</property>
</item>
<item>
<property
name=
"text"
>
<string>
no
</string>
</property>
</item>
</widget>
</item>
<item
row=
"10"
column=
"0"
>
<widget
class=
"QLabel"
name=
"label_26"
>
<property
name=
"text"
>
<string>
Modify the residue masses of one or all amino acids
</string>
</property>
</widget>
</item>
<item
row=
"10"
column=
"2"
>
<widget
class=
"QLineEdit"
name=
"pmrmf_edit"
/>
</item>
<item
row=
"7"
column=
"3"
>
<widget
class=
"QPushButton"
name=
"pqa_push_button"
>
<property
name=
"text"
>
<string>
?
</string>
</property>
</widget>
</item>
<item
row=
"8"
column=
"3"
>
<widget
class=
"QPushButton"
name=
"pqp_push_button"
>
<property
name=
"text"
>
<string>
?
</string>
</property>
</widget>
</item>
<item
row=
"9"
column=
"3"
>
<widget
class=
"QPushButton"
name=
"pstpb_push_button"
>
<property
name=
"text"
>
<string>
?
</string>
</property>
</widget>
</item>
<item
row=
"10"
column=
"3"
>
<widget
class=
"QPushButton"
name=
"pmrmf_push_button"
>
<property
name=
"text"
>
<string>
?
</string>
</property>
</widget>
</item>
</layout>
</layout>
</item>
</item>
<item>
<item>
...
@@ -1298,6 +1399,70 @@
...
@@ -1298,6 +1399,70 @@
</hint>
</hint>
</hints>
</hints>
</connection>
</connection>
<connection>
<sender>
pqa_push_button
</sender>
<signal>
clicked()
</signal>
<receiver>
EditTandemPresetView
</receiver>
<slot>
doHelp()
</slot>
<hints>
<hint
type=
"sourcelabel"
>
<x>
981
</x>
<y>
392
</y>
</hint>
<hint
type=
"destinationlabel"
>
<x>
1521
</x>
<y>
405
</y>
</hint>
</hints>
</connection>
<connection>
<sender>
pqp_push_button
</sender>
<signal>
clicked()
</signal>
<receiver>
EditTandemPresetView
</receiver>
<slot>
doHelp()
</slot>
<hints>
<hint
type=
"sourcelabel"
>
<x>
974
</x>
<y>
420
</y>
</hint>
<hint
type=
"destinationlabel"
>
<x>
1521
</x>
<y>
432
</y>
</hint>
</hints>
</connection>
<connection>
<sender>
pstpb_push_button
</sender>
<signal>
clicked()
</signal>
<receiver>
EditTandemPresetView
</receiver>
<slot>
doHelp()
</slot>
<hints>
<hint
type=
"sourcelabel"
>
<x>
973
</x>
<y>
456
</y>
</hint>
<hint
type=
"destinationlabel"
>
<x>
1521
</x>
<y>
473
</y>
</hint>
</hints>
</connection>
<connection>
<sender>
pmrmf_push_button
</sender>
<signal>
clicked()
</signal>
<receiver>
EditTandemPresetView
</receiver>
<slot>
doHelp()
</slot>
<hints>
<hint
type=
"sourcelabel"
>
<x>
976
</x>
<y>
482
</y>
</hint>
<hint
type=
"destinationlabel"
>
<x>
1521
</x>
<y>
506
</y>
</hint>
</hints>
</connection>
</connections>
</connections>
<slots>
<slots>
<slot>
doCopy()
</slot>
<slot>
doCopy()
</slot>
...
...
This diff is collapsed.
Click to expand it.
src/gui/edit_tandem_preset_dialog/edittandempresetdialog.cpp
+
39
−
1
View file @
a2b7feff
...
@@ -270,7 +270,22 @@ void EditTandemPresetDialog::doHelp() {
...
@@ -270,7 +270,22 @@ void EditTandemPresetDialog::doHelp() {
{
{
html_doc
.
setFileName
(
":/tandem/resources/html_doc/pntrmm.html"
);
html_doc
.
setFileName
(
":/tandem/resources/html_doc/pntrmm.html"
);
}
}
if
(
senderObjName
==
"pqa_push_button"
)
{
html_doc
.
setFileName
(
":/tandem/resources/html_doc/pqa.html"
);
}
if
(
senderObjName
==
"pqp_push_button"
)
{
html_doc
.
setFileName
(
":/tandem/resources/html_doc/pqp.html"
);
}
if
(
senderObjName
==
"pstpb_push_button"
)
{
html_doc
.
setFileName
(
":/tandem/resources/html_doc/pstpb.html"
);
}
if
(
senderObjName
==
"pmrmf_push_button"
)
{
html_doc
.
setFileName
(
":/tandem/resources/html_doc/pmrmf.html"
);
}
if
(
html_doc
.
open
(
QFile
::
ReadOnly
|
QFile
::
Text
))
{
if
(
html_doc
.
open
(
QFile
::
ReadOnly
|
QFile
::
Text
))
{
QTextStream
in
(
&
html_doc
);
QTextStream
in
(
&
html_doc
);
...
@@ -316,6 +331,10 @@ void EditTandemPresetDialog::readUi() {
...
@@ -316,6 +331,10 @@ void EditTandemPresetDialog::readUi() {
_tandem_params
.
setParamLabelValue
(
"protein, cleavage semi"
,
ui
->
pcsemi_combo_box
->
currentText
());
_tandem_params
.
setParamLabelValue
(
"protein, cleavage semi"
,
ui
->
pcsemi_combo_box
->
currentText
());
_tandem_params
.
setParamLabelValue
(
"protein, cleavage C-terminal mass change"
,
ui
->
pcctmc_edit
->
text
());
_tandem_params
.
setParamLabelValue
(
"protein, cleavage C-terminal mass change"
,
ui
->
pcctmc_edit
->
text
());
_tandem_params
.
setParamLabelValue
(
"protein, cleavage N-terminal mass change"
,
ui
->
pcntmc_edit
->
text
());
_tandem_params
.
setParamLabelValue
(
"protein, cleavage N-terminal mass change"
,
ui
->
pcntmc_edit
->
text
());
_tandem_params
.
setParamLabelValue
(
"protein, quick acetyl"
,
ui
->
pqa_combo_box
->
currentText
());
_tandem_params
.
setParamLabelValue
(
"protein, quick pyrolidone"
,
ui
->
pqp_combo_box
->
currentText
());
_tandem_params
.
setParamLabelValue
(
"protein, stP bias"
,
ui
->
pstpb_combo_box
->
currentText
());
_tandem_params
.
setParamLabelValue
(
"protein, modified residue mass file"
,
ui
->
pmrmf_edit
->
text
());
}
}
...
@@ -411,6 +430,25 @@ void EditTandemPresetDialog::populate() {
...
@@ -411,6 +430,25 @@ void EditTandemPresetDialog::populate() {
ui
->
pctrmm_edit
->
setText
(
_tandem_params
.
getValue
(
"protein, C-terminal residue modification mass"
));
ui
->
pctrmm_edit
->
setText
(
_tandem_params
.
getValue
(
"protein, C-terminal residue modification mass"
));
//<note type="input" label="protein, N-terminal residue modification mass">0.0</note>
//<note type="input" label="protein, N-terminal residue modification mass">0.0</note>
ui
->
pntrmm_edit
->
setText
(
_tandem_params
.
getValue
(
"protein, N-terminal residue modification mass"
));
ui
->
pntrmm_edit
->
setText
(
_tandem_params
.
getValue
(
"protein, N-terminal residue modification mass"
));
//<note type="input" label="protein, quick acetyl">yes</note>
index
=
ui
->
pqa_combo_box
->
findText
(
_tandem_params
.
getValue
(
"protein, quick acetyl"
));
if
(
index
!=
-
1
)
{
// -1 for not found
ui
->
pqa_combo_box
->
setCurrentIndex
(
index
);
}
//<note type="input" label="protein, quick pyrolidone">yes</note>
index
=
ui
->
pqp_combo_box
->
findText
(
_tandem_params
.
getValue
(
"protein, quick pyrolidone"
));
if
(
index
!=
-
1
)
{
// -1 for not found
ui
->
pqp_combo_box
->
setCurrentIndex
(
index
);
}
//<note type="input" label="protein, stP bias">yes</note>
index
=
ui
->
pstpb_combo_box
->
findText
(
_tandem_params
.
getValue
(
"protein, stP bias"
));
if
(
index
!=
-
1
)
{
// -1 for not found
ui
->
pstpb_combo_box
->
setCurrentIndex
(
index
);
}
//<note type="input" label="protein, modified residue mass file"></note>
ui
->
pmrmf_edit
->
setText
(
_tandem_params
.
getValue
(
"protein, modified residue mass file"
));
qDebug
()
<<
"EditTandemPresetDialog::populate end"
;
qDebug
()
<<
"EditTandemPresetDialog::populate 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