Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
XRD
darfix
Commits
6cd97d67
Commit
6cd97d67
authored
Feb 12, 2020
by
Julia Garriga Ferrer
Browse files
[gui][displayComponents] Refactor save button
parent
a4fa61dd
Pipeline
#21157
passed with stage
in 2 minutes and 13 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
darfix/gui/displayComponentsWidget.py
View file @
6cd97d67
...
...
@@ -98,9 +98,9 @@ class DisplayComponentsWidget(qt.QMainWindow):
layout
.
addWidget
(
self
.
_plot_rocking_curves
,
2
,
3
,
2
,
2
)
layout
.
addWidget
(
self
.
_scatter_rocking_curves
,
2
,
3
,
2
,
2
)
layout
.
addWidget
(
self
.
_toolbar
,
2
,
5
,
2
,
1
)
self
.
saveB
=
qt
.
QPushButton
(
"Save"
)
self
.
saveB
=
qt
.
QPushButton
(
"Save
components
"
)
self
.
saveB
.
pressed
.
connect
(
self
.
_saveComp
)
layout
.
addWidget
(
self
.
saveB
,
4
,
0
)
layout
.
addWidget
(
self
.
saveB
,
4
,
4
,
1
,
-
1
)
widget
.
setLayout
(
layout
)
self
.
setCentralWidget
(
widget
)
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment