Commit Graph

1240 Commits

Author SHA1 Message Date
BojanKverh
906dafebe8 Finished the grainline parameters editing in detail dialog
--HG--
branch : feature
2016-09-10 15:17:55 +02:00
Roman Telezhynskyi
868fc3db1d Fix definition VFSplinePoint and VSplinePoint. Improving efficiency.
--HG--
branch : develop
2016-09-10 14:19:32 +03:00
Bojan Kverh
853c6852a8 Merged develop into feature
--HG--
branch : feature
2016-09-09 21:55:18 +02:00
Roman Telezhynskyi
ae13021205 Fixing rotating VSplinePath. ref #128.
--HG--
branch : develop
2016-09-09 15:18:59 +03:00
Roman Telezhynskyi
a9e9c0d5ad Clear a list of recent files from non-existent files.
--HG--
branch : develop
2016-09-09 14:01:57 +03:00
BojanKverh
2dc19732a0 Prepated detail dialog for formula editing in case of grainline length and rotation
--HG--
branch : feature
2016-09-08 22:35:32 +02:00
BojanKverh
37e16b4626 Removed the vpatterndb.pro changes
--HG--
branch : feature
2016-09-06 23:52:16 +02:00
BojanKverh
287f8fc41e Added VGrainlineGeometry class to hold grainline parameters and methods to save, load and edit it
--HG--
branch : feature
2016-09-06 23:50:46 +02:00
Roman Telezhynskyi
b6e9a7bab3 Fixed issue #561. UI compiler warning in dialogdetail.ui.
--HG--
branch : develop
2016-09-06 18:47:56 +03:00
Roman Telezhynskyi
c622d173dd Several useful constans.
--HG--
branch : develop
2016-09-06 17:48:28 +03:00
Roman Telezhynskyi
cbd2e4a912 Fix issue #547. Compiler warning.
--HG--
branch : develop
2016-09-06 17:26:53 +03:00
Roman Telezhynskyi
0d35033275 Added global option "Forbid Flipping". ref #560.
--HG--
branch : develop
2016-09-06 17:05:54 +03:00
Roman Telezhynskyi
ef576d7646 Enable rotation only for workpieces that forbid flipping. ref #560.
--HG--
branch : develop
2016-09-06 16:00:25 +03:00
Roman Telezhynskyi
038863fbdf Resolved issue #560. Flipped pattern pieces in Layout.
--HG--
branch : develop
2016-09-06 13:24:52 +03:00
Roman Telezhynskyi
8cf52dc674 Length to control point can be 0.
--HG--
branch : develop
2016-08-26 19:33:54 +03:00
Roman Telezhynskyi
c2b7ead2ce Fixed wrong units in dialog DialogEditWrongFormula.
--HG--
branch : develop
2016-08-26 19:20:03 +03:00
Roman Telezhynskyi
6baa623be3 Disable buttons Find Next and Find Previous if the search field is empty.
--HG--
branch : develop
2016-08-26 16:16:06 +03:00
Roman Telezhynskyi
c35f050b66 Improvements for the Dialog Detail. Added spliters, fields Letter and Name of
detail have placeholder text.

--HG--
branch : develop
2016-08-26 13:46:23 +03:00
Roman Telezhynskyi
23d9898154 Use QLocale::c() instead of QLocale(QLocale::C).
--HG--
branch : develop
2016-08-26 12:38:23 +03:00
Roman Telezhynskyi
f0cac1c191 Improve string to "Material, cut 1 on fold". This will look better.
--HG--
branch : develop
2016-08-26 12:28:30 +03:00
Roman Telezhynskyi
99a2f0f807 Fixed issue #553. Tape.exe crash. Issue with the Search field.
(grafted from c4cc1aca74cb29d3fb57cd0718ec282b3dd0dc7b)

--HG--
branch : develop
2016-08-25 19:32:59 +03:00
Roman Telezhynskyi
89ce8afe77 Localize numeric keyboard's dot key according to locale and user preferences.
--HG--
branch : develop
2016-08-23 21:24:14 +03:00
Roman Telezhynskyi
be6c676145 We don't need these files anymore.
--HG--
branch : develop
2016-08-23 15:54:44 +03:00
Roman Telezhynskyi
6281f46a8e Rewrite describing placeholders %size% and %height%. New way will help avoid
translation mistake.

