Move class VFormula to core folder.

--HG--
branch : feature
This commit is contained in:
Roman Telezhynskyi 2015-06-12 12:22:25 +03:00
parent f331f6fa5f
commit fdb45fdc76
15 changed files with 14 additions and 21 deletions

View File

@ -1,5 +1,4 @@
# Suport subdirectories. Just better project code tree. # Suport subdirectories. Just better project code tree.
include(container/container.pri)
include(dialogs/dialogs.pri) include(dialogs/dialogs.pri)
include(tools/tools.pri) include(tools/tools.pri)
include(widgets/widgets.pri) include(widgets/widgets.pri)

View File

@ -1,8 +0,0 @@
# ADD TO EACH PATH $$PWD VARIABLE!!!!!!
# This need for corect working file translations.pro
SOURCES += \
$$PWD/vformula.cpp
HEADERS += \
$$PWD/vformula.h

View File

@ -6,11 +6,13 @@ HEADERS += \
$$PWD/undoevent.h \ $$PWD/undoevent.h \
$$PWD/vsettings.h \ $$PWD/vsettings.h \
$$PWD/backport/qcommandlineoption.h \ $$PWD/backport/qcommandlineoption.h \
$$PWD/backport/qcommandlineparser.h $$PWD/backport/qcommandlineparser.h \
$$PWD/vformula.h
SOURCES += \ SOURCES += \
$$PWD/vapplication.cpp \ $$PWD/vapplication.cpp \
$$PWD/undoevent.cpp \ $$PWD/undoevent.cpp \
$$PWD/vsettings.cpp \ $$PWD/vsettings.cpp \
$$PWD/backport/qcommandlineoption.cpp \ $$PWD/backport/qcommandlineoption.cpp \
$$PWD/backport/qcommandlineparser.cpp $$PWD/backport/qcommandlineparser.cpp \
$$PWD/vformula.cpp

View File

@ -30,7 +30,7 @@
#include "../../libs/vpatterndb/calculator.h" #include "../../libs/vpatterndb/calculator.h"
#include "../../dialogs/tools/dialogarc.h" #include "../../dialogs/tools/dialogarc.h"
#include "../../libs/vgeometry/varc.h" #include "../../libs/vgeometry/varc.h"
#include "../container/vformula.h" #include "../core/vformula.h"
#include "../../visualization/vistoolarc.h" #include "../../visualization/vistoolarc.h"
#include <QKeyEvent> #include <QKeyEvent>

View File

@ -30,7 +30,7 @@
#include "../../libs/vpatterndb/calculator.h" #include "../../libs/vpatterndb/calculator.h"
#include "../../dialogs/tools/dialogarcwithlength.h" #include "../../dialogs/tools/dialogarcwithlength.h"
#include "../../libs/vgeometry/varc.h" #include "../../libs/vgeometry/varc.h"
#include "../container/vformula.h" #include "../core/vformula.h"
#include "../../visualization/vistoolarcwithlength.h" #include "../../visualization/vistoolarcwithlength.h"
#include <QKeyEvent> #include <QKeyEvent>

View File

@ -28,7 +28,7 @@
#include "vtoolcut.h" #include "vtoolcut.h"
#include "../../libs/vgeometry/vpointf.h" #include "../../libs/vgeometry/vpointf.h"
#include "../../container/vformula.h" #include "../../core/vformula.h"
//--------------------------------------------------------------------------------------------------------------------- //---------------------------------------------------------------------------------------------------------------------
VToolCut::VToolCut(VPattern *doc, VContainer *data, const quint32 &id, const QString &formula, VToolCut::VToolCut(VPattern *doc, VContainer *data, const quint32 &id, const QString &formula,

View File

@ -30,7 +30,7 @@
#define VTOOLLINEPOINT_H #define VTOOLLINEPOINT_H
#include "vtoolpoint.h" #include "vtoolpoint.h"
#include "../container/vformula.h" #include "../core/vformula.h"
/** /**
* @brief The VToolLinePoint class parent for all tools what create point with line. * @brief The VToolLinePoint class parent for all tools what create point with line.

View File

@ -31,7 +31,7 @@
#include "../../libs/vgeometry/vpointf.h" #include "../../libs/vgeometry/vpointf.h"
#include "../../libs/vgeometry/varc.h" #include "../../libs/vgeometry/varc.h"
#include "../../visualization/vistoolpointfromcircleandtangent.h" #include "../../visualization/vistoolpointfromcircleandtangent.h"
#include "../container/vformula.h" #include "../core/vformula.h"
const QString VToolPointFromCircleAndTangent::ToolType = QStringLiteral("pointFromCircleAndTangent"); const QString VToolPointFromCircleAndTangent::ToolType = QStringLiteral("pointFromCircleAndTangent");

View File

@ -30,7 +30,7 @@
#include "../../libs/vpatterndb/calculator.h" #include "../../libs/vpatterndb/calculator.h"
#include "../../dialogs/tools/dialogpointofcontact.h" #include "../../dialogs/tools/dialogpointofcontact.h"
#include "../../libs/vgeometry/vpointf.h" #include "../../libs/vgeometry/vpointf.h"
#include "../../container/vformula.h" #include "../../core/vformula.h"
#include "../../visualization/vistoolpointofcontact.h" #include "../../visualization/vistoolpointofcontact.h"
#include <QtCore/qmath.h> #include <QtCore/qmath.h>

View File

@ -31,7 +31,7 @@
#include "../../libs/vgeometry/vpointf.h" #include "../../libs/vgeometry/vpointf.h"
#include "../../libs/vgeometry/varc.h" #include "../../libs/vgeometry/varc.h"
#include "../../visualization/vistoolpointofintersectioncircles.h" #include "../../visualization/vistoolpointofintersectioncircles.h"
#include "../container/vformula.h" #include "../core/vformula.h"
const QString VToolPointOfIntersectionCircles::ToolType = QStringLiteral("pointOfIntersectionCircles"); const QString VToolPointOfIntersectionCircles::ToolType = QStringLiteral("pointOfIntersectionCircles");

View File

@ -32,7 +32,7 @@
#include "../../libs/vpropertyexplorer/vproperty_p.h" #include "../../libs/vpropertyexplorer/vproperty_p.h"
#include "vformulapropertyeditor.h" #include "vformulapropertyeditor.h"
#include "../../libs/vpropertyexplorer/vproperties.h" #include "../../libs/vpropertyexplorer/vproperties.h"
#include "../container/vformula.h" #include "../core/vformula.h"
enum class ChildType : char {Invalid = 0, Value = 1, Formula = 2}; enum class ChildType : char {Invalid = 0, Value = 1, Formula = 2};

View File

@ -35,7 +35,7 @@
#include <QLabel> #include <QLabel>
#include <QSpacerItem> #include <QSpacerItem>
#include "../container/vformula.h" #include "../core/vformula.h"
class VFormulaPropertyEditor : public QWidget class VFormulaPropertyEditor : public QWidget
{ {

View File

@ -34,7 +34,7 @@
#include "../visualization/vcontrolpointspline.h" #include "../visualization/vcontrolpointspline.h"
#include "../../libs/vpropertyexplorer/vproperties.h" #include "../../libs/vpropertyexplorer/vproperties.h"
#include "vformulaproperty.h" #include "vformulaproperty.h"
#include "../container/vformula.h" #include "../core/vformula.h"
#include <QDockWidget> #include <QDockWidget>
#include <QHBoxLayout> #include <QHBoxLayout>