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
Compare revisions
master to 140-height-limitations-on-multicolormarker
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
ped-dyn-emp/petrack
Select target project
No results found
140-height-limitations-on-multicolormarker
Select Git revision
Swap
Target
ped-dyn-emp/petrack
Select target project
ped-dyn-emp/petrack
1 result
master
Select Git revision
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Commits on Source (2)
Reduce minimum height for colormap and add information that values are
· 0a79a88f
d.kilic
authored
3 years ago
and
d.kilic
committed
3 years ago
in cm for small inputs
0a79a88f
Update message on low height
· 5f067c62
d.kilic
authored
3 years ago
and
d.kilic
committed
3 years ago
5f067c62
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
include/control.h
+1
-0
1 addition, 0 deletions
include/control.h
src/control.cpp
+9
-0
9 additions, 0 deletions
src/control.cpp
ui/control.ui
+1
-1
1 addition, 1 deletion
ui/control.ui
with
11 additions
and
1 deletion
include/control.h
View file @
5f067c62
...
@@ -254,6 +254,7 @@ private slots:
...
@@ -254,6 +254,7 @@ private slots:
void
on_mapH_valueChanged
(
int
i
);
void
on_mapH_valueChanged
(
int
i
);
void
on_mapColor_stateChanged
(
int
i
);
void
on_mapColor_stateChanged
(
int
i
);
void
on_mapHeight_valueChanged
(
double
d
);
void
on_mapHeight_valueChanged
(
double
d
);
void
on_mapHeight_editingFinished
();
void
on_mapAdd_clicked
();
void
on_mapAdd_clicked
();
void
on_mapDel_clicked
();
void
on_mapDel_clicked
();
void
on_mapDistribution_clicked
();
void
on_mapDistribution_clicked
();
...
...
This diff is collapsed.
Click to expand it.
src/control.cpp
View file @
5f067c62
...
@@ -1539,6 +1539,15 @@ void Control::on_mapHeight_valueChanged(double /*d*/)
...
@@ -1539,6 +1539,15 @@ void Control::on_mapHeight_valueChanged(double /*d*/)
mapColor
->
isChecked
(),
mapHeight
->
value
());
mapColor
->
isChecked
(),
mapHeight
->
value
());
//colorPlot->replot(); Anzeige aendert sich nichts
//colorPlot->replot(); Anzeige aendert sich nichts
}
}
void
Control
::
on_mapHeight_editingFinished
()
{
if
(
mapHeight
->
value
()
<
100
)
{
PInformation
(
this
,
"Height is in cm, not m!"
,
"You put in a low value for height.
\n
Gentle reminder that height is in cm, not m."
);
}
}
void
Control
::
on_mapAdd_clicked
()
void
Control
::
on_mapAdd_clicked
()
{
{
mapNr
->
setMaximum
(
mapNr
->
maximum
()
+
1
);
mapNr
->
setMaximum
(
mapNr
->
maximum
()
+
1
);
...
...
This diff is collapsed.
Click to expand it.
ui/control.ui
View file @
5f067c62
...
@@ -4213,7 +4213,7 @@
...
@@ -4213,7 +4213,7 @@
<number>
1
</number>
<number>
1
</number>
</property>
</property>
<property
name=
"minimum"
>
<property
name=
"minimum"
>
<double>
5
0.000000000000000
</double>
<double>
0.000000000000000
</double>
</property>
</property>
<property
name=
"maximum"
>
<property
name=
"maximum"
>
<double>
250.000000000000000
</double>
<double>
250.000000000000000
</double>
...
...
This diff is collapsed.
Click to expand it.