Move classes VGraphicsSimpleTextItem and VControlPointSpline to library

VWidgets.

--HG--
branch : feature
This commit is contained in:
Roman Telezhynskyi 2015-06-15 16:59:19 +03:00
parent 2c49348495
commit f4aeff48cd
7 changed files with 12 additions and 9 deletions

View File

@ -2,8 +2,6 @@
# This need for corect working file translations.pro # This need for corect working file translations.pro
HEADERS += \ HEADERS += \
$$PWD/vgraphicssimpletextitem.h \
$$PWD/vcontrolpointspline.h \
$$PWD/visline.h \ $$PWD/visline.h \
$$PWD/vistoolline.h \ $$PWD/vistoolline.h \
$$PWD/vistoolendline.h \ $$PWD/vistoolendline.h \
@ -33,8 +31,6 @@ HEADERS += \
$$PWD/vistoolarcwithlength.h $$PWD/vistoolarcwithlength.h
SOURCES += \ SOURCES += \
$$PWD/vgraphicssimpletextitem.cpp \
$$PWD/vcontrolpointspline.cpp \
$$PWD/visline.cpp \ $$PWD/visline.cpp \
$$PWD/vistoolline.cpp \ $$PWD/vistoolline.cpp \
$$PWD/vistoolendline.cpp \ $$PWD/vistoolendline.cpp \

View File

@ -31,8 +31,8 @@
#include <QGraphicsEllipseItem> #include <QGraphicsEllipseItem>
#include <QObject> #include <QObject>
#include "../libs/vgeometry/vsplinepath.h" #include "../vgeometry/vsplinepath.h"
#include "../libs/vmisc/def.h" #include "../vmisc/def.h"
/** /**
* @brief The VControlPointSpline class control spline point. * @brief The VControlPointSpline class control spline point.

View File

@ -33,6 +33,7 @@
#include <QStyleOptionGraphicsItem> #include <QStyleOptionGraphicsItem>
#include <QGraphicsSceneMouseEvent> #include <QGraphicsSceneMouseEvent>
#include <QKeyEvent> #include <QKeyEvent>
#include <QGraphicsScene>
//--------------------------------------------------------------------------------------------------------------------- //---------------------------------------------------------------------------------------------------------------------
/** /**

View File

@ -31,7 +31,7 @@
#include <QGraphicsSimpleTextItem> #include <QGraphicsSimpleTextItem>
#include <QObject> #include <QObject>
#include "../libs/vmisc/def.h" #include "../vmisc/def.h"
/** /**
* @brief The VGraphicsSimpleTextItem class pointer label. * @brief The VGraphicsSimpleTextItem class pointer label.

View File

@ -8,7 +8,9 @@ SOURCES += \
$$PWD/vmaingraphicsscene.cpp \ $$PWD/vmaingraphicsscene.cpp \
$$PWD/vmaingraphicsview.cpp \ $$PWD/vmaingraphicsview.cpp \
$$PWD/vsimplecurve.cpp \ $$PWD/vsimplecurve.cpp \
$$PWD/vwidgetpopup.cpp $$PWD/vwidgetpopup.cpp \
$$PWD/vcontrolpointspline.cpp \
$$PWD/vgraphicssimpletextitem.cpp
HEADERS += \ HEADERS += \
$$PWD/stable.h \ $$PWD/stable.h \
@ -17,4 +19,6 @@ HEADERS += \
$$PWD/vmaingraphicsscene.h \ $$PWD/vmaingraphicsscene.h \
$$PWD/vmaingraphicsview.h \ $$PWD/vmaingraphicsview.h \
$$PWD/vsimplecurve.h \ $$PWD/vsimplecurve.h \
$$PWD/vwidgetpopup.h $$PWD/vwidgetpopup.h \
$$PWD/vcontrolpointspline.h \
$$PWD/vgraphicssimpletextitem.h

View File

@ -7,6 +7,8 @@
# File with common stuff for whole project # File with common stuff for whole project
include(../../../Valentina.pri) include(../../../Valentina.pri)
QT += widgets
# Name of the library # Name of the library
TARGET = vwidgets TARGET = vwidgets