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
8621e33a
Commit
8621e33a
authored
1 year ago
by
Wuttke, Joachim
Browse files
Options
Downloads
Patches
Plain Diff
replace 'setProjectionsCanvasMode' by 'setCanvasMode'
parent
99c31c51
No related branches found
No related tags found
1 merge request
!2353
renames and other clarification in mask/canvas context; restore projections live display (#885)
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
GUI/View/Canvas/MaskEditorCanvas.cpp
+1
-1
1 addition, 1 deletion
GUI/View/Canvas/MaskEditorCanvas.cpp
GUI/View/Canvas/MaskEditorCanvas.h
+1
-1
1 addition, 1 deletion
GUI/View/Canvas/MaskEditorCanvas.h
GUI/View/Frame/Plot2DFrame.cpp
+1
-2
1 addition, 2 deletions
GUI/View/Frame/Plot2DFrame.cpp
with
3 additions
and
4 deletions
GUI/View/Canvas/MaskEditorCanvas.cpp
+
1
−
1
View file @
8621e33a
...
...
@@ -190,7 +190,7 @@ void MaskEditorCanvas::onLeavingColorMap()
}
}
void
MaskEditorCanvas
::
set
Projections
CanvasMode
(
Canvas2DMode
::
Flag
mode
)
void
MaskEditorCanvas
::
setCanvasMode
(
Canvas2DMode
::
Flag
mode
)
{
m_current_activity
=
mode
;
m_scene
->
onActivityChanged
(
mode
);
...
...
This diff is collapsed.
Click to expand it.
GUI/View/Canvas/MaskEditorCanvas.h
+
1
−
1
View file @
8621e33a
...
...
@@ -48,7 +48,7 @@ public slots:
void
onResetViewRequest
();
void
onSavePlotRequest
();
void
onPresentationChange
(
bool
pixelized
);
void
set
Projections
CanvasMode
(
Canvas2DMode
::
Flag
mode
);
void
setCanvasMode
(
Canvas2DMode
::
Flag
mode
);
private
slots
:
void
onEnteringColorMap
();
...
...
This diff is collapsed.
Click to expand it.
GUI/View/Frame/Plot2DFrame.cpp
+
1
−
2
View file @
8621e33a
...
...
@@ -71,8 +71,7 @@ Plot2DFrame::Plot2DFrame(Data2DItem* item)
connect
(
gActions
->
toggle_properties_panel
,
&
QAction
::
triggered
,
m_canvas2D
,
[
panels
]
{
panels
->
setHidden
(
!
panels
->
isHidden
());
});
connect
(
toolbar
,
&
DataToolbar
::
activityChanged
,
m_canvas2D
,
&
MaskEditorCanvas
::
setProjectionsCanvasMode
);
connect
(
toolbar
,
&
DataToolbar
::
activityChanged
,
m_canvas2D
,
&
MaskEditorCanvas
::
setCanvasMode
);
connect
(
toolbar
,
&
DataToolbar
::
activityChanged
,
m_canvas1D
,
&
ProjectedGraphsCanvas
::
onActivityChanged
);
...
...
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