diff --git a/.gitlab/issue_templates/bug.md b/.gitlab/issue_templates/bug.md new file mode 100644 index 0000000000000000000000000000000000000000..ff54fd2223d53cba63576a60b61770e9504c2509 --- /dev/null +++ b/.gitlab/issue_templates/bug.md @@ -0,0 +1,24 @@ +# Bug report + +## Version of X!TandemPipeline +(Which version of X!TandemPipeline bug) + +## Error message +(If an error message or a warning pop-up past-it here) + +## File used +(Copy the file path used when the bug occured) + +## Steps to reproduce +(How one can reproduce the issue - **very important**) + +## What is the expected correct behavior? +(What you should see instead) + +## Optional +### Relevant logs and/or screenshots +(Paste any relevant logs - please use code blocks (```) to format console output, +logs, and code as it's very hard to read otherwise.) + +### Possible fixes +(If you can, link to the line of code that might be responsible for the problem) diff --git a/.gitlab/issue_templates/feature_request.md b/.gitlab/issue_templates/feature_request.md new file mode 100644 index 0000000000000000000000000000000000000000..4aec9e53944a989c8dd53e9dacc499869ce0c636 --- /dev/null +++ b/.gitlab/issue_templates/feature_request.md @@ -0,0 +1,15 @@ +# New Feature request + +## Feature description +(Describe shortly the feature) + +## Feature position +(Where the new feature is located, *for a new widget describe its position according the other widget in the window*) + +## New Widget description +(*Optional, what the new widget should look like*) + +## Expected Result +(What is the expected result: description or example) + + diff --git a/src/gui/lists/ms_identification_run_list_view/msidentificationlistwindow.cpp b/src/gui/lists/ms_identification_run_list_view/msidentificationlistwindow.cpp index 839a10e637c2b5810de3462be0d216dfaff394c6..ec5846a076db99c418076104ea0342923851301e 100644 --- a/src/gui/lists/ms_identification_run_list_view/msidentificationlistwindow.cpp +++ b/src/gui/lists/ms_identification_run_list_view/msidentificationlistwindow.cpp @@ -96,6 +96,7 @@ MsIdentificationListWindow::MsIdentificationListWindow(ProjectWindow *parent) ui->tableView->setModel(m_proxy_model); ui->tableView->setSortingEnabled(true); + ui->tableView->horizontalHeader()->setSectionsMovable(true); m_proxy_model->resteItemDelegates(); diff --git a/src/gui/peptide_list_view/peptidelistwindow.cpp b/src/gui/peptide_list_view/peptidelistwindow.cpp index 6e972e2065c9f6278f0857dc37aa0edcc057a2ee..af3981a8f00545f903ccad542f3d08f6025c5973 100644 --- a/src/gui/peptide_list_view/peptidelistwindow.cpp +++ b/src/gui/peptide_list_view/peptidelistwindow.cpp @@ -95,6 +95,7 @@ PeptideListWindow::PeptideListWindow(ProjectWindow *parent) _p_proxy_model->setDynamicSortFilter(true); ui->tableView->setModel(_p_proxy_model); ui->tableView->setSortingEnabled(true); + ui->tableView->horizontalHeader()->setSectionsMovable(true); ui->tableView->setAlternatingRowColors(true); // connect(ui->tableView, SIGNAL(clicked(const QModelIndex &)), diff --git a/src/gui/protein_list_view/proteinlistwindow.cpp b/src/gui/protein_list_view/proteinlistwindow.cpp index 627b2efbacd32a44692993bf75e6c9c109123060..88b1397be92c0eefba2dd23c653d0f125187f6ad 100644 --- a/src/gui/protein_list_view/proteinlistwindow.cpp +++ b/src/gui/protein_list_view/proteinlistwindow.cpp @@ -95,6 +95,7 @@ ProteinListWindow::ProteinListWindow(ProjectWindow *parent) _p_proxy_model->setDynamicSortFilter(true); ui->tableView->setModel(_p_proxy_model); ui->tableView->setSortingEnabled(true); + ui->tableView->horizontalHeader()->setSectionsMovable(true); ui->tableView->setAlternatingRowColors(true); QSettings settings; diff --git a/src/gui/ptm_island_list_view/ptmislandlistwindow.cpp b/src/gui/ptm_island_list_view/ptmislandlistwindow.cpp index 5114d8f0d6450f6ebcad0c3d370d3c34f0e6af36..5332863201b216df673981bc7541b561417597ec 100644 --- a/src/gui/ptm_island_list_view/ptmislandlistwindow.cpp +++ b/src/gui/ptm_island_list_view/ptmislandlistwindow.cpp @@ -53,7 +53,7 @@ PtmIslandListWindow::PtmIslandListWindow(ProjectWindow *parent) ui->ptm_island_tableview->setModel(_ptm_proxy_model_p); ui->ptm_island_tableview->setSortingEnabled(true); ui->ptm_island_tableview->setAlternatingRowColors(true); - + ui->ptm_island_tableview->horizontalHeader()->setSectionsMovable(true); _statusbar_ptm_islands_label = new QLabel(""); ui->statusbar->addWidget(_statusbar_ptm_islands_label); diff --git a/src/gui/ptm_peptide_list_view/ptmpeptidelistwindow.cpp b/src/gui/ptm_peptide_list_view/ptmpeptidelistwindow.cpp index 5fb53774e830b6371d6d0ae1b92aac3e810e5d8a..2eb2a838211e1e2b446934993cc5b0956d4662da 100644 --- a/src/gui/ptm_peptide_list_view/ptmpeptidelistwindow.cpp +++ b/src/gui/ptm_peptide_list_view/ptmpeptidelistwindow.cpp @@ -54,6 +54,8 @@ PtmPeptideListWindow::PtmPeptideListWindow(PtmIslandListWindow *parent) ui->ptm_peptide_tableview->setModel(_ptm_proxy_model_p); ui->ptm_peptide_tableview->setSortingEnabled(true); ui->ptm_peptide_tableview->setAlternatingRowColors(true); + ui->ptm_peptide_tableview->horizontalHeader()->setSectionsMovable(true); + PtmSequenceDelegate *p_sequence_delegate = new PtmSequenceDelegate(_p_ptm_island_list_window, this); ui->ptm_peptide_tableview->setItemDelegateForColumn(