One TS file for whole project.

Main reason make posible translate strings from qmuparser library.

--HG--
branch : develop
This commit is contained in:
dismine 2014-12-03 16:11:57 +02:00
parent 75428cd07c
commit 7e86dcc97f
29 changed files with 9897 additions and 22771 deletions

View File

@ -2,4 +2,4 @@
# Run this script if you want release all translated string in program. # Run this script if you want release all translated string in program.
# lrelease doesn't work with recursive *.pro file and without direct pointing to correct *.pro doesn't find anything. # lrelease doesn't work with recursive *.pro file and without direct pointing to correct *.pro doesn't find anything.
# Please run this script from folder <root_folder>/scripts. # Please run this script from folder <root_folder>/scripts.
lrelease ../src/app/app.pro lrelease -compress -removeidentical -nounfinished ../share/translations.pro

View File

@ -2,4 +2,4 @@
# Run this script if you want find and update all string in code. # Run this script if you want find and update all string in code.
# lupdate doesn't work with recursive *.pro file and without direct pointing to correct *.pro file just update exists strings in code. # lupdate doesn't work with recursive *.pro file and without direct pointing to correct *.pro file just update exists strings in code.
# Please run this script from folder <root_folder>/scripts. # Please run this script from folder <root_folder>/scripts.
lupdate ../src/app/app.pro lupdate -recursive ../share/translations.pro

33
share/translations.pro Normal file
View File

@ -0,0 +1,33 @@
# Don't use this pro file for building project!!!
# I made this hack for creation one TS file for whole project.
# Because we have several libraries that also have strings for translation, have several TS files for each
# subproject annoying.
#
# Original idea "How to generate a single translation file for a large Qt project?"
# https://stackoverflow.com/questions/1829474/how-to-generate-a-single-translation-file-for-a-large-qt-project
TEMPLATE = app
DEPENDPATH += \
../src/app \
../src/libs/qmuparser \
../src/libs/vpropertyexplorer
include(../src/app/app.pri)
include(../src/libs/qmuparser/qmuparser.pri)
include(../src/libs/vpropertyexplorer/vpropertyexplorer.pri)
# Add here path to new translation file with name "valentina_*_*.ts" if you want to add new language.
# Same paths in variable INSTALL_TRANSLATIONS (app.pro).
# File valentina.ts we use in transifex.com. It is empty translation file only with english inside. transifex.com use
# this file like base for new language. Don't add path to valentina.ts to INSTALL_TRANSLATIONS variable (app.pro).
# When adding a translation here, also add it in the macx part (app.pro).
TRANSLATIONS += translations/valentina.ts \
translations/valentina_ru_RU.ts \
translations/valentina_uk_UA.ts \
translations/valentina_de_DE.ts \
translations/valentina_cs_CZ.ts \
translations/valentina_he_IL.ts \
translations/valentina_fr_FR.ts \
translations/valentina_it_IT.ts \
translations/valentina_nl_NL.ts

View File

