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
cc6052d7
Commit
cc6052d7
authored
1 year ago
by
Wuttke, Joachim
Browse files
Options
Downloads
Patches
Plain Diff
corr name
parent
1f0812fe
No related branches found
No related tags found
1 merge request
!2101
cleanup of GUI/Masks ctd; decouple MaskGraphicsProxy from SceneAdaptor
Pipeline
#118979
passed
1 year ago
Stage: build
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
GUI/View/PlotUtil/ScientificPlot.h
+1
-1
1 addition, 1 deletion
GUI/View/PlotUtil/ScientificPlot.h
GUI/View/Projection/ProjectionsEditorCanvas.cpp
+6
-6
6 additions, 6 deletions
GUI/View/Projection/ProjectionsEditorCanvas.cpp
with
7 additions
and
7 deletions
GUI/View/PlotUtil/ScientificPlot.h
+
1
−
1
View file @
cc6052d7
...
...
@@ -38,7 +38,7 @@ public:
QCustomPlot
*
customPlot
()
{
return
m_plot
;
}
const
QCustomPlot
*
customPlot
()
const
{
return
m_plot
;
}
PlotEventHelper
*
plotEvent
()
{
return
m_event_helper
;
}
PlotEventHelper
*
eventHelper
()
{
return
m_event_helper
;
}
//! Tracks move events (used when showing profile histograms and printing status string)
void
setMouseTrackingEnabled
(
bool
enable
);
...
...
This diff is collapsed.
Click to expand it.
GUI/View/Projection/ProjectionsEditorCanvas.cpp
+
6
−
6
View file @
cc6052d7
...
...
@@ -183,22 +183,22 @@ void ProjectionsEditorCanvas::setConnected(bool isConnected)
return
;
if
(
isConnected
)
{
connect
(
m_colorMap
->
plotEvent
(),
&
PlotEventHelper
::
enteringPlot
,
this
,
connect
(
m_colorMap
->
eventHelper
(),
&
PlotEventHelper
::
enteringPlot
,
this
,
&
ProjectionsEditorCanvas
::
onEnteringColorMap
,
Qt
::
UniqueConnection
);
connect
(
m_colorMap
->
plotEvent
(),
&
PlotEventHelper
::
leavingPlot
,
this
,
connect
(
m_colorMap
->
eventHelper
(),
&
PlotEventHelper
::
leavingPlot
,
this
,
&
ProjectionsEditorCanvas
::
onLeavingColorMap
,
Qt
::
UniqueConnection
);
connect
(
m_colorMap
->
plotEvent
(),
&
PlotEventHelper
::
positionChanged
,
this
,
connect
(
m_colorMap
->
eventHelper
(),
&
PlotEventHelper
::
positionChanged
,
this
,
&
ProjectionsEditorCanvas
::
onPositionChanged
,
Qt
::
UniqueConnection
);
connect
(
m_colorMap
,
&
ColorMap
::
marginsChanged
,
this
,
&
ProjectionsEditorCanvas
::
marginsChanged
,
Qt
::
UniqueConnection
);
}
else
{
disconnect
(
m_colorMap
->
plotEvent
(),
&
PlotEventHelper
::
enteringPlot
,
this
,
disconnect
(
m_colorMap
->
eventHelper
(),
&
PlotEventHelper
::
enteringPlot
,
this
,
&
ProjectionsEditorCanvas
::
onEnteringColorMap
);
disconnect
(
m_colorMap
->
plotEvent
(),
&
PlotEventHelper
::
leavingPlot
,
this
,
disconnect
(
m_colorMap
->
eventHelper
(),
&
PlotEventHelper
::
leavingPlot
,
this
,
&
ProjectionsEditorCanvas
::
onLeavingColorMap
);
disconnect
(
m_colorMap
->
plotEvent
(),
&
PlotEventHelper
::
positionChanged
,
this
,
disconnect
(
m_colorMap
->
eventHelper
(),
&
PlotEventHelper
::
positionChanged
,
this
,
&
ProjectionsEditorCanvas
::
onPositionChanged
);
disconnect
(
m_colorMap
,
&
ColorMap
::
marginsChanged
,
this
,
&
ProjectionsEditorCanvas
::
marginsChanged
);
...
...
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