[Mesh] Gui: R-Se: remove unused includes

- also some sorting
This commit is contained in:
Uwe
2022-12-04 15:08:10 +01:00
parent 4d2837a6c2
commit e3ee7d549a
12 changed files with 58 additions and 69 deletions

View File

@@ -20,31 +20,25 @@
* *
***************************************************************************/
#include "PreCompiled.h"
#ifndef _PreComp_
# include <QMessageBox>
# include <QPushButton>
# include <QTextCursor>
# include <QElapsedTimer>
# include <QMessageBox>
# include <QPointer>
# include <QTextCursor>
#endif
#include "RemeshGmsh.h"
#include "ui_RemeshGmsh.h"
#include <App/Application.h>
#include <App/Document.h>
#include <Base/Console.h>
#include <Base/FileInfo.h>
#include <Base/Stream.h>
#include <Base/Tools.h>
#include <App/Application.h>
#include <App/Document.h>
#include <Gui/Application.h>
#include <Gui/Document.h>
#include <Gui/Widgets.h>
#include <Gui/ReportView.h>
#include <Mod/Mesh/App/Mesh.h>
#include <Mod/Mesh/App/MeshFeature.h>
#include <Mod/Mesh/App/Core/MeshIO.h>
#include "RemeshGmsh.h"
#include "ui_RemeshGmsh.h"
using namespace MeshGui;

View File

@@ -20,19 +20,18 @@
* *
***************************************************************************/
#ifndef MESHGUI_REMESHGMSH_H
#define MESHGUI_REMESHGMSH_H
#include <memory>
#include <QDialog>
#include <QPointer>
#include <QProcess>
#include <App/DocumentObserver.h>
#include <Gui/TaskView/TaskDialog.h>
#include <Gui/TaskView/TaskView.h>
#include <Mod/Mesh/App/Core/MeshKernel.h>
namespace Mesh {
class Feature;
}

View File

