[Gui] Quarter: remove unused includes

This commit is contained in:
Uwe
2022-03-06 22:07:35 +01:00
parent 6193fc9cdb
commit 9654786c67
19 changed files with 74 additions and 93 deletions

View File

@@ -23,6 +23,7 @@
#include "PreCompiled.h"
#ifndef _PreComp_
# include <Inventor/SbSphere.h>
# include <Inventor/actions/SoGetBoundingBoxAction.h>
# include <Inventor/nodes/SoOrthographicCamera.h>
# include <sstream>

View File

@@ -31,14 +31,11 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
\**************************************************************************/
#include "ContextMenu.h"
#include <QMenu>
#include <Inventor/SoEventManager.h>
#include <Inventor/scxml/SoScXMLStateMachine.h>
#include "ContextMenu.h"
#include "QuarterWidget.h"
#include <Quarter/QuarterWidget.h>
using namespace SIM::Coin3D::Quarter;

View File

@@ -34,21 +34,15 @@
*/
#include <Quarter/eventhandlers/EventFilter.h>
#include <QEvent>
#include <QMouseEvent>
#include <QtCore/QEvent>
#include <QtGui/QMouseEvent>
#include "QuarterWidget.h"
#include "devices/Keyboard.h"
#include "devices/Mouse.h"
#include "devices/SpaceNavigatorDevice.h"
#include "eventhandlers/EventFilter.h"
#include <Inventor/SoEventManager.h>
#include <Inventor/events/SoLocation2Event.h>
#include <Inventor/events/SoMouseButtonEvent.h>
#include <Quarter/QuarterWidget.h>
#include <Quarter/devices/Mouse.h>
#include <Quarter/devices/Keyboard.h>
#include <Quarter/devices/SpaceNavigatorDevice.h>
#include <QGuiApplication>
namespace SIM { namespace Coin3D { namespace Quarter {

View File

@@ -30,12 +30,12 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
\**************************************************************************/
#include "ImageReader.h"
#include <Inventor/SbImage.h>
#include <Inventor/errors/SoDebugError.h>
#include <QtGui/QImage>
#include <QImage>
#include "ImageReader.h"
#include "QtCoinCompatibility.h"
#include <Quarter/QtCoinCompatibility.h>
using namespace SIM::Coin3D::Quarter;

View File

@@ -33,7 +33,6 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
\**************************************************************************/
#include <Inventor/SbBasic.h>
class SbImage;
class SbString;

View File

@@ -37,19 +37,17 @@
the QuarterWidget.
*/
#ifdef _MSC_VER
#pragma warning(disable : 4267)
#endif
#include <Quarter/devices/Keyboard.h>
#include <QtCore/QEvent>
#include <QtGui/QKeyEvent>
#include <Inventor/events/SoEvents.h>
#include <Inventor/events/SoKeyboardEvent.h>
#include <QEvent>
#include <QKeyEvent>
#include <Inventor/events/SoEvent.h>
#include "KeyboardP.h"
#include "devices/Keyboard.h"
using namespace SIM::Coin3D::Quarter;

View File

@@ -43,20 +43,18 @@
#pragma warning(disable : 4267)
#endif
#include <Quarter/devices/Mouse.h>
#include <QEvent>
#include <QMouseEvent>
#include <QWheelEvent>
#include <Gui/SoMouseWheelEvent.h>
#include <QtCore/QEvent>
#include <QtCore/QSize>
#include <QtGui/QMouseEvent>
#include <QtGui/QWheelEvent>
#include <QGuiApplication>
#include <Inventor/SbVec2s.h>
#include <Inventor/events/SoEvents.h>
#include <Inventor/errors/SoDebugError.h>
#include <Quarter/QuarterWidget.h>
#include <Inventor/events/SoEvents.h>
#include "QuarterWidget.h"
#include "devices/Mouse.h"
namespace SIM { namespace Coin3D { namespace Quarter {

View File

@@ -54,52 +54,43 @@
#include <cassert>
#include <Quarter/QuarterWidget.h>
#include <Quarter/eventhandlers/EventFilter.h>
#include <Quarter/eventhandlers/DragDropHandler.h>
#include <QtCore/QEvent>
#include <QtCore/QDebug>
#include <QtCore/QFile>
#include <QAction>
#include <QApplication>
#include <QDebug>
#include <QEvent>
#include <QFile>
#include <QGuiApplication>
#include <QMetaObject>
#include <QOpenGLDebugLogger>
#include <QOpenGLDebugMessage>
#include <QPaintEvent>
#include <QResizeEvent>
#include <QOpenGLDebugMessage>
#include <QOpenGLDebugLogger>
#include <QWindow>
#if COIN_MAJOR_VERSION >= 4
#include <Inventor/SbByteBuffer.h>
#endif
#include <Inventor/SbViewportRegion.h>
#include <Inventor/system/gl.h>
#include <Inventor/events/SoEvents.h>
#include <Inventor/nodes/SoNode.h>
#include <Inventor/nodes/SoCamera.h>
#include <Inventor/nodes/SoSeparator.h>
#include <Inventor/nodes/SoDirectionalLight.h>
#include <Inventor/nodes/SoPerspectiveCamera.h>
#include <Inventor/SbByteBuffer.h>
#include <Inventor/SbColor.h>
#include <Inventor/sensors/SoSensorManager.h>
#include <Inventor/SbViewportRegion.h>
#include <Inventor/SoDB.h>
#include <Inventor/SbBasic.h>
#include <Inventor/SoRenderManager.h>
#include <Inventor/SoEventManager.h>
#include <Inventor/SoRenderManager.h>
#include <Inventor/nodes/SoCamera.h>
#include <Inventor/nodes/SoDirectionalLight.h>
#include <Inventor/nodes/SoNode.h>
#include <Inventor/nodes/SoPerspectiveCamera.h>
#include <Inventor/nodes/SoSeparator.h>
#include <Inventor/scxml/ScXML.h>
#include <Inventor/scxml/SoScXMLStateMachine.h>
#include <ctime>
#include "QuarterWidget.h"
#include "InteractionMode.h"
#include "QuarterWidgetP.h"
#include "QuarterP.h"
#include <QWindow>
#include <QGuiApplication>
#include <QMetaObject>
#include "QuarterWidgetP.h"
#include "eventhandlers/EventFilter.h"
#include "eventhandlers/DragDropHandler.h"
using namespace SIM::Coin3D::Quarter;

View File

@@ -33,15 +33,16 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
\**************************************************************************/
#include <Inventor/SbBasic.h>
#include <Inventor/SoRenderManager.h>
#include <Inventor/actions/SoGLRenderAction.h>
#include <QtGui/QColor>
#include <QColor>
#include <QGraphicsView>
#include <QtCore/QUrl>
#include <QUrl>
#include <QtOpenGL.h>
#include <Gui/Quarter/Basic.h>
#include "Basic.h"
class QMenu;
class SoNode;

View File

@@ -34,12 +34,11 @@
\**************************************************************************/
#include <Inventor/SbBasic.h>
#include <Inventor/SbName.h>
#include <QtGui/QCursor>
#include <QtCore/QList>
#include <QtCore/QUrl>
#include <QList>
#include <QUrl>
#include <QtOpenGL.h>
class SoNode;
class SoCamera;
class SoRenderManager;

View File

@@ -32,15 +32,16 @@
#include "SensorManager.h"
#include <QtCore/QTimer>
#include <QTimer>
#include <Inventor/SoDB.h>
#include <Inventor/SbTime.h>
#include <Inventor/SoDB.h>
#include <Inventor/SoRenderManager.h>
#include <Inventor/nodekits/SoNodeKit.h>
#include <Inventor/C/threads/thread.h>
#include "SignalThread.h"
using namespace SIM::Coin3D::Quarter;
SensorManager::SensorManager()

View File

@@ -28,6 +28,7 @@
#include <Inventor/actions/SoHandleEventAction.h>
#include <Inventor/actions/SoRayPickAction.h>
#include <Inventor/actions/SoSearchAction.h>
#include <Inventor/events/SoEvents.h>
#include <Inventor/nodes/SoLocateHighlight.h>
#include <Inventor/nodes/SoOrthographicCamera.h>
#include <Inventor/nodes/SoPerspectiveCamera.h>

View File

@@ -21,16 +21,14 @@
#ifndef SIM_COIN3D_SOQTQUARTERADAPTOR_H
#define SIM_COIN3D_SOQTQUARTERADAPTOR_H
#include "Gui/Quarter/QuarterWidget.h"
#include <Inventor/SoSceneManager.h>
#include <Inventor/SbSphere.h>
#include <Inventor/SoType.h>
#include <Inventor/events/SoKeyboardEvent.h>
#include <Inventor/lists/SoCallbackList.h>
#include <Inventor/sensors/SoTimerSensor.h>
#include <Inventor/actions/SoGetMatrixAction.h>
#include <Inventor/actions/SoSearchAction.h>
#include <vector>
#include <Inventor/lists/SoCallbackList.h>
#include <Inventor/sensors/SoTimerSensor.h>
#include "QuarterWidget.h"
class SbViewportRegion;
class SoCamera;

View File

@@ -28,6 +28,7 @@
# include <Inventor/SoPickedPoint.h>
# include <Inventor/actions/SoGetBoundingBoxAction.h>
# include <Inventor/details/SoDetail.h>
# include <Inventor/events/SoKeyboardEvent.h>
# include <Inventor/events/SoLocation2Event.h>
# include <Inventor/events/SoMouseButtonEvent.h>
# include <Inventor/nodes/SoSeparator.h>

View File

@@ -20,12 +20,10 @@
* *
***************************************************************************/
#include "PreCompiled.h"
#ifndef _PreComp_
#endif
#include <Base/Console.h>
#include <Inventor/events/SoButtonEvent.h>
#include <App/Document.h>
#include <Gui/Application.h>
#include <Gui/BitmapFactory.h>

View File

@@ -33,6 +33,8 @@
#include <Inventor/SoPickedPoint.h>
#include <Inventor/lists/SoPickedPointList.h>
#include <Inventor/details/SoFaceDetail.h>
#include <Inventor/events/SoButtonEvent.h>
#include <Inventor/events/SoKeyboardEvent.h>
#include <Inventor/events/SoMouseButtonEvent.h>
#include <Inventor/nodes/SoCoordinate3.h>
#include <Inventor/nodes/SoDrawStyle.h>

View File

@@ -20,7 +20,6 @@
* *
***************************************************************************/
#include "PreCompiled.h"
#ifndef _PreComp_
@@ -32,6 +31,7 @@
# include <Inventor/SoPickedPoint.h>
# include <Inventor/details/SoFaceDetail.h>
# include <Inventor/details/SoPointDetail.h>
# include <Inventor/events/SoKeyboardEvent.h>
# include <Inventor/events/SoLocation2Event.h>
# include <Inventor/events/SoMouseButtonEvent.h>
# include <Inventor/nodes/SoBaseColor.h>

View File

@@ -23,6 +23,7 @@
#include "PreCompiled.h"
#ifndef _PreComp_
# include <Inventor/events/SoKeyboardEvent.h>
# include <Inventor/nodes/SoPickStyle.h>
# include <QApplication>
# include <QInputDialog>

View File

@@ -30,6 +30,7 @@
# include <Inventor/SbBox3f.h>
# include <Inventor/SoPickedPoint.h>
# include <Inventor/details/SoPointDetail.h>
# include <Inventor/events/SoKeyboardEvent.h>
# include <Inventor/nodes/SoCamera.h>
# include <Inventor/SbLine.h>
# include <Inventor/SbTime.h>