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

alter refine fixed modification

parent 18eabb6c
No related branches found
No related tags found
No related merge requests found
......@@ -1818,6 +1818,57 @@
<item row="3" column="1">
<widget class="QLineEdit" name="refpctm_edit"/>
</item>
<item row="4" column="1">
<widget class="QLineEdit" name="refmm_edit"/>
</item>
<item row="4" column="0">
<widget class="QLabel" name="label_51">
<property name="text">
<string>Alter fixed modifications</string>
</property>
</widget>
</item>
<item row="5" column="0">
<widget class="QLabel" name="label_52">
<property name="text">
<string>Alter fixed modifications 1</string>
</property>
</widget>
</item>
<item row="4" column="2">
<widget class="QPushButton" name="refmm_push_button">
<property name="text">
<string>?</string>
</property>
</widget>
</item>
<item row="6" column="0">
<widget class="QLabel" name="label_53">
<property name="text">
<string>Alter fixed modifications 2</string>
</property>
</widget>
</item>
<item row="5" column="2">
<widget class="QPushButton" name="refmm1_push_button">
<property name="text">
<string>?</string>
</property>
</widget>
</item>
<item row="6" column="2">
<widget class="QPushButton" name="refmm2_push_button">
<property name="text">
<string>?</string>
</property>
</widget>
</item>
<item row="5" column="1">
<widget class="QLineEdit" name="refmm1_edit"/>
</item>
<item row="6" column="1">
<widget class="QLineEdit" name="refmm2_edit"/>
</item>
</layout>
</item>
<item>
......@@ -2876,6 +2927,54 @@
</hint>
</hints>
</connection>
<connection>
<sender>refmm_push_button</sender>
<signal>clicked()</signal>
<receiver>EditTandemPresetView</receiver>
<slot>doHelp()</slot>
<hints>
<hint type="sourcelabel">
<x>1007</x>
<y>320</y>
</hint>
<hint type="destinationlabel">
<x>1523</x>
<y>-20</y>
</hint>
</hints>
</connection>
<connection>
<sender>refmm1_push_button</sender>
<signal>clicked()</signal>
<receiver>EditTandemPresetView</receiver>
<slot>doHelp()</slot>
<hints>
<hint type="sourcelabel">
<x>993</x>
<y>356</y>
</hint>
<hint type="destinationlabel">
<x>1523</x>
<y>-38</y>
</hint>
</hints>
</connection>
<connection>
<sender>refmm2_push_button</sender>
<signal>clicked()</signal>
<receiver>EditTandemPresetView</receiver>
<slot>doHelp()</slot>
<hints>
<hint type="sourcelabel">
<x>960</x>
<y>396</y>
</hint>
<hint type="destinationlabel">
<x>993</x>
<y>834</y>
</hint>
</hints>
</connection>
</connections>
<slots>
<slot>doCopy()</slot>
......@@ -2888,23 +2987,23 @@
<slot>doSelectDir()</slot>
</slots>
<buttongroups>
<buttongroup name="pqp_button_group"/>
<buttongroup name="suca_button_group"/>
<buttongroup name="sir_button_group"/>
<buttongroup name="sfmmeu_button_group"/>
<buttongroup name="sbi_button_group"/>
<buttongroup name="syi_button_group"/>
<buttongroup name="szi_button_group"/>
<buttongroup name="refine_button_group"/>
<buttongroup name="spmmeu_button_group"/>
<buttongroup name="pstpb_button_group"/>
<buttongroup name="sai_button_group"/>
<buttongroup name="pcsemi_button_group"/>
<buttongroup name="spmmie_button_group"/>
<buttongroup name="sci_button_group"/>
<buttongroup name="pqp_button_group"/>
<buttongroup name="sbi_button_group"/>
<buttongroup name="suca_button_group"/>
<buttongroup name="sir_button_group"/>
<buttongroup name="scp_button_group"/>
<buttongroup name="pqa_button_group"/>
<buttongroup name="sci_button_group"/>
<buttongroup name="spmmie_button_group"/>
<buttongroup name="sxi_button_group"/>
<buttongroup name="sfmmeu_button_group"/>
<buttongroup name="sunlw_button_group"/>
<buttongroup name="pstpb_button_group"/>
<buttongroup name="syi_button_group"/>
<buttongroup name="refine_button_group"/>
<buttongroup name="pqa_button_group"/>
</buttongroups>
</ui>
......@@ -354,7 +354,10 @@ void EditTandemPresetDialog::doHelp() {
{
html_doc.setFileName(":/tandem/resources/html_doc/refpctm.html");
}
if ((senderObjName == "refmm_push_button")|| (senderObjName == "refmm1_push_button")|| (senderObjName == "refmm2_push_button"))
{
html_doc.setFileName(":/tandem/resources/html_doc/refmm.html");
}
_tandem_params.setParamLabelValue("residue, potential modification mass", ui->rpmm_edit->text());
......@@ -492,6 +495,10 @@ void EditTandemPresetDialog::readUi() {
_tandem_params.setParamLabelValue("refine, potential N-terminus modifications", ui->refpntm_edit->text());
_tandem_params.setParamLabelValue("refine, potential C-terminus modifications", ui->refpctm_edit->text());
_tandem_params.setParamLabelValue("refine, modification mass", ui->refmm_edit->text());
_tandem_params.setParamLabelValue("refine, modification mass 1", ui->refmm1_edit->text());
_tandem_params.setParamLabelValue("refine, modification mass 2", ui->refmm2_edit->text());
}
catch (pappso::PappsoException & error) {
......@@ -727,8 +734,11 @@ void EditTandemPresetDialog::populate() {
//<note type="input" label="refine, potential C-terminus modifications"></note>
ui->refpctm_edit->setText(_tandem_params.getValue("refine, potential C-terminus modifications"));
//<note type="input" label="refine, modification mass">57.02146@C</note>
ui->refmm_edit->setText(_tandem_params.getValue("refine, modification mass"));
//<note type="input" label="refine, modification mass 1"></note>
ui->refmm1_edit->setText(_tandem_params.getValue("refine, modification mass 1"));
//<note type="input" label="refine, modification mass 2"></note>
ui->refmm2_edit->setText(_tandem_params.getValue("refine, modification mass 2"));
//<note type="input" label="refine, potential modification mass">15.99491@M</note>
//<note type="input" label="refine, potential modification mass 1"></note>
//<note type="input" label="refine, potential modification mass 2"></note>
......
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