Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
xtpcpp
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
Container Registry
Model registry
Operate
Environments
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
xtpcpp
Commits
0f2773a7
Commit
0f2773a7
authored
7 years ago
by
Olivier Langella
Browse files
Options
Downloads
Patches
Plain Diff
decoy status displayed in protein details
parent
4acff869
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/gui/protein_view/protein_detail_view.ui
+84
-60
84 additions, 60 deletions
src/gui/protein_view/protein_detail_view.ui
src/gui/protein_view/proteinwindow.cpp
+4
-2
4 additions, 2 deletions
src/gui/protein_view/proteinwindow.cpp
src/input/xpipsaxhandler.cpp
+1
-0
1 addition, 0 deletions
src/input/xpipsaxhandler.cpp
with
89 additions
and
62 deletions
src/gui/protein_view/protein_detail_view.ui
+
84
−
60
View file @
0f2773a7
...
...
@@ -7,7 +7,7 @@
<x>
0
</x>
<y>
0
</y>
<width>
609
</width>
<height>
4
09
</height>
<height>
4
28
</height>
</rect>
</property>
<property
name=
"windowTitle"
>
...
...
@@ -18,70 +18,94 @@
<item
row=
"1"
column=
"0"
>
<layout
class=
"QVBoxLayout"
name=
"verticalLayout"
>
<item>
<layout
class=
"QHBoxLayout"
name=
"horizontalLayout"
>
<item>
<widget
class=
"QLabel"
name=
"accession_label"
>
<property
name=
"sizePolicy"
>
<sizepolicy
hsizetype=
"Preferred"
vsizetype=
"Minimum"
>
<horstretch>
0
</horstretch>
<verstretch>
0
</verstretch>
</sizepolicy>
</property>
<property
name=
"maximumSize"
>
<size>
<width>
16777215
</width>
<height>
167
</height>
</size>
</property>
<property
name=
"text"
>
<string>
TextLabel
</string>
</property>
<property
name=
"wordWrap"
>
<bool>
true
</bool>
</property>
<property
name=
"textInteractionFlags"
>
<set>
Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse
</set>
</property>
</widget>
</item>
<layout
class=
"QHBoxLayout"
name=
"horizontalLayout"
/>
</item>
<item>
<layout
class=
"QHBoxLayout"
name=
"horizontalLayout_2"
>
<item>
<spacer
name=
"horizontalSpacer"
>
<property
name=
"orientation"
>
<enum>
Qt::Horizontal
</enum>
</property>
<property
name=
"sizeHint"
stdset=
"0"
>
<size>
<width>
40
</width>
<height>
20
</height>
</size>
</property>
</spacer>
<layout
class=
"QVBoxLayout"
name=
"verticalLayout_2"
>
<item>
<spacer
name=
"horizontalSpacer"
>
<property
name=
"orientation"
>
<enum>
Qt::Horizontal
</enum>
</property>
<property
name=
"sizeHint"
stdset=
"0"
>
<size>
<width>
40
</width>
<height>
20
</height>
</size>
</property>
</spacer>
</item>
<item>
<widget
class=
"QLabel"
name=
"accession_label"
>
<property
name=
"sizePolicy"
>
<sizepolicy
hsizetype=
"Preferred"
vsizetype=
"Minimum"
>
<horstretch>
0
</horstretch>
<verstretch>
0
</verstretch>
</sizepolicy>
</property>
<property
name=
"maximumSize"
>
<size>
<width>
16777215
</width>
<height>
167
</height>
</size>
</property>
<property
name=
"text"
>
<string>
TextLabel
</string>
</property>
<property
name=
"wordWrap"
>
<bool>
true
</bool>
</property>
<property
name=
"textInteractionFlags"
>
<set>
Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse
</set>
</property>
</widget>
</item>
<item>
<widget
class=
"QLabel"
name=
"description_label"
>
<property
name=
"text"
>
<string>
TextLabel
</string>
</property>
<property
name=
"wordWrap"
>
<bool>
true
</bool>
</property>
</widget>
</item>
</layout>
</item>
<item>
<widget
class=
"QCheckBox"
name=
"validCheckBox"
>
<property
name=
"enabled"
>
<bool>
false
</bool>
</property>
<property
name=
"text"
>
<string>
valid
</string>
</property>
<property
name=
"checkable"
>
<bool>
true
</bool>
</property>
</widget>
<layout
class=
"QVBoxLayout"
name=
"verticalLayout_3"
>
<item>
<widget
class=
"QCheckBox"
name=
"valid_checkbox"
>
<property
name=
"enabled"
>
<bool>
false
</bool>
</property>
<property
name=
"text"
>
<string>
valid
</string>
</property>
<property
name=
"checkable"
>
<bool>
true
</bool>
</property>
</widget>
</item>
<item>
<widget
class=
"QCheckBox"
name=
"decoy_checkbox"
>
<property
name=
"enabled"
>
<bool>
false
</bool>
</property>
<property
name=
"text"
>
<string>
decoy
</string>
</property>
<property
name=
"checkable"
>
<bool>
true
</bool>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</item>
<item>
<widget
class=
"QLabel"
name=
"description_label"
>
<property
name=
"text"
>
<string>
TextLabel
</string>
</property>
<property
name=
"wordWrap"
>
<bool>
true
</bool>
</property>
</widget>
</item>
<item>
<widget
class=
"QTextEdit"
name=
"sequenceTextEdit"
>
<property
name=
"lineWrapMode"
>
...
...
@@ -148,7 +172,7 @@
<x>
0
</x>
<y>
0
</y>
<width>
609
</width>
<height>
25
</height>
<height>
46
</height>
</rect>
</property>
</widget>
...
...
This diff is collapsed.
Click to expand it.
src/gui/protein_view/proteinwindow.cpp
+
4
−
2
View file @
0f2773a7
...
...
@@ -71,8 +71,10 @@ void ProteinWindow::doPeptideMatchSelected(PeptideMatch * peptide_match) {
void
ProteinWindow
::
updateDisplay
()
{
try
{
ui
->
validCheckBox
->
setCheckState
(
Qt
::
Unchecked
);
if
(
_p_protein_match
->
isValid
())
ui
->
validCheckBox
->
setCheckState
(
Qt
::
Checked
);
ui
->
valid_checkbox
->
setCheckState
(
Qt
::
Unchecked
);
if
(
_p_protein_match
->
isValid
())
ui
->
valid_checkbox
->
setCheckState
(
Qt
::
Checked
);
ui
->
decoy_checkbox
->
setCheckState
(
Qt
::
Unchecked
);
if
(
_p_protein_match
->
getProteinXtpSp
().
get
()
->
isDecoy
())
ui
->
decoy_checkbox
->
setCheckState
(
Qt
::
Checked
);
ui
->
accession_label
->
setText
(
_p_protein_match
->
getProteinXtpSp
().
get
()
->
getAccession
());
ui
->
description_label
->
setText
(
_p_protein_match
->
getProteinXtpSp
().
get
()
->
getDescription
());
ui
->
sequenceTextEdit
->
setText
(
_p_protein_match
->
getHtmlSequence
());
...
...
This diff is collapsed.
Click to expand it.
src/input/xpipsaxhandler.cpp
+
1
−
0
View file @
0f2773a7
...
...
@@ -329,6 +329,7 @@ QString XpipSaxHandler::errorString() const {
bool
XpipSaxHandler
::
endDocument
()
{
//_p_project->getProteinStore().setRegexpDecoyPattern(_p_project->getProteinStore().getRegexpDecoy().pattern());
_p_project
->
updateAutomaticFilters
(
_automatic_filter_parameters
);
return
true
;
}
...
...
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