Unite "core" and "widgets" folders.

--HG--
branch : feature
This commit is contained in:
Roman Telezhynskyi 2015-06-15 16:10:55 +03:00
parent 6132153338
commit 63d5001899
28 changed files with 32 additions and 39 deletions

View File

@ -1,7 +1,6 @@
# Suport subdirectories. Just better project code tree.
include(dialogs/dialogs.pri)
include(tools/tools.pri)
include(widgets/widgets.pri)
include(xml/xml.pri)
include(undocommands/undocommands.pri)
include(visualization/visualization.pri)

View File

@ -4,9 +4,15 @@
HEADERS += \
$$PWD/vapplication.h \
$$PWD/vsettings.h \
$$PWD/vformula.h
$$PWD/vformula.h \
$$PWD/vformulaproperty.h \
$$PWD/vformulapropertyeditor.h \
$$PWD/vtooloptionspropertybrowser.h
SOURCES += \
$$PWD/vapplication.cpp \
$$PWD/vsettings.cpp \
$$PWD/vformula.cpp
$$PWD/vformula.cpp \
$$PWD/vformulaproperty.cpp \
$$PWD/vformulapropertyeditor.cpp \
$$PWD/vtooloptionspropertybrowser.cpp

View File

@ -33,7 +33,7 @@
#include <QVBoxLayout>
#include <QStackedWidget>
#include <QCloseEvent>
#include "../core/vapplication.h"
#include "../../core/vapplication.h"
//---------------------------------------------------------------------------------------------------------------------
ConfigDialog::ConfigDialog(QWidget *parent) :

View File

@ -33,7 +33,7 @@
#include <QDesktopServices>
#include <QMessageBox>
#include "../../options.h"
#include "../core/vapplication.h"
#include "../../core/vapplication.h"
//---------------------------------------------------------------------------------------------------------------------
DialogAboutApp::DialogAboutApp(QWidget *parent) :

View File

@ -28,8 +28,8 @@
#include "dialoglayoutprogress.h"
#include "ui_dialoglayoutprogress.h"
#include "../options.h"
#include "../core/vapplication.h"
#include "../../options.h"
#include "../../core/vapplication.h"
#include <QMessageBox>
#include <QPushButton>

View File

@ -28,7 +28,7 @@
#include "dialogmeasurements.h"
#include "ui_dialogmeasurements.h"
#include "../core/vapplication.h"
#include "../../core/vapplication.h"
//---------------------------------------------------------------------------------------------------------------------
DialogMeasurements::DialogMeasurements(QWidget *parent) :

View File

@ -28,7 +28,7 @@
#include "dialogpatternxmledit.h"
#include "ui_dialogpatternxmledit.h"
#include "../core/vapplication.h"
#include "../../core/vapplication.h"
#include <QInputDialog>
#include <QMessageBox>

View File

@ -28,7 +28,7 @@
#include "dialogsavelayout.h"
#include "ui_dialogsavelayout.h"
#include "../options.h"
#include "../../options.h"
#include "../../core/vapplication.h"
#include "../../core/vsettings.h"

View File

@ -32,7 +32,7 @@
#include "../../libs/vgeometry/vpointf.h"
#include "../../libs/vpatterndb/vcontainer.h"
#include "../../tools/vabstracttool.h"
#include "../visualization/vistoolheight.h"
#include "../../visualization/vistoolheight.h"
#include "../../libs/vwidgets/vmaingraphicsscene.h"
//---------------------------------------------------------------------------------------------------------------------

View File

@ -28,7 +28,7 @@
#include "dialognormal.h"
#include "ui_dialognormal.h"
#include "../visualization/vistoolnormal.h"
#include "../../visualization/vistoolnormal.h"
#include "../../../libs/vwidgets/vmaingraphicsscene.h"
#include "../../tools/vabstracttool.h"
#include "dialogeditwrongformula.h"

View File

@ -41,7 +41,7 @@
#include "../libs/vmisc/undoevent.h"
#include "core/vsettings.h"
#include "undocommands/renamepp.h"
#include "vtooloptionspropertybrowser.h"
#include "core/vtooloptionspropertybrowser.h"
#include "options.h"
#include "../libs/ifc/xml/vpatternconverter.h"
#include "../vmisc/logging.h"

View File

@ -27,13 +27,13 @@
*************************************************************************/
#include "mainwindowsnogui.h"
#include "../core/vapplication.h"
#include "core/vapplication.h"
#include "../libs/vpatterndb/vcontainer.h"
#include "../libs/vobj/vobjpaintdevice.h"
#include "../dialogs/app/dialoglayoutsettings.h"
#include "dialogs/app/dialoglayoutsettings.h"
#include "../libs/vlayout/vlayoutgenerator.h"
#include "../dialogs/app/dialoglayoutprogress.h"
#include "../dialogs/app/dialogsavelayout.h"
#include "dialogs/app/dialoglayoutprogress.h"
#include "dialogs/app/dialogsavelayout.h"
#include "../libs/vlayout/vposter.h"
#include <QFileDialog>

View File

@ -29,8 +29,8 @@
#include "vdrawtool.h"
#include <qmuparsererror.h>
#include "../dialogs/tools/dialogeditwrongformula.h"
#include "../dialogs/app/dialogundo.h"
#include "../../dialogs/tools/dialogeditwrongformula.h"
#include "../../dialogs/app/dialogundo.h"
#include "../libs/vpatterndb/calculator.h"
#include "../../undocommands/addtocalc.h"
#include "../../undocommands/savetooloptions.h"

View File

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

View File

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

View File

@ -32,7 +32,7 @@
#include "../../dialogs/tools/dialogcurveintersectaxis.h"
#include "../../dialogs/tools/dialogeditwrongformula.h"
#include "../../libs/vgeometry/vpointf.h"
#include "./../visualization/vistoolcurveintersectaxis.h"
#include "../../visualization/vistoolcurveintersectaxis.h"
const QString VToolCurveIntersectAxis::ToolType = QStringLiteral("curveIntersectAxis");

View File

@ -32,7 +32,7 @@
#include "../../dialogs/tools/dialogendline.h"
#include "../../dialogs/tools/dialogeditwrongformula.h"
#include "../../libs/vgeometry/vpointf.h"
#include "./../visualization/vistoolendline.h"
#include "../../visualization/vistoolendline.h"
const QString VToolEndLine::ToolType = QStringLiteral("endLine");

View File

@ -32,7 +32,7 @@
#include "../../dialogs/tools/dialoglineintersectaxis.h"
#include "../../dialogs/tools/dialogeditwrongformula.h"
#include "../../libs/vgeometry/vpointf.h"
#include "./../visualization/vistoollineintersectaxis.h"
#include "../../visualization/vistoollineintersectaxis.h"
const QString VToolLineIntersectAxis::ToolType = QStringLiteral("lineIntersectAxis");

View File

@ -30,7 +30,7 @@
#define VTOOLLINEPOINT_H
#include "vtoolpoint.h"
#include "../core/vformula.h"
#include "../../core/vformula.h"
/**
* @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/varc.h"
#include "../../visualization/vistoolpointfromcircleandtangent.h"
#include "../core/vformula.h"
#include "../../core/vformula.h"
const QString VToolPointFromCircleAndTangent::ToolType = QStringLiteral("pointFromCircleAndTangent");

View File

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

View File

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