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
afdfd238
Commit
afdfd238
authored
1 year ago
by
Mikhail Svechnikov
Browse files
Options
Downloads
Patches
Plain Diff
add slot
parent
25d0a706
No related branches found
No related tags found
1 merge request
!2149
Add button for updating start values when previous fitting cycle is done (#790)
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
GUI/View/Fit/FitSessionController.cpp
+5
-0
5 additions, 0 deletions
GUI/View/Fit/FitSessionController.cpp
GUI/View/Fit/FitSessionController.h
+1
-0
1 addition, 0 deletions
GUI/View/Fit/FitSessionController.h
GUI/View/Fit/FitSessionWidget.cpp
+2
-0
2 additions, 0 deletions
GUI/View/Fit/FitSessionWidget.cpp
with
8 additions
and
0 deletions
GUI/View/Fit/FitSessionController.cpp
+
5
−
0
View file @
afdfd238
...
...
@@ -165,6 +165,11 @@ void FitSessionController::updateFitParameterValues(const FitProgressInfo& info)
m_jobItem
->
parameterContainerItem
());
}
void
FitSessionController
::
updateStartValuesFromTree
()
{
}
void
FitSessionController
::
updateLog
(
const
FitProgressInfo
&
info
)
{
QString
message
=
QString
(
"NCalls:%1 chi2:%2
\n
"
).
arg
(
info
.
iterationCount
()).
arg
(
info
.
chi2
());
...
...
This diff is collapsed.
Click to expand it.
GUI/View/Fit/FitSessionController.h
+
1
−
0
View file @
afdfd238
...
...
@@ -46,6 +46,7 @@ signals:
public
slots
:
void
onStartFittingRequest
();
void
onStopFittingRequest
();
void
updateStartValuesFromTree
();
private
slots
:
void
onObserverUpdate
();
...
...
This diff is collapsed.
Click to expand it.
GUI/View/Fit/FitSessionWidget.cpp
+
2
−
0
View file @
afdfd238
...
...
@@ -82,6 +82,8 @@ void FitSessionWidget::setSessionController(FitSessionController* sessionControl
&
FitSessionController
::
onStartFittingRequest
);
connect
(
m_controlWidget
,
&
RunFitControlWidget
::
stopFittingPushed
,
m_sessionController
,
&
FitSessionController
::
onStopFittingRequest
);
connect
(
m_controlWidget
,
&
RunFitControlWidget
::
updFromTreePushed
,
m_sessionController
,
&
FitSessionController
::
updateStartValuesFromTree
);
}
}
...
...
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