@ -1,234 +1,38 @@
#------------------------------------------------- # Suport subdirectories. Just better project code tree.
# include(container/container.pri)
# Project created by QtCreator 2013-06-18T12:36:43 include(dialogs/dialogs.pri)
# include(exception/exception.pri)
#------------------------------------------------- include(geometry/geometry.pri)
include(tools/tools.pri)
include(widgets/widgets.pri)
include(xml/xml.pri)
include(undocommands/undocommands.pri)
include(visualization/visualization.pri)
include(core/core.pri)
# Use out-of-source builds (shadow builds) # ADD TO EACH PATH $$PWD VARIABLE!!!!!!
# This need for corect working file translations.pro
QT += core gui widgets xml svg printsupport xmlpatterns
TEMPLATE = app
TARGET = valentina
CONFIG -= debug_and_release debug_and_release_target
CONFIG += c++11
#DEFINES += ...
# directory for executable file
DESTDIR = bin
# files created moc
MOC_DIR = moc
# objecs files
OBJECTS_DIR = obj
# files created rcc
RCC_DIR = rcc
# files created uic
UI_DIR = uic
include(src/app/container/container.pri)
include(src/app/dialogs/dialogs.pri)
include(src/app/exception/exception.pri)
include(src/app/geometry/geometry.pri)
include(src/app/tools/tools.pri)
include(src/app/widgets/widgets.pri)
include(src/app/xml/xml.pri)
# Some source files
SOURCES += \ SOURCES += \
src/app/main.cpp \ $$PWD/main.cpp \
src/app/mainwindow.cpp \ $$PWD/mainwindow.cpp \
src/app/tablewindow.cpp \ $$PWD/tablewindow.cpp \
src/app/stable.cpp \ $$PWD/stable.cpp \
src/app/version.cpp $$PWD/version.cpp \
$$PWD/options.cpp
# Some header files
HEADERS += \ HEADERS += \
src/app/mainwindow.h \ $$PWD/mainwindow.h \
src/app/options.h \ $$PWD/options.h \
src/app/tablewindow.h \ $$PWD/tablewindow.h \
src/app/stable.h \ $$PWD/stable.h \
src/app/version.h $$PWD/version.h
# Main forms
FORMS += \ FORMS += \
src/app/mainwindow.ui \ $$PWD/mainwindow.ui \
src/app/tablewindow.ui $$PWD/tablewindow.ui
RESOURCES += \
share/resources/icon.qrc \
share/resources/cursor.qrc \
share/resources/theme.qrc \
share/resources/schema.qrc
OTHER_FILES += share/resources/valentina.rc \
share/resources/icon/64x64/icon64x64.ico
TRANSLATIONS += share/translations/valentina.ts \
share/translations/valentina_ru.ts \
share/translations/valentina_uk.ts \
share/translations/valentina_de.ts \
share/translations/valentina_cs.ts \
share/translations/valentina_he_IL.ts \
share/translations/valentina_fr.ts
unix {
QMAKE_CXX = ccache g++
}
CONFIG += precompile_header
# Precompiled headers (PCH)
PRECOMPILED_HEADER = src/stable.h
win32-msvc* {
PRECOMPILED_SOURCE = src/stable.cpp
}
CONFIG(debug, debug|release){
# Debug
unix {
*-g++{
QMAKE_CXXFLAGS += -isystem "/usr/include/qt5" -isystem "/usr/include/qt5/QtWidgets" \
-isystem "/usr/include/qt5/QtXml" -isystem "/usr/include/qt5/QtGui" \
-isystem "/usr/include/qt5/QtCore" -isystem "$${UI_DIR}" -isystem "$${MOC_DIR}" \
-isystem "$${RCC_DIR}" \
-O0 -Wall -Wextra -pedantic -Weffc++ -Woverloaded-virtual -Wctor-dtor-privacy \
-Wnon-virtual-dtor -Wold-style-cast -Wconversion -Winit-self -Wstack-protector \
-Wunreachable-code -Wcast-align -Wcast-qual -Wdisabled-optimization -Wfloat-equal \
-Wformat=2 -Wimport \
-Winvalid-pch -Wunsafe-loop-optimizations -Wlong-long -Wmissing-format-attribute \
-Wmissing-include-dirs -Wpacked -Wredundant-decls -Winline \
-Wswitch-default -Wswitch-enum -Wuninitialized -Wvariadic-macros \
-Wlogical-op -Wnoexcept -Wmissing-noreturn -Wpointer-arith\
-Wstrict-null-sentinel -Wstrict-overflow=5 -Wundef -Wno-unused -gdwarf-3
-ftrapv
}
} else {
*-g++{#Don't use additional GCC keys on Windows system.
QMAKE_CXXFLAGS += -O0 -Wall -Wextra -pedantic
}
}
}else{
# Release
*-g++{
QMAKE_CXXFLAGS += -O2
}
DEFINES += QT_NO_DEBUG_OUTPUT
}
message(Qt version: $$[QT_VERSION])
message(Qt is installed in $$[QT_INSTALL_PREFIX])
message(Qt resources can be found in the following locations:)
message(Documentation: $$[QT_INSTALL_DOCS])
message(Header files: $$[QT_INSTALL_HEADERS])
message(Libraries: $$[QT_INSTALL_LIBS])
message(Binary files (executables): $$[QT_INSTALL_BINS])
message(Plugins: $$[QT_INSTALL_PLUGINS])
message(Data files: $$[QT_INSTALL_DATA])
message(Translation files: $$[QT_INSTALL_TRANSLATIONS])
message(Settings: $$[QT_INSTALL_SETTINGS])
message(Examples: $$[QT_INSTALL_EXAMPLES])
win32:RC_FILE = share/resources/valentina.rc
# Remove generated files at cleaning
QMAKE_DISTCLEAN += $${DESTDIR}/* \
$${OBJECTS_DIR}/* \
$${UI_DIR}/* \
$${MOC_DIR}/* \
$${RCC_DIR}/* \
$$PWD/share/translations/valentina_*.qm
INSTALL_TRANSLATIONS += share/translations/valentina_ru.qm \
share/translations/valentina_uk.qm \
share/translations/valentina_de.qm \
share/translations/valentina_cs.qm \
share/translations/valentina_he_IL.qm \
share/translations/valentina_fr.qm
INSTALL_STANDARD_MEASHUREMENTS += share/tables/standard/GOST_man_ru.vst
INSTALL_INDIVIDUAL_MEASHUREMENTS += share/tables/individual/indivindual_ru.vit
unix {
#VARIABLES
isEmpty(PREFIX) {
PREFIX = /usr
}
BINDIR = $$PREFIX/bin
DATADIR =$$PREFIX/share
DEFINES += DATADIR=\\\"$$DATADIR\\\" PKGDATADIR=\\\"$$PKGDATADIR\\\"
#MAKE INSTALL
target.path = $$BINDIR
desktop.path = $$DATADIR/applications/
desktop.files += dist/$${TARGET}.desktop
pixmaps.path = $$DATADIR/pixmaps/
pixmaps.files += dist/$${TARGET}.png
translations.path = $$DATADIR/$${TARGET}/translations/
translations.files = $$INSTALL_TRANSLATIONS
standard.path = $$DATADIR/$${TARGET}/tables/standard/
standard.files = $$INSTALL_STANDARD_MEASHUREMENTS
individual.path = $$DATADIR/$${TARGET}/tables/individual/
individual.files = $$INSTALL_INDIVIDUAL_MEASHUREMENTS
INSTALLS += target \
desktop \
pixmaps \
translations \
standard \
individual
}
!isEmpty(TRANSLATIONS): {
for(_translation_name, TRANSLATIONS) {
_translation_name_qm = $$section(_translation_name,".", 0, 0).qm
system($$shell_path($$[QT_INSTALL_BINS]/lrelease) $$shell_path($$PWD/$$_translation_name) -qm $$shell_path($$PWD/$$_translation_name_qm))
}
}
# Copies the given files to the destination directory
defineTest(copyToDestdir) {
files = $$1
DDIR = $$2
mkpath($$DDIR)
for(FILE, files) {
# Replace slashes in paths with backslashes for Windows
win32{
FILE ~= s,/,\\,g
DDIR ~= s,/,\\,g
}
QMAKE_POST_LINK += $$QMAKE_COPY $$quote($$FILE) $$quote($$DDIR) $$escape_expand(\\n\\t)
}
export(QMAKE_POST_LINK)
}
for(DIR, INSTALL_TRANSLATIONS) {
#add these absolute paths to a variable which
#ends up as 'mkcommands = path1 path2 path3 ...'
tr_path += $$PWD/$$DIR
}
copyToDestdir($$tr_path, $$shell_path($$OUT_PWD/$$DESTDIR/translations))
for(DIR, INSTALL_STANDARD_MEASHUREMENTS) {
#add these absolute paths to a variable which
#ends up as 'mkcommands = path1 path2 path3 ...'
st_path += $$PWD/$$DIR
}
copyToDestdir($$st_path, $$shell_path($$OUT_PWD/$$DESTDIR/tables/standard))
for(DIR, INSTALL_INDIVIDUAL_MEASHUREMENTS) {
#add these absolute paths to a variable which
#ends up as 'mkcommands = path1 path2 path3 ...'
ind_path += $$PWD/$$DIR
}
copyToDestdir($$ind_path, $$shell_path($$OUT_PWD/$$DESTDIR/tables/individual))

View File

@ -41,42 +41,11 @@ RCC_DIR = rcc
UI_DIR = uic UI_DIR = uic
# Suport subdirectories. Just better project code tree. # Suport subdirectories. Just better project code tree.
include(container/container.pri) include(app.pri)
include(dialogs/dialogs.pri)
include(exception/exception.pri)
include(geometry/geometry.pri)
include(tools/tools.pri)
include(widgets/widgets.pri)
include(xml/xml.pri)
include(undocommands/undocommands.pri)
include(visualization/visualization.pri)
include(core/core.pri)
# This include path help promoute VMainGraphicsView on main window. Without it compiler can't find path to custom view # This include path help promoute VMainGraphicsView on main window. Without it compiler can't find path to custom view
INCLUDEPATH += "$${PWD}/widgets" INCLUDEPATH += "$${PWD}/widgets"
# Some source files
SOURCES += \
main.cpp \
mainwindow.cpp \
tablewindow.cpp \
stable.cpp \
version.cpp \
options.cpp
# Some header files
HEADERS += \
mainwindow.h \
options.h \
tablewindow.h \
stable.h \
version.h
# Main forms
FORMS += \
mainwindow.ui \
tablewindow.ui
# Resource files. This files will be included in binary. # Resource files. This files will be included in binary.
RESOURCES += \ RESOURCES += \
share/resources/icon.qrc \ # All other icons except cursors and Windows theme. share/resources/icon.qrc \ # All other icons except cursors and Windows theme.
@ -90,22 +59,6 @@ OTHER_FILES += \
share/resources/valentina.rc \ # For Windows system. share/resources/valentina.rc \ # For Windows system.
share/resources/icon/64x64/icon64x64.ico # Valentina's logo. share/resources/icon/64x64/icon64x64.ico # Valentina's logo.
# Add here path to new translation file with name "valentina_*_*.ts" if you want to add new language.
# Same paths in variable INSTALL_TRANSLATIONS.
# File valentina.ts we use in transifex.com. It is empty translation file only with english inside. transifex.com use
# this file like base for new language. Don't add path to valentina.ts to INSTALL_TRANSLATIONS variable.
# When adding a translation here, also add it in the macx part.
TRANSLATIONS += share/translations/valentina.ts \
share/translations/valentina_ru_RU.ts \
share/translations/valentina_uk_UA.ts \
share/translations/valentina_de_DE.ts \
share/translations/valentina_cs_CZ.ts \
share/translations/valentina_he_IL.ts \
share/translations/valentina_fr_FR.ts \
share/translations/valentina_it_IT.ts \
share/translations/valentina_nl_NL.ts
# Set using ccache. Function enable_ccache() defined in Valentina.pri. # Set using ccache. Function enable_ccache() defined in Valentina.pri.
macx { macx {
CONFIG(debug, debug|release){ CONFIG(debug, debug|release){
@ -190,17 +143,20 @@ win32:RC_FILE = share/resources/valentina.rc
# Keep path to all files with standard measurements we support right now # Keep path to all files with standard measurements we support right now
INSTALL_STANDARD_MEASHUREMENTS += share/resources/tables/standard/GOST_man_ru.vst INSTALL_STANDARD_MEASHUREMENTS += share/resources/tables/standard/GOST_man_ru.vst
TRANSLATIONS_PATH = ../../share/translations
# Add to this variable all translation files that you want install with program. # Add to this variable all translation files that you want install with program.
# For generation *.qm file first you need create *.ts. See section TRANSLATIONS. # For generation *.qm file first you need create *.ts.
# See section TRANSLATIONS in file ../../share/translations/translations.pro.
INSTALL_TRANSLATIONS += \ INSTALL_TRANSLATIONS += \
share/translations/valentina_ru_RU.qm \ $${TRANSLATIONS_PATH}/valentina_ru_RU.qm \
share/translations/valentina_uk_UA.qm \ $${TRANSLATIONS_PATH}/valentina_uk_UA.qm \
share/translations/valentina_de_DE.qm \ $${TRANSLATIONS_PATH}/valentina_de_DE.qm \
share/translations/valentina_cs_CZ.qm \ $${TRANSLATIONS_PATH}/valentina_cs_CZ.qm \
share/translations/valentina_he_IL.qm \ $${TRANSLATIONS_PATH}/valentina_he_IL.qm \
share/translations/valentina_fr_FR.qm \ $${TRANSLATIONS_PATH}/valentina_fr_FR.qm \
share/translations/valentina_it_IT.qm \ $${TRANSLATIONS_PATH}/valentina_it_IT.qm \
share/translations/valentina_nl_NL.qm $${TRANSLATIONS_PATH}/valentina_nl_NL.qm
# Set "make install" command for Unix-like systems. # Set "make install" command for Unix-like systems.
unix{ unix{
@ -252,66 +208,66 @@ unix{
target.path = $$PREFIX/ target.path = $$PREFIX/
# Copy in bundle translation files. # Copy in bundle translation files.
exists(share/translations/valentina_ru_RU.qm){ exists($${TRANSLATIONS_PATH}/valentina_ru_RU.qm){
TRANSLATION_ru_RU.files += \ TRANSLATION_ru_RU.files += \
share/translations/valentina_ru_RU.qm \ $${TRANSLATIONS_PATH}/valentina_ru_RU.qm \
share/translations/Localizable.strings $${TRANSLATIONS_PATH}/Localizable.strings
TRANSLATION_ru_RU.path = "$$RESOURCES_DIR/translations/ru_RU.lproj" TRANSLATION_ru_RU.path = "$$RESOURCES_DIR/translations/ru_RU.lproj"
QMAKE_BUNDLE_DATA += TRANSLATION_ru_RU QMAKE_BUNDLE_DATA += TRANSLATION_ru_RU
} }
exists(share/translations/valentina_uk_UA.qm){ exists($${TRANSLATIONS_PATH}/valentina_uk_UA.qm){
TRANSLATION_uk_UA.files += \ TRANSLATION_uk_UA.files += \
share/translations/valentina_uk_UA.qm \ $${TRANSLATIONS_PATH}/valentina_uk_UA.qm \
share/translations/Localizable.strings $${TRANSLATIONS_PATH}/Localizable.strings
TRANSLATION_uk_UA.path = "$$RESOURCES_DIR/translations/uk_UA.lproj" TRANSLATION_uk_UA.path = "$$RESOURCES_DIR/translations/uk_UA.lproj"
QMAKE_BUNDLE_DATA += TRANSLATION_uk_UA QMAKE_BUNDLE_DATA += TRANSLATION_uk_UA
} }
exists(share/translations/valentina_de_DE.qm){ exists($${TRANSLATIONS_PATH}/valentina_de_DE.qm){
TRANSLATION_de_DE.files += \ TRANSLATION_de_DE.files += \
share/translations/valentina_de_DE.qm \ $${TRANSLATIONS_PATH}/valentina_de_DE.qm \
share/translations/Localizable.strings $${TRANSLATIONS_PATH}/Localizable.strings
TRANSLATION_de_DE.path = "$$RESOURCES_DIR/translations/de_DE.lproj" TRANSLATION_de_DE.path = "$$RESOURCES_DIR/translations/de_DE.lproj"
QMAKE_BUNDLE_DATA += TRANSLATION_de_DE QMAKE_BUNDLE_DATA += TRANSLATION_de_DE
} }
exists(share/translations/valentina_cs_CZ.qm){ exists($${TRANSLATIONS_PATH}/valentina_cs_CZ.qm){
TRANSLATION_cs_CZ.files += \ TRANSLATION_cs_CZ.files += \
share/translations/valentina_cs_CZ.qm \ $${TRANSLATIONS_PATH}/valentina_cs_CZ.qm \
share/translations/Localizable.strings $${TRANSLATIONS_PATH}/Localizable.strings
TRANSLATION_cs_CZ.path = "$$RESOURCES_DIR/translations/cs_CZ.lproj" TRANSLATION_cs_CZ.path = "$$RESOURCES_DIR/translations/cs_CZ.lproj"
QMAKE_BUNDLE_DATA += TRANSLATION_cs_CZ QMAKE_BUNDLE_DATA += TRANSLATION_cs_CZ
} }
exists(share/translations/valentina_he_IL.qm){ exists($${TRANSLATIONS_PATH}/valentina_he_IL.qm){
TRANSLATION_he_IL.files += \ TRANSLATION_he_IL.files += \
share/translations/valentina_he_IL.qm \ $${TRANSLATIONS_PATH}/valentina_he_IL.qm \
share/translations/Localizable.strings $${TRANSLATIONS_PATH}/Localizable.strings
TRANSLATION_he_IL.path = "$$RESOURCES_DIR/translations/he_IL.lproj" TRANSLATION_he_IL.path = "$$RESOURCES_DIR/translations/he_IL.lproj"
QMAKE_BUNDLE_DATA += TRANSLATION_he_IL QMAKE_BUNDLE_DATA += TRANSLATION_he_IL
} }
exists(share/translations/valentina_fr_FR.qm){ exists($${TRANSLATIONS_PATH}/valentina_fr_FR.qm){
TRANSLATION_fr_FR.files += \ TRANSLATION_fr_FR.files += \
share/translations/valentina_fr_FR.qm \ $${TRANSLATIONS_PATH}/valentina_fr_FR.qm \
share/translations/Localizable.strings $${TRANSLATIONS_PATH}/Localizable.strings
TRANSLATION_fr_FR.path = "$$RESOURCES_DIR/translations/fr_FR.lproj" TRANSLATION_fr_FR.path = "$$RESOURCES_DIR/translations/fr_FR.lproj"
QMAKE_BUNDLE_DATA += TRANSLATION_fr_FR QMAKE_BUNDLE_DATA += TRANSLATION_fr_FR
} }
exists(share/translations/valentina_it_IT.qm){ exists($${TRANSLATIONS_PATH}/valentina_it_IT.qm){
TRANSLATION_it_IT.files += \ TRANSLATION_it_IT.files += \
share/translations/valentina_it_IT.qm \ $${TRANSLATIONS_PATH}/valentina_it_IT.qm \
share/translations/Localizable.strings $${TRANSLATIONS_PATH}/Localizable.strings
TRANSLATION_it_IT.path = "$$RESOURCES_DIR/translations/it_IT.lproj" TRANSLATION_it_IT.path = "$$RESOURCES_DIR/translations/it_IT.lproj"
QMAKE_BUNDLE_DATA += TRANSLATION_it_IT QMAKE_BUNDLE_DATA += TRANSLATION_it_IT
} }
exists(share/translations/valentina_nl_NL.qm){ exists($${TRANSLATIONS_PATH}/valentina_nl_NL.qm){
TRANSLATION_nl_NL.files += \ TRANSLATION_nl_NL.files += \
share/translations/valentina_nl_NL.qm \ $${TRANSLATIONS_PATH}/valentina_nl_NL.qm \
share/translations/Localizable.strings $${TRANSLATIONS_PATH}/Localizable.strings
TRANSLATION_nl_NL.path = "$$RESOURCES_DIR/translations/nl_NL.lproj" TRANSLATION_nl_NL.path = "$$RESOURCES_DIR/translations/nl_NL.lproj"
QMAKE_BUNDLE_DATA += TRANSLATION_nl_NL QMAKE_BUNDLE_DATA += TRANSLATION_nl_NL
} }
@ -339,12 +295,11 @@ unix{
} }
# Run generation *.qm file for available *.ts files each time you run qmake. # Run generation *.qm file for available *.ts files each time you run qmake.
!isEmpty(TRANSLATIONS): { for(_translation_name, INSTALL_TRANSLATIONS) {
for(_translation_name, TRANSLATIONS) { _translation_name_qm = $$basename(_translation_name)
_translation_name_qm = $$section(_translation_name,".", 0, 0).qm _translation_name_ts = $$section(_translation_name_qm, ".", 0, 0).ts
system($$shell_path($$[QT_INSTALL_BINS]/lrelease) $$shell_path($${PWD}/$$_translation_name) -qm $$shell_path($${PWD}/$$_translation_name_qm)) system($$shell_path($$[QT_INSTALL_BINS]/lrelease) -compress -removeidentical -nounfinished $$shell_path($${PWD}/$${TRANSLATIONS_PATH}/$$_translation_name_ts) -qm $$shell_path($${PWD}/$$_translation_name))
}
} }
for(DIR, INSTALL_TRANSLATIONS) { for(DIR, INSTALL_TRANSLATIONS) {

View File

@ -1,35 +1,38 @@
# ADD TO EACH PATH $$PWD VARIABLE!!!!!!
# This need for corect working file translations.pro
SOURCES += \ SOURCES += \
container/vcontainer.cpp \ $$PWD/vcontainer.cpp \
container/calculator.cpp \ $$PWD/calculator.cpp \
container/variables/vmeasurement.cpp \ $$PWD/variables/vmeasurement.cpp \
container/variables/vincrement.cpp \ $$PWD/variables/vincrement.cpp \
container/variables/vvariable.cpp \ $$PWD/variables/vvariable.cpp \
container/variables/vinternalvariable.cpp \ $$PWD/variables/vinternalvariable.cpp \
container/variables/vlineangle.cpp \ $$PWD/variables/vlineangle.cpp \
container/variables/varclength.cpp \ $$PWD/variables/varclength.cpp \
container/variables/vcurvelength.cpp \ $$PWD/variables/vcurvelength.cpp \
container/variables/vlinelength.cpp \ $$PWD/variables/vlinelength.cpp \
container/variables/vsplinelength.cpp \ $$PWD/variables/vsplinelength.cpp \
container/vformula.cpp $$PWD/vformula.cpp
HEADERS += \ HEADERS += \
container/vcontainer.h \ $$PWD/vcontainer.h \
container/calculator.h \ $$PWD/calculator.h \
container/variables/vmeasurement.h \ $$PWD/variables/vmeasurement.h \
container/variables/vincrement.h \ $$PWD/variables/vincrement.h \
container/variables/vvariable.h \ $$PWD/variables/vvariable.h \
container/variables/vinternalvariable.h \ $$PWD/variables/vinternalvariable.h \
container/variables/vlineangle.h \ $$PWD/variables/vlineangle.h \
container/variables.h \ $$PWD/variables.h \
container/variables/vcurvelength.h \ $$PWD/variables/vcurvelength.h \
container/variables/varclength.h \ $$PWD/variables/varclength.h \
container/variables/vlinelength.h \ $$PWD/variables/vlinelength.h \
container/variables/vsplinelength.h \ $$PWD/variables/vsplinelength.h \
container/variables/vinternalvariable_p.h \ $$PWD/variables/vinternalvariable_p.h \
container/variables/vvariable_p.h \ $$PWD/variables/vvariable_p.h \
container/variables/vincrement_p.h \ $$PWD/variables/vincrement_p.h \
container/variables/vcurvelength_p.h \ $$PWD/variables/vcurvelength_p.h \
container/variables/vlineangle_p.h \ $$PWD/variables/vlineangle_p.h \
container/variables/vlinelength_p.h \ $$PWD/variables/vlinelength_p.h \
container/variables/vmeasurement_p.h \ $$PWD/variables/vmeasurement_p.h \
container/vformula.h $$PWD/vformula.h

View File

@ -1,11 +1,14 @@
# ADD TO EACH PATH $$PWD VARIABLE!!!!!!
# This need for corect working file translations.pro
HEADERS += \ HEADERS += \
core/vapplication.h \ $$PWD/vapplication.h \
core/vtranslation.h \ $$PWD/vtranslation.h \
core/undoevent.h \ $$PWD/undoevent.h \
core/vsettings.h $$PWD/vsettings.h
SOURCES += \ SOURCES += \
core/vapplication.cpp \ $$PWD/vapplication.cpp \
core/vtranslation.cpp \ $$PWD/vtranslation.cpp \
core/undoevent.cpp \ $$PWD/undoevent.cpp \
core/vsettings.cpp $$PWD/vsettings.cpp

View File

@ -1,115 +1,118 @@
# ADD TO EACH PATH $$PWD VARIABLE!!!!!!
# This need for corect working file translations.pro
HEADERS += \ HEADERS += \
dialogs/dialogs.h \ $$PWD/dialogs.h \
dialogs/tools/dialogtriangle.h \ $$PWD/tools/dialogtriangle.h \
dialogs/tools/dialogtool.h \ $$PWD/tools/dialogtool.h \
dialogs/tools/dialogsplinepath.h \ $$PWD/tools/dialogsplinepath.h \
dialogs/tools/dialogspline.h \ $$PWD/tools/dialogspline.h \
dialogs/tools/dialogsinglepoint.h \ $$PWD/tools/dialogsinglepoint.h \
dialogs/tools/dialogshoulderpoint.h \ $$PWD/tools/dialogshoulderpoint.h \
dialogs/tools/dialogpointofintersection.h \ $$PWD/tools/dialogpointofintersection.h \
dialogs/tools/dialogpointofcontact.h \ $$PWD/tools/dialogpointofcontact.h \
dialogs/tools/dialognormal.h \ $$PWD/tools/dialognormal.h \
dialogs/tools/dialoglineintersect.h \ $$PWD/tools/dialoglineintersect.h \
dialogs/tools/dialogline.h \ $$PWD/tools/dialogline.h \
dialogs/tools/dialogheight.h \ $$PWD/tools/dialogheight.h \
dialogs/tools/dialogendline.h \ $$PWD/tools/dialogendline.h \
dialogs/tools/dialogdetail.h \ $$PWD/tools/dialogdetail.h \
dialogs/tools/dialogbisector.h \ $$PWD/tools/dialogbisector.h \
dialogs/tools/dialogarc.h \ $$PWD/tools/dialogarc.h \
dialogs/tools/dialogalongline.h \ $$PWD/tools/dialogalongline.h \
dialogs/tools/dialogcutspline.h \ $$PWD/tools/dialogcutspline.h \
dialogs/tools/dialogcutsplinepath.h \ $$PWD/tools/dialogcutsplinepath.h \
dialogs/tools/dialoguniondetails.h \ $$PWD/tools/dialoguniondetails.h \
dialogs/tools/dialogcutarc.h \ $$PWD/tools/dialogcutarc.h \
dialogs/tools/dialogeditwrongformula.h \ $$PWD/tools/dialogeditwrongformula.h \
dialogs/tools/dialoglineintersectaxis.h \ $$PWD/tools/dialoglineintersectaxis.h \
dialogs/app/dialogincrements.h \ $$PWD/app/dialogincrements.h \
dialogs/app/dialoghistory.h \ $$PWD/app/dialoghistory.h \
dialogs/app/configdialog.h \ $$PWD/app/configdialog.h \
dialogs/app/configpages/pages.h \ $$PWD/app/configpages/pages.h \
dialogs/app/dialogpatternproperties.h \ $$PWD/app/dialogpatternproperties.h \
dialogs/app/dialogmeasurements.h \ $$PWD/app/dialogmeasurements.h \
dialogs/app/dialogstandardmeasurements.h \ $$PWD/app/dialogstandardmeasurements.h \
dialogs/app/dialogindividualmeasurements.h \ $$PWD/app/dialogindividualmeasurements.h \
dialogs/app/dialogaboutapp.h \ $$PWD/app/dialogaboutapp.h \
dialogs/app/dialogpatternxmledit.h \ $$PWD/app/dialogpatternxmledit.h \
dialogs/app/configpages/configurationpage.h \ $$PWD/app/configpages/configurationpage.h \
dialogs/app/configpages/patternpage.h \ $$PWD/app/configpages/patternpage.h \
dialogs/app/configpages/communitypage.h \ $$PWD/app/configpages/communitypage.h \
dialogs/app/configpages/pathpage.h \ $$PWD/app/configpages/pathpage.h \
dialogs/app/dialogundo.h \ $$PWD/app/dialogundo.h \
dialogs/tools/dialogcurveintersectaxis.h $$PWD/tools/dialogcurveintersectaxis.h
SOURCES += \ SOURCES += \
dialogs/tools/dialogtriangle.cpp \ $$PWD/tools/dialogtriangle.cpp \
dialogs/tools/dialogtool.cpp \ $$PWD/tools/dialogtool.cpp \
dialogs/tools/dialogsplinepath.cpp \ $$PWD/tools/dialogsplinepath.cpp \
dialogs/tools/dialogspline.cpp \ $$PWD/tools/dialogspline.cpp \
dialogs/tools/dialogsinglepoint.cpp \ $$PWD/tools/dialogsinglepoint.cpp \
dialogs/tools/dialogshoulderpoint.cpp \ $$PWD/tools/dialogshoulderpoint.cpp \
dialogs/tools/dialogpointofintersection.cpp \ $$PWD/tools/dialogpointofintersection.cpp \
dialogs/tools/dialogpointofcontact.cpp \ $$PWD/tools/dialogpointofcontact.cpp \
dialogs/tools/dialognormal.cpp \ $$PWD/tools/dialognormal.cpp \
dialogs/tools/dialoglineintersect.cpp \ $$PWD/tools/dialoglineintersect.cpp \
dialogs/tools/dialogline.cpp \ $$PWD/tools/dialogline.cpp \
dialogs/tools/dialogheight.cpp \ $$PWD/tools/dialogheight.cpp \
dialogs/tools/dialogendline.cpp \ $$PWD/tools/dialogendline.cpp \
dialogs/tools/dialogdetail.cpp \ $$PWD/tools/dialogdetail.cpp \
dialogs/tools/dialogbisector.cpp \ $$PWD/tools/dialogbisector.cpp \
dialogs/tools/dialogarc.cpp \ $$PWD/tools/dialogarc.cpp \
dialogs/tools/dialogalongline.cpp \ $$PWD/tools/dialogalongline.cpp \
dialogs/tools/dialogcutspline.cpp \ $$PWD/tools/dialogcutspline.cpp \
dialogs/tools/dialogcutsplinepath.cpp \ $$PWD/tools/dialogcutsplinepath.cpp \
dialogs/tools/dialoguniondetails.cpp \ $$PWD/tools/dialoguniondetails.cpp \
dialogs/tools/dialogcutarc.cpp \ $$PWD/tools/dialogcutarc.cpp \
dialogs/tools/dialogeditwrongformula.cpp \ $$PWD/tools/dialogeditwrongformula.cpp \
dialogs/tools/dialoglineintersectaxis.cpp \ $$PWD/tools/dialoglineintersectaxis.cpp \
dialogs/app/dialogincrements.cpp \ $$PWD/app/dialogincrements.cpp \
dialogs/app/dialoghistory.cpp \ $$PWD/app/dialoghistory.cpp \
dialogs/app/configdialog.cpp \ $$PWD/app/configdialog.cpp \
dialogs/app/dialogpatternproperties.cpp \ $$PWD/app/dialogpatternproperties.cpp \
dialogs/app/dialogmeasurements.cpp \ $$PWD/app/dialogmeasurements.cpp \
dialogs/app/dialogstandardmeasurements.cpp \ $$PWD/app/dialogstandardmeasurements.cpp \
dialogs/app/dialogindividualmeasurements.cpp \ $$PWD/app/dialogindividualmeasurements.cpp \
dialogs/app/dialogaboutapp.cpp \ $$PWD/app/dialogaboutapp.cpp \
dialogs/app/dialogpatternxmledit.cpp \ $$PWD/app/dialogpatternxmledit.cpp \
dialogs/app/configpages/configurationpage.cpp \ $$PWD/app/configpages/configurationpage.cpp \
dialogs/app/configpages/patternpage.cpp \ $$PWD/app/configpages/patternpage.cpp \
dialogs/app/configpages/communitypage.cpp \ $$PWD/app/configpages/communitypage.cpp \
dialogs/app/configpages/pathpage.cpp \ $$PWD/app/configpages/pathpage.cpp \
dialogs/app/dialogundo.cpp \ $$PWD/app/dialogundo.cpp \
dialogs/tools/dialogcurveintersectaxis.cpp $$PWD/tools/dialogcurveintersectaxis.cpp
FORMS += \ FORMS += \
dialogs/tools/dialogtriangle.ui \ $$PWD/tools/dialogtriangle.ui \
dialogs/tools/dialogsplinepath.ui \ $$PWD/tools/dialogsplinepath.ui \
dialogs/tools/dialogspline.ui \ $$PWD/tools/dialogspline.ui \
dialogs/tools/dialogsinglepoint.ui \ $$PWD/tools/dialogsinglepoint.ui \
dialogs/tools/dialogshoulderpoint.ui \ $$PWD/tools/dialogshoulderpoint.ui \
dialogs/tools/dialogpointofintersection.ui \ $$PWD/tools/dialogpointofintersection.ui \
dialogs/tools/dialogpointofcontact.ui \ $$PWD/tools/dialogpointofcontact.ui \
dialogs/tools/dialognormal.ui \ $$PWD/tools/dialognormal.ui \
dialogs/tools/dialoglineintersect.ui \ $$PWD/tools/dialoglineintersect.ui \
dialogs/tools/dialogline.ui \ $$PWD/tools/dialogline.ui \
dialogs/tools/dialogheight.ui \ $$PWD/tools/dialogheight.ui \
dialogs/tools/dialogendline.ui \ $$PWD/tools/dialogendline.ui \
dialogs/tools/dialogdetail.ui \ $$PWD/tools/dialogdetail.ui \
dialogs/tools/dialogbisector.ui \ $$PWD/tools/dialogbisector.ui \
dialogs/tools/dialogarc.ui \ $$PWD/tools/dialogarc.ui \
dialogs/tools/dialogalongline.ui \ $$PWD/tools/dialogalongline.ui \
dialogs/tools/dialogcutspline.ui \ $$PWD/tools/dialogcutspline.ui \
dialogs/tools/dialogcutsplinepath.ui \ $$PWD/tools/dialogcutsplinepath.ui \
dialogs/tools/dialoguniondetails.ui \ $$PWD/tools/dialoguniondetails.ui \
dialogs/tools/dialogcutarc.ui \ $$PWD/tools/dialogcutarc.ui \
dialogs/tools/dialogeditwrongformula.ui \ $$PWD/tools/dialogeditwrongformula.ui \
dialogs/tools/dialoglineintersectaxis.ui \ $$PWD/tools/dialoglineintersectaxis.ui \
dialogs/app/dialogincrements.ui \ $$PWD/app/dialogincrements.ui \
dialogs/app/dialoghistory.ui \ $$PWD/app/dialoghistory.ui \
dialogs/app/dialogpatternproperties.ui \ $$PWD/app/dialogpatternproperties.ui \
dialogs/app/dialogmeasurements.ui \ $$PWD/app/dialogmeasurements.ui \
dialogs/app/dialogstandardmeasurements.ui \ $$PWD/app/dialogstandardmeasurements.ui \
dialogs/app/dialogindividualmeasurements.ui \ $$PWD/app/dialogindividualmeasurements.ui \
dialogs/app/dialogaboutapp.ui \ $$PWD/app/dialogaboutapp.ui \
dialogs/app/dialogpatternxmledit.ui \ $$PWD/app/dialogpatternxmledit.ui \
dialogs/app/dialogundo.ui \ $$PWD/app/dialogundo.ui \
dialogs/tools/dialogcurveintersectaxis.ui $$PWD/tools/dialogcurveintersectaxis.ui

View File

@ -1,17 +1,20 @@
# ADD TO EACH PATH $$PWD VARIABLE!!!!!!
# This need for corect working file translations.pro
HEADERS += \ HEADERS += \
exception/vexceptionobjecterror.h \ $$PWD/vexceptionobjecterror.h \
exception/vexceptionemptyparameter.h \ $$PWD/vexceptionemptyparameter.h \
exception/vexceptionconversionerror.h \ $$PWD/vexceptionconversionerror.h \
exception/vexceptionbadid.h \ $$PWD/vexceptionbadid.h \
exception/vexception.h \ $$PWD/vexception.h \
exception/vexceptionwrongid.h \ $$PWD/vexceptionwrongid.h \
exception/vexceptionundo.h $$PWD/vexceptionundo.h
SOURCES += \ SOURCES += \
exception/vexceptionobjecterror.cpp \ $$PWD/vexceptionobjecterror.cpp \
exception/vexceptionemptyparameter.cpp \ $$PWD/vexceptionemptyparameter.cpp \
exception/vexceptionconversionerror.cpp \ $$PWD/vexceptionconversionerror.cpp \
exception/vexceptionbadid.cpp \ $$PWD/vexceptionbadid.cpp \
exception/vexception.cpp \ $$PWD/vexception.cpp \
exception/vexceptionwrongid.cpp \ $$PWD/vexceptionwrongid.cpp \
exception/vexceptionundo.cpp $$PWD/vexceptionundo.cpp

View File

@ -1,31 +1,34 @@
# ADD TO EACH PATH $$PWD VARIABLE!!!!!!
# This need for corect working file translations.pro
HEADERS += \ HEADERS += \
geometry/vsplinepoint.h \ $$PWD/vsplinepoint.h \
geometry/vsplinepath.h \ $$PWD/vsplinepath.h \
geometry/vspline.h \ $$PWD/vspline.h \
geometry/vnodedetail.h \ $$PWD/vnodedetail.h \
geometry/vdetail.h \ $$PWD/vdetail.h \
geometry/varc.h \ $$PWD/varc.h \
geometry/vgobject.h \ $$PWD/vgobject.h \
geometry/vpointf.h \ $$PWD/vpointf.h \
geometry/vequidistant.h \ $$PWD/vequidistant.h \
geometry/vabstractcurve.h \ $$PWD/vabstractcurve.h \
geometry/vnodedetail_p.h \ $$PWD/vnodedetail_p.h \
geometry/vdetail_p.h \ $$PWD/vdetail_p.h \
geometry/vgobject_p.h \ $$PWD/vgobject_p.h \
geometry/varc_p.h \ $$PWD/varc_p.h \
geometry/vspline_p.h \ $$PWD/vspline_p.h \
geometry/vsplinepoint_p.h \ $$PWD/vsplinepoint_p.h \
geometry/vsplinepath_p.h \ $$PWD/vsplinepath_p.h \
geometry/vpointf_p.h $$PWD/vpointf_p.h
SOURCES += \ SOURCES += \
geometry/vsplinepoint.cpp \ $$PWD/vsplinepoint.cpp \
geometry/vsplinepath.cpp \ $$PWD/vsplinepath.cpp \
geometry/vspline.cpp \ $$PWD/vspline.cpp \
geometry/vnodedetail.cpp \ $$PWD/vnodedetail.cpp \
geometry/vdetail.cpp \ $$PWD/vdetail.cpp \
geometry/varc.cpp \ $$PWD/varc.cpp \
geometry/vgobject.cpp \ $$PWD/vgobject.cpp \
geometry/vpointf.cpp \ $$PWD/vpointf.cpp \
geometry/vequidistant.cpp \ $$PWD/vequidistant.cpp \
geometry/vabstractcurve.cpp $$PWD/vabstractcurve.cpp

View File

@ -1,74 +1,77 @@
# ADD TO EACH PATH $$PWD VARIABLE!!!!!!
# This need for corect working file translations.pro
HEADERS += \ HEADERS += \
tools/vtooldetail.h \ $$PWD/vtooldetail.h \
tools/vdatatool.h \ $$PWD/vdatatool.h \
tools/vabstracttool.h \ $$PWD/vabstracttool.h \
tools/tools.h \ $$PWD/tools.h \
tools/drawTools/vtooltriangle.h \ $$PWD/drawTools/vtooltriangle.h \
tools/drawTools/vtoolsplinepath.h \ $$PWD/drawTools/vtoolsplinepath.h \
tools/drawTools/vtoolspline.h \ $$PWD/drawTools/vtoolspline.h \
tools/drawTools/vtoolsinglepoint.h \ $$PWD/drawTools/vtoolsinglepoint.h \
tools/drawTools/vtoolshoulderpoint.h \ $$PWD/drawTools/vtoolshoulderpoint.h \
tools/drawTools/vtoolpointofintersection.h \ $$PWD/drawTools/vtoolpointofintersection.h \
tools/drawTools/vtoolpointofcontact.h \ $$PWD/drawTools/vtoolpointofcontact.h \
tools/drawTools/vtoolpoint.h \ $$PWD/drawTools/vtoolpoint.h \
tools/drawTools/vtoolnormal.h \ $$PWD/drawTools/vtoolnormal.h \
tools/drawTools/vtoollinepoint.h \ $$PWD/drawTools/vtoollinepoint.h \
tools/drawTools/vtoollineintersect.h \ $$PWD/drawTools/vtoollineintersect.h \
tools/drawTools/vtoolline.h \ $$PWD/drawTools/vtoolline.h \
tools/drawTools/vtoolheight.h \ $$PWD/drawTools/vtoolheight.h \
tools/drawTools/vtoolendline.h \ $$PWD/drawTools/vtoolendline.h \
tools/drawTools/vtoolbisector.h \ $$PWD/drawTools/vtoolbisector.h \
tools/drawTools/vtoolarc.h \ $$PWD/drawTools/vtoolarc.h \
tools/drawTools/vtoolalongline.h \ $$PWD/drawTools/vtoolalongline.h \
tools/drawTools/vdrawtool.h \ $$PWD/drawTools/vdrawtool.h \
tools/drawTools/drawtools.h \ $$PWD/drawTools/drawtools.h \
tools/nodeDetails/vnodesplinepath.h \ $$PWD/nodeDetails/vnodesplinepath.h \
tools/nodeDetails/vnodespline.h \ $$PWD/nodeDetails/vnodespline.h \
tools/nodeDetails/vnodepoint.h \ $$PWD/nodeDetails/vnodepoint.h \
tools/nodeDetails/vnodearc.h \ $$PWD/nodeDetails/vnodearc.h \
tools/nodeDetails/vabstractnode.h \ $$PWD/nodeDetails/vabstractnode.h \
tools/nodeDetails/nodedetails.h \ $$PWD/nodeDetails/nodedetails.h \
tools/drawTools/vtoolcutspline.h \ $$PWD/drawTools/vtoolcutspline.h \
tools/drawTools/vtoolcutsplinepath.h \ $$PWD/drawTools/vtoolcutsplinepath.h \
tools/vtooluniondetails.h \ $$PWD/vtooluniondetails.h \
tools/drawTools/vtoolcutarc.h \ $$PWD/drawTools/vtoolcutarc.h \
tools/drawTools/vabstractspline.h \ $$PWD/drawTools/vabstractspline.h \
tools/drawTools/vtoolcut.h \ $$PWD/drawTools/vtoolcut.h \
tools/drawTools/vtoollineintersectaxis.h \ $$PWD/drawTools/vtoollineintersectaxis.h \
tools/drawTools/vtoolcurveintersectaxis.h $$PWD/drawTools/vtoolcurveintersectaxis.h
SOURCES += \ SOURCES += \
tools/vtooldetail.cpp \ $$PWD/vtooldetail.cpp \
tools/vdatatool.cpp \ $$PWD/vdatatool.cpp \
tools/vabstracttool.cpp \ $$PWD/vabstracttool.cpp \
tools/drawTools/vtooltriangle.cpp \ $$PWD/drawTools/vtooltriangle.cpp \
tools/drawTools/vtoolsplinepath.cpp \ $$PWD/drawTools/vtoolsplinepath.cpp \
tools/drawTools/vtoolspline.cpp \ $$PWD/drawTools/vtoolspline.cpp \
tools/drawTools/vtoolsinglepoint.cpp \ $$PWD/drawTools/vtoolsinglepoint.cpp \
tools/drawTools/vtoolshoulderpoint.cpp \ $$PWD/drawTools/vtoolshoulderpoint.cpp \
tools/drawTools/vtoolpointofintersection.cpp \ $$PWD/drawTools/vtoolpointofintersection.cpp \
tools/drawTools/vtoolpointofcontact.cpp \ $$PWD/drawTools/vtoolpointofcontact.cpp \
tools/drawTools/vtoolpoint.cpp \ $$PWD/drawTools/vtoolpoint.cpp \
tools/drawTools/vtoolnormal.cpp \ $$PWD/drawTools/vtoolnormal.cpp \
tools/drawTools/vtoollinepoint.cpp \ $$PWD/drawTools/vtoollinepoint.cpp \
tools/drawTools/vtoollineintersect.cpp \ $$PWD/drawTools/vtoollineintersect.cpp \
tools/drawTools/vtoolline.cpp \ $$PWD/drawTools/vtoolline.cpp \
tools/drawTools/vtoolheight.cpp \ $$PWD/drawTools/vtoolheight.cpp \
tools/drawTools/vtoolendline.cpp \ $$PWD/drawTools/vtoolendline.cpp \
tools/drawTools/vtoolbisector.cpp \ $$PWD/drawTools/vtoolbisector.cpp \
tools/drawTools/vtoolarc.cpp \ $$PWD/drawTools/vtoolarc.cpp \
tools/drawTools/vtoolalongline.cpp \ $$PWD/drawTools/vtoolalongline.cpp \
tools/drawTools/vdrawtool.cpp \ $$PWD/drawTools/vdrawtool.cpp \
tools/nodeDetails/vnodesplinepath.cpp \ $$PWD/nodeDetails/vnodesplinepath.cpp \
tools/nodeDetails/vnodespline.cpp \ $$PWD/nodeDetails/vnodespline.cpp \
tools/nodeDetails/vnodepoint.cpp \ $$PWD/nodeDetails/vnodepoint.cpp \
tools/nodeDetails/vnodearc.cpp \ $$PWD/nodeDetails/vnodearc.cpp \
tools/nodeDetails/vabstractnode.cpp \ $$PWD/nodeDetails/vabstractnode.cpp \
tools/drawTools/vtoolcutspline.cpp \ $$PWD/drawTools/vtoolcutspline.cpp \
tools/drawTools/vtoolcutsplinepath.cpp \ $$PWD/drawTools/vtoolcutsplinepath.cpp \
tools/vtooluniondetails.cpp \ $$PWD/vtooluniondetails.cpp \
tools/drawTools/vtoolcutarc.cpp \ $$PWD/drawTools/vtoolcutarc.cpp \
tools/drawTools/vabstractspline.cpp \ $$PWD/drawTools/vabstractspline.cpp \
tools/drawTools/vtoolcut.cpp \ $$PWD/drawTools/vtoolcut.cpp \
tools/drawTools/vtoollineintersectaxis.cpp \ $$PWD/drawTools/vtoollineintersectaxis.cpp \
tools/drawTools/vtoolcurveintersectaxis.cpp $$PWD/drawTools/vtoolcurveintersectaxis.cpp

View File

@ -1,37 +1,40 @@
# ADD TO EACH PATH $$PWD VARIABLE!!!!!!
# This need for corect working file translations.pro
HEADERS += \ HEADERS += \
undocommands/addtocalc.h \ $$PWD/addtocalc.h \
undocommands/addpatternpiece.h \ $$PWD/addpatternpiece.h \
undocommands/movespoint.h \ $$PWD/movespoint.h \
undocommands/movespline.h \ $$PWD/movespline.h \
undocommands/movesplinepath.h \ $$PWD/movesplinepath.h \
undocommands/savetooloptions.h \ $$PWD/savetooloptions.h \
undocommands/savedetailoptions.h \ $$PWD/savedetailoptions.h \
undocommands/movedetail.h \ $$PWD/movedetail.h \
undocommands/deltool.h \ $$PWD/deltool.h \
undocommands/deletepatternpiece.h \ $$PWD/deletepatternpiece.h \
undocommands/adddetnode.h \ $$PWD/adddetnode.h \
undocommands/adddet.h \ $$PWD/adddet.h \
undocommands/adduniondetails.h \ $$PWD/adduniondetails.h \
undocommands/deletedetail.h \ $$PWD/deletedetail.h \
undocommands/vundocommand.h \ $$PWD/vundocommand.h \
undocommands/renamepp.h $$PWD/renamepp.h
SOURCES += \ SOURCES += \
undocommands/addtocalc.cpp \ $$PWD/addtocalc.cpp \
undocommands/addpatternpiece.cpp \ $$PWD/addpatternpiece.cpp \
undocommands/movespoint.cpp \ $$PWD/movespoint.cpp \
undocommands/movespline.cpp \ $$PWD/movespline.cpp \
undocommands/movesplinepath.cpp \ $$PWD/movesplinepath.cpp \
undocommands/savetooloptions.cpp \ $$PWD/savetooloptions.cpp \
undocommands/savedetailoptions.cpp \ $$PWD/savedetailoptions.cpp \
undocommands/movedetail.cpp \ $$PWD/movedetail.cpp \
undocommands/deltool.cpp \ $$PWD/deltool.cpp \
undocommands/deletepatternpiece.cpp \ $$PWD/deletepatternpiece.cpp \
undocommands/adddetnode.cpp \ $$PWD/adddetnode.cpp \
undocommands/adddet.cpp \ $$PWD/adddet.cpp \
undocommands/adduniondetails.cpp \ $$PWD/adduniondetails.cpp \
undocommands/deletedetail.cpp \ $$PWD/deletedetail.cpp \
undocommands/vundocommand.cpp \ $$PWD/vundocommand.cpp \
undocommands/renamepp.cpp $$PWD/renamepp.cpp

View File

@ -1,53 +1,56 @@
# ADD TO EACH PATH $$PWD VARIABLE!!!!!!
# This need for corect working file translations.pro
HEADERS += \ HEADERS += \
visualization/vgraphicssimpletextitem.h \ $$PWD/vgraphicssimpletextitem.h \
visualization/vcontrolpointspline.h \ $$PWD/vcontrolpointspline.h \
visualization/vsimplecurve.h \ $$PWD/vsimplecurve.h \
visualization/visline.h \ $$PWD/visline.h \
visualization/vistoolline.h \ $$PWD/vistoolline.h \
visualization/vistoolendline.h \ $$PWD/vistoolendline.h \
visualization/vistoolalongline.h \ $$PWD/vistoolalongline.h \
visualization/vistoolbisector.h \ $$PWD/vistoolbisector.h \
visualization/vistoolshoulderpoint.h \ $$PWD/vistoolshoulderpoint.h \
visualization/vistoolnormal.h \ $$PWD/vistoolnormal.h \
visualization/vistoolheight.h \ $$PWD/vistoolheight.h \
visualization/vistoolpointofintersection.h \ $$PWD/vistoolpointofintersection.h \
visualization/vistooltriangle.h \ $$PWD/vistooltriangle.h \
visualization/vistoolpointofcontact.h \ $$PWD/vistoolpointofcontact.h \
visualization/vistoollineintersect.h \ $$PWD/vistoollineintersect.h \
visualization/visualization.h \ $$PWD/visualization.h \
visualization/vistoolarc.h \ $$PWD/vistoolarc.h \
visualization/vispath.h \ $$PWD/vispath.h \
visualization/vistoolcutarc.h \ $$PWD/vistoolcutarc.h \
visualization/vistoolspline.h \ $$PWD/vistoolspline.h \
visualization/vistoolcutspline.h \ $$PWD/vistoolcutspline.h \
visualization/vistoolsplinepath.h \ $$PWD/vistoolsplinepath.h \
visualization/vistoolcutsplinepath.h \ $$PWD/vistoolcutsplinepath.h \
visualization/vistoollineintersectaxis.h \ $$PWD/vistoollineintersectaxis.h \
visualization/vistoolcurveintersectaxis.h $$PWD/vistoolcurveintersectaxis.h
SOURCES += \ SOURCES += \
visualization/vgraphicssimpletextitem.cpp \ $$PWD/vgraphicssimpletextitem.cpp \
visualization/vcontrolpointspline.cpp \ $$PWD/vcontrolpointspline.cpp \
visualization/vsimplecurve.cpp \ $$PWD/vsimplecurve.cpp \
visualization/visline.cpp \ $$PWD/visline.cpp \
visualization/vistoolline.cpp \ $$PWD/vistoolline.cpp \
visualization/vistoolendline.cpp \ $$PWD/vistoolendline.cpp \
visualization/vistoolalongline.cpp \ $$PWD/vistoolalongline.cpp \
visualization/vistoolbisector.cpp \ $$PWD/vistoolbisector.cpp \
visualization/vistoolshoulderpoint.cpp \ $$PWD/vistoolshoulderpoint.cpp \
visualization/vistoolnormal.cpp \ $$PWD/vistoolnormal.cpp \
visualization/vistoolheight.cpp \ $$PWD/vistoolheight.cpp \
visualization/vistoolpointofintersection.cpp \ $$PWD/vistoolpointofintersection.cpp \
visualization/vistooltriangle.cpp \ $$PWD/vistooltriangle.cpp \
visualization/vistoolpointofcontact.cpp \ $$PWD/vistoolpointofcontact.cpp \
visualization/vistoollineintersect.cpp \ $$PWD/vistoollineintersect.cpp \
visualization/visualization.cpp \ $$PWD/visualization.cpp \
visualization/vistoolarc.cpp \ $$PWD/vistoolarc.cpp \
visualization/vispath.cpp \ $$PWD/vispath.cpp \
visualization/vistoolcutarc.cpp \ $$PWD/vistoolcutarc.cpp \
visualization/vistoolspline.cpp \ $$PWD/vistoolspline.cpp \
visualization/vistoolcutspline.cpp \ $$PWD/vistoolcutspline.cpp \
visualization/vistoolsplinepath.cpp \ $$PWD/vistoolsplinepath.cpp \
visualization/vistoolcutsplinepath.cpp \ $$PWD/vistoolcutsplinepath.cpp \
visualization/vistoollineintersectaxis.cpp \ $$PWD/vistoollineintersectaxis.cpp \
visualization/vistoolcurveintersectaxis.cpp $$PWD/vistoolcurveintersectaxis.cpp

View File

@ -1,21 +1,24 @@
# ADD TO EACH PATH $$PWD VARIABLE!!!!!!
# This need for corect working file translations.pro
HEADERS += \ HEADERS += \
widgets/vtablegraphicsview.h \ $$PWD/vtablegraphicsview.h \
widgets/vmaingraphicsview.h \ $$PWD/vmaingraphicsview.h \
widgets/vmaingraphicsscene.h \ $$PWD/vmaingraphicsscene.h \
widgets/vitem.h \ $$PWD/vitem.h \
widgets/doubledelegate.h \ $$PWD/doubledelegate.h \
widgets/textdelegate.h \ $$PWD/textdelegate.h \
widgets/vtooloptionspropertybrowser.h \ $$PWD/vtooloptionspropertybrowser.h \
widgets/vformulapropertyeditor.h \ $$PWD/vformulapropertyeditor.h \
widgets/vformulaproperty.h $$PWD/vformulaproperty.h
SOURCES += \ SOURCES += \
widgets/vtablegraphicsview.cpp \ $$PWD/vtablegraphicsview.cpp \
widgets/vmaingraphicsview.cpp \ $$PWD/vmaingraphicsview.cpp \
widgets/vmaingraphicsscene.cpp \ $$PWD/vmaingraphicsscene.cpp \
widgets/vitem.cpp \ $$PWD/vitem.cpp \
widgets/doubledelegate.cpp \ $$PWD/doubledelegate.cpp \
widgets/textdelegate.cpp \ $$PWD/textdelegate.cpp \
widgets/vtooloptionspropertybrowser.cpp \ $$PWD/vtooloptionspropertybrowser.cpp \
widgets/vformulapropertyeditor.cpp \ $$PWD/vformulapropertyeditor.cpp \
widgets/vformulaproperty.cpp $$PWD/vformulaproperty.cpp

View File

@ -1,15 +1,18 @@
# ADD TO EACH PATH $$PWD VARIABLE!!!!!!
# This need for corect working file translations.pro
HEADERS += \ HEADERS += \
xml/vtoolrecord.h \ $$PWD/vtoolrecord.h \
xml/vdomdocument.h \ $$PWD/vdomdocument.h \
xml/vpattern.h \ $$PWD/vpattern.h \
xml/vstandardmeasurements.h \ $$PWD/vstandardmeasurements.h \
xml/vindividualmeasurements.h \ $$PWD/vindividualmeasurements.h \
xml/vabstractmeasurements.h $$PWD/vabstractmeasurements.h
SOURCES += \ SOURCES += \
xml/vtoolrecord.cpp \ $$PWD/vtoolrecord.cpp \
xml/vdomdocument.cpp \ $$PWD/vdomdocument.cpp \
xml/vpattern.cpp \ $$PWD/vpattern.cpp \
xml/vstandardmeasurements.cpp \ $$PWD/vstandardmeasurements.cpp \
xml/vindividualmeasurements.cpp \ $$PWD/vindividualmeasurements.cpp \
xml/vabstractmeasurements.cpp $$PWD/vabstractmeasurements.cpp

View File

@ -0,0 +1,26 @@
# ADD TO EACH PATH $$PWD VARIABLE!!!!!!
# This need for corect working file translations.pro
SOURCES += \
$$PWD/qmuparser.cpp \
$$PWD/qmuparsertokenreader.cpp \
$$PWD/qmuparsererror.cpp \
$$PWD/qmuparsercallback.cpp \
$$PWD/qmuparserbytecode.cpp \
$$PWD/qmuparserbase.cpp \
$$PWD/qmuparsertest.cpp \
$$PWD/stable.cpp
HEADERS += \
$$PWD/qmuparser.h\
$$PWD/qmuparser_global.h \
$$PWD/qmuparsertokenreader.h \
$$PWD/qmuparsertoken.h \
$$PWD/qmuparserfixes.h \
$$PWD/qmuparsererror.h \
$$PWD/qmuparserdef.h \
$$PWD/qmuparsercallback.h \
$$PWD/qmuparserbytecode.h \
$$PWD/qmuparserbase.h \
$$PWD/qmuparsertest.h \
$$PWD/stable.h

View File

@ -33,29 +33,7 @@ MOC_DIR = moc
# objecs files # objecs files
OBJECTS_DIR = obj OBJECTS_DIR = obj
SOURCES += \ include(qmuparser.pri)
qmuparser.cpp \
qmuparsertokenreader.cpp \
qmuparsererror.cpp \
qmuparsercallback.cpp \
qmuparserbytecode.cpp \
qmuparserbase.cpp \
qmuparsertest.cpp \
stable.cpp
HEADERS += \
qmuparser.h\
qmuparser_global.h \
qmuparsertokenreader.h \
qmuparsertoken.h \
qmuparserfixes.h \
qmuparsererror.h \
qmuparserdef.h \
qmuparsercallback.h \
qmuparserbytecode.h \
qmuparserbase.h \
qmuparsertest.h \
stable.h
VERSION = 2.2.4 VERSION = 2.2.4

View File

@ -0,0 +1,70 @@
# ADD TO EACH PATH $$PWD VARIABLE!!!!!!
# This need for corect working file translations.pro
SOURCES += \
$$PWD/vproperty.cpp \
$$PWD/vpropertydelegate.cpp \
$$PWD/vpropertyfactorymanager.cpp \
$$PWD/vpropertyformview.cpp \
$$PWD/vpropertyformwidget.cpp \
$$PWD/vpropertymodel.cpp \
$$PWD/vpropertyset.cpp \
$$PWD/vpropertytreeview.cpp \
$$PWD/vserializedproperty.cpp \
$$PWD/plugins/vwidgetproperty.cpp \
$$PWD/plugins/vemptyproperty.cpp \
$$PWD/plugins/vboolproperty.cpp \
$$PWD/plugins/vshortcutproperty.cpp \
$$PWD/plugins/vcolorproperty.cpp \
$$PWD/plugins/vshortcutpropertyeditor.cpp \
$$PWD/plugins/venumproperty.cpp \
$$PWD/plugins/vfileproperty.cpp \
$$PWD/plugins/vcolorpropertyeditor.cpp \
$$PWD/plugins/vfilepropertyeditor.cpp \
$$PWD/plugins/vnumberproperty.cpp \
$$PWD/plugins/Vector3d/vvector3dproperty.cpp \
$$PWD/vstandardpropertyfactory.cpp \
$$PWD/plugins/vstringproperty.cpp \
$$PWD/plugins/vpointfproperty.cpp \
$$PWD/plugins/vobjectproperty.cpp \
$$PWD/stable.cpp
HEADERS +=\
$$PWD/vpropertyexplorer_global.h \
$$PWD/vpropertyfactorymanager_p.h \
$$PWD/vpropertytreeview_p.h \
$$PWD/vpropertyset_p.h \
$$PWD/vabstractpropertyfactory.h \
$$PWD/vfileproperty_p.h \
$$PWD/vwidgetproperty_p.h \
$$PWD/vpropertymodel_p.h \
$$PWD/vstandardpropertyfactory.h \
$$PWD/vpropertyformview_p.h \
$$PWD/vpropertytreeview.h \
$$PWD/vpropertyformwidget_p.h \
$$PWD/vpropertydelegate.h \
$$PWD/vproperty_p.h \
$$PWD/vpropertyformwidget.h \
$$PWD/vpropertyformview.h \
$$PWD/vpropertyset.h \
$$PWD/vpropertymodel.h \
$$PWD/vproperty.h \
$$PWD/plugins/vwidgetproperty.h \
$$PWD/plugins/vcolorproperty.h \
$$PWD/plugins/vboolproperty.h \
$$PWD/plugins/vcolorpropertyeditor.h \
$$PWD/plugins/vshortcutpropertyeditor.h \
$$PWD/plugins/vemptyproperty.h \
$$PWD/plugins/vshortcutproperty.h \
$$PWD/plugins/venumproperty.h \
$$PWD/plugins/vfilepropertyeditor.h \
$$PWD/plugins/vfileproperty.h \
$$PWD/plugins/vnumberproperty.h \
$$PWD/plugins/Vector3d/vvector3dproperty.h \
$$PWD/vpropertyfactorymanager.h \
$$PWD/vserializedproperty.h \
$$PWD/plugins/vstringproperty.h \
$$PWD/plugins/vpointfproperty.h \
$$PWD/plugins/vobjectproperty.h \
$$PWD/vproperties.h \
$$PWD/stable.h

View File

@ -33,73 +33,7 @@ MOC_DIR = moc
# objecs files # objecs files
OBJECTS_DIR = obj OBJECTS_DIR = obj
SOURCES += \ include(vpropertyexplorer.pri)
vproperty.cpp \
vpropertydelegate.cpp \
vpropertyfactorymanager.cpp \
vpropertyformview.cpp \
vpropertyformwidget.cpp \
vpropertymodel.cpp \
vpropertyset.cpp \
vpropertytreeview.cpp \
vserializedproperty.cpp \
plugins/vwidgetproperty.cpp \
plugins/vemptyproperty.cpp \
plugins/vboolproperty.cpp \
plugins/vshortcutproperty.cpp \
plugins/vcolorproperty.cpp \
plugins/vshortcutpropertyeditor.cpp \
plugins/venumproperty.cpp \
plugins/vfileproperty.cpp \
plugins/vcolorpropertyeditor.cpp \
plugins/vfilepropertyeditor.cpp \
plugins/vnumberproperty.cpp \
plugins/Vector3d/vvector3dproperty.cpp \
vstandardpropertyfactory.cpp \
plugins/vstringproperty.cpp \
plugins/vpointfproperty.cpp \
plugins/vobjectproperty.cpp \
stable.cpp
HEADERS +=\
vpropertyexplorer_global.h \
vpropertyfactorymanager_p.h \
vpropertytreeview_p.h \
vpropertyset_p.h \
vabstractpropertyfactory.h \
vfileproperty_p.h \
vwidgetproperty_p.h \
vpropertymodel_p.h \
vstandardpropertyfactory.h \
vpropertyformview_p.h \
vpropertytreeview.h \
vpropertyformwidget_p.h \
vpropertydelegate.h \
vproperty_p.h \
vpropertyformwidget.h \
vpropertyformview.h \
vpropertyset.h \
vpropertymodel.h \
vproperty.h \
plugins/vwidgetproperty.h \
plugins/vcolorproperty.h \
plugins/vboolproperty.h \
plugins/vcolorpropertyeditor.h \
plugins/vshortcutpropertyeditor.h \
plugins/vemptyproperty.h \
plugins/vshortcutproperty.h \
plugins/venumproperty.h \
plugins/vfilepropertyeditor.h \
plugins/vfileproperty.h \
plugins/vnumberproperty.h \
plugins/Vector3d/vvector3dproperty.h \
vpropertyfactorymanager.h \
vserializedproperty.h \
plugins/vstringproperty.h \
plugins/vpointfproperty.h \
plugins/vobjectproperty.h \
vproperties.h \
stable.h
# Set "make install" command for Unix-like systems. # Set "make install" command for Unix-like systems.
unix:!macx{ unix:!macx{