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
Show more breadcrumbs
PAPPSO
i2MassChroQ
Commits
b589d3d3
Commit
b589d3d3
authored
7 years ago
by
Langella Olivier
Browse files
Options
Downloads
Patches
Plain Diff
xtp starts with push buttons in the main widget
parent
e227b66f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/gui/main.ui
+77
-1
77 additions, 1 deletion
src/gui/main.ui
src/gui/mainwindow.cpp
+6
-1
6 additions, 1 deletion
src/gui/mainwindow.cpp
with
83 additions
and
2 deletions
src/gui/main.ui
+
77
−
1
View file @
b589d3d3
...
...
@@ -18,7 +18,35 @@
<normaloff>
:/xtpcpp_icon/resources/xtandempipeline_icon.svg
</normaloff>
:/xtpcpp_icon/resources/xtandempipeline_icon.svg
</iconset>
</property>
<widget
class=
"QWidget"
name=
"centralwidget"
>
<layout
class=
"QGridLayout"
name=
"gridLayout"
/>
<layout
class=
"QGridLayout"
name=
"gridLayout"
>
<item
row=
"0"
column=
"0"
>
<widget
class=
"QWidget"
name=
"default_display_widget"
native=
"true"
>
<layout
class=
"QVBoxLayout"
name=
"verticalLayout_2"
>
<item>
<widget
class=
"QPushButton"
name=
"pushButton"
>
<property
name=
"text"
>
<string>
run X!Tandem identifications
</string>
</property>
</widget>
</item>
<item>
<widget
class=
"QPushButton"
name=
"pushButton_2"
>
<property
name=
"text"
>
<string>
Load identification results (mzIdentML, pepxml, tandem...)
</string>
</property>
</widget>
</item>
<item>
<widget
class=
"QPushButton"
name=
"pushButton_3"
>
<property
name=
"text"
>
<string>
Load an X!TandemPipeline project
</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
<widget
class=
"QMenuBar"
name=
"menubar"
>
<property
name=
"geometry"
>
...
...
@@ -329,6 +357,54 @@
</hint>
</hints>
</connection>
<connection>
<sender>
pushButton
</sender>
<signal>
clicked()
</signal>
<receiver>
Main
</receiver>
<slot>
doActionTandemRun()
</slot>
<hints>
<hint
type=
"sourcelabel"
>
<x>
355
</x>
<y>
106
</y>
</hint>
<hint
type=
"destinationlabel"
>
<x>
805
</x>
<y>
133
</y>
</hint>
</hints>
</connection>
<connection>
<sender>
pushButton_2
</sender>
<signal>
clicked()
</signal>
<receiver>
Main
</receiver>
<slot>
loadResults()
</slot>
<hints>
<hint
type=
"sourcelabel"
>
<x>
362
</x>
<y>
192
</y>
</hint>
<hint
type=
"destinationlabel"
>
<x>
694
</x>
<y>
216
</y>
</hint>
</hints>
</connection>
<connection>
<sender>
pushButton_3
</sender>
<signal>
clicked()
</signal>
<receiver>
Main
</receiver>
<slot>
selectXpipFile()
</slot>
<hints>
<hint
type=
"sourcelabel"
>
<x>
364
</x>
<y>
276
</y>
</hint>
<hint
type=
"destinationlabel"
>
<x>
805
</x>
<y>
299
</y>
</hint>
</hints>
</connection>
</connections>
<slots>
<slot>
selectXpipFile()
</slot>
...
...
This diff is collapsed.
Click to expand it.
src/gui/mainwindow.cpp
+
6
−
1
View file @
b589d3d3
...
...
@@ -70,7 +70,8 @@ MainWindow::MainWindow(QWidget *parent):
ui
->
menu_export_files
->
setDisabled
(
true
);
ui
->
centralwidget
->
layout
()
->
addWidget
(
_project_window
);
_project_window
->
show
();
_project_window
->
hide
();
ui
->
default_display_widget
->
show
();
//_protein_list_window = new ProteinListWindow(this);
//QDockWidget *dock = new QDockWidget(tr("Protein List"), this);
//dock->setWidget(_protein_list_window);
...
...
@@ -236,6 +237,10 @@ void MainWindow::doProjectReady(ProjectSp project_sp) {
ui
->
menu_export_files
->
setDisabled
(
false
);
ui
->
menu_edit
->
setDisabled
(
false
);
_project_window
->
show
();
ui
->
default_display_widget
->
hide
();
qDebug
()
<<
"MainWindow::doProjectReady 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