[Gui] Python and Property: remove unused includes
This commit is contained in:
@@ -20,16 +20,17 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#include "PreCompiled.h"
|
||||
#ifndef _PreComp_
|
||||
# include <QVBoxLayout>
|
||||
#endif
|
||||
|
||||
#include <Base/Console.h>
|
||||
|
||||
#include "PropertyPage.h"
|
||||
#include "PrefWidgets.h"
|
||||
#include "UiLoader.h"
|
||||
#include <Base/Console.h>
|
||||
|
||||
|
||||
using namespace Gui::Dialog;
|
||||
|
||||
|
||||
@@ -20,39 +20,27 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#include "PreCompiled.h"
|
||||
#ifndef _PreComp_
|
||||
# include <QGridLayout>
|
||||
# include <QHeaderView>
|
||||
# include <QEvent>
|
||||
# include <QGridLayout>
|
||||
# include <QTimer>
|
||||
# include <boost_bind_bind.hpp>
|
||||
#endif
|
||||
|
||||
|
||||
/// Here the FreeCAD includes sorted by Base,App,Gui......
|
||||
#include <Base/Parameter.h>
|
||||
#include <App/PropertyStandard.h>
|
||||
#include <App/PropertyGeo.h>
|
||||
#include <App/PropertyLinks.h>
|
||||
#include <App/PropertyContainer.h>
|
||||
#include <App/DocumentObject.h>
|
||||
#include <App/Document.h>
|
||||
#include <Base/Console.h>
|
||||
#include <Base/Parameter.h>
|
||||
|
||||
#include "PropertyView.h"
|
||||
#include "Application.h"
|
||||
#include "MainWindow.h"
|
||||
#include "Document.h"
|
||||
#include "BitmapFactory.h"
|
||||
#include "ViewProvider.h"
|
||||
#include "ViewProviderDocumentObject.h"
|
||||
#include "MainWindow.h"
|
||||
#include "Tree.h"
|
||||
#include "ViewParams.h"
|
||||
|
||||
#include "ViewProvider.h"
|
||||
#include "ViewProviderDocumentObject.h"
|
||||
#include "propertyeditor/PropertyEditor.h"
|
||||
|
||||
|
||||
using namespace std;
|
||||
using namespace Gui;
|
||||
using namespace Gui::DockWnd;
|
||||
@@ -76,7 +64,7 @@ static ParameterGrp::handle _GetParam() {
|
||||
* in two tabs.
|
||||
*/
|
||||
PropertyView::PropertyView(QWidget *parent)
|
||||
: QWidget(parent),SelectionObserver(false,0)
|
||||
: QWidget(parent), SelectionObserver(false, 0)
|
||||
{
|
||||
QGridLayout* pLayout = new QGridLayout( this );
|
||||
pLayout->setSpacing(0);
|
||||
|
||||
@@ -20,15 +20,12 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
|
||||
#ifndef GUI_DOCKWND_PROPERTYVIEW_H
|
||||
#define GUI_DOCKWND_PROPERTYVIEW_H
|
||||
|
||||
|
||||
#include "DockWindow.h"
|
||||
#include "Selection.h"
|
||||
#include <boost_signals2.hpp>
|
||||
|
||||
|
||||
class QPixmap;
|
||||
class QTabWidget;
|
||||
|
||||
@@ -20,7 +20,6 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#include "PreCompiled.h"
|
||||
#ifndef _PreComp_
|
||||
# include <QApplication>
|
||||
@@ -37,8 +36,6 @@
|
||||
#endif
|
||||
|
||||
#include <Base/Interpreter.h>
|
||||
#include <Base/Exception.h>
|
||||
#include <CXX/Exception.hxx>
|
||||
|
||||
#include "PythonConsole.h"
|
||||
#include "PythonConsolePy.h"
|
||||
|
||||
@@ -20,13 +20,11 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#ifndef GUI_PYTHONCONSOLE_H
|
||||
#define GUI_PYTHONCONSOLE_H
|
||||
|
||||
#include "PythonEditor.h"
|
||||
|
||||
#include <Base/PyObjectBase.h>
|
||||
|
||||
class QPlainTextEdit;
|
||||
class QPushButton;
|
||||
|
||||
@@ -20,21 +20,11 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#include "PreCompiled.h"
|
||||
#ifndef _PreComp_
|
||||
# include <QByteArray>
|
||||
# include <QInputDialog>
|
||||
# include <QEventLoop>
|
||||
# include <QTimer>
|
||||
#endif
|
||||
|
||||
#include "PythonConsolePy.h"
|
||||
#include "PythonConsole.h"
|
||||
#include "MainWindow.h"
|
||||
|
||||
#include <Base/Console.h>
|
||||
#include <Base/Exception.h>
|
||||
|
||||
using namespace Gui;
|
||||
|
||||
|
||||
@@ -20,22 +20,21 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#include "PreCompiled.h"
|
||||
#ifndef _PreComp_
|
||||
# include <QEventLoop>
|
||||
# include <QCoreApplication>
|
||||
# include <QFileInfo>
|
||||
# include <QTimer>
|
||||
# include <QEventLoop>
|
||||
#endif
|
||||
|
||||
#include "PythonDebugger.h"
|
||||
#include "MainWindow.h"
|
||||
#include "EditorView.h"
|
||||
#include "PythonEditor.h"
|
||||
#include "BitmapFactory.h"
|
||||
#include <Base/Interpreter.h>
|
||||
#include <Base/Console.h>
|
||||
#include <Base/Interpreter.h>
|
||||
|
||||
#include "PythonDebugger.h"
|
||||
#include "BitmapFactory.h"
|
||||
#include "EditorView.h"
|
||||
#include "MainWindow.h"
|
||||
#include "PythonEditor.h"
|
||||
|
||||
|
||||
using namespace Gui;
|
||||
|
||||
|
||||
@@ -20,15 +20,14 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#ifndef GUI_PYTHONDEBUG_H
|
||||
#define GUI_PYTHONDEBUG_H
|
||||
|
||||
#include <CXX/Extensions.hxx>
|
||||
#include <frameobject.h>
|
||||
#include <string>
|
||||
#include <set>
|
||||
|
||||
|
||||
namespace Gui {
|
||||
|
||||
class Breakpoint
|
||||
|
||||
@@ -20,7 +20,6 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#include "PreCompiled.h"
|
||||
#ifndef _PreComp_
|
||||
# include <QContextMenuEvent>
|
||||
@@ -30,17 +29,14 @@
|
||||
# include <QTextCursor>
|
||||
#endif
|
||||
|
||||
#include <Base/Parameter.h>
|
||||
|
||||
#include "PythonEditor.h"
|
||||
#include "PythonDebugger.h"
|
||||
#include "Application.h"
|
||||
#include "BitmapFactory.h"
|
||||
#include "Macro.h"
|
||||
#include "FileDialog.h"
|
||||
#include "DlgEditorImp.h"
|
||||
#include "PythonDebugger.h"
|
||||
|
||||
#include <Base/Interpreter.h>
|
||||
#include <Base/Exception.h>
|
||||
#include <Base/Parameter.h>
|
||||
|
||||
using namespace Gui;
|
||||
|
||||
|
||||
@@ -20,13 +20,12 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#ifndef GUI_PYTHONEDITOR_H
|
||||
#define GUI_PYTHONEDITOR_H
|
||||
|
||||
#include "Window.h"
|
||||
#include "TextEdit.h"
|
||||
#include "SyntaxHighlighter.h"
|
||||
#include "TextEdit.h"
|
||||
|
||||
|
||||
namespace Gui {
|
||||
|
||||
|
||||
@@ -20,15 +20,13 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#include "PreCompiled.h"
|
||||
|
||||
#include "Workbench.h"
|
||||
|
||||
// inclusion of the generated files (generated out of PythonWorkbenchPy.xml)
|
||||
#include "PythonWorkbenchPy.h"
|
||||
#include "PythonWorkbenchPy.cpp"
|
||||
|
||||
|
||||
using namespace Gui;
|
||||
|
||||
/** @class PythonWorkbenchPy
|
||||
|
||||
@@ -20,15 +20,14 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#include "PreCompiled.h"
|
||||
#ifndef _PreComp_
|
||||
# include <algorithm>
|
||||
# include <limits>
|
||||
# include <QWidget>
|
||||
# include <QIcon>
|
||||
# include <QDir>
|
||||
# include <QIcon>
|
||||
# include <QWidget>
|
||||
#endif
|
||||
|
||||
#include <QMetaType>
|
||||
|
||||
// Uncomment this block to remove PySide C++ support and switch to its Python interface
|
||||
|
||||
@@ -25,11 +25,10 @@
|
||||
#define GUI_PYTHONWRAPPER_H
|
||||
|
||||
#include <QGraphicsItem>
|
||||
|
||||
#include <Base/PyObjectBase.h>
|
||||
#include <CXX/Objects.hxx>
|
||||
#include <FCGlobal.h>
|
||||
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
class QDir;
|
||||
QT_END_NAMESPACE
|
||||
|
||||
Reference in New Issue
Block a user