-
Notifications
You must be signed in to change notification settings - Fork 67
[not ready for review] fix mirror settings modified in registry before user press accept button #370
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
atsju
wants to merge
22
commits into
master
Choose a base branch
from
JST/settings
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
[not ready for review] fix mirror settings modified in registry before user press accept button #370
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
f7da5c5
WIP single source of truth for QSettings
atsju ed905ba
force facade usage with friend class
atsju 681c56d
use draft mirror config to fix cancel button
atsju 004ff48
all mirror configs are accessed though settingsStore. No more qsettin…
atsju 5bbac22
separate some conveniance path from mirror settings
atsju abcc927
all access to public members done through accesor. TODO remove members
atsju 13e191e
fix build
atsju 419d4ec
ensure programmatically mirror dialog is only one to be able to modif…
atsju 6629b25
fix the draft/current settings way of working
atsju 7813be5
fix some compile errors and make more things private
atsju 31ca070
delete unused signals
atsju 59c65af
fix compile warning
atsju 805252f
remove duplicate operation
atsju 42a20fc
simplify mirrordlg settings adoption from wft
atsju 3381113
comment settings things that are not yet used
atsju 423fb06
apertureChanged is emit only on accept
atsju 1af4666
deduplicate function
atsju 3c5b3b9
Merge branch 'master' of github.com:githubdoe/DFTFringe into JST/sett…
atsju ef52e33
some comment cleanup
atsju 1cfb677
fix warning. Square is expected downstream. This is just leftover code
atsju 8360238
fix some earlier wrong replacements leading to broken profileplot
atsju f5824a4
Merge branch 'master' of github.com:githubdoe/DFTFringe into JST/sett…
atsju File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -66,7 +66,7 @@ void averageWaveFrontFilesDlg::on_process_clicked() | |
| sm->generateSurfacefromWavefront(wf); | ||
| cv::Scalar mean,std; | ||
| cv::meanStdDev(wf->workData,mean,std,wf->workMask); | ||
| double stdVal = std.val[0]* md->lambda/outputLambda; | ||
| double stdVal = std.val[0]* md->currentSettings().lambda/outputLambda; | ||
|
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. all parameters like lambda, diameter and other are in a settings struc of the mirror for better access control and management when settings are modifed |
||
| if (stdVal > filterRMS){ | ||
| QFileInfo info(name); | ||
| QString item = QString("%1 RMS:%2").arg(info.baseName()).arg(stdVal, 0, 'f'); | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
all direct access to Qsettings have been repalced with settingsFacade