Refactoring include for Visual Studio.
--HG-- branch : develop
This commit is contained in:
parent
497e4633ff
commit
bc3bc3f994
|
@ -20,7 +20,7 @@
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include "vcontainer.h"
|
#include "vcontainer.h"
|
||||||
#include <exception/vexceptionbadid.h>
|
#include "../exception/vexceptionbadid.h"
|
||||||
|
|
||||||
qint64 VContainer::_id = 0;
|
qint64 VContainer::_id = 0;
|
||||||
|
|
||||||
|
|
|
@ -21,8 +21,8 @@
|
||||||
|
|
||||||
#include "dialogincrements.h"
|
#include "dialogincrements.h"
|
||||||
#include "ui_dialogincrements.h"
|
#include "ui_dialogincrements.h"
|
||||||
#include <widgets/doubledelegate.h>
|
#include "../widgets/doubledelegate.h"
|
||||||
#include <exception/vexception.h>
|
#include "../exception/vexception.h"
|
||||||
|
|
||||||
DialogIncrements::DialogIncrements(VContainer *data, VDomDocument *doc, QWidget *parent)
|
DialogIncrements::DialogIncrements(VContainer *data, VDomDocument *doc, QWidget *parent)
|
||||||
:DialogTool(data, Draw::Calculation, parent), ui(new Ui::DialogIncrements), data(data), doc(doc), row(0), column(0)
|
:DialogTool(data, Draw::Calculation, parent), ui(new Ui::DialogIncrements), data(data), doc(doc), row(0), column(0)
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include "dialogtool.h"
|
#include "dialogtool.h"
|
||||||
#include <container/calculator.h>
|
#include "../container/calculator.h"
|
||||||
|
|
||||||
DialogTool::DialogTool(const VContainer *data, Draw::Draws mode, QWidget *parent)
|
DialogTool::DialogTool(const VContainer *data, Draw::Draws mode, QWidget *parent)
|
||||||
:QDialog(parent), data(data), isInitialized(false), flagName(true), flagFormula(true), timerFormula(0), bOk(0),
|
:QDialog(parent), data(data), isInitialized(false), flagName(true), flagFormula(true), timerFormula(0), bOk(0),
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
#define DIALOGTOOL_H
|
#define DIALOGTOOL_H
|
||||||
|
|
||||||
#include <QDialog>
|
#include <QDialog>
|
||||||
#include <container/vcontainer.h>
|
#include "../container/vcontainer.h"
|
||||||
|
|
||||||
class DialogTool : public QDialog
|
class DialogTool : public QDialog
|
||||||
{
|
{
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include "varc.h"
|
#include "varc.h"
|
||||||
#include <exception/vexception.h>
|
#include "../exception/vexception.h"
|
||||||
|
|
||||||
VArc::VArc ()
|
VArc::VArc ()
|
||||||
: f1(0), formulaF1(QString()), f2(0), formulaF2(QString()), radius(0), formulaRadius(QString()),
|
: f1(0), formulaF1(QString()), f2(0), formulaF2(QString()), radius(0), formulaRadius(QString()),
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
#ifndef VSPLINE_H
|
#ifndef VSPLINE_H
|
||||||
#define VSPLINE_H
|
#define VSPLINE_H
|
||||||
|
|
||||||
#include <container/vpointf.h>
|
#include "../container/vpointf.h"
|
||||||
|
|
||||||
#define M_2PI 6.28318530717958647692528676655900576
|
#define M_2PI 6.28318530717958647692528676655900576
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include "vsplinepath.h"
|
#include "vsplinepath.h"
|
||||||
#include <exception/vexception.h>
|
#include "../exception/vexception.h"
|
||||||
|
|
||||||
VSplinePath::VSplinePath()
|
VSplinePath::VSplinePath()
|
||||||
: path(QVector<VSplinePoint>()), kCurve(1), mode(Draw::Calculation), points(QHash<qint64, VPointF>()), idObject(0){}
|
: path(QVector<VSplinePoint>()), kCurve(1), mode(Draw::Calculation), points(QHash<qint64, VPointF>()), idObject(0){}
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
#define VSPLINEPATH_H
|
#define VSPLINEPATH_H
|
||||||
|
|
||||||
#include "vsplinepoint.h"
|
#include "vsplinepoint.h"
|
||||||
#include <container/vpointf.h>
|
#include "../container/vpointf.h"
|
||||||
#include "vspline.h"
|
#include "vspline.h"
|
||||||
#include <QApplication>
|
#include <QApplication>
|
||||||
|
|
||||||
|
|
|
@ -1,40 +0,0 @@
|
||||||
HEADERS += \
|
|
||||||
tools/drawTools/vtooltriangle.h \
|
|
||||||
tools/drawTools/vtoolsplinepath.h \
|
|
||||||
tools/drawTools/vtoolspline.h \
|
|
||||||
tools/drawTools/vtoolshoulderpoint.h \
|
|
||||||
tools/drawTools/vtoolpointofintersection.h \
|
|
||||||
tools/drawTools/vtoolpointofcontact.h \
|
|
||||||
tools/drawTools/vtoolpoint.h \
|
|
||||||
tools/drawTools/vtoolnormal.h \
|
|
||||||
tools/drawTools/vtoollinepoint.h \
|
|
||||||
tools/drawTools/vtoollineintersect.h \
|
|
||||||
tools/drawTools/vtoolline.h \
|
|
||||||
tools/drawTools/vtoolheight.h \
|
|
||||||
tools/drawTools/vtoolendline.h \
|
|
||||||
tools/drawTools/vtoolbisector.h \
|
|
||||||
tools/drawTools/vtoolarc.h \
|
|
||||||
tools/drawTools/vtoolalongline.h \
|
|
||||||
tools/drawTools/vdrawtool.h \
|
|
||||||
tools/drawTools/drawtools.h \
|
|
||||||
tools/drawTools/vtoolsinglepoint.h
|
|
||||||
|
|
||||||
SOURCES += \
|
|
||||||
tools/drawTools/vtooltriangle.cpp \
|
|
||||||
tools/drawTools/vtoolsplinepath.cpp \
|
|
||||||
tools/drawTools/vtoolspline.cpp \
|
|
||||||
tools/drawTools/vtoolshoulderpoint.cpp \
|
|
||||||
tools/drawTools/vtoolpointofintersection.cpp \
|
|
||||||
tools/drawTools/vtoolpointofcontact.cpp \
|
|
||||||
tools/drawTools/vtoolpoint.cpp \
|
|
||||||
tools/drawTools/vtoolnormal.cpp \
|
|
||||||
tools/drawTools/vtoollinepoint.cpp \
|
|
||||||
tools/drawTools/vtoollineintersect.cpp \
|
|
||||||
tools/drawTools/vtoolline.cpp \
|
|
||||||
tools/drawTools/vtoolheight.cpp \
|
|
||||||
tools/drawTools/vtoolendline.cpp \
|
|
||||||
tools/drawTools/vtoolbisector.cpp \
|
|
||||||
tools/drawTools/vtoolarc.cpp \
|
|
||||||
tools/drawTools/vtoolalongline.cpp \
|
|
||||||
tools/drawTools/vdrawtool.cpp \
|
|
||||||
tools/drawTools/vtoolsinglepoint.cpp
|
|
|
@ -20,7 +20,7 @@
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include "vtoolbisector.h"
|
#include "vtoolbisector.h"
|
||||||
#include <container/calculator.h>
|
#include "../../container/calculator.h"
|
||||||
|
|
||||||
const QString VToolBisector::ToolType = QStringLiteral("bisector");
|
const QString VToolBisector::ToolType = QStringLiteral("bisector");
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
|
|
||||||
#include "vtoolendline.h"
|
#include "vtoolendline.h"
|
||||||
#include "widgets/vmaingraphicsscene.h"
|
#include "widgets/vmaingraphicsscene.h"
|
||||||
#include <container/calculator.h>
|
#include "../../container/calculator.h"
|
||||||
|
|
||||||
const QString VToolEndLine::ToolType = QStringLiteral("endLine");
|
const QString VToolEndLine::ToolType = QStringLiteral("endLine");
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include "vtoolnormal.h"
|
#include "vtoolnormal.h"
|
||||||
#include <container/calculator.h>
|
#include "../../container/calculator.h"
|
||||||
|
|
||||||
const QString VToolNormal::ToolType = QStringLiteral("normal");
|
const QString VToolNormal::ToolType = QStringLiteral("normal");
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include "vtoolpointofcontact.h"
|
#include "vtoolpointofcontact.h"
|
||||||
#include <container/calculator.h>
|
#include "../../container/calculator.h"
|
||||||
|
|
||||||
const QString VToolPointOfContact::ToolType = QStringLiteral("pointOfContact");
|
const QString VToolPointOfContact::ToolType = QStringLiteral("pointOfContact");
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include "vtoolshoulderpoint.h"
|
#include "vtoolshoulderpoint.h"
|
||||||
#include <container/calculator.h>
|
#include "../../container/calculator.h"
|
||||||
|
|
||||||
const QString VToolShoulderPoint::ToolType = QStringLiteral("shoulder");
|
const QString VToolShoulderPoint::ToolType = QStringLiteral("shoulder");
|
||||||
|
|
||||||
|
|
|
@ -1,38 +0,0 @@
|
||||||
HEADERS += \
|
|
||||||
tools/modelingTools/vmodelingtriangle.h \
|
|
||||||
tools/modelingTools/vmodelingtool.h \
|
|
||||||
tools/modelingTools/vmodelingsplinepath.h \
|
|
||||||
tools/modelingTools/vmodelingspline.h \
|
|
||||||
tools/modelingTools/vmodelingshoulderpoint.h \
|
|
||||||
tools/modelingTools/vmodelingpointofintersection.h \
|
|
||||||
tools/modelingTools/vmodelingpointofcontact.h \
|
|
||||||
tools/modelingTools/vmodelingpoint.h \
|
|
||||||
tools/modelingTools/vmodelingnormal.h \
|
|
||||||
tools/modelingTools/vmodelinglinepoint.h \
|
|
||||||
tools/modelingTools/vmodelinglineintersect.h \
|
|
||||||
tools/modelingTools/vmodelingline.h \
|
|
||||||
tools/modelingTools/vmodelingheight.h \
|
|
||||||
tools/modelingTools/vmodelingendline.h \
|
|
||||||
tools/modelingTools/vmodelingbisector.h \
|
|
||||||
tools/modelingTools/vmodelingarc.h \
|
|
||||||
tools/modelingTools/vmodelingalongline.h \
|
|
||||||
tools/modelingTools/modelingtools.h
|
|
||||||
|
|
||||||
SOURCES += \
|
|
||||||
tools/modelingTools/vmodelingtriangle.cpp \
|
|
||||||
tools/modelingTools/vmodelingtool.cpp \
|
|
||||||
tools/modelingTools/vmodelingsplinepath.cpp \
|
|
||||||
tools/modelingTools/vmodelingspline.cpp \
|
|
||||||
tools/modelingTools/vmodelingshoulderpoint.cpp \
|
|
||||||
tools/modelingTools/vmodelingpointofintersection.cpp \
|
|
||||||
tools/modelingTools/vmodelingpointofcontact.cpp \
|
|
||||||
tools/modelingTools/vmodelingpoint.cpp \
|
|
||||||
tools/modelingTools/vmodelingnormal.cpp \
|
|
||||||
tools/modelingTools/vmodelinglinepoint.cpp \
|
|
||||||
tools/modelingTools/vmodelinglineintersect.cpp \
|
|
||||||
tools/modelingTools/vmodelingline.cpp \
|
|
||||||
tools/modelingTools/vmodelingheight.cpp \
|
|
||||||
tools/modelingTools/vmodelingendline.cpp \
|
|
||||||
tools/modelingTools/vmodelingbisector.cpp \
|
|
||||||
tools/modelingTools/vmodelingarc.cpp \
|
|
||||||
tools/modelingTools/vmodelingalongline.cpp
|
|
|
@ -21,7 +21,7 @@
|
||||||
|
|
||||||
#include "vmodelingbisector.h"
|
#include "vmodelingbisector.h"
|
||||||
#include "../drawTools/vtoolbisector.h"
|
#include "../drawTools/vtoolbisector.h"
|
||||||
#include <container/calculator.h>
|
#include "../../container/calculator.h"
|
||||||
|
|
||||||
const QString VModelingBisector::ToolType = QStringLiteral("bisector");
|
const QString VModelingBisector::ToolType = QStringLiteral("bisector");
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include "vmodelingendline.h"
|
#include "vmodelingendline.h"
|
||||||
#include <container/calculator.h>
|
#include "../../container/calculator.h"
|
||||||
|
|
||||||
const QString VModelingEndLine::ToolType = QStringLiteral("endLine");
|
const QString VModelingEndLine::ToolType = QStringLiteral("endLine");
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
|
|
||||||
#include "vmodelingnormal.h"
|
#include "vmodelingnormal.h"
|
||||||
#include "../drawTools/vtoolnormal.h"
|
#include "../drawTools/vtoolnormal.h"
|
||||||
#include <container/calculator.h>
|
#include "../../container/calculator.h"
|
||||||
|
|
||||||
const QString VModelingNormal::ToolType = QStringLiteral("normal");
|
const QString VModelingNormal::ToolType = QStringLiteral("normal");
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
|
|
||||||
#include "vmodelingpointofcontact.h"
|
#include "vmodelingpointofcontact.h"
|
||||||
#include "../drawTools/vtoolpointofcontact.h"
|
#include "../drawTools/vtoolpointofcontact.h"
|
||||||
#include <container/calculator.h>
|
#include "../../container/calculator.h"
|
||||||
|
|
||||||
const QString VModelingPointOfContact::ToolType = QStringLiteral("pointOfContact");
|
const QString VModelingPointOfContact::ToolType = QStringLiteral("pointOfContact");
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
|
|
||||||
#include "vmodelingshoulderpoint.h"
|
#include "vmodelingshoulderpoint.h"
|
||||||
#include "../drawTools/vtoolshoulderpoint.h"
|
#include "../drawTools/vtoolshoulderpoint.h"
|
||||||
#include <container/calculator.h>
|
#include "../../container/calculator.h"
|
||||||
|
|
||||||
const QString VModelingShoulderPoint::ToolType = QStringLiteral("shoulder");
|
const QString VModelingShoulderPoint::ToolType = QStringLiteral("shoulder");
|
||||||
|
|
||||||
|
|
|
@ -1,14 +0,0 @@
|
||||||
HEADERS += \
|
|
||||||
tools/nodeDetails/vnodesplinepath.h \
|
|
||||||
tools/nodeDetails/vnodespline.h \
|
|
||||||
tools/nodeDetails/vnodepoint.h \
|
|
||||||
tools/nodeDetails/vnodearc.h \
|
|
||||||
tools/nodeDetails/vabstractnode.h \
|
|
||||||
tools/nodeDetails/nodedetails.h
|
|
||||||
|
|
||||||
SOURCES += \
|
|
||||||
tools/nodeDetails/vnodesplinepath.cpp \
|
|
||||||
tools/nodeDetails/vnodespline.cpp \
|
|
||||||
tools/nodeDetails/vnodepoint.cpp \
|
|
||||||
tools/nodeDetails/vnodearc.cpp \
|
|
||||||
tools/nodeDetails/vabstractnode.cpp
|
|
|
@ -23,7 +23,7 @@
|
||||||
#define VABSTRACTTOOL_H
|
#define VABSTRACTTOOL_H
|
||||||
|
|
||||||
#include "vdatatool.h"
|
#include "vdatatool.h"
|
||||||
#include <xml/vdomdocument.h>
|
#include "../xml/vdomdocument.h"
|
||||||
|
|
||||||
class VAbstractTool: public VDataTool
|
class VAbstractTool: public VDataTool
|
||||||
{
|
{
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
#ifndef VDATATOOL_H
|
#ifndef VDATATOOL_H
|
||||||
#define VDATATOOL_H
|
#define VDATATOOL_H
|
||||||
|
|
||||||
#include <container/vcontainer.h>
|
#include "../container/vcontainer.h"
|
||||||
|
|
||||||
//We need QObject class because we use qobject_cast.
|
//We need QObject class because we use qobject_cast.
|
||||||
class VDataTool : public QObject
|
class VDataTool : public QObject
|
||||||
|
|
|
@ -20,19 +20,19 @@
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include "vdomdocument.h"
|
#include "vdomdocument.h"
|
||||||
#include <exception/vexceptionwrongparameterid.h>
|
#include "../exception/vexceptionwrongparameterid.h"
|
||||||
#include <exception/vexceptionconversionerror.h>
|
#include "../exception/vexceptionconversionerror.h"
|
||||||
#include <exception/vexceptionemptyparameter.h>
|
#include "../exception/vexceptionemptyparameter.h"
|
||||||
#include <exception/vexceptionuniqueid.h>
|
#include "../exception/vexceptionuniqueid.h"
|
||||||
#include <tools/vtooldetail.h>
|
#include "../tools/vtooldetail.h"
|
||||||
#include <exception/vexceptionobjecterror.h>
|
#include "../exception/vexceptionobjecterror.h"
|
||||||
#include <exception/vexceptionbadid.h>
|
#include "../exception/vexceptionbadid.h"
|
||||||
#include <tools/drawTools/drawtools.h>
|
#include "../tools/drawTools/drawtools.h"
|
||||||
#include <tools/modelingTools/modelingtools.h>
|
#include "../tools/modelingTools/modelingtools.h"
|
||||||
#include <tools/nodeDetails/vnodepoint.h>
|
#include "../tools/nodeDetails/vnodepoint.h"
|
||||||
#include <tools/nodeDetails/vnodespline.h>
|
#include "../tools/nodeDetails/vnodespline.h"
|
||||||
#include <tools/nodeDetails/vnodesplinepath.h>
|
#include "../tools/nodeDetails/vnodesplinepath.h"
|
||||||
#include <tools/nodeDetails/vnodearc.h>
|
#include "../tools/nodeDetails/vnodearc.h"
|
||||||
|
|
||||||
VDomDocument::VDomDocument(VContainer *data, QComboBox *comboBoxDraws, Draw::Draws *mode)
|
VDomDocument::VDomDocument(VContainer *data, QComboBox *comboBoxDraws, Draw::Draws *mode)
|
||||||
: QDomDocument(), map(QHash<QString, QDomElement>()), nameActivDraw(QString()), data(data),
|
: QDomDocument(), map(QHash<QString, QDomElement>()), nameActivDraw(QString()), data(data),
|
||||||
|
|
|
@ -23,9 +23,9 @@
|
||||||
#define VDOMDOCUMENT_H
|
#define VDOMDOCUMENT_H
|
||||||
|
|
||||||
#include <QDomDocument>
|
#include <QDomDocument>
|
||||||
#include <container/vcontainer.h>
|
#include "../container/vcontainer.h"
|
||||||
#include <widgets/vmaingraphicsscene.h>
|
#include "../widgets/vmaingraphicsscene.h"
|
||||||
#include <tools/vdatatool.h>
|
#include "../tools/vdatatool.h"
|
||||||
#include "vtoolrecord.h"
|
#include "vtoolrecord.h"
|
||||||
|
|
||||||
namespace Document
|
namespace Document
|
||||||
|
|
Loading…
Reference in New Issue
Block a user