[Gui] SoTextLabel etc.: remove unused includes

This commit is contained in:
Uwe
2022-03-05 16:42:26 +01:00
parent cf5732dfad
commit e8a96f72fd
7 changed files with 21 additions and 26 deletions

View File

@@ -28,7 +28,7 @@
//#endif
#include <Inventor/events/SoEvent.h>
#include <Inventor/events/SoSubEvent.h>
/**
* @brief The SoMouseWheelEvent class is a temporary replacement for

View File

@@ -26,12 +26,10 @@
#include <Inventor/nodes/SoRotation.h>
#include <Inventor/nodes/SoSeparator.h>
#include <Inventor/nodes/SoSurroundScale.h>
#include <Inventor/nodes/SoTransform.h>
#include <Inventor/sensors/SoFieldSensor.h>
// Include files for child dragger classes.
#include <Inventor/draggers/SoRotateCylindricalDragger.h>
//#include "TranslateRadialDragger.h"
#include <Inventor/draggers/SoTranslate1Dragger.h>
// Include file for our new class.
@@ -40,9 +38,6 @@
// Include file the binaray of SoNavigationDraggerLayout.iv, the layout of the dragger.
#include "SoNavigationDraggerLayout.h"
// This file contains RotTransDragger::geomBuffer, which
// describes the default geometry resources for this class.
//#include "RotTransDraggerGeom.h"
SO_KIT_SOURCE(RotTransDragger)

View File

@@ -20,7 +20,6 @@
* *
***************************************************************************/
#ifndef SONAVIGATIONDRAGGER_H
#define SONAVIGATIONDRAGGER_H
@@ -39,10 +38,11 @@
// rotTransRotatorFeedbackActive XRotator.feedbackActive
// (and similarly for parts of the YRotator and ZRotator)
#include <Inventor/sensors/SoFieldSensor.h>
#include <Inventor/draggers/SoDragger.h>
#include <Inventor/fields/SoSFVec3f.h>
#include <Inventor/fields/SoSFRotation.h>
#include <Inventor/fields/SoSFVec3f.h>
#include <Inventor/sensors/SoFieldSensor.h>
//class TranslateRadialDragger;
class SoRotateCylindricalDragger;

View File

@@ -20,7 +20,6 @@
* *
***************************************************************************/
#include "PreCompiled.h"
#ifndef _PreComp_
@@ -33,28 +32,26 @@
# include <GL/gl.h>
# endif
# include <cfloat>
# include <algorithm>
# include <QFontMetrics>
# include <QPainter>
# include <QPen>
# include <Inventor/actions/SoGLRenderAction.h>
# include <Inventor/bundles/SoMaterialBundle.h>
# include <Inventor/elements/SoLazyElement.h>
# include <Inventor/nodes/SoSurroundScale.h>
# include <Inventor/misc/SoState.h>
#endif
#include <Inventor/C/basic.h>
#include <Inventor/draggers/SoTranslate2Dragger.h>
#include <Inventor/elements/SoFontNameElement.h>
#include <Inventor/elements/SoFontSizeElement.h>
#include <Inventor/elements/SoCullElement.h>
#include <Inventor/elements/SoFontNameElement.h>
#include <Inventor/elements/SoGLTextureEnabledElement.h>
#include <Inventor/elements/SoModelMatrixElement.h>
#include <Inventor/elements/SoProjectionMatrixElement.h>
#include <Inventor/elements/SoViewingMatrixElement.h>
#include <Inventor/elements/SoViewVolumeElement.h>
#include <Inventor/elements/SoViewportRegionElement.h>
#include <Inventor/elements/SoGLTextureEnabledElement.h>
#include <Inventor/elements/SoViewVolumeElement.h>
#if COIN_MAJOR_VERSION > 3
#include <Inventor/elements/SoMultiTextureEnabledElement.h>
#else
@@ -62,11 +59,13 @@
#endif
#include <QtOpenGL.h>
#include "SoTextLabel.h"
#include "SoFCInteractiveElement.h"
#include "BitmapFactory.h"
#include "SoFCInteractiveElement.h"
#include "Tools.h"
using namespace Gui;
/*!

View File

@@ -23,18 +23,16 @@
#ifndef GUI_SOTEXTLABEL_H
#define GUI_SOTEXTLABEL_H
#include <Inventor/fields/SoSubField.h>
#include <Inventor/nodes/SoSubNode.h>
#include <Inventor/nodes/SoImage.h>
#include <Inventor/nodes/SoText2.h>
#include <Inventor/fields/SoSFBool.h>
#include <Inventor/fields/SoSFColor.h>
#include <Inventor/fields/SoSFEnum.h>
#include <Inventor/fields/SoSFFloat.h>
#include <Inventor/fields/SoSFBool.h>
#include <Inventor/fields/SoSFName.h>
#include <Inventor/fields/SoSFInt32.h>
#include <Inventor/fields/SoSFImage.h>
#include <Inventor/fields/SoSFName.h>
#include <Inventor/manips/SoTransformManip.h>
#include <Inventor/nodes/SoImage.h>
#include <Inventor/nodes/SoText2.h>
namespace Gui {

View File

@@ -22,12 +22,15 @@
#include "PreCompiled.h"
#include "SoTouchEvents.h"
#include <QApplication>
#include <QGestureEvent>
#include <QWidget>
#include <Base/Exception.h>
#include "SoTouchEvents.h"
SO_EVENT_SOURCE(SoGestureEvent);
SbBool SoGestureEvent::isSoGestureEvent(const SoEvent *ev) const

View File

@@ -27,7 +27,7 @@
#include <Quarter/devices/InputDevice.h>
#include <Inventor/SbLinear.h>
#include <Inventor/events/SoEvent.h>
#include <Inventor/events/SoSubEvent.h>
class QWidget;