fix missing header and widget stretchers to make it compact

This commit is contained in:
Lingjie Zhu 2018-11-21 11:32:44 +08:00
parent df9987e35c
commit ee9738eeff
3 changed files with 39 additions and 38 deletions

View File

@ -2,14 +2,15 @@
#define COLOR_CHEAT_SHEET_H
#include <cstddef>
#include <QtCore/qcompilerdetection.h>
// 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

View File

@ -7,7 +7,7 @@
<x>0</x>
<y>0</y>
<width>654</width>
<height>347</height>
<height>353</height>
</rect>
</property>
<property name="windowTitle">
@ -62,19 +62,6 @@
</item>
</widget>
</item>
<item>
<spacer name="verticalSpacer_2">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
<item>
<layout class="QGridLayout" name="gridLayout_2">
<item row="3" column="0">
@ -209,6 +196,19 @@
</property>
</widget>
</item>
<item>
<spacer name="verticalSpacer_2">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</item>
@ -232,19 +232,6 @@
</property>
</widget>
</item>
<item>
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="buttonTeleport">
<property name="text">
@ -345,6 +332,19 @@
</layout>
</widget>
</item>
<item>
<spacer name="verticalSpacer_4">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</item>
@ -431,6 +431,13 @@
</item>
</layout>
</item>
<item>
<widget class="QPushButton" name="buttonMeshing">
<property name="text">
<string>Extract</string>
</property>
</widget>
</item>
<item>
<spacer name="verticalSpacer_3">
<property name="orientation">
@ -444,13 +451,6 @@
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="buttonMeshing">
<property name="text">
<string>Extract</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>

View File

@ -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;