--HG--
branch : develop
2016-08-23 14:02:09 +03:00
Roman Telezhynskyi
e54e1e4f11 Allow to select printer in Layout Settings dialog.
--HG--
branch : develop
2016-08-22 19:43:22 +03:00
Roman Telezhynskyi
73bcc89107 Fixed wrong compatibility with Qt 5.0.
--HG--
branch : develop
2016-08-22 12:16:12 +03:00
Roman Telezhynskyi
7950735833 Fix issue with declension name of material in some languages.
--HG--
branch : develop
2016-08-22 12:00:12 +03:00
Roman Telezhynskyi
bf82dc3bb3 Make 1 minimal value of the field "Cut number".
--HG--
branch : develop
2016-08-22 11:47:21 +03:00
Roman Telezhynskyi
7dd88da82d Merged in BojanKverh/valentina-issue24a/feature (pull request #138)
Improvements for feature "New feature: Label on detail" ref #24.

--HG--
branch : develop
2016-08-22 11:33:22 +03:00
Roman Telezhynskyi
9cd3fc8bcb Fix for compiler specific code.
--HG--
branch : develop
2016-08-21 23:04:23 +03:00
Roman Telezhynskyi
fb5a9c64b2 Cppcheck warnings.
--HG--
branch : develop
2016-08-21 19:45:16 +03:00
Roman Telezhynskyi
bfff8ccb96 Changes for returning support Qt 5.0 and GCC 4.6.
--HG--
branch : develop
2016-08-21 18:57:08 +03:00
Roman Telezhynskyi
b0a7af152a <QDebugStateSaver> was introduced since Qt 5.1.
--HG--
branch : develop
2016-08-21 13:19:42 +03:00
Roman Telezhynskyi
3f4f605253 Qt::AA_UseHighDpiPixmaps was introduced since Qt 5.1.
--HG--
branch : develop
2016-08-21 13:11:14 +03:00
Bojan Kverh
08bfd9cd82 Merged develop into feature
--HG--
branch : feature
2016-08-21 11:51:49 +02:00
BojanKverh
b4ced822e0 Fixed material attribute writing to XML and removed commented out lines
--HG--
branch : feature
2016-08-21 11:48:51 +02:00
Roman Telezhynskyi
8c6e2e4432 GCC 4.6 doesn't allow constexpr and const together.
--HG--
branch : develop
2016-08-21 12:28:23 +03:00
Roman Telezhynskyi
b0d248a7a0 Looks like <ext/alloc_traits.h> available since GCC 4.7.
--HG--
branch : develop
2016-08-21 12:09:05 +03:00
Roman Telezhynskyi
0563df117d <QLoggingCategory> available since Qt 5.2. Use vmisc/logging.h instead.
--HG--
branch : develop
2016-08-21 11:54:32 +03:00
BojanKverh
ff6d3c7155 Fixed user defined materials
--HG--
branch : feature
2016-08-21 10:27:39 +02:00
Roman Telezhynskyi
3fea569989 #include <QtMath> was introduced since Qt 5.1.
--HG--
branch : develop
2016-08-21 11:09:49 +03:00
Roman Telezhynskyi
3da7c4f27f Backporting qmath.h. Leave only part that was missed in Qt 5.0.
--HG--
branch : develop
2016-08-21 11:04:03 +03:00
Bojan Kverh
19c69c691a Merged develop into feature
--HG--
branch : feature
2016-08-21 00:01:35 +02:00
Roman Telezhynskyi
3dab49c23e QVector::removeLast() supported since Qt 5.1.
--HG--
branch : develop
2016-08-20 22:30:40 +03:00
Roman Telezhynskyi
3fe7ffa7eb Cppcheck warnings.
--HG--
branch : develop
2016-08-20 21:08:25 +03:00
Roman Telezhynskyi
fa8e63c49c Fixed issue #548. Bug Detail tool. Case when seam allowance is wrong.
(grafted from 90daa1f9dd73cd757462ad4c315ea6c1b272782a)

--HG--
branch : develop
2016-08-20 20:47:30 +03:00
Roman Telezhynskyi
948ae32dc5 Fixed regression with tool "Union details".
One file in collection contain unpredicted case. For fixing returned old code.

--HG--
branch : develop
2016-08-20 17:34:49 +03:00
Roman Telezhynskyi
afeeca30f6 Fixed regression after changing behaviour of tool cut curve (arc, spline,
splinePath).

The tool doesn't produce substrings anymore. All links to substrings were
replaced by link to base curve. The regression happened between format version
0.2.7 and 0.3.0.

--HG--
branch : develop
2016-08-20 17:32:45 +03:00
Roman Telezhynskyi
24e8a42aa7 VPatternConverter use QStringLiteral where possible.
--HG--
branch : develop
2016-08-20 12:14:53 +03:00
Valentina Zhuravska
00649770e3 Little fixes.
--HG--
branch : feature
2016-08-17 23:13:54 +03:00
BojanKverh
1cfa97497c Fixed translations after language change
--HG--
branch : feature
2016-08-17 21:38:39 +02:00
Bojan Kverh
10f2d83edd Merged develop into feature
--HG--
branch : feature
2016-08-17 18:00:56 +02:00
Valentina Zhuravska
74b30fa377 Fixed misprint.
--HG--
branch : feature
2016-08-16 23:15:54 +03:00
Valentina Zhuravska
09a9ec2855 Resolved Issue #424. Improve Formula Wizard dialog.
--HG--
branch : feature
2016-08-16 23:13:34 +03:00
Roman Telezhynskyi
e333c9bc08 QtDebug and QDebug lead to the same header. Leave only QtDebug.
--HG--
branch : develop
2016-08-16 20:35:21 +03:00
Roman Telezhynskyi
d66280033b Fixed issue #546. Compile error under Windows in current develop revision.
--HG--
branch : develop
2016-08-16 19:57:32 +03:00
Roman Telezhynskyi
222bbeaa75 Fixed issue #543. Detail loses details.
(grafted from 7e5b3ed76ac3b86fd6112b90b51e8c0c4702bbf0)

--HG--
branch : develop
2016-08-16 18:23:38 +03:00
Roman Telezhynskyi
3ef57202d1 Resolved issue #544. Error: Color Lines are black until touched.
(grafted from f62bbdf4122fa02aa12d110d123b900b94c423d1)

--HG--
branch : develop
2016-08-16 18:23:20 +03:00
BojanKverh
92ec78e6b3 Made sure that labels stay inside the detail after changing size or height
--HG--
branch : feature
2016-08-15 17:19:21 +02:00
BojanKverh
fb326d4f39 Added %size% and %height% placeholders to display pattern size and height in the Pattern size line edit
--HG--
branch : feature
2016-08-15 13:03:59 +02:00
Bojan Kverh
37b683f125 Merged develop into feature
--HG--
branch : feature
2016-08-15 11:06:42 +02:00
Roman Telezhynskyi
db138cd6e7 Fixing building on Qt\5.3\msvc2013_64_opengl.
--HG--
branch : develop
2016-08-13 11:56:59 +03:00
Roman Telezhynskyi
da4bf27c75 New test localization (checking punctuation).
--HG--
branch : develop
2016-08-12 15:21:55 +03:00
BojanKverh
8fc3cfae1b Added missing headers
--HG--
branch : feature
2016-08-12 12:11:12 +02:00
BojanKverh
86f24bf0e5 User defined materials are now remembered and can also be deleted in preferences dialog
--HG--
branch : feature
2016-08-12 01:22:23 +02:00
BojanKverh
b0532e6fb9 Removed userDef attributes from DOM tree, where they are not necessary. Fixed some translations. Refactored finding the selected material in detail dialog
--HG--
branch : feature
2016-08-11 22:44:53 +02:00
Roman Telezhynskyi
3ee6faf124 Fixed issue #532. Unexpected error occurs when zoom out image.
(grafted from c9e825b2ba62707e063700cea95ded566f158d6a)

--HG--
branch : develop
2016-08-12 17:37:47 +03:00
Roman Telezhynskyi
3f75727b6a Resolved issue #540. The latest development version don't compile in MAC.
--HG--
branch : develop
2016-08-09 21:48:43 +03:00
Roman Telezhynskyi
0aabacfee4 String inside label also should be translated.
--HG--
branch : develop
2016-08-09 19:42:00 +03:00
Roman Telezhynskyi
7585db6a58 Fix build on Qt\5.3\msvc2013_64_opengl.
--HG--
branch : develop
2016-08-09 16:55:46 +03:00
Roman Telezhynskyi
9035382238 Cppcheck warnings.
--HG--
branch : develop
2016-08-09 14:18:49 +03:00
Roman Telezhynskyi
31fa9785b9 Fixed several mistakes in original strings.
--HG--
branch : develop
2016-08-09 13:50:37 +03:00
Roman Telezhynskyi
09175a3bde Fix build on Qt\5.3\msvc2013_64_opengl.
--HG--
branch : develop
2016-08-09 12:28:34 +03:00
Roman Telezhynskyi
ec053ba5bf Fix build on Qt\5.3\msvc2013_64_opengl.
--HG--
branch : develop
2016-08-08 22:59:35 +03:00
Roman Telezhynskyi
6c04438a02 Changed macros to be sure that <sys/sysmacros.h> is not included on Windows.
--HG--
branch : develop
2016-08-08 17:57:05 +03:00
Roman Telezhynskyi
67360605b3 Fix broken tool Union details.
--HG--
branch : develop
2016-08-08 17:34:50 +03:00
Roman Telezhynskyi
1937baba99 Error cannot open include file: 'ext/alloc_traits.h': No such file or directory.
--HG--
branch : develop
2016-08-08 16:00:42 +03:00
Roman Telezhynskyi
eec896edd0 Fix errors. error: QPrinter: No such file or directory.
error: QMetaTypeId: No such file or directory.

--HG--
branch : develop
2016-08-08 15:26:48 +03:00
Roman Telezhynskyi
83df3f46b7 Fixed error: sys/sysmacros.h No such file or directory on Windows.
--HG--
branch : develop
2016-08-08 15:14:21 +03:00
Roman Telezhynskyi
67614bcd0b Cppcheck warnings.
--HG--
branch : develop
2016-08-08 15:07:26 +03:00
Roman Telezhynskyi
80f00b361d Use "Include What You Use" tool for optimizing #includes.
--HG--
branch : develop
2016-08-08 14:44:49 +03:00
Roman Telezhynskyi
67b18fbbde Fix problems with layouts in dialog tool Detail. Returned detail name by
default. Setted clear button for field Letter.

--HG--
branch : develop
2016-08-07 23:41:49 +03:00
Roman Telezhynskyi
d9360f3c96 GCC warnings.
--HG--
branch : develop
2016-08-07 18:17:50 +03:00
Roman Telezhynskyi
da91ed974a Merged in BojanKverh/valentina-issue24/feature (pull request #134)
Fixed issue #24. New feature: Label on detail.

--HG--
branch : develop
2016-08-07 18:08:39 +03:00
Roman Telezhynskyi
c94afdf174 Cppcheck warning.
--HG--
branch : develop
2016-08-07 17:31:36 +03:00
Roman Telezhynskyi
34a960fcd6 MSVC warnings.
--HG--
branch : develop
2016-08-07 15:12:08 +03:00
Roman Telezhynskyi
342bf9d124 MSVC doesn't support optimization flag -O3.
--HG--
branch : develop
2016-08-07 14:40:59 +03:00
Roman Telezhynskyi
3a4b78c42b Fixed build on Windows with MSVC 2013_64_opengl. Added include path to VMisc for
VDXF static library.

--HG--
branch : develop
2016-08-07 14:30:18 +03:00
Roman Telezhynskyi
8118bd45e5 With GCC 6.1.1:
debugbreak.h:51:1: error: 'inline' is not at beginning of
declaration [-Werror=old-style-declaration]

So i moved the inlines at the beginning of the declaration.

--HG--
branch : develop
2016-08-07 14:25:43 +03:00
Roman Telezhynskyi
46c295b4b1 Suppress MSVC 2015 warning C4309.
--HG--
branch : develop
2016-08-06 22:43:09 +03:00
Roman Telezhynskyi
64ebccd94b Suppress cppcheck warning.
--HG--
branch : develop
2016-08-06 21:56:33 +03:00
Roman Telezhynskyi
c9cdd2cd8d Using macros QT_WARNING_DISABLE_*.
--HG--
branch : develop
2016-08-06 21:42:40 +03:00
Roman Telezhynskyi
88be00fe42 Fixed build on Qt lower version 5.5.0.
--HG--
branch : develop
2016-08-06 19:32:51 +03:00
Roman Telezhynskyi
1c987b919b Use gcc’s Address Sanitizer only in Debug mode.
--HG--
branch : develop
2016-08-06 19:23:42 +03:00
Roman Telezhynskyi
69e0ff74e6 MSVC warnings.
--HG--
branch : develop
2016-08-06 15:59:30 +03:00
Roman Telezhynskyi
e7b72c4a44 Fix broken build on MSVC.
--HG--
branch : develop
2016-08-05 16:44:20 +03:00
Roman Telezhynskyi
2af9c0e65a Fixed issues with include paths.
--HG--
branch : develop
2016-08-05 13:48:23 +03:00
BojanKverh
f56614966b Deleted unnecessary class member
--HG--
branch : feature
2016-08-03 00:44:22 +02:00
BojanKverh
192bd7e7d5 Deleted unnecessary include
--HG--
branch : feature
2016-08-03 00:39:02 +02:00
BojanKverh
a2ee1e24e6 Fixed cursor handling over the label
--HG--
branch : feature
2016-08-03 00:32:37 +02:00