[Gui] DlgActions etc.: remove unused includes and sort headers

This commit is contained in:
Uwe
2022-03-16 04:06:37 +01:00
parent 6953a4eef4
commit 11f6f693f2
12 changed files with 40 additions and 55 deletions

View File

@@ -20,7 +20,6 @@
* *
***************************************************************************/
#include "PreCompiled.h"
#ifndef _PreComp_
# include <QDialogButtonBox>
@@ -32,19 +31,17 @@
# include <QKeySequence>
# include <QLineEdit>
# include <QMessageBox>
# include <QTextStream>
# include <QVBoxLayout>
#endif
#include "DlgActionsImp.h"
#include "ui_DlgActions.h"
#include "Action.h"
#include "Application.h"
#include "Command.h"
#include "BitmapFactory.h"
#include "Widgets.h"
#include "Command.h"
#include "ui_DlgChooseIcon.h"
using namespace Gui::Dialog;
/* TRANSLATOR Gui::Dialog::DlgCustomActionsImp */

View File

@@ -20,11 +20,9 @@
* *
***************************************************************************/
#include "PreCompiled.h"
#ifndef _PreComp_
# include <QApplication>
# include <QHeaderView>
# include <QPushButton>
#endif
@@ -33,6 +31,7 @@
#include "MainWindow.h"
#include "MDIView.h"
using namespace Gui::Dialog;
/* TRANSLATOR Gui::Dialog::DlgActivateWindowImp */

View File

@@ -25,15 +25,15 @@
# include <QMessageBox>
#endif
#include "ui_DlgAddProperty.h"
#include <Base/Tools.h>
#include <App/Application.h>
#include <App/Document.h>
#include <App/DocumentObject.h>
#include "MainWindow.h"
#include <ViewProviderDocumentObject.h>
#include <Base/Tools.h>
#include "DlgAddProperty.h"
#include "ui_DlgAddProperty.h"
#include "MainWindow.h"
#include "ViewProviderDocumentObject.h"
using namespace Gui;

View File

@@ -30,19 +30,15 @@
#include "PreCompiled.h"
#ifndef _PreComp_
# include <QHeaderView>
# include <QPushButton>
#endif
#include <App/Application.h>
#include "DlgCheckableMessageBox.h"
#include "ui_DlgCheckableMessageBox.h"
#include <QPushButton>
#include <QtCore/QDebug>
#include "MainWindow.h"
#include <App/Application.h>
//#include <App/Parameter.h>
namespace Gui {
namespace Dialog {

View File

@@ -30,11 +30,9 @@
#ifndef CHECKABLEMESSAGEBOX_H
#define CHECKABLEMESSAGEBOX_H
//#include "utils_global.h"
#include <QDialog>
#include <QDialogButtonBox>
#include <QMessageBox>
#include <QDialog>
namespace Gui {
namespace Dialog {

View File

@@ -20,8 +20,8 @@
* *
***************************************************************************/
#include "PreCompiled.h"
#ifndef _PreComp_
# include <QHeaderView>
# include <QTreeWidgetItemIterator>
@@ -32,9 +32,9 @@
#include "DlgCommandsImp.h"
#include "ui_DlgCommands.h"
#include "Application.h"
#include "Command.h"
#include "BitmapFactory.h"
#include "Widgets.h"
#include "Command.h"
using namespace Gui::Dialog;

View File

@@ -20,16 +20,16 @@
* *
***************************************************************************/
#include "PreCompiled.h"
#ifndef _PreComp_
# include <QMessageBox>
# include <QPushButton>
#endif
#include "DlgCreateNewPreferencePackImp.h"
#include "ui_DlgCreateNewPreferencePack.h"
#include <QPushButton>
#include <QMessageBox>
using namespace Gui::Dialog;

View File

@@ -20,19 +20,20 @@
* *
***************************************************************************/
#include "PreCompiled.h"
#ifndef _PreComp_
# include <QEvent>
# include <QGridLayout>
# include <QSizePolicy>
# include <QPushButton>
# include <QSizePolicy>
#endif
#include "DlgCustomizeImp.h"
#include "MainWindow.h"
#include "WidgetFactory.h"
using namespace Gui::Dialog;
QList<QByteArray> DlgCustomizeImp::_pages;

View File

@@ -24,8 +24,8 @@
#include "DlgCustomizeSpNavSettings.h"
#include "ui_DlgCustomizeSpNavSettings.h"
#include "GuiApplicationNativeEventAware.h"
#include "Application.h"
#include "GuiApplicationNativeEventAware.h"
using namespace Gui::Dialog;

View File

@@ -23,26 +23,28 @@
#include "PreCompiled.h"
#ifndef _PreComp_
#include <QComboBox>
#include <QHBoxLayout>
#include <QVBoxLayout>
#include <QLabel>
#include <QSplitter>
#include <QPushButton>
#include <QHeaderView>
#include <QLabel>
#include <QPainter>
#include <QPrintDialog>
#include <QPrinter>
#include <QPainter>
#include <QPushButton>
#include <QSplitter>
#include <QTableView>
#include <QComboBox>
#include <QVBoxLayout>
#endif
#include "Base/Console.h"
#include "Command.h"
#include "DlgCustomizeSpaceball.h"
#include "Application.h"
#include "BitmapFactory.h"
#include "GuiApplicationNativeEventAware.h"
#include "SpaceballEvent.h"
#include "Command.h"
#include "BitmapFactory.h"
#include "DlgCustomizeSpaceball.h"
typedef std::vector<Base::Reference<ParameterGrp> > GroupVector;

View File

@@ -23,10 +23,10 @@
#ifndef GUI_DIALOG_DLGCUSTOMIZESPACEBALL_H
#define GUI_DIALOG_DLGCUSTOMIZESPACEBALL_H
#include <QTreeView>
#include <QListView>
#include <QComboBox>
#include <QAbstractListModel>
#include <QComboBox>
#include <QListView>
#include <QTreeView>
#include "PropertyPage.h"
#include <boost/foreach.hpp>

View File

@@ -20,7 +20,6 @@
* *
***************************************************************************/
#include "PreCompiled.h"
#ifndef _PreComp_
# include <algorithm>
@@ -29,25 +28,18 @@
# include <QDockWidget>
#endif
#include <Base/Console.h>
#include "DlgDisplayPropertiesImp.h"
#include "ui_DlgDisplayProperties.h"
#include "Application.h"
#include "Document.h"
#include "DlgMaterialPropertiesImp.h"
#include "DockWindowManager.h"
#include "View3DInventorViewer.h"
#include "View3DInventor.h"
#include "Command.h"
#include "Application.h"
#include "Widgets.h"
#include "Selection.h"
#include "Document.h"
#include "ViewProvider.h"
#include "WaitCursor.h"
#include "SpinBox.h"
#include <Base/Console.h>
#include <App/Application.h>
#include <App/DocumentObject.h>
#include <App/Material.h>
using namespace Gui::Dialog;
using namespace std;