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
29377398
Commit
29377398
authored
1 year ago
by
Wuttke, Joachim
Browse files
Options
Downloads
Patches
Plain Diff
merge fcts
parent
b57c57e4
No related branches found
No related tags found
1 merge request
!2211
MaskEditorToolpanel now using DoubleSpinBox (#869...)
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
GUI/View/Setup/MaskEditorToolpanel.cpp
+0
-7
0 additions, 7 deletions
GUI/View/Setup/MaskEditorToolpanel.cpp
GUI/View/Setup/MaskEditorToolpanel.h
+0
-3
0 additions, 3 deletions
GUI/View/Setup/MaskEditorToolpanel.h
with
0 additions
and
10 deletions
GUI/View/Setup/MaskEditorToolpanel.cpp
+
0
−
7
View file @
29377398
...
...
@@ -144,16 +144,9 @@ void MaskEditorToolpanel::setCurrentMaskItem(MaskItem* maskItem)
GUI
::
Util
::
Layout
::
clearLayout
(
m_editor_layout
);
m_currentMaskItem
=
maskItem
;
createMaskEditorUI
();
}
void
MaskEditorToolpanel
::
createMaskEditorUI
()
{
if
(
!
m_currentMaskItem
)
return
;
auto
*
maskItem
=
m_currentMaskItem
;
// shorthand
// -- mask value (only if not RoI)
if
(
!
dynamic_cast
<
RegionOfInterestItem
*>
(
maskItem
))
{
const
auto
maskValueGetter
=
[
maskItem
]
{
return
maskItem
->
maskValue
();
};
...
...
This diff is collapsed.
Click to expand it.
GUI/View/Setup/MaskEditorToolpanel.h
+
0
−
3
View file @
29377398
...
...
@@ -58,9 +58,6 @@ private:
void
addMaskCheckBox
(
const
QString
&
title
,
std
::
function
<
bool
()
>
getter
,
std
::
function
<
void
(
bool
)
>
setter
);
//! Creates the UI to edit the current mask's properties
void
createMaskEditorUI
();
QListView
*
m_listView
;
MaskContainerModel
*
m_maskContainerModel
;
QFormLayout
*
m_editor_layout
;
...
...
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