Refactoring. Remove code dependency.

--HG--
branch : feature
This commit is contained in:
Roman Telezhynskyi 2017-07-01 14:43:16 +03:00
parent 275338da4b
commit 53502e3dd9
9 changed files with 11 additions and 1 deletions

View File

@ -40,6 +40,7 @@ class PreferencesConfigurationPage;
class PreferencesPatternPage; class PreferencesPatternPage;
class PreferencesPathPage; class PreferencesPathPage;
class QListWidgetItem; class QListWidgetItem;
class VPattern;
class DialogPreferences : public QDialog class DialogPreferences : public QDialog
{ {

View File

@ -30,6 +30,7 @@
#include "ui_vwidgetgroups.h" #include "ui_vwidgetgroups.h"
#include "../vtools/dialogs/tools/dialoggroup.h" #include "../vtools/dialogs/tools/dialoggroup.h"
#include "../vtools/undocommands/delgroup.h" #include "../vtools/undocommands/delgroup.h"
#include "../vpatterndb/vcontainer.h"
#include <QMenu> #include <QMenu>

View File

@ -40,6 +40,7 @@
#include "../tools/dialogtool.h" #include "../tools/dialogtool.h"
template <class T> class QSharedPointer; template <class T> class QSharedPointer;
class VMeasurement;
namespace Ui namespace Ui
{ {

View File

@ -28,6 +28,7 @@
#include "dialoginsertnode.h" #include "dialoginsertnode.h"
#include "ui_dialoginsertnode.h" #include "ui_dialoginsertnode.h"
#include "../vpatterndb/vcontainer.h"
//--------------------------------------------------------------------------------------------------------------------- //---------------------------------------------------------------------------------------------------------------------
DialogInsertNode::DialogInsertNode(const VContainer *data, quint32 toolId, QWidget *parent) DialogInsertNode::DialogInsertNode(const VContainer *data, quint32 toolId, QWidget *parent)

View File

@ -32,6 +32,7 @@
#include <QtGlobal> #include <QtGlobal>
#include "../visline.h" #include "../visline.h"
#include "../vpatterndb/vcontainer.h"
class VisOperation : public VisLine class VisOperation : public VisLine
{ {

View File

@ -29,6 +29,7 @@
#include "vistoolpin.h" #include "vistoolpin.h"
#include "../vwidgets/vsimplepoint.h" #include "../vwidgets/vsimplepoint.h"
#include "../vgeometry/vpointf.h" #include "../vgeometry/vpointf.h"
#include "../vpatterndb/vcontainer.h"
//--------------------------------------------------------------------------------------------------------------------- //---------------------------------------------------------------------------------------------------------------------
VisToolPin::VisToolPin(const VContainer *data, QGraphicsItem *parent) VisToolPin::VisToolPin(const VContainer *data, QGraphicsItem *parent)

View File

@ -41,6 +41,8 @@
#include "../vmisc/def.h" #include "../vmisc/def.h"
#include "visline.h" #include "visline.h"
class VArc;
class VisToolPointFromArcAndTangent : public VisLine class VisToolPointFromArcAndTangent : public VisLine
{ {
Q_OBJECT Q_OBJECT

View File

@ -29,6 +29,7 @@
#include "vispiecepins.h" #include "vispiecepins.h"
#include "../vwidgets/vsimplepoint.h" #include "../vwidgets/vsimplepoint.h"
#include "../vgeometry/vpointf.h" #include "../vgeometry/vpointf.h"
#include "../vpatterndb/vcontainer.h"
//--------------------------------------------------------------------------------------------------------------------- //---------------------------------------------------------------------------------------------------------------------
VisPiecePins::VisPiecePins(const VContainer *data, QGraphicsItem *parent) VisPiecePins::VisPiecePins(const VContainer *data, QGraphicsItem *parent)

View File

@ -37,15 +37,16 @@
#include "../vmisc/def.h" #include "../vmisc/def.h"
#include "../vmisc/logging.h" #include "../vmisc/logging.h"
#include "../vmisc/vabstractapplication.h" #include "../vmisc/vabstractapplication.h"
#include "../vpatterndb/vcontainer.h"
#include "../vwidgets/vmaingraphicsscene.h" #include "../vwidgets/vmaingraphicsscene.h"
#include "../vwidgets/vcurvepathitem.h" #include "../vwidgets/vcurvepathitem.h"
#include "../vwidgets/global.h" #include "../vwidgets/global.h"
#include "../vgeometry/vabstractcurve.h"
Q_DECLARE_LOGGING_CATEGORY(vVis) Q_DECLARE_LOGGING_CATEGORY(vVis)
class VScaledEllipse; class VScaledEllipse;
class VScaledLine; class VScaledLine;
class VContainer;
enum class Mode : char {Creation, Show}; enum class Mode : char {Creation, Show};