Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
BornAgain
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
Service Desk
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
mlz
BornAgain
Commits
1503460e
Commit
1503460e
authored
1 year ago
by
Wuttke, Joachim
Browse files
Options
Downloads
Patches
Plain Diff
legacy 1d dialog: wording
parent
a7153660
No related branches found
No related tags found
1 merge request
!1943
rework 1D import dialog (#729)
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
GUI/View/Import/Legacy1dDialog.cpp
+4
-4
4 additions, 4 deletions
GUI/View/Import/Legacy1dDialog.cpp
with
4 additions
and
4 deletions
GUI/View/Import/Legacy1dDialog.cpp
+
4
−
4
View file @
1503460e
...
@@ -29,7 +29,7 @@ ImportSettings1D Legacy1dDialog::Msettings = legacy1D_2cols;
...
@@ -29,7 +29,7 @@ ImportSettings1D Legacy1dDialog::Msettings = legacy1D_2cols;
Legacy1dDialog
::
Legacy1dDialog
()
Legacy1dDialog
::
Legacy1dDialog
()
{
{
setWindowTitle
(
"
Define
legacy input format"
);
setWindowTitle
(
"
Specify
legacy input format"
);
setWindowFlags
(
Qt
::
Dialog
);
setWindowFlags
(
Qt
::
Dialog
);
auto
vbox
=
new
QVBoxLayout
;
auto
vbox
=
new
QVBoxLayout
;
...
@@ -128,21 +128,21 @@ Legacy1dDialog::Legacy1dDialog()
...
@@ -128,21 +128,21 @@ Legacy1dDialog::Legacy1dDialog()
{
{
auto
sortCheckbox
=
new
QCheckBox
;
auto
sortCheckbox
=
new
QCheckBox
;
sortCheckbox
->
setChecked
(
Msettings
.
sort
);
sortCheckbox
->
setChecked
(
Msettings
.
sort
);
form211
->
addRow
(
"Sort by
argument
"
,
sortCheckbox
);
form211
->
addRow
(
"Sort by
Q
"
,
sortCheckbox
);
connect
(
sortCheckbox
,
&
QCheckBox
::
toggled
,
connect
(
sortCheckbox
,
&
QCheckBox
::
toggled
,
[
&
p
=
Msettings
](
bool
checked
)
{
p
.
sort
=
checked
;
});
[
&
p
=
Msettings
](
bool
checked
)
{
p
.
sort
=
checked
;
});
}
}
{
{
auto
negativeCheckbox
=
new
QCheckBox
;
auto
negativeCheckbox
=
new
QCheckBox
;
negativeCheckbox
->
setChecked
(
Msettings
.
rm_negative
);
negativeCheckbox
->
setChecked
(
Msettings
.
rm_negative
);
form211
->
addRow
(
"Discard negative
argument
"
,
negativeCheckbox
);
form211
->
addRow
(
"Discard negative
Q
"
,
negativeCheckbox
);
connect
(
negativeCheckbox
,
&
QCheckBox
::
toggled
,
connect
(
negativeCheckbox
,
&
QCheckBox
::
toggled
,
[
&
p
=
Msettings
](
bool
checked
)
{
p
.
rm_negative
=
checked
;
});
[
&
p
=
Msettings
](
bool
checked
)
{
p
.
rm_negative
=
checked
;
});
}
}
{
{
auto
duplicateCheckbox
=
new
QCheckBox
;
auto
duplicateCheckbox
=
new
QCheckBox
;
duplicateCheckbox
->
setChecked
(
Msettings
.
rm_duplications
);
duplicateCheckbox
->
setChecked
(
Msettings
.
rm_duplications
);
form211
->
addRow
(
"Discard
argument
duplications"
,
duplicateCheckbox
);
form211
->
addRow
(
"Discard
Q
duplications"
,
duplicateCheckbox
);
connect
(
duplicateCheckbox
,
&
QCheckBox
::
toggled
,
connect
(
duplicateCheckbox
,
&
QCheckBox
::
toggled
,
[
&
p
=
Msettings
](
bool
checked
)
{
p
.
rm_duplications
=
checked
;
});
[
&
p
=
Msettings
](
bool
checked
)
{
p
.
rm_duplications
=
checked
;
});
}
}
...
...
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