Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Plugin-PropertyVis
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
9
Issues
9
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Container Registry
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenFlipper-Free
Plugin-PropertyVis
Commits
40ff2a5b
Commit
40ff2a5b
authored
Dec 05, 2018
by
Jan Möbius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "Merge branch 'linewidth-backport-qt-before-5.7' into 'master'"
This reverts merge request
!12
parent
1cc95194
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
7 deletions
+3
-7
OpenMesh/OMPropertyVisualizerVector2T.cc
OpenMesh/OMPropertyVisualizerVector2T.cc
+1
-2
OpenMesh/OMPropertyVisualizerVectorT.cc
OpenMesh/OMPropertyVisualizerVectorT.cc
+1
-2
OpenVolumeMesh/OVMPropertyVisualizerVectorT.cc
OpenVolumeMesh/OVMPropertyVisualizerVectorT.cc
+1
-3
No files found.
OpenMesh/OMPropertyVisualizerVector2T.cc
View file @
40ff2a5b
...
...
@@ -71,8 +71,7 @@ OMPropertyVisualizerVector2<MeshT, VectorType>::OMPropertyVisualizerVector2(Mesh
{
w
->
vectors_edges_rb
->
hide
();
}
// starting with Qt 5.7, use QOverload<double>::of(&QDoubleSpinBox::valueChanged)
this
->
connect
(
w
->
lineWidth
,
static_cast
<
void
(
QDoubleSpinBox
::*
)(
double
)
>
(
&
QDoubleSpinBox
::
valueChanged
),
this
->
connect
(
w
->
lineWidth
,
QOverload
<
double
>::
of
(
&
QDoubleSpinBox
::
valueChanged
),
[
this
](
double
value
)
{
lineNode
->
set_line_width
(
value
);});
}
...
...
OpenMesh/OMPropertyVisualizerVectorT.cc
View file @
40ff2a5b
...
...
@@ -70,8 +70,7 @@ OMPropertyVisualizerVector<MeshT>::OMPropertyVisualizerVector(MeshT* _mesh, int
{
w
->
vectors_edges_rb
->
hide
();
}
// starting with Qt 5.7, use QOverload<double>::of(&QDoubleSpinBox::valueChanged)
this
->
connect
(
w
->
lineWidth
,
static_cast
<
void
(
QDoubleSpinBox
::*
)(
double
)
>
(
&
QDoubleSpinBox
::
valueChanged
),
this
->
connect
(
w
->
lineWidth
,
QOverload
<
double
>::
of
(
&
QDoubleSpinBox
::
valueChanged
),
[
this
](
double
value
)
{
lineNode
->
set_line_width
(
value
);});
}
...
...
OpenVolumeMesh/OVMPropertyVisualizerVectorT.cc
View file @
40ff2a5b
...
...
@@ -67,9 +67,7 @@ OVMPropertyVisualizerVector<MeshT>::OVMPropertyVisualizerVector(MeshT* _mesh, in
PluginFunctions
::
getObject
(
objectID
,
bod
);
lineNode
=
new
ACG
::
SceneGraph
::
LineNode
(
ACG
::
SceneGraph
::
LineNode
::
LineSegmentsMode
,
bod
->
baseNode
());
w
->
vectors_edges_rb
->
hide
();
// starting with Qt 5.7, use QOverload<double>::of(&QDoubleSpinBox::valueChanged)
this
->
connect
(
w
->
lineWidth
,
static_cast
<
void
(
QDoubleSpinBox
::*
)(
double
)
>
(
&
QDoubleSpinBox
::
valueChanged
),
this
->
connect
(
w
->
lineWidth
,
QOverload
<
double
>::
of
(
&
QDoubleSpinBox
::
valueChanged
),
[
this
](
double
value
)
{
lineNode
->
set_line_width
(
value
);});
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment