diff --git a/src/gui/ptm_peptide_list_view/ptm_peptide_list_view.ui b/src/gui/ptm_peptide_list_view/ptm_peptide_list_view.ui new file mode 100644 index 0000000000000000000000000000000000000000..8e2c189195e7051821adf4494206684cd653bc50 --- /dev/null +++ b/src/gui/ptm_peptide_list_view/ptm_peptide_list_view.ui @@ -0,0 +1,98 @@ +<?xml version="1.0" encoding="UTF-8"?> +<ui version="4.0"> + <class>PtmIslandListWindow</class> + <widget class="QMainWindow" name="PtmIslandListWindow"> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>826</width> + <height>404</height> + </rect> + </property> + <property name="contextMenuPolicy"> + <enum>Qt::CustomContextMenu</enum> + </property> + <property name="windowTitle"> + <string>PTM island list</string> + </property> + <widget class="QWidget" name="centralwidget"> + <property name="contextMenuPolicy"> + <enum>Qt::CustomContextMenu</enum> + </property> + <layout class="QVBoxLayout" name="verticalLayout"> + <item> + <widget class="QTableView" name="ptm_island_tableview"> + <property name="contextMenuPolicy"> + <enum>Qt::DefaultContextMenu</enum> + </property> + </widget> + </item> + <item> + <layout class="QHBoxLayout" name="horizontalLayout_2"> + <item> + <widget class="QLabel" name="label_2"> + <property name="text"> + <string>search</string> + </property> + </widget> + </item> + <item> + <widget class="QComboBox" name="search_combobox"> + <item> + <property name="text"> + <string>accession</string> + </property> + </item> + <item> + <property name="text"> + <string>description</string> + </property> + </item> + <item> + <property name="text"> + <string>group</string> + </property> + </item> + <item> + <property name="text"> + <string>sequence</string> + </property> + </item> + <item> + <property name="text"> + <string>peptide</string> + </property> + </item> + </widget> + </item> + <item> + <widget class="QLineEdit" name="protein_search_edit"/> + </item> + </layout> + </item> + </layout> + </widget> + <widget class="QMenuBar" name="menubar"> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>826</width> + <height>23</height> + </rect> + </property> + </widget> + <widget class="QStatusBar" name="statusbar"/> + </widget> + <resources/> + <connections/> + <slots> + <slot>doNotValidHide(bool)</slot> + <slot>doNotCheckedHide(bool)</slot> + <slot>doNotGroupedHide(bool)</slot> + <slot>onProteinSearchEdit(QString)</slot> + <slot>doSearchOn(QString)</slot> + </slots> +</ui> + diff --git a/src/gui/ptm_peptide_list_view/ptmpeptidelistwindow.cpp b/src/gui/ptm_peptide_list_view/ptmpeptidelistwindow.cpp new file mode 100644 index 0000000000000000000000000000000000000000..3309a7dbec6614431638def36ed292c63da443d6 --- /dev/null +++ b/src/gui/ptm_peptide_list_view/ptmpeptidelistwindow.cpp @@ -0,0 +1,30 @@ +/** + * \file gui/ptm_peptide_list_window/ptmpeptidelistwindow.cpp + * \date 10/6/2017 + * \author Olivier Langella + * \brief display all peptides from one ptm island + */ + +/******************************************************************************* +* Copyright (c) 2017 Olivier Langella <olivier.langella@u-psud.fr>. +* +* This file is part of XTPcpp. +* +* XTPcpp is free software: you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* XTPcpp is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with XTPcpp. If not, see <http://www.gnu.org/licenses/>. +* +* Contributors: +* Olivier Langella <olivier.langella@u-psud.fr> - initial API and implementation +******************************************************************************/ + +#include "ptmpeptidelistwindow.h" diff --git a/src/gui/ptm_peptide_list_view/ptmpeptidelistwindow.h b/src/gui/ptm_peptide_list_view/ptmpeptidelistwindow.h new file mode 100644 index 0000000000000000000000000000000000000000..e6bc836301f541c1b3b904441baa9bed363e741e --- /dev/null +++ b/src/gui/ptm_peptide_list_view/ptmpeptidelistwindow.h @@ -0,0 +1,37 @@ +/** + * \file gui/ptm_peptide_list_window/ptmpeptidelistwindow.h + * \date 10/6/2017 + * \author Olivier Langella + * \brief display all peptides from one ptm island + */ + +/******************************************************************************* +* Copyright (c) 2017 Olivier Langella <olivier.langella@u-psud.fr>. +* +* This file is part of XTPcpp. +* +* XTPcpp is free software: you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* XTPcpp is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with XTPcpp. If not, see <http://www.gnu.org/licenses/>. +* +* Contributors: +* Olivier Langella <olivier.langella@u-psud.fr> - initial API and implementation +******************************************************************************/ + +#ifndef PTMPEPTIDELISTWINDOW_H +#define PTMPEPTIDELISTWINDOW_H + +class PtmPeptideListWindow +{ +}; + +#endif // PTMPEPTIDELISTWINDOW_H diff --git a/src/gui/ptm_peptide_list_view/ptmpeptidetablemodel.cpp b/src/gui/ptm_peptide_list_view/ptmpeptidetablemodel.cpp new file mode 100644 index 0000000000000000000000000000000000000000..6ce26eecb75d055b4bfcb1d80f5e1649f8a58b88 --- /dev/null +++ b/src/gui/ptm_peptide_list_view/ptmpeptidetablemodel.cpp @@ -0,0 +1,29 @@ +/** + * \file gui/ptm_peptide_list_window/ptmpeptidetablemodel.cpp + * \date 10/6/2017 + * \author Olivier Langella + */ + +/******************************************************************************* +* Copyright (c) 2017 Olivier Langella <olivier.langella@u-psud.fr>. +* +* This file is part of XTPcpp. +* +* XTPcpp is free software: you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* XTPcpp is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with XTPcpp. If not, see <http://www.gnu.org/licenses/>. +* +* Contributors: +* Olivier Langella <olivier.langella@u-psud.fr> - initial API and implementation +******************************************************************************/ + +#include "ptmpeptidetablemodel.h" diff --git a/src/gui/ptm_peptide_list_view/ptmpeptidetablemodel.h b/src/gui/ptm_peptide_list_view/ptmpeptidetablemodel.h new file mode 100644 index 0000000000000000000000000000000000000000..d1eed50da52b94db47a094a72540b17312301f66 --- /dev/null +++ b/src/gui/ptm_peptide_list_view/ptmpeptidetablemodel.h @@ -0,0 +1,36 @@ +/** + * \file gui/ptm_peptide_list_window/ptmpeptidetablemodel.h + * \date 10/6/2017 + * \author Olivier Langella + */ + +/******************************************************************************* +* Copyright (c) 2017 Olivier Langella <olivier.langella@u-psud.fr>. +* +* This file is part of XTPcpp. +* +* XTPcpp is free software: you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* XTPcpp is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with XTPcpp. If not, see <http://www.gnu.org/licenses/>. +* +* Contributors: +* Olivier Langella <olivier.langella@u-psud.fr> - initial API and implementation +******************************************************************************/ + +#ifndef PTMPEPTIDETABLEMODEL_H +#define PTMPEPTIDETABLEMODEL_H + +class PtmPeptideTableModel +{ +}; + +#endif // PTMPEPTIDETABLEMODEL_H diff --git a/src/gui/ptm_peptide_list_view/ptmpeptidetableproxymodel.cpp b/src/gui/ptm_peptide_list_view/ptmpeptidetableproxymodel.cpp new file mode 100644 index 0000000000000000000000000000000000000000..b6b394c4a153a0aca01970b2997d8d906eab4cf2 --- /dev/null +++ b/src/gui/ptm_peptide_list_view/ptmpeptidetableproxymodel.cpp @@ -0,0 +1,29 @@ +/** + * \file gui/ptm_peptide_list_window/ptmpeptidetableproxymodel.cpp + * \date 10/6/2017 + * \author Olivier Langella + */ + +/******************************************************************************* +* Copyright (c) 2017 Olivier Langella <olivier.langella@u-psud.fr>. +* +* This file is part of XTPcpp. +* +* XTPcpp is free software: you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* XTPcpp is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with XTPcpp. If not, see <http://www.gnu.org/licenses/>. +* +* Contributors: +* Olivier Langella <olivier.langella@u-psud.fr> - initial API and implementation +******************************************************************************/ + +#include "ptmpeptidetableproxymodel.h" diff --git a/src/gui/ptm_peptide_list_view/ptmpeptidetableproxymodel.h b/src/gui/ptm_peptide_list_view/ptmpeptidetableproxymodel.h new file mode 100644 index 0000000000000000000000000000000000000000..5e0a9f676bcd2cfafabdf2e43c5c1823163acd27 --- /dev/null +++ b/src/gui/ptm_peptide_list_view/ptmpeptidetableproxymodel.h @@ -0,0 +1,36 @@ +/** + * \file gui/ptm_peptide_list_window/ptmpeptidetableproxymodel.h + * \date 10/6/2017 + * \author Olivier Langella + */ + +/******************************************************************************* +* Copyright (c) 2017 Olivier Langella <olivier.langella@u-psud.fr>. +* +* This file is part of XTPcpp. +* +* XTPcpp is free software: you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* XTPcpp is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with XTPcpp. If not, see <http://www.gnu.org/licenses/>. +* +* Contributors: +* Olivier Langella <olivier.langella@u-psud.fr> - initial API and implementation +******************************************************************************/ + +#ifndef PTMPEPTIDETABLEPROXYMODEL_H +#define PTMPEPTIDETABLEPROXYMODEL_H + +class PtmPeptideTableProxyModel +{ +}; + +#endif // PTMPEPTIDETABLEPROXYMODEL_H