@@ -20,22 +20,21 @@
* *
***************************************************************************/
#include "PreCompiled.h"
#ifndef _PreComp_
# include <QPushButton>
#endif
#include "RemoveComponents.h"
#include "ui_RemoveComponents.h"
#include <Gui/Application.h>
#include <Gui/Document.h>
#include <Gui/Selection.h>
using namespace MeshGui;
#include "RemoveComponents.h"
#include "ui_RemoveComponents.h"
using namespace MeshGui;
RemoveComponents::RemoveComponents(QWidget* parent, Qt::WindowFlags fl)
: QWidget(parent, fl)
{

View File

@@ -20,25 +20,23 @@
* *
***************************************************************************/
#include "PreCompiled.h"
#ifndef _PreComp_
# include <sstream>
#endif
#include "Segmentation.h"
#include "ui_Segmentation.h"
#include <App/Application.h>
#include <App/Document.h>
#include <App/DocumentObjectGroup.h>
#include <Mod/Mesh/App/Core/Segmentation.h>
#include <Mod/Mesh/App/Core/Curvature.h>
#include <Mod/Mesh/App/Core/Segmentation.h>
#include <Mod/Mesh/App/Core/Smoothing.h>
#include <Mod/Mesh/App/Mesh.h>
#include <Mod/Mesh/App/MeshFeature.h>
#include "Segmentation.h"
#include "ui_Segmentation.h"
using namespace MeshGui;
Segmentation::Segmentation(Mesh::Feature* mesh, QWidget* parent, Qt::WindowFlags fl)

View File

@@ -20,17 +20,18 @@
* *
***************************************************************************/
#ifndef MESHGUI_SEGMENTATION_H
#define MESHGUI_SEGMENTATION_H
#include <QWidget>
#include <Gui/TaskView/TaskDialog.h>
#include <Gui/TaskView/TaskView.h>
#ifndef MESH_GLOBAL_H
#include <Mod/Mesh/MeshGlobal.h>
# include <Mod/Mesh/MeshGlobal.h>
#endif
// forward declarations
namespace Mesh { class Feature; }

View File

@@ -20,20 +20,17 @@
* *
***************************************************************************/
#include "PreCompiled.h"
#ifndef _PreComp_
# include <sstream>
# include <QDialog>
# include <QDoubleSpinBox>
# include <QVBoxLayout>
# include <QMessageBox>
# include <QPointer>
# include <QVBoxLayout>
#endif
#include "SegmentationBestFit.h"
#include "ui_SegmentationBestFit.h"
#include <App/Application.h>
#include <App/Document.h>
#include <App/DocumentObjectGroup.h>
@@ -41,9 +38,12 @@
#include <Gui/SelectionObject.h>
#include <Mod/Mesh/App/Core/Approximation.h>
#include <Mod/Mesh/App/Core/Segmentation.h>
#include <Mod/Mesh/App/Mesh.h>
#include <Mod/Mesh/App/MeshFeature.h>
#include "SegmentationBestFit.h"
#include "ui_SegmentationBestFit.h"
using namespace MeshGui;
namespace MeshGui {

View File

@@ -20,16 +20,18 @@
* *
***************************************************************************/
#ifndef MESHGUI_SEGMENTATIONBESTFIT_H
#define MESHGUI_SEGMENTATIONBESTFIT_H
#include <QDialog>
#include <list>
#include <QDialog>
#include <Gui/TaskView/TaskDialog.h>
#include <Gui/TaskView/TaskView.h>
#include "MeshSelection.h"
class QDoubleSpinBox;
// forward declarations

View File

@@ -21,14 +21,12 @@
***************************************************************************/
#include "PreCompiled.h"
#ifndef _PreComp_
#endif
#include "Selection.h"
#include "ui_Selection.h"
using namespace MeshGui;
using namespace MeshGui;
/* TRANSLATOR MeshGui::Selection */

View File

@@ -20,18 +20,17 @@
* *
***************************************************************************/
#ifndef MESHGUI_SELECTION_H
#define MESHGUI_SELECTION_H
#include <vector>
#include <QWidget>
#include <Inventor/nodes/SoEventCallback.h>
#include <Gui/SelectionObject.h>
#include <Gui/TaskView/TaskDialog.h>
#include <Gui/TaskView/TaskView.h>
#include "MeshSelection.h"
namespace MeshGui {
class Ui_Selection;

View File

@@ -20,24 +20,25 @@
* *
***************************************************************************/
#include "PreCompiled.h"
#ifndef _PreComp_
#include <Inventor/SbRotation.h>
#include <Inventor/SbViewportRegion.h>
#include <Inventor/nodes/SoCoordinate3.h>
#include <Inventor/nodes/SoIndexedFaceSet.h>
#include <Inventor/nodes/SoDirectionalLight.h>
#include <Inventor/nodes/SoOrthographicCamera.h>
#include <Inventor/nodes/SoSeparator.h>
#include <QBuffer>
#include <QByteArray>
# include <QBuffer>
# include <QByteArray>
# include <Inventor/SbRotation.h>
# include <Inventor/SbViewportRegion.h>
# include <Inventor/nodes/SoCoordinate3.h>
# include <Inventor/nodes/SoDirectionalLight.h>
# include <Inventor/nodes/SoIndexedFaceSet.h>
# include <Inventor/nodes/SoOrthographicCamera.h>
# include <Inventor/nodes/SoSeparator.h>
#endif
#include <Gui/SoFCOffscreenRenderer.h>
#include "ThumbnailExtension.h"
#include "ViewProvider.h"
#include <Gui/SoFCOffscreenRenderer.h>
using namespace MeshGui;

View File

@@ -20,24 +20,22 @@
* *
***************************************************************************/
#include "PreCompiled.h"
#ifndef _PreComp_
# include <qobject.h>
# include <QGroupBox>
# include <QLabel>
#endif
#include "Workbench.h"
#include <Gui/Application.h>
#include <Gui/Command.h>
#include <Gui/MenuManager.h>
#include <Gui/ToolBarManager.h>
#include <Gui/Selection.h>
#include <Gui/ToolBarManager.h>
#include <Gui/TaskView/TaskView.h>
#include <Mod/Mesh/App/MeshFeature.h>
#include "Workbench.h"
#include "../App/MeshFeature.h"
using namespace MeshGui;

View File

@@ -20,14 +20,14 @@
* *
***************************************************************************/
#ifndef MESH_WORKBENCH_H
#define MESH_WORKBENCH_H
#ifndef MESH_GLOBAL_H
#include <Mod/Mesh/MeshGlobal.h>
#endif
#include <Gui/Workbench.h>
#ifndef MESH_GLOBAL_H
# include <Mod/Mesh/MeshGlobal.h>
#endif
namespace MeshGui {