From ee9738eeff4d5d9ed01e8eb17c423a1a1935f95c Mon Sep 17 00:00:00 2001 From: Lingjie Zhu Date: Wed, 21 Nov 2018 11:32:44 +0800 Subject: [PATCH] fix missing header and widget stretchers to make it compact --- .../Color_cheat_sheet.h | 5 +- .../Surface_mesh_approximation_dockwidget.ui | 68 +++++++++---------- .../Surface_mesh_approximation/VSA_wrapper.h | 4 +- 3 files changed, 39 insertions(+), 38 deletions(-) diff --git a/Polyhedron/demo/Polyhedron/Plugins/Surface_mesh_approximation/Color_cheat_sheet.h b/Polyhedron/demo/Polyhedron/Plugins/Surface_mesh_approximation/Color_cheat_sheet.h index f4c6e64a41b..ea626554c1a 100644 --- a/Polyhedron/demo/Polyhedron/Plugins/Surface_mesh_approximation/Color_cheat_sheet.h +++ b/Polyhedron/demo/Polyhedron/Plugins/Surface_mesh_approximation/Color_cheat_sheet.h @@ -2,14 +2,15 @@ #define COLOR_CHEAT_SHEET_H #include +#include // 256 color cheat sheet // Source: https://jonasjacek.github.io/colors/ #ifdef color_cheat_sheet_EXPORTS -# define COLOR_CHEAT_SHEET_EXPORT Q_DECL_EXPORT +#define COLOR_CHEAT_SHEET_EXPORT Q_DECL_EXPORT #else -# define COLOR_CHEAT_SHEET_EXPORT Q_DECL_IMPORT +#define COLOR_CHEAT_SHEET_EXPORT Q_DECL_IMPORT #endif class COLOR_CHEAT_SHEET_EXPORT Color_cheat_sheet diff --git a/Polyhedron/demo/Polyhedron/Plugins/Surface_mesh_approximation/Surface_mesh_approximation_dockwidget.ui b/Polyhedron/demo/Polyhedron/Plugins/Surface_mesh_approximation/Surface_mesh_approximation_dockwidget.ui index b8e17dd26cc..50a58c1a0c7 100644 --- a/Polyhedron/demo/Polyhedron/Plugins/Surface_mesh_approximation/Surface_mesh_approximation_dockwidget.ui +++ b/Polyhedron/demo/Polyhedron/Plugins/Surface_mesh_approximation/Surface_mesh_approximation_dockwidget.ui @@ -7,7 +7,7 @@ 0 0 654 - 347 + 353 @@ -62,19 +62,6 @@ - - - - Qt::Vertical - - - - 20 - 40 - - - - @@ -209,6 +196,19 @@ + + + + Qt::Vertical + + + + 20 + 40 + + + + @@ -232,19 +232,6 @@ - - - - Qt::Vertical - - - - 20 - 40 - - - - @@ -345,6 +332,19 @@ + + + + Qt::Vertical + + + + 20 + 40 + + + + @@ -431,6 +431,13 @@ + + + + Extract + + + @@ -444,13 +451,6 @@ - - - - Extract - - - diff --git a/Polyhedron/demo/Polyhedron/Plugins/Surface_mesh_approximation/VSA_wrapper.h b/Polyhedron/demo/Polyhedron/Plugins/Surface_mesh_approximation/VSA_wrapper.h index c592c225513..e12b8ef45c9 100644 --- a/Polyhedron/demo/Polyhedron/Plugins/Surface_mesh_approximation/VSA_wrapper.h +++ b/Polyhedron/demo/Polyhedron/Plugins/Surface_mesh_approximation/VSA_wrapper.h @@ -11,9 +11,9 @@ #include "Color_cheat_sheet.h" #ifdef vsa_wrapper_EXPORTS -# define VSA_WRAPPER_EXPORT Q_DECL_EXPORT +#define VSA_WRAPPER_EXPORT Q_DECL_EXPORT #else -# define VSA_WRAPPER_EXPORT Q_DECL_IMPORT +#define VSA_WRAPPER_EXPORT Q_DECL_IMPORT #endif namespace VSA = CGAL::Surface_mesh_approximation;