mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-04-02 09:29:59 +02:00
Mod Cmake en preprocessor
This commit is contained in:
@@ -16,10 +16,11 @@
|
||||
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
#include "arceditor.h"
|
||||
#include "styleeditor.h"
|
||||
#include "partarc.h"
|
||||
#include "QPropertyUndoCommand/qpropertyundocommand.h"
|
||||
|
||||
#include "../QPropertyUndoCommand/qpropertyundocommand.h"
|
||||
#include "elementscene.h"
|
||||
#include "partarc.h"
|
||||
#include "styleeditor.h"
|
||||
|
||||
/**
|
||||
Constructeur
|
||||
|
||||
@@ -17,11 +17,11 @@
|
||||
*/
|
||||
#ifndef EDITOR_COMMANDS_H
|
||||
#define EDITOR_COMMANDS_H
|
||||
#include "../qgimanager.h"
|
||||
#include "customelementpart.h"
|
||||
#include "elementview.h"
|
||||
#include "elementscene.h"
|
||||
#include "elementcontent.h"
|
||||
#include "qgimanager.h"
|
||||
#include "elementscene.h"
|
||||
#include "elementview.h"
|
||||
|
||||
/**
|
||||
@brief The ElementEditionCommand class
|
||||
|
||||
@@ -16,15 +16,17 @@
|
||||
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
#include "elementprimitivedecorator.h"
|
||||
#include "elementscene.h"
|
||||
|
||||
#include "../QetGraphicsItemModeler/qetgraphicshandleritem.h"
|
||||
#include "../qet.h"
|
||||
#include "customelementpart.h"
|
||||
#include "editorcommands.h"
|
||||
#include "qet.h"
|
||||
#include <QPainter>
|
||||
#include <QGraphicsSceneHoverEvent>
|
||||
#include <QStyleOptionGraphicsItem>
|
||||
#include "elementscene.h"
|
||||
|
||||
#include <QGraphicsScene>
|
||||
#include "QetGraphicsItemModeler/qetgraphicshandleritem.h"
|
||||
#include <QGraphicsSceneHoverEvent>
|
||||
#include <QPainter>
|
||||
#include <QStyleOptionGraphicsItem>
|
||||
|
||||
/**
|
||||
Constructor
|
||||
|
||||
@@ -18,8 +18,9 @@
|
||||
#ifndef ELEMENTPRIMITIVEDECORATOR_H
|
||||
#define ELEMENTPRIMITIVEDECORATOR_H
|
||||
|
||||
#include "../qet.h"
|
||||
|
||||
#include <QGraphicsObject>
|
||||
#include "qet.h"
|
||||
|
||||
class ElementEditionCommand;
|
||||
class ElementScene;
|
||||
|
||||
@@ -16,9 +16,10 @@
|
||||
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
#include "elementview.h"
|
||||
#include "qetelementeditor.h"
|
||||
#include "qetapp.h"
|
||||
|
||||
#include "../qetapp.h"
|
||||
#include "pastepartscommand.h"
|
||||
#include "qetelementeditor.h"
|
||||
/**
|
||||
Constructeur
|
||||
@param scene ElementScene visualisee par cette ElementView
|
||||
|
||||
@@ -16,8 +16,9 @@
|
||||
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
#include "customelementgraphicpart.h"
|
||||
|
||||
#include "../QPropertyUndoCommand/qpropertyundocommand.h"
|
||||
#include "elementscene.h"
|
||||
#include "QPropertyUndoCommand/qpropertyundocommand.h"
|
||||
|
||||
#include <QRegularExpression>
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
#ifndef CUSTOM_ELEMENT_PART_H
|
||||
#define CUSTOM_ELEMENT_PART_H
|
||||
|
||||
#include "qet.h"
|
||||
#include "../qet.h"
|
||||
|
||||
class CustomElement;
|
||||
class ElementPrimitiveDecorator;
|
||||
|
||||
@@ -16,11 +16,11 @@
|
||||
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
#include "partarc.h"
|
||||
#include "QPropertyUndoCommand/qpropertyundocommand.h"
|
||||
#include "elementscene.h"
|
||||
#include "QetGraphicsItemModeler/qetgraphicshandleritem.h"
|
||||
#include "QetGraphicsItemModeler/qetgraphicshandlerutility.h"
|
||||
|
||||
#include "../QPropertyUndoCommand/qpropertyundocommand.h"
|
||||
#include "../QetGraphicsItemModeler/qetgraphicshandleritem.h"
|
||||
#include "../QetGraphicsItemModeler/qetgraphicshandlerutility.h"
|
||||
#include "elementscene.h"
|
||||
|
||||
/**
|
||||
@brief PartArc::PartArc
|
||||
|
||||
@@ -16,13 +16,14 @@
|
||||
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
#include "partdynamictextfield.h"
|
||||
#include "QPropertyUndoCommand/qpropertyundocommand.h"
|
||||
#include "qetapp.h"
|
||||
|
||||
#include "../QPropertyUndoCommand/qpropertyundocommand.h"
|
||||
#include "../qetapp.h"
|
||||
#include "elementscene.h"
|
||||
|
||||
#include <QGraphicsSceneMouseEvent>
|
||||
#include <QFont>
|
||||
#include <QColor>
|
||||
#include <QFont>
|
||||
#include <QGraphicsSceneMouseEvent>
|
||||
|
||||
PartDynamicTextField::PartDynamicTextField(QETElementEditor *editor, QGraphicsItem *parent) :
|
||||
QGraphicsTextItem(parent),
|
||||
|
||||
@@ -16,10 +16,11 @@
|
||||
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
#include "partellipse.h"
|
||||
#include "QPropertyUndoCommand/qpropertyundocommand.h"
|
||||
|
||||
#include "../QPropertyUndoCommand/qpropertyundocommand.h"
|
||||
#include "../QetGraphicsItemModeler/qetgraphicshandleritem.h"
|
||||
#include "../QetGraphicsItemModeler/qetgraphicshandlerutility.h"
|
||||
#include "elementscene.h"
|
||||
#include "QetGraphicsItemModeler/qetgraphicshandleritem.h"
|
||||
#include "QetGraphicsItemModeler/qetgraphicshandlerutility.h"
|
||||
|
||||
/**
|
||||
@brief PartEllipse::PartEllipse
|
||||
|
||||
@@ -16,11 +16,12 @@
|
||||
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
#include "partline.h"
|
||||
#include <cmath>
|
||||
#include "elementscene.h"
|
||||
#include "QPropertyUndoCommand/qpropertyundocommand.h"
|
||||
#include "QetGraphicsItemModeler/qetgraphicshandleritem.h"
|
||||
|
||||
#include "../QPropertyUndoCommand/qpropertyundocommand.h"
|
||||
#include "../QetGraphicsItemModeler/qetgraphicshandleritem.h"
|
||||
#include "elementscene.h"
|
||||
|
||||
#include <cmath>
|
||||
|
||||
/**
|
||||
@brief PartLine::PartLine
|
||||
|
||||
@@ -18,8 +18,8 @@
|
||||
#ifndef PART_LINE_H
|
||||
#define PART_LINE_H
|
||||
|
||||
#include "../qet.h"
|
||||
#include "customelementgraphicpart.h"
|
||||
#include "qet.h"
|
||||
|
||||
class QPropertyUndoCommand;
|
||||
class QetGraphicsHandlerItem;
|
||||
|
||||
@@ -16,13 +16,13 @@
|
||||
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
#include "partpolygon.h"
|
||||
#include "QPropertyUndoCommand/qpropertyundocommand.h"
|
||||
#include "elementscene.h"
|
||||
#include "QetGraphicsItemModeler/qetgraphicshandleritem.h"
|
||||
#include "qetelementeditor.h"
|
||||
#include "qeticons.h"
|
||||
#include "QetGraphicsItemModeler/qetgraphicshandlerutility.h"
|
||||
|
||||
#include "../QPropertyUndoCommand/qpropertyundocommand.h"
|
||||
#include "../QetGraphicsItemModeler/qetgraphicshandleritem.h"
|
||||
#include "../QetGraphicsItemModeler/qetgraphicshandlerutility.h"
|
||||
#include "../qeticons.h"
|
||||
#include "elementscene.h"
|
||||
#include "qetelementeditor.h"
|
||||
|
||||
/**
|
||||
@brief PartPolygon::PartPolygon
|
||||
|
||||
@@ -16,10 +16,11 @@
|
||||
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
#include "partrectangle.h"
|
||||
|
||||
#include "../QPropertyUndoCommand/qpropertyundocommand.h"
|
||||
#include "../QetGraphicsItemModeler/qetgraphicshandleritem.h"
|
||||
#include "../QetGraphicsItemModeler/qetgraphicshandlerutility.h"
|
||||
#include "elementscene.h"
|
||||
#include "QPropertyUndoCommand/qpropertyundocommand.h"
|
||||
#include "QetGraphicsItemModeler/qetgraphicshandleritem.h"
|
||||
#include "QetGraphicsItemModeler/qetgraphicshandlerutility.h"
|
||||
|
||||
/**
|
||||
@brief PartRectangle::PartRectangle
|
||||
|
||||
@@ -16,11 +16,12 @@
|
||||
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
#include "parttext.h"
|
||||
#include "texteditor.h"
|
||||
|
||||
#include "../QPropertyUndoCommand/qpropertyundocommand.h"
|
||||
#include "../qetapp.h"
|
||||
#include "elementprimitivedecorator.h"
|
||||
#include "elementscene.h"
|
||||
#include "qetapp.h"
|
||||
#include "QPropertyUndoCommand/qpropertyundocommand.h"
|
||||
#include "texteditor.h"
|
||||
|
||||
/**
|
||||
Constructeur
|
||||
|
||||
@@ -17,9 +17,10 @@
|
||||
*/
|
||||
#ifndef PART_TEXT_H
|
||||
#define PART_TEXT_H
|
||||
#include <QtWidgets>
|
||||
#include "../qetapp.h"
|
||||
#include "customelementpart.h"
|
||||
#include "qetapp.h"
|
||||
|
||||
#include <QtWidgets>
|
||||
|
||||
class TextEditor;
|
||||
class ElementPrimitiveDecorator;
|
||||
|
||||
@@ -16,18 +16,19 @@
|
||||
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
#include "qetelementeditor.h"
|
||||
#include "qet.h"
|
||||
#include "qetapp.h"
|
||||
|
||||
#include "../elementdialog.h"
|
||||
#include "../newelementwizard.h"
|
||||
#include "../qet.h"
|
||||
#include "../qetapp.h"
|
||||
#include "../qeticons.h"
|
||||
#include "../qetmessagebox.h"
|
||||
#include "../recentfiles.h"
|
||||
#include "customelementpart.h"
|
||||
#include "editorcommands.h"
|
||||
#include "elementitemeditor.h"
|
||||
#include "elementscene.h"
|
||||
#include "elementview.h"
|
||||
#include "customelementpart.h"
|
||||
#include "newelementwizard.h"
|
||||
#include "elementitemeditor.h"
|
||||
#include "elementdialog.h"
|
||||
#include "recentfiles.h"
|
||||
#include "qeticons.h"
|
||||
#include "qetmessagebox.h"
|
||||
#include "editorcommands.h"
|
||||
|
||||
// editeurs de primitives
|
||||
#include "arceditor.h"
|
||||
|
||||
@@ -16,13 +16,15 @@
|
||||
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
#include "styleeditor.h"
|
||||
|
||||
#include "../QPropertyUndoCommand/qpropertyundocommand.h"
|
||||
#include "../qeticons.h"
|
||||
#include "customelementgraphicpart.h"
|
||||
#include "QPropertyUndoCommand/qpropertyundocommand.h"
|
||||
#include "qeticons.h"
|
||||
#include <QComboBox>
|
||||
|
||||
#include <QCheckBox>
|
||||
#include <QVBoxLayout>
|
||||
#include <QComboBox>
|
||||
#include <QLabel>
|
||||
#include <QVBoxLayout>
|
||||
|
||||
/**
|
||||
Constructeur
|
||||
|
||||
@@ -16,14 +16,16 @@
|
||||
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
#include "terminaleditor.h"
|
||||
|
||||
#include "../QPropertyUndoCommand/qpropertyundocommand.h"
|
||||
#include "../qeticons.h"
|
||||
#include "partterminal.h"
|
||||
#include "qeticons.h"
|
||||
#include "QPropertyUndoCommand/qpropertyundocommand.h"
|
||||
#include <QDoubleSpinBox>
|
||||
|
||||
#include <QComboBox>
|
||||
#include <QVBoxLayout>
|
||||
#include <QDoubleSpinBox>
|
||||
#include <QHBoxLayout>
|
||||
#include <QLabel>
|
||||
#include <QVBoxLayout>
|
||||
|
||||
/**
|
||||
@brief TerminalEditor::TerminalEditor
|
||||
|
||||
@@ -16,20 +16,21 @@
|
||||
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
#include "dynamictextfieldeditor.h"
|
||||
#include "ui_dynamictextfieldeditor.h"
|
||||
|
||||
#include "../QPropertyUndoCommand/qpropertyundocommand.h"
|
||||
#include "../qetapp.h"
|
||||
#include "../qetinformation.h"
|
||||
#include "alignmenttextdialog.h"
|
||||
#include "compositetexteditdialog.h"
|
||||
#include "customelementpart.h"
|
||||
#include "partdynamictextfield.h"
|
||||
#include "QPropertyUndoCommand/qpropertyundocommand.h"
|
||||
#include "qetelementeditor.h"
|
||||
#include "qetapp.h"
|
||||
#include "compositetexteditdialog.h"
|
||||
#include "alignmenttextdialog.h"
|
||||
#include "qetinformation.h"
|
||||
#include <assert.h>
|
||||
#include "ui_dynamictextfieldeditor.h"
|
||||
|
||||
#include <QPointer>
|
||||
#include <QGraphicsItem>
|
||||
#include <QColorDialog>
|
||||
#include <QGraphicsItem>
|
||||
#include <QPointer>
|
||||
#include <assert.h>
|
||||
|
||||
DynamicTextFieldEditor::DynamicTextFieldEditor(
|
||||
QETElementEditor *editor, PartDynamicTextField *text_field, QWidget *parent) :
|
||||
|
||||
@@ -16,9 +16,10 @@
|
||||
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
#include "elementpropertieseditorwidget.h"
|
||||
|
||||
#include "../qetapp.h"
|
||||
#include "../qetinformation.h"
|
||||
#include "ui_elementpropertieseditorwidget.h"
|
||||
#include "qetapp.h"
|
||||
#include "qetinformation.h"
|
||||
|
||||
#include <QItemDelegate>
|
||||
|
||||
|
||||
@@ -18,9 +18,10 @@
|
||||
#ifndef ELEMENTPROPERTIESEDITORWIDGET_H
|
||||
#define ELEMENTPROPERTIESEDITORWIDGET_H
|
||||
|
||||
#include <QDialog>
|
||||
#include "../diagramcontext.h"
|
||||
|
||||
#include <QAbstractButton>
|
||||
#include "diagramcontext.h"
|
||||
#include <QDialog>
|
||||
|
||||
namespace Ui {
|
||||
class ElementPropertiesEditorWidget;
|
||||
|
||||
@@ -16,11 +16,12 @@
|
||||
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
#include "ellipseeditor.h"
|
||||
#include "ui_ellipseeditor.h"
|
||||
|
||||
#include "../QPropertyUndoCommand/qpropertyundocommand.h"
|
||||
#include "elementscene.h"
|
||||
#include "partellipse.h"
|
||||
#include "styleeditor.h"
|
||||
#include "QPropertyUndoCommand/qpropertyundocommand.h"
|
||||
#include "elementscene.h"
|
||||
#include "ui_ellipseeditor.h"
|
||||
|
||||
/**
|
||||
* @brief EllipseEditor::EllipseEditor
|
||||
|
||||
@@ -16,13 +16,14 @@
|
||||
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
#include "lineeditor.h"
|
||||
#include "ui_lineeditor.h"
|
||||
|
||||
#include "../QPropertyUndoCommand/qpropertyundocommand.h"
|
||||
#include "../qeticons.h"
|
||||
#include "elementitemeditor.h"
|
||||
#include "styleeditor.h"
|
||||
#include "partline.h"
|
||||
#include "QPropertyUndoCommand/qpropertyundocommand.h"
|
||||
#include "elementscene.h"
|
||||
#include "qeticons.h"
|
||||
#include "partline.h"
|
||||
#include "styleeditor.h"
|
||||
#include "ui_lineeditor.h"
|
||||
|
||||
/**
|
||||
@brief LineEditor::LineEditor
|
||||
|
||||
@@ -16,12 +16,13 @@
|
||||
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
#include "polygoneditor.h"
|
||||
#include "ui_polygoneditor.h"
|
||||
#include "partpolygon.h"
|
||||
|
||||
#include "../QPropertyUndoCommand/qpropertyundocommand.h"
|
||||
#include "../qetmessagebox.h"
|
||||
#include "elementscene.h"
|
||||
#include "qetmessagebox.h"
|
||||
#include "partpolygon.h"
|
||||
#include "styleeditor.h"
|
||||
#include "QPropertyUndoCommand/qpropertyundocommand.h"
|
||||
#include "ui_polygoneditor.h"
|
||||
|
||||
/**
|
||||
@brief PolygonEditor::PolygonEditor
|
||||
|
||||
@@ -16,12 +16,13 @@
|
||||
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
#include "rectangleeditor.h"
|
||||
#include "ui_rectangleeditor.h"
|
||||
#include "styleeditor.h"
|
||||
#include "partrectangle.h"
|
||||
#include "QPropertyUndoCommand/qpropertyundocommand.h"
|
||||
|
||||
#include "../QPropertyUndoCommand/qpropertyundocommand.h"
|
||||
#include "../qeticons.h"
|
||||
#include "elementscene.h"
|
||||
#include "qeticons.h"
|
||||
#include "partrectangle.h"
|
||||
#include "styleeditor.h"
|
||||
#include "ui_rectangleeditor.h"
|
||||
|
||||
/**
|
||||
@brief RectangleEditor::RectangleEditor
|
||||
|
||||
@@ -16,9 +16,11 @@
|
||||
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
#include "texteditor.h"
|
||||
#include "ui_texteditor.h"
|
||||
|
||||
#include "../QPropertyUndoCommand/qpropertyundocommand.h"
|
||||
#include "parttext.h"
|
||||
#include "QPropertyUndoCommand/qpropertyundocommand.h"
|
||||
#include "ui_texteditor.h"
|
||||
|
||||
#include <cassert>
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user