Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
PeTrack
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
Container Registry
Model registry
Analyze
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
Pedestrian Dynamics Empiricism
PeTrack
Merge requests
!228
Remove usage of deprecated types of Qwt
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Remove usage of deprecated types of Qwt
215-change-depreacated-qwt-usages
into
master
Overview
0
Commits
1
Pipelines
1
Changes
2
Merged
Schrödter, Tobias
requested to merge
215-change-depreacated-qwt-usages
into
master
2 years ago
Overview
0
Commits
1
Pipelines
1
Changes
2
Expand
Add your decription here
Closes
#215 (closed)
,
#207 (closed)
Reviewer Checklist
General code quality
naming conventions are met (see .clang-tidy for detailed information)
no static analyzer warnings in new code parts (e.g., use clang-tidy for checking)
General usability
old versions of pet-files are still loadable
Only if changes in UI
new elements are also saved and loaded from pet-file
check if tab order is still correct
all new SpinBoxes are promoted
new keybindings added to
Petrack::keyBindings()
Edited
2 years ago
by
d.kilic
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
98919a1c
1 commit,
2 years ago
2 files
+
8
−
8
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
src/analysePlot.cpp
+
4
−
4
Options
@@ -26,12 +26,13 @@
#include
<QMouseEvent>
#include
<QPainter>
#include
<qwt_compat.h>
#include
<qwt_plot_grid.h>
#include
<qwt_plot_layout.h>
#include
<qwt_plot_zoomer.h>
#include
<qwt_scale_engine.h>
#include
<qwt_scale_map.h>
#include
<qwt_symbol.h>
#include
<qwt_text.h>
//-----------------------------------------------------------------
class
AnalyseZoomer
:
public
QwtPlotZoomer
@@ -455,9 +456,8 @@ void AnalysePlot::setScale()
setAxisScale
(
QwtPlot
::
xBottom
,
mXMin
,
mXMax
);
setAxisScale
(
QwtPlot
::
yLeft
,
mYMin
,
mYMax
);
replot
();
// why, see:
// file:///C:/Programme/qwt-5.0.2/doc/html/class_qwt_plot_zoomer.html#7a1711597f441223efdb7d9931fe19b9
mZoomer
->
setZoomBase
(
QwtDoubleRect
(
mXMin
,
mYMin
,
mXMax
-
mXMin
,
mYMax
-
mYMin
));
replot
();
mZoomer
->
setZoomBase
(
QRectF
(
mXMin
,
mYMin
,
mXMax
-
mXMin
,
mYMax
-
mYMin
));
}
}
Loading