* QString::indexOf() is now marked as [[nodiscard]] * QApplication::fontMetrics() is deprecated, use the constructor of QFontMetricsF * fix -Wunused-result * fix -Wunused-but-set-variable
102 lines
3.2 KiB
C++
102 lines
3.2 KiB
C++
/***************************************************************************
|
|
* Copyright (c) 2008 Jürgen Riegel <juergen.riegel@web.de> *
|
|
* *
|
|
* This file is part of the FreeCAD CAx development system. *
|
|
* *
|
|
* This library is free software; you can redistribute it and/or *
|
|
* modify it under the terms of the GNU Library General Public *
|
|
* License as published by the Free Software Foundation; either *
|
|
* version 2 of the License, or (at your option) any later version. *
|
|
* *
|
|
* This library is distributed in the hope that it will be useful, *
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
|
* GNU Library General Public License for more details. *
|
|
* *
|
|
* You should have received a copy of the GNU Library General Public *
|
|
* License along with this library; see the file COPYING.LIB. If not, *
|
|
* write to the Free Software Foundation, Inc., 59 Temple Place, *
|
|
* Suite 330, Boston, MA 02111-1307, USA *
|
|
* *
|
|
***************************************************************************/
|
|
|
|
#ifndef __PRECOMPILED_GUI__
|
|
#define __PRECOMPILED_GUI__
|
|
|
|
#include <FCConfig.h>
|
|
|
|
#ifdef _MSC_VER
|
|
# pragma warning(disable : 4005)
|
|
#endif
|
|
|
|
#ifdef _PreComp_
|
|
|
|
// standard
|
|
#include <cfloat>
|
|
#include <cmath>
|
|
#include <cstdlib>
|
|
|
|
// STL
|
|
#include <algorithm>
|
|
#include <bitset>
|
|
#include <functional>
|
|
#include <map>
|
|
#include <memory>
|
|
#include <vector>
|
|
|
|
// Boost
|
|
#include <boost/math/special_functions/fpclassify.hpp>
|
|
#include <boost/core/ignore_unused.hpp>
|
|
|
|
#ifdef FC_OS_WIN32
|
|
# define NOMINMAX
|
|
# include <windows.h>
|
|
#endif
|
|
|
|
// OpenCasCade
|
|
#include <BRep_Tool.hxx>
|
|
#include <GC_MakeEllipse.hxx>
|
|
#include <gp_Pnt.hxx>
|
|
#include <Precision.hxx>
|
|
#include <Standard_Version.hxx>
|
|
#include <TopTools_IndexedDataMapOfShapeListOfShape.hxx>
|
|
#include <TopTools_IndexedMapOfShape.hxx>
|
|
#include <TopExp.hxx>
|
|
#include <TopExp_Explorer.hxx>
|
|
#include <TopoDS.hxx>
|
|
#include <TopoDS_Edge.hxx>
|
|
#include <TopoDS_Shape.hxx>
|
|
#include <TopoDS_Vertex.hxx>
|
|
|
|
// Qt
|
|
#include <QApplication>
|
|
#include <QContextMenuEvent>
|
|
#include <QCursor>
|
|
#include <QDebug>
|
|
#include <QEvent>
|
|
#include <QGuiApplication>
|
|
#include <QInputDialog>
|
|
#include <QKeyEvent>
|
|
#include <QLocale>
|
|
#include <QMenu>
|
|
#include <QMessageBox>
|
|
#include <QPainter>
|
|
#include <QPixmapCache>
|
|
#include <QRegularExpression>
|
|
#include <QRegularExpressionMatch>
|
|
#include <QScreen>
|
|
#include <QShortcut>
|
|
#include <QString>
|
|
#include <QStyledItemDelegate>
|
|
#include <QTextStream>
|
|
#include <QWidgetAction>
|
|
|
|
// all of Inventor
|
|
#ifndef __InventorAll__
|
|
# include <Gui/InventorAll.h>
|
|
#endif
|
|
|
|
#endif //_PreComp_
|
|
|
|
#endif // __PRECOMPILED_GUI__
|