Roman Telezhynskyi
44370de134
bpstd::literals::chrono_literals not compatible with GCC 4.8.
2022-09-13 13:10:12 +03:00
Roman Telezhynskyi
a37f7a7aa0
Add missing includes.
2022-09-12 20:35:04 +03:00
Roman Telezhynskyi
8059d1c0b8
QPointer doesn't work with QObject::connect in case of GCC 4.8.
2022-09-12 20:32:39 +03:00
Roman Telezhynskyi
c9edbc6310
Fix error: can't set 'no_instrument_function' attribute after definition.
...
GCC 4.8 complains about this.
2022-09-12 20:19:05 +03:00
Roman Telezhynskyi
2426838496
Fix error: missing space between '""' and suffix identifier.
...
GCC 4.8 complains about this.
2022-09-12 17:14:56 +03:00
Roman Telezhynskyi
3cfce3e640
Add missing include.
2022-09-12 17:00:42 +03:00
Roman Telezhynskyi
39e20864e5
Bump version.
2022-09-12 16:30:17 +03:00
Roman Telezhynskyi
1a4a22849c
Qt started to support std::chrono since Qt 5.8.
2022-09-08 21:00:14 +03:00
Roman Telezhynskyi
3c1f5c04ca
Fix error: literal operator suffixes not preceded by '_' are reserved for future standardization.
...
Old GCC versions do not allow to suppress the warning in certain cases. Switching to using macro.
2022-09-08 19:10:00 +03:00
Roman Telezhynskyi
d32093bf4d
Supperss Wdeprecated-declarations.
2022-09-08 16:58:12 +03:00
Roman Telezhynskyi
8a902d8f66
Backport std::chrono_literals to C++11.
2022-09-08 16:43:21 +03:00
Roman Telezhynskyi
fd173c81cd
Improve highlighting file in file browser for Linux.
2022-09-08 15:13:01 +03:00
Roman Telezhynskyi
4c3b6a899c
Allow resizing Spline path dialog.
2022-09-05 14:38:26 +03:00
Roman Telezhynskyi
c51559e0ef
Try explicit constexpr.
2022-09-04 08:49:32 +03:00
Roman Telezhynskyi
70168ebe6c
Fix support Visual Studio 2015.
2022-09-02 17:14:03 +03:00
Roman Telezhynskyi
daf7574f39
Fix support Visual Studio 2015.
2022-09-01 10:11:44 +03:00
Roman Telezhynskyi
488fbb6baa
Fix support Visual Studio 2015.
2022-08-30 17:18:16 +03:00
Roman Telezhynskyi
4bf01918c9
Fix support Visual Studio 2015.
2022-08-30 15:41:33 +03:00
Roman Telezhynskyi
d56acab0b1
Cppcheck warnings.
2022-08-30 14:42:44 +03:00
Roman Telezhynskyi
b01fd72af9
Fix issues with elliptical arc.
2022-08-30 14:19:40 +03:00
Roman Telezhynskyi
9055f10658
Fix bug in seam allowance.
2022-08-29 18:13:46 +03:00
Roman Telezhynskyi
83e9a4c8f0
Enable Approximation scale option for Elliptical arc.
2022-08-27 17:57:08 +03:00
Roman Telezhynskyi
1e344d6df0
Fix calculating an elliptical arc.
2022-08-27 16:46:25 +03:00
Roman Telezhynskyi
ab75b783b6
Refactoring.
2022-08-24 20:11:12 +03:00
Roman Telezhynskyi
e608e13fa1
Explicitly set visualization mode to Show even if not used.
2022-08-24 19:58:58 +03:00
Roman Telezhynskyi
b5ec1e61b8
Refactoring.
...
Use Visualization::AngleToUser method to show angle values in a tooltip.
2022-08-24 19:53:48 +03:00
Roman Telezhynskyi
f9bc111159
Optimize ::ShowDialog method.
2022-08-24 19:53:48 +03:00
Roman Telezhynskyi
5262d8afb7
Refactoring.
...
Rename Visualization::NumberToUser to Visualization::LengthToUser to avoid confusion.
Add Visualization::AngleToUser.
2022-08-24 19:53:48 +03:00
Roman Telezhynskyi
1c0885e766
Improve visualization for tool Elliptical Arc.
2022-08-24 19:44:45 +03:00
Roman Telezhynskyi
cdc291a40f
Refactoring.
2022-08-24 19:44:45 +03:00
Roman Telezhynskyi
8a94ed2645
Improve visualization for tool Point of intersection circle and segment.
2022-08-24 19:44:45 +03:00
Roman Telezhynskyi
35eedc0a44
Refactoring.
2022-08-23 21:04:23 +03:00
Roman Telezhynskyi
be07f701c7
Fix tool Arc with given length.
2022-08-23 21:03:35 +03:00
Roman Telezhynskyi
165da734e3
Refactoring.
2022-08-23 20:42:46 +03:00
Roman Telezhynskyi
d7fc36e0d4
Improve visualization for tool Point from circle and tangent.
2022-08-23 19:27:59 +03:00
Roman Telezhynskyi
c10279c7e1
Refactoring.
2022-08-23 16:37:58 +03:00
Roman Telezhynskyi
b9a2a6715b
Refactoring.
2022-08-22 16:36:01 +03:00
Roman Telezhynskyi
a13f13e3fc
Refactoring.
...
Optimize includes.
2022-08-22 11:34:02 +03:00
Roman Telezhynskyi
0939d28c41
Improve visualization for tool Point of intersection circles.
2022-08-22 10:51:24 +03:00
Roman Telezhynskyi
4d104a789e
Refactoring.
2022-08-22 10:23:51 +03:00
Roman Telezhynskyi
cf4145dd94
Refactoring.
2022-08-22 09:15:09 +03:00
Roman Telezhynskyi
097b08af6f
Refactoring.
2022-08-20 20:09:29 +03:00
Roman Telezhynskyi
4fb6dfbd92
Improve visualization for tool Segment an arc.
2022-08-20 20:09:29 +03:00
Roman Telezhynskyi
a5c8bab097
Refactoring.
2022-08-20 20:09:29 +03:00
Roman Telezhynskyi
94d46a4530
Improve visualization for tool Segment a curved path.
2022-08-20 20:09:29 +03:00
Roman Telezhynskyi
c136a716f6
Refactoring.
2022-08-20 20:09:29 +03:00
Roman Telezhynskyi
63cd0e7b5d
Improve visualization for tool Segmenting a simple curve.
2022-08-20 20:09:29 +03:00
Roman Telezhynskyi
b1d7177952
Refactoring.
2022-08-20 20:09:29 +03:00
Roman Telezhynskyi
0f78ef8b05
Improve visualization for tool Special point on shoulder.
2022-08-20 20:09:29 +03:00
Roman Telezhynskyi
b9dd7d0ee9
Refactoring.
2022-08-20 20:09:29 +03:00
Roman Telezhynskyi
dd2eacd0d5
Improve visualization for tool Point along bisector.
2022-08-20 20:09:29 +03:00
Roman Telezhynskyi
0aac23ec8e
Refactoring.
2022-08-20 20:09:29 +03:00
Roman Telezhynskyi
de3179a37c
Improve visualization for tool Point along perpendicular.
2022-08-20 20:09:24 +03:00
Roman Telezhynskyi
48b7c387a8
Refactoring.
2022-08-20 20:09:24 +03:00
Roman Telezhynskyi
3d186c2a37
Improve visualization for tool Point along line.
2022-08-19 13:49:09 +03:00
Roman Telezhynskyi
9a28166539
Refactoring.
2022-08-19 11:20:01 +03:00
Roman Telezhynskyi
714a4e1715
Fix segmenting a simple curve.
2022-08-19 08:29:42 +03:00
Roman Telezhynskyi
7d276461ed
Fix export tiled pdf on Mac OS.
2022-08-18 17:10:42 +03:00
Roman Telezhynskyi
003c9bf33f
Fix build.
2022-08-17 15:51:35 +03:00
Roman Telezhynskyi
5855af6bc9
Fix missing header.
2022-08-17 12:32:48 +03:00
Roman Telezhynskyi
de94a6db84
Fix build on Windows.
2022-08-17 11:51:17 +03:00
Roman Telezhynskyi
a0224bd6a2
Fix build on Windows.
2022-08-17 10:01:51 +03:00
Roman Telezhynskyi
f60858f2e9
Fix macros.
2022-08-16 16:05:04 +03:00
Roman Telezhynskyi
53905b624a
Refactoring.
2022-08-16 16:01:17 +03:00
Roman Telezhynskyi
5b9c1b1d55
Port changes from mainstream.
2022-08-13 19:27:47 +03:00
Roman Telezhynskyi
46b2814981
Refactoring.
2022-08-13 19:26:55 +03:00
Roman Telezhynskyi
2cf2dc5985
Fix segmenting a simple curve.
2022-08-13 17:57:26 +03:00
Roman Telezhynskyi
0ab0edc654
Refactoring.
2022-08-12 18:50:22 +03:00
Roman Telezhynskyi
4e07172a6f
Cppcheck warnings.
2022-08-08 15:25:14 +03:00
Roman Telezhynskyi
df68bfefc8
Remember selected dimension values.
2022-08-06 13:33:07 +03:00
Roman Telezhynskyi
18e2554907
Support for options Force Flipping and Forbid Flipping in Puzzle.
2022-08-05 18:26:00 +03:00
Roman Telezhynskyi
74da6b8e1e
Unit type for increments.
2022-08-03 20:05:09 +03:00
Roman Telezhynskyi
36180a7c38
Check system locale.
2022-08-03 12:17:04 +03:00
Roman Telezhynskyi
7ae794e0b7
Refactoring.
2022-08-02 20:12:23 +03:00
Roman Telezhynskyi
4dd7b93aab
Add function's argument template with name in the Formula Wizard.
2022-08-02 20:11:26 +03:00
Roman Telezhynskyi
5a6e021cc9
Do not translate this warning message.
2022-08-02 18:27:14 +03:00
Roman Telezhynskyi
672278209d
Fix Setup multisize measurements dialog. Improved handling Height dimension.
2022-07-19 20:00:34 +03:00
Roman Telezhynskyi
be430f8c7e
Fix incorrect seam allowance.
2022-07-15 17:21:56 +03:00
Roman Telezhynskyi
f020a806d4
Fix main path validation. False positive double curve.
2022-07-12 16:18:42 +03:00
Roman Telezhynskyi
b4462395e1
"Export from existing ..." now supports multisize measurements.
2022-07-01 10:29:03 +03:00
Roman Telezhynskyi
92398bbf52
Fix warning while segmenting flipped arc.
2022-06-28 12:55:27 +03:00
Roman Telezhynskyi
5f2d0e95a8
Fix Valentina app crash after canceling a tool.
2022-06-01 16:42:54 +03:00
Roman Telezhynskyi
c9c46cc954
Code style.
2022-05-20 17:08:32 +03:00
Roman Telezhynskyi
ca2fe5fff1
Improved curve segment warnings.
2022-05-20 15:49:25 +03:00
Roman Telezhynskyi
43aee75f64
Improve creating an arc by length.
2022-05-11 19:08:08 +03:00
Roman Telezhynskyi
b8872a0319
Code style.
2022-05-11 17:32:09 +03:00
Roman Telezhynskyi
4bf0571dc0
Improve creating an arc by two angles.
2022-05-11 17:32:09 +03:00
Roman Telezhynskyi
1ba202e550
Code style.
2022-05-06 15:11:40 +03:00
Roman Telezhynskyi
92c9160bea
Fix visualization for tool Point of intersection line and axis.
2022-05-06 15:11:28 +03:00
Roman Telezhynskyi
7c1c6deeae
Fix crash when default locale is ru.
...
Additionally fix a common antipattern when loading translations in Qt.
2022-04-22 12:42:46 +03:00
Roman Telezhynskyi
679e68a15b
Bump version.
2022-04-18 20:12:47 +03:00
Roman Telezhynskyi
2402bfaf9e
Fix typos.
2022-03-28 17:40:44 +03:00
Roman Telezhynskyi
250fa436c0
Fix broken pattern conversion.
2022-03-25 11:15:34 +02:00
Roman Telezhynskyi
1e88d2f8c8
Improve file format conversion.
2022-03-24 12:43:52 +02:00
Roman Telezhynskyi
6960dd9d00
Fix typos.
2022-03-24 12:42:14 +02:00
Roman Telezhynskyi
6d77f3ebc0
Remove support for russian language.
2022-03-18 12:28:55 +02:00
Roman Telezhynskyi
06a2e69a67
Update logo.
2022-03-18 10:46:09 +02:00
Roman Telezhynskyi
191cf7e25f
Suspend use of qt_ntfs_permission_lookup. QTBUG-101168
2022-03-17 13:35:49 +02:00
Roman Telezhynskyi
0644122345
Code style.
2022-03-16 17:43:22 +02:00
Roman Telezhynskyi
8b0b5c89aa
Incorrect work with curves. Closes #170
2022-03-16 17:43:09 +02:00
Roman Telezhynskyi
e013ce234a
System identifies two of the same curve. Closes #171
2022-03-14 18:31:31 +02:00
Roman Telezhynskyi
5d22771428
Improve logging.
...
Suppress useless warnings.
2022-03-14 17:38:32 +02:00
Roman Telezhynskyi
19f95c8e54
Refactoring. Use TextWidth to simplify code.
2022-02-19 21:26:30 +02:00
Roman Telezhynskyi
8837bec33d
Fix mirroring a piece label.
2022-02-19 21:17:51 +02:00
Roman Telezhynskyi
d37c68321e
Z value change for a layout piece.
2022-02-18 17:57:55 +02:00
Roman Telezhynskyi
ed910db2c3
Fix the layout format conversion.
2022-02-18 16:32:43 +02:00
Roman Telezhynskyi
499ec96691
Move literals to separate header.
2022-02-18 10:36:38 +02:00
Roman Telezhynskyi
7966b08f21
Suppress Cppcheck warnings.
2022-02-17 16:39:11 +02:00
Roman Telezhynskyi
e8fa5e6084
Suppress Cppcheck warnings.
2022-02-17 16:22:11 +02:00
Roman Telezhynskyi
29bd9b6497
Implementation of C++14's make_unique for C++11 compilers.
2022-02-17 15:45:41 +02:00
Roman Telezhynskyi
eae539dc4a
Add missing header.
2022-02-17 14:44:53 +02:00
Roman Telezhynskyi
95e115faca
make_unique available since C++14.
2022-02-17 13:04:51 +02:00
Roman Telezhynskyi
a4658e38c9
Port fix for debugbreak.
2022-02-17 12:28:06 +02:00
Roman Telezhynskyi
0998354422
Remove unused variable.
2022-02-14 14:12:29 +02:00
Roman Telezhynskyi
080e84ff48
New placeholders.
2022-02-14 14:11:27 +02:00
Roman Telezhynskyi
77138b0364
Add a dimension axis to name in individual measurements.
2022-02-14 13:46:11 +02:00
Roman Telezhynskyi
cbef79733d
Fix crash.
2022-02-14 13:26:31 +02:00
Roman Telezhynskyi
715442508d
Dimension custom name.
2022-02-14 13:26:24 +02:00
Roman Telezhynskyi
7494b05b92
Fix crash when linked image is missing.
2022-02-11 12:53:51 +02:00
Roman Telezhynskyi
09cf8257d6
New option Show tile number.
2022-02-10 14:07:15 +02:00
Roman Telezhynskyi
b75292c341
Improve Puzzle's piece rotation handlers.
2022-02-09 15:31:34 +02:00
Roman Telezhynskyi
23e6d524b1
Fix build with MSVC.
2022-02-09 10:32:57 +02:00
Roman Telezhynskyi
399aa27b9f
Fix build.
2022-02-08 20:52:59 +02:00
Roman Telezhynskyi
6f55659c16
Fix build.
2022-02-08 20:40:33 +02:00
Roman Telezhynskyi
922920c12c
Port changes from debugbreak.
2022-02-07 15:05:15 +02:00
Roman Telezhynskyi
5b3bcdf1af
Remove unused DRW_Class::parseCode() method.
2022-02-07 14:55:31 +02:00
Roman Telezhynskyi
adea504bc1
protect vector<>.reserve() calls
...
Malformed or suspicious input files can cause std::exceptions by
vector<>.reserve() calls. Now they are caught to avoid crashes or other
vulnerabilities.
2022-02-07 14:52:41 +02:00
Roman Telezhynskyi
1639603551
Added NULL check for hatch code 93.
2022-02-07 11:49:20 +02:00
Roman Telezhynskyi
3e59505da2
Improve creation by mouse for tool Spline.
2022-02-07 11:42:53 +02:00
Roman Telezhynskyi
038fbb3540
New measurement type separator.
2022-02-05 15:00:30 +02:00
Roman Telezhynskyi
427a70b541
Fix tool True darts notes.
2022-02-05 12:22:49 +02:00
Roman Telezhynskyi
f97c18c923
Improve error in check point uniqueness check.
2022-02-05 11:30:32 +02:00
Roman Telezhynskyi
2d91455ed5
Allow size to have values from 1 to 100 if not a circumference.
2022-02-04 17:15:42 +02:00
Roman Telezhynskyi
750c31dcd8
Tool line was not compatible with a background image.
2022-02-04 17:02:17 +02:00
Roman Telezhynskyi
94e7c7d612
Update transformation origin when move an image.
2022-02-04 16:36:45 +02:00
Roman Telezhynskyi
d4f791f0ee
Fit Valentina's scale and an image resolution.
2022-02-04 16:31:19 +02:00
Roman Telezhynskyi
fd8d2f8a9d
Opacity option for a background image.
2022-02-04 11:01:52 +02:00
Roman Telezhynskyi
62ff405cc0
Added scroll area to layout settings dialog.
2022-02-03 17:05:52 +02:00
Roman Telezhynskyi
e876a4d611
Fix issue in tool cut spline.
...
Infinite loop while calculating a t parameter.
2022-02-03 15:48:52 +02:00
Roman Telezhynskyi
92e7f99e92
Fix build with MSVC.
2022-01-31 10:42:09 +02:00
Roman Telezhynskyi
fbccb7206d
Fix issue with delete.
2022-01-31 10:39:17 +02:00
Roman Telezhynskyi
882f4ba0bf
Cppcheck warnings.
2022-01-29 18:27:17 +02:00
Roman Telezhynskyi
28b4874441
Cppcheck warnings.
2022-01-29 18:05:15 +02:00
Roman Telezhynskyi
be52aeb68e
Fix build with Qt 5.6.
2022-01-29 16:56:21 +02:00
Roman Telezhynskyi
c3cbfbaaca
Fix build with Qt 5.6.
2022-01-29 16:06:01 +02:00
Roman Telezhynskyi
fb001c23a5
Fix build on MSVC.
2022-01-29 15:12:04 +02:00
Roman Telezhynskyi
a3e1cc8639
Fix build with Qt 5.6.
2022-01-29 14:57:21 +02:00
Roman Telezhynskyi
1d85487ea3
Fix compatibility with Qt 5.6.
2022-01-29 13:15:28 +02:00
Roman Telezhynskyi
992375c754
Fix alias for tool Cut Arc.
2022-01-29 12:28:39 +02:00
Roman Telezhynskyi
4b5773c506
Fix build on Windows.
2022-01-29 12:07:53 +02:00
Roman Telezhynskyi
a8aa4fdb7b
Fix warning 'unused-lambda-capture'.
2022-01-29 11:50:13 +02:00
Roman Telezhynskyi
1b188bf414
Compatibility issues.
2022-01-29 10:59:02 +02:00
Roman Telezhynskyi
a6f0ab2b3f
Code style.
2022-01-29 09:46:01 +02:00
Roman Telezhynskyi
357fd3a0ac
New feature Background image. Closes #43
2022-01-28 16:54:58 +02:00
Roman Telezhynskyi
141b33884d
Redesign of pattern image.
...
Preparations for support of background image. #43
2022-01-11 17:24:16 +02:00
Roman Telezhynskyi
2448ee4361
Improve generating pattern recipe.
...
If a pattern based on multisize measurements copy value to formula field.
2021-11-25 12:16:28 +02:00
Roman Telezhynskyi
f28660e0ea
Clang warnings.
2021-11-24 14:50:31 +02:00
Roman Telezhynskyi
612306bbd8
Cppcheck warning.
2021-11-24 14:25:47 +02:00
Roman Telezhynskyi
cb036e8d43
New path validation Invalid segment.
2021-11-24 14:15:21 +02:00
Roman Telezhynskyi
cd23cec411
Improved main path validations.
2021-11-24 11:27:44 +02:00
Roman Telezhynskyi
869b9e98e1
Refactoring.
...
Move GetNodeName to better place.
2021-11-23 17:10:00 +02:00
Roman Telezhynskyi
b9958e9953
fixed LibreCAD 2 issue #1371 , read failed with binary DXF
2021-11-23 14:48:30 +02:00
Roman Telezhynskyi
0db9e1f728
Class to handle plot settings object entries.
2021-11-23 14:43:26 +02:00
Roman Telezhynskyi
c6bd3ae727
Fix typo.
2021-11-23 13:21:24 +02:00
Roman Telezhynskyi
11a7fc2652
viewport - target xyz.
2021-11-23 13:16:58 +02:00
Roman Telezhynskyi
6a219c5ed4
Port set version bug from solvespace fork and cleanup version handling in DRW_TextCodec.
...
One of the most intrusive changes in QGIS' fork was that the debugging code was replaced with hardcoded changes to redirect the output to QGIS' internal logging mechanism. In this PR I've setup an interface to allow clients to create custom output debugging classes and assign these to be used by the library.
This will allow me to remove all the related downstream changes in QGIS' fork and re-sync these files back to upstream.
Interface for debug printers.
2021-11-23 13:12:11 +02:00
Roman Telezhynskyi
a8d8fa0946
Modernize debugging.
2021-11-23 11:28:54 +02:00
Roman Telezhynskyi
642fbe815d
Use ununordered_map instead of map
...
Should result in a performance boost when reading large files.
2021-11-23 11:15:11 +02:00
Roman Telezhynskyi
c51d9d5b30
More modernization and cleanups.
2021-11-22 19:28:51 +02:00
Roman Telezhynskyi
5f6445cf93
Read extrusion tags for dimension entities
...
Dimension entities support DXF codes 210, 220, 230 and and DRW_Dimension
already had a extPoint member, but the tags were never used when
parsing.
2021-11-22 18:53:33 +02:00
Roman Telezhynskyi
b18f09d86e
DRW_Coord: Simplify constructor.
2021-11-22 18:48:47 +02:00
Roman Telezhynskyi
c7fc0b8dcb
Misc. typos
2021-11-22 18:44:44 +02:00
Roman Telezhynskyi
1b4dfc7988
Misc typos: length.
2021-11-22 18:39:20 +02:00
Roman Telezhynskyi
47e0e3d0f3
fixed heap use after free vulnerability CVE-2021-21900
...
as reported in TALOS-2021-1351 / CVE-2021-21900,
DRW_TableEntry::parseCode had the potential to trigger an use after free exception with a malformed DXF file.
2021-11-22 18:22:27 +02:00
Roman Telezhynskyi
783a3faaeb
We no longer need this file.
2021-11-22 15:25:04 +02:00
Roman Telezhynskyi
b8b3acbfd3
Improve for a search bar.
2021-11-22 15:24:48 +02:00
Roman Telezhynskyi
8b966019e6
Code style.
2021-11-19 13:23:51 +02:00
Roman Telezhynskyi
d61eda4a41
Option to disable the automatic search for updates.
2021-11-18 14:55:15 +02:00
Roman Telezhynskyi
679bb9af48
Code style.
2021-11-18 13:29:53 +02:00
Roman Telezhynskyi
421a8df4be
Remove tool from all visibility groups it in.
2021-11-18 13:29:36 +02:00
Roman Telezhynskyi
a915ef5a0d
Code style.
2021-11-17 16:19:00 +02:00
Roman Telezhynskyi
888dccc2f3
Improve storing visibility group items. Don't store duplicate information.
2021-11-17 16:18:46 +02:00
Roman Telezhynskyi
2945da4d38
Fix double call of a main path context menu.
2021-11-16 18:52:32 +02:00
Roman Telezhynskyi
bd50428b56
Improve validation grainline position.
2021-11-16 18:33:20 +02:00
Roman Telezhynskyi
ec672a8811
Improve XSD schema for multisize measurements. Format version 0.5.1.
2021-11-16 17:18:32 +02:00
Roman Telezhynskyi
03e1b5ba3a
Increase the limit for the Letter field.
2021-11-05 16:08:13 +02:00
Roman Telezhynskyi
8d52157b41
Help user to select default GUI language.
2021-10-19 14:43:20 +03:00
Roman Telezhynskyi
4b3b7a8987
Add Don't ask again for Stale layout question dialog.
2021-10-19 11:36:34 +03:00
Roman Telezhynskyi
f13118d12b
Bump version.
2021-10-16 14:02:15 +03:00
Roman Telezhynskyi
bcb786958e
Show tooltip about defined user material in the label placeholder list.
2021-10-02 19:15:08 +03:00
Roman Telezhynskyi
b6dc3f30b8
Lupdate.
2021-10-01 21:10:16 +03:00
Roman Telezhynskyi
e42775f48e
Fix regression in Valentina's layout. Unite pages worked incorrect.
2021-10-01 18:31:23 +03:00
Roman Telezhynskyi
f04c570442
Fix build on Windows.
2021-09-26 19:53:50 +03:00
Roman Telezhynskyi
eedaa90a63
Revert "Temporary disable silent mode to check which options passed to gcc."
...
This reverts commit 8c145b9150
.
2021-09-25 20:45:05 +03:00
Roman Telezhynskyi
8c145b9150
Temporary disable silent mode to check which options passed to gcc.
2021-09-25 19:33:05 +03:00
Roman Telezhynskyi
99cd76230c
Cppcheck warning.
2021-09-25 17:32:20 +03:00
Roman Telezhynskyi
b861d6a28e
GCC warnings.
2021-09-25 17:18:33 +03:00
Roman Telezhynskyi
9bfc0df25b
GCC warnings.
2021-09-25 15:49:00 +03:00
Roman Telezhynskyi
51ed05e1fa
GCC warnings.
2021-09-25 12:57:15 +03:00
Roman Telezhynskyi
1b3e133309
GCC warnings.
2021-09-25 12:42:28 +03:00
Roman Telezhynskyi
73861dedd5
Suppress warnings on mac os.
2021-09-25 12:11:31 +03:00
Roman Telezhynskyi
2ffda9a073
Introduce *_MARK_NONFINAL_CLASS and *_MARK_NONFINAL_METHOD macroses to suppress GCC warning Wsuggest-final-types.
2021-09-25 11:43:05 +03:00
Roman Telezhynskyi
d996f7335a
Redesign SCASSERT to avoid unintended indentation.
2021-09-25 11:41:26 +03:00
Roman Telezhynskyi
b2f9d00182
Disable Wstringop-overflow on global level because cannot suppress warnings in Qt headers.
2021-09-24 19:00:09 +03:00
Roman Telezhynskyi
a86ef76e5c
Compiler warnings.
2021-09-24 17:56:23 +03:00
Roman Telezhynskyi
d83039c4ee
Compiler warnings.
2021-09-24 16:53:47 +03:00
Roman Telezhynskyi
ed7703c60c
Clang warnings.
2021-09-24 14:57:30 +03:00
Roman Telezhynskyi
b3e52d351e
Clang warning.
2021-09-24 14:24:10 +03:00
Roman Telezhynskyi
14fd2b30ba
Missed after debug.
2021-09-24 12:58:31 +03:00
Roman Telezhynskyi
cb30d5e3f4
Seam allowance not correct at intersection curve and axis. Closes #145
2021-09-24 12:51:39 +03:00
Roman Telezhynskyi
c7dbbb8146
GCC warning.
2021-09-15 10:22:18 +03:00
Roman Telezhynskyi
4c946d7da5
Fix build with MSVC.
2021-09-14 19:47:41 +03:00
Roman Telezhynskyi
c8a9423b51
Fix build on Windows.
2021-09-14 15:16:06 +03:00
Roman Telezhynskyi
eff295ccaf
Cppcheck warnings.
2021-09-13 18:09:53 +03:00
Roman Telezhynskyi
2306d4a67c
Print layout.
2021-09-13 17:27:46 +03:00
Roman Telezhynskyi
f1e49a7fd6
Create and update manual layout from Valentina.
2021-09-13 09:04:11 +03:00
Roman Telezhynskyi
3fea813b9c
Watermark support.
2021-09-11 19:39:38 +03:00
Roman Telezhynskyi
18e52f4a70
Use constexpr function instead of macros.
2021-09-11 12:24:09 +03:00
Roman Telezhynskyi
a3e5948167
Keep original scale from raw layout data.
2021-09-08 12:57:12 +03:00
Roman Telezhynskyi
84cf53f612
Fix issue in VAbstractMainWindow::CheckFilePermissions.
...
Don't check permissions if file doesn't exist.
2021-09-08 12:53:15 +03:00
Roman Telezhynskyi
22da66e4d8
Setup correct page orientation.
2021-09-07 12:31:58 +03:00
Roman Telezhynskyi
a9e5ea55cf
Read/write Ignore margins setting.
2021-09-06 18:29:16 +03:00
Roman Telezhynskyi
b71253738c
Correct scale when export tiled PDF.
2021-09-06 16:56:56 +03:00
Roman Telezhynskyi
d5a02ac48c
Export layout.
2021-09-06 15:31:36 +03:00
Roman Telezhynskyi
88508b102e
Fix reading piece labels.
2021-09-06 15:31:36 +03:00
Roman Telezhynskyi
d21546e397
Add support for "Text as path" feature.
2021-09-03 11:32:07 +03:00
Roman Telezhynskyi
8e9547da4a
Remove unused length.
2021-09-01 09:21:06 +03:00
Roman Telezhynskyi
1e15d343a0
Show seam line feature.
2021-08-31 14:12:46 +03:00
Roman Telezhynskyi
b14ad59010
Import with update.
2021-08-31 13:08:59 +03:00
Roman Telezhynskyi
29325add49
Gradation label.
2021-08-31 12:07:26 +03:00
Roman Telezhynskyi
cf75f88fcb
Paint piece labels.
2021-08-27 18:27:52 +03:00
Roman Telezhynskyi
5c9b71dee4
Warnings piece out of bound and superposition of pieces.
2021-08-27 18:27:52 +03:00
Roman Telezhynskyi
877fe380e3
Follow grainline.
2021-08-26 19:04:24 +03:00
Roman Telezhynskyi
6c1c2fea36
Code style.
2021-08-26 08:50:20 +03:00
Roman Telezhynskyi
d32bbfcfd4
Layout properties.
2021-08-25 16:58:50 +03:00
Roman Telezhynskyi
4646b6c1fb
Default layout settings.
2021-08-21 16:14:03 +03:00
Roman Telezhynskyi
a35e46f845
Undo/Redo piece rotate.
2021-08-18 20:33:47 +03:00
Roman Telezhynskyi
742c1c3eb3
Handle read only state.
2021-08-14 17:16:58 +03:00
Roman Telezhynskyi
807183b2ce
Read/Write layout file.
2021-08-14 15:19:28 +03:00
Roman Telezhynskyi
718ff2056a
Refactor names to avoid confusion.
2021-08-14 15:18:15 +03:00
Roman Telezhynskyi
3fbe96c2a7
Piece rotation.
2021-08-09 15:09:10 +03:00
Roman Telezhynskyi
785d72117d
Fix incorrect comparison of the global length of passmark to minimal allowed value.
2021-08-06 16:54:45 +03:00
Roman Telezhynskyi
53f7d00e6d
Fix crash when a grainline is empty.
2021-07-27 10:13:11 +03:00
Roman Telezhynskyi
cfac8e8355
Cppcheck warning.
2021-07-26 16:52:54 +03:00
Roman Telezhynskyi
e5105e4eed
Merge branch 'develop' into feature/manual-layout
2021-07-26 16:47:54 +03:00
Roman Telezhynskyi
816f9f02a3
When we search point of intersection curve and axis select the base point only at the end.
2021-07-24 16:36:17 +03:00
Roman Telezhynskyi
6c5c4f671b
Fix hover for tool point of intersection curve and axis.
2021-07-24 16:26:42 +03:00
Roman Telezhynskyi
8656e9f633
GCC warning.
2021-07-24 12:35:22 +03:00
Roman Telezhynskyi
a474713b77
Fix visualization for tool point of intersection line and axis. Case when the axis's point lies on the line.
2021-07-24 12:05:55 +03:00
Roman Telezhynskyi
25047b329d
Fix hover for tool point of intersection line and axis.
2021-07-24 12:05:04 +03:00
Roman Telezhynskyi
8ffc2447dd
Fix finding point of intersection curve and axis.
...
Add case where the axis's point lies on the curve.
2021-07-24 11:27:50 +03:00
Roman Telezhynskyi
a6d9194051
New warnings. Warn a user about incorrect cut curve segment length.
2021-07-24 11:15:48 +03:00
Roman Telezhynskyi
5d84aa6dc1
Fix regression. Set default value for detail labels size and grainline length to 10 cm.
2021-07-20 16:14:13 +03:00
Roman Telezhynskyi
af3ce8abfe
Fix build.
2021-07-10 16:21:44 +03:00
Roman Telezhynskyi
bd229583d4
Test IsAllowanceValid method.
2021-07-10 16:13:29 +03:00
Roman Telezhynskyi
7043d59858
Warn about stale layout only in GUI mode.
2021-07-09 15:38:53 +03:00
Roman Telezhynskyi
d280f6a2bb
Fix regression. Minimal seam allowance width is less than the point accuracy values.
2021-07-09 10:42:17 +03:00
Roman Telezhynskyi
5b7e98bf48
Bump version.
2021-07-01 17:12:34 +03:00
Roman Telezhynskyi
7ea984f194
Fix crash.
2021-07-01 16:54:49 +03:00
Roman Telezhynskyi
391a721d84
Fix GCC warnings.
2021-07-01 16:03:38 +03:00
Roman Telezhynskyi
da3e6a8dd7
Bump version.
2021-06-29 17:31:40 +03:00
Roman Telezhynskyi
c867a9a56e
Export the Draw mode. Closes #83
2021-06-28 20:05:19 +03:00
Roman Telezhynskyi
b2b7dff106
Fix regression. Fix correct handle export format for exporting details in the Detail mode.
2021-06-28 10:25:52 +03:00
Roman Telezhynskyi
f5a5fadc52
Optimize calls.
2021-06-23 15:58:43 +03:00
Roman Telezhynskyi
3c27c3ee46
Fix incorrect seam allowance. Closes #133
2021-06-22 19:04:13 +03:00
Roman Telezhynskyi
4bf9a70a65
Update website link.
...
We now have new website.
2021-06-22 16:30:22 +03:00
Roman Telezhynskyi
5defddfbb8
Fix parsing formulas with not canonical math symbols.
...
(cherry picked from commit 5672e616af
)
2021-06-11 15:30:24 +03:00
Roman Telezhynskyi
5672e616af
Fix parsing formulas with not canonical math symbols.
2021-06-11 15:30:06 +03:00
Roman Telezhynskyi
88e681348b
Fix build.
2021-06-04 10:43:15 +03:00
Roman Telezhynskyi
e40f15ea35
Merge branch 'develop' into feature/manual-layout
2021-06-04 08:49:36 +03:00
Roman Telezhynskyi
3ae13febd3
Incorrect behavior of empty arc and elliptical arc. Closes #129
2021-05-31 12:07:28 +03:00
Roman Telezhynskyi
7ee158c11c
New menu option Add sheet.
2021-05-27 21:11:32 +03:00
Roman Telezhynskyi
962b5dd561
Cppcheck warning.
2021-05-27 20:58:18 +03:00
Roman Telezhynskyi
f3c0af7294
Improve creating a piece icon.
...
Add more information about contour: seam line, seam allowance, notches, grainline, internal paths.
2021-05-27 19:52:37 +03:00
Roman Telezhynskyi
18c804c962
Fix closing a pattern file.
...
Because we did not properly cleared VAbstractPattern class state Valentina thought that after closing the pattern file we still have unsaved changes.
(cherry picked from commit a907ab03ce
)
2021-05-26 10:40:45 +03:00
Roman Telezhynskyi
a907ab03ce
Fix closing a pattern file.
...
Because we did not properly cleared VAbstractPattern class state Valentina thought that after closing the pattern file we still have unsaved changes.
2021-05-26 10:40:21 +03:00
Roman Telezhynskyi
53ed34c226
Mark required attributes.
2021-05-26 10:14:01 +03:00
Roman Telezhynskyi
66283709d1
Refactoring.
...
Redesign SetAttributeOrRemoveIf. Add use of a lambda function.
2021-05-25 21:31:02 +03:00
Roman Telezhynskyi
5467e213a2
Read/write empty layout file.
2021-05-22 20:29:33 +03:00
Ronan
302a1fbc2b
Move ExportFormatSuffix and Description to VLayoutExporter
2021-05-22 11:52:24 +02:00
Roman Telezhynskyi
fcc221f53a
Cppcheck warning.
2021-05-21 21:41:56 +03:00
Roman Telezhynskyi
a9711316ec
Refactoring.
2021-05-21 21:33:17 +03:00
Roman Telezhynskyi
06d19ace25
Dialog File > Preferences.
2021-05-21 20:51:46 +03:00
Roman Telezhynskyi
6efa26ffe3
File > Open Layout.
2021-05-21 18:08:37 +03:00
Roman Telezhynskyi
d10355b400
File > Save functions.
2021-05-21 17:17:22 +03:00
Roman Telezhynskyi
dc50d24439
Review class VPMainWindow.
...
Setup initial state for a window. User must click New or Open before starting to use the window.
2021-05-20 18:33:53 +03:00
Roman Telezhynskyi
d7041cc835
Control length of a passmark for builtin seam allowance with global setting. #124
...
This case was not covered.
(cherry picked from commit a5191ce763
)
2021-05-20 11:49:04 +03:00
Roman Telezhynskyi
a5191ce763
Control length of a passmark for builtin seam allowance with global setting. #124
...
This case was not covered.
2021-05-20 11:48:47 +03:00
Roman Telezhynskyi
43fbdbf83c
Port changes for Puzzle to the pattern format version 0.8.11.
2021-05-15 12:43:16 +03:00
Roman Telezhynskyi
68c6c033b4
Merge branch 'develop' into feature/manual-layout
2021-05-15 11:27:37 +03:00
Roman Telezhynskyi
5c8fbbcc59
Fix getting the latest tag distance. #126
2021-05-13 21:38:24 +03:00
Roman Telezhynskyi
1ea8e1baaa
Bump version.
2021-05-13 14:24:05 +03:00
Roman Telezhynskyi
8e94e4f0dc
Update debugbreak to the latest version.
...
Since Clang 10 Clang doesn't like `gnu_inline` attribute.
2021-05-13 11:13:20 +03:00
Roman Telezhynskyi
2a4082c5a8
Fix build on Windows.
2021-05-11 10:53:18 +03:00
Roman Telezhynskyi
6abddfd240
Standard passmarks length for all pieces. Closes #124
2021-05-10 16:39:17 +03:00
Roman Telezhynskyi
6bfc5065bd
Alias support for tools Point of intersection curve and axis and Point of intersection curves.
2021-05-08 10:54:14 +03:00
Roman Telezhynskyi
b89be44a88
Improve tool tooltip. Show segment names and aliases.
...
Show segments for tools: Curve intersect axis, Point of intersection curves.
Show aliases for tools: Segment Arc, Segment Spline, Segment Spline Path.
2021-05-07 17:00:23 +03:00
Roman Telezhynskyi
69da5ba9b7
Fix regression. Incorrect data caching.
2021-05-07 11:19:06 +03:00
Roman Telezhynskyi
40af5ce356
Fix correct handle a final measurement formula error when exporting a pattern recipe.
...
Valentina must not crash.
(cherry picked from commit abdebbbfaa
)
2021-05-05 19:47:55 +03:00
Roman Telezhynskyi
abdebbbfaa
Fix correct handle a final measurement formula error when exporting a pattern recipe.
...
Valentina must not crash.
2021-05-05 18:53:15 +03:00
Roman Telezhynskyi
68990ef5b4
Merge branch 'develop' into feature/manual-layout
2021-05-03 18:39:56 +03:00
Roman Telezhynskyi
613502b392
Improve error handling for the dxf export.
2021-04-28 20:06:24 +03:00
Roman Telezhynskyi
f4eb8330b3
Merge branch 'develop' into feature/manual-layout
2021-04-24 13:05:13 +03:00
Roman Telezhynskyi
e1fa77510b
Remember last selected export format.
2021-04-23 18:03:16 +03:00
Roman Telezhynskyi
d9f2b756a4
Extend piece bounding rect. Closes #122
2021-04-23 09:26:49 +03:00
Roman Telezhynskyi
1cccaf097c
Fix incorrect elliptical arc end angle. Closes #121
2021-04-20 19:56:30 +03:00
Roman Telezhynskyi
730614fc97
Fix export to DXF AAMA/ASTM.
...
Don't export a sew line if a piece doesn't have seam allowance.
2021-04-19 17:28:25 +03:00
Roman Telezhynskyi
197a4a54e1
Fix incorrect seam allowance. Closes #120
2021-04-10 19:18:28 +03:00
Roman Telezhynskyi
dbf7343c87
Improve tool Point of intersection curves. Closes #119
2021-04-09 18:06:34 +03:00
Roman Telezhynskyi
2a9adb5d88
Fix deprecation warning.
...
Some headers from C library were deprecated in C++ and are no longer welcome in C++ codebases.
2021-04-09 17:51:45 +03:00
Roman Telezhynskyi
17de0410a0
Fix crash while delete the last base point.
...
Disable removing by key Delete if a base point is the last.
2021-04-08 18:36:51 +03:00
Roman Telezhynskyi
5fcefc0642
Fix removing last duplicate point.
...
If removeFirstAndLast not active the last point must remain intact.
2021-04-07 20:41:57 +03:00
Roman Telezhynskyi
56ae4a1381
Fix incorrect seam allowance. Closes #118
2021-04-07 20:38:56 +03:00
Roman Telezhynskyi
f85c29649b
Bump version.
2021-03-31 17:22:18 +03:00
Roman Telezhynskyi
bfe2cfb0e1
Fix incorrect seam allowance. Closes #114
2021-03-30 20:21:42 +03:00
Roman Telezhynskyi
453736dfbc
Fix crash if a piece contour is empty.
2021-03-30 18:21:02 +03:00
Roman Telezhynskyi
b2e75261b7
Fix incorrect seam allowance. Closes #113
2021-03-30 18:11:18 +03:00
Roman Telezhynskyi
d5310d8ae1
Fix incorrect seam allowance. Closes #112
2021-03-30 16:20:38 +03:00
Roman Telezhynskyi
33b8482f18
Clazy warnings.
2021-03-30 16:10:31 +03:00
Roman Telezhynskyi
e00cfb9890
Incorrect duplication of a piece. Missing restoring pins.
2021-03-29 16:09:00 +03:00
Roman Telezhynskyi
95fb3f3d89
Pattern label template placeholder with dimension label value. Closes #109
2021-03-29 15:06:32 +03:00
Roman Telezhynskyi
45649f5178
Fix regression. Closes #111
...
Enable Pattern label position options when load not empty label template.
2021-03-26 17:51:28 +02:00
Roman Telezhynskyi
707e0e682d
Improve point comparison. Loose restrictions for distance between points. smart-pattern/valentina#103
...
- Instead of default value for accuracy use 1 mm. This should help to cover more false positive cases.
- All tests are now enabled on all platforms.
- Added calculation of a distance between points to see exactly how big is difference.
2021-03-04 13:53:22 +02:00
Roman Telezhynskyi
80b6c97b3a
Bump version.
2021-02-26 16:21:54 +02:00
Roman Telezhynskyi
0138e5a321
Merge remote-tracking branch 'origin/develop' into feature/manual-layout
2021-02-24 16:26:11 +02:00
Roman Telezhynskyi
f46c604bd2
Enabling Show Curve Details option causes constant redraw.
2021-02-24 14:54:35 +02:00
Roman Telezhynskyi
cecc1dfd4e
Incorrect fix of seam allowance distortion. Closes smart-pattern/valentina#99
2021-02-23 18:29:54 +02:00
Roman Telezhynskyi
9f940ba7cf
Fix bug in seam allowance.
2021-02-23 16:08:12 +02:00
Roman Telezhynskyi
af1a77f1f1
Fix regression with country flags.
...
Since Qt 5.12 QLocale::countryToString returns names of countries with spaces.
2021-02-21 19:39:06 +02:00
Roman Telezhynskyi
e9f9fb0f30
Fix incorrect seam allowance for angle type second edge right angle.
2021-02-17 19:26:54 +02:00
Roman Telezhynskyi
c1b7fcd2c9
Changes to QTemporaryFile since Qt 5.10.
...
On Linux, QTemporaryFile will attempt to create unnamed temporary
files. If that succeeds, open() will return true but exists() will be
false. If you call fileName() or any function that calls it,
QTemporaryFile will give the file a name, so most applications will
not see a difference.
To get a real file on disk call fileName().
2021-02-17 19:20:35 +02:00
Roman Telezhynskyi
c8f12690bc
Clean pattern messages.
...
Replace \" with ".
2021-02-17 19:07:55 +02:00
Roman Telezhynskyi
d2c6ebba21
Fix the formula wizard crash.
2021-02-10 19:22:59 +02:00
Roman Telezhynskyi
c10611605b
Bump version.
2021-02-09 19:53:05 +02:00
Roman Telezhynskyi
1b57580c15
Fix bug. Undo Union details hide piece node points.
2021-02-07 11:26:54 +02:00
Roman Telezhynskyi
4665bc16e0
Fix crash when edit a group operation notes.
2021-02-06 16:39:47 +02:00
Roman Telezhynskyi
2bb95154cd
Fix Tape crash.
2021-02-06 15:52:21 +02:00
Roman Telezhynskyi
d61089d755
Suppress a warning.
2021-02-05 17:44:58 +02:00
Roman Telezhynskyi
29582687e5
Values for waist and hip swapped for individual measurements.
2021-02-03 17:17:43 +02:00
Roman Telezhynskyi
42e5c0be5b
Bump version.
2021-01-31 15:59:25 +02:00
Roman Telezhynskyi
6d3d624980
Improve error handling for final measurements placeholders. #85
2021-01-30 21:15:49 +02:00
Roman Telezhynskyi
d62bf67759
Fix regression. Export to tiled PDF has no suffix.
2021-01-30 20:05:04 +02:00
Roman Telezhynskyi
d86a483524
Correct reading permissions on Windows.
2021-01-30 19:34:54 +02:00
Roman Telezhynskyi
1019f91d5b
Fix crash on Windows.
2021-01-27 09:27:34 +02:00
Roman Telezhynskyi
1935d7cb13
Bump version.
2021-01-26 15:38:47 +02:00
Roman Telezhynskyi
8b15f4aed6
Final measurement printout on pattern piece. Closes #85
2021-01-23 21:37:36 +02:00
Roman Telezhynskyi
c47664d86c
Allow insertion of multiple nodes by setting their number. Closes #88 . Ref #80
2021-01-23 21:11:21 +02:00
Roman Telezhynskyi
8123c67e7c
Move Pattern Label Data tab to piece dialog. Closes #89
2021-01-23 20:27:51 +02:00
Roman Telezhynskyi
d30ca54297
Fix width of a grainline on export.
2021-01-23 18:54:07 +02:00
Roman Telezhynskyi
2406e98350
Add support for TIFF format. Closes smart-pattern/valentina#87
2021-01-23 18:47:50 +02:00
Roman Telezhynskyi
f81babbf7b
Refactoring.
2021-01-23 15:25:01 +02:00
Roman Telezhynskyi
5eb8784cd4
New warning. Grainline is not valid.
2021-01-23 15:24:44 +02:00
Roman Telezhynskyi
3cc6cae97e
Lupdate.
2021-01-23 12:59:46 +02:00
Roman Telezhynskyi
a569a20756
Improve multisize measurements format. Allow excluding combinations inside min/max range.
2021-01-19 21:13:25 +02:00
Roman Telezhynskyi
61867fa2d7
Optimize a measurements file loading time.
2021-01-19 13:25:10 +02:00
Roman Telezhynskyi
4c0edca64a
Improve restrict dimension dialog. Disable not available combinations.
2021-01-19 12:24:56 +02:00
Roman Telezhynskyi
2b7769c80e
Improve multisize measurements format. Allow decimal step 0.5.
2021-01-18 20:44:06 +02:00
Roman Telezhynskyi
d60653fcd3
Add missing definition for restrictions section.
2021-01-15 21:31:25 +02:00
Roman Telezhynskyi
c2f2c62b1d
Relax requirements for the shiftA attribute.
2021-01-15 11:14:21 +02:00
Roman Telezhynskyi
d6e555f482
Reduce connectivity for VMainGraphicsView class.
...
Use a signal instead of direct read of a main window to trigger zoom fit best.
2020-12-27 16:38:40 +02:00
Roman Telezhynskyi
936011a8d6
Reduce connectivity for VMainGraphicsView class.
...
Use a signal instead of direct read of a main window to trigger zoom fit best.
2020-12-27 16:35:17 +02:00
Roman Telezhynskyi
6f3e65e30e
Merge branch 'develop' into feature/manual-layout
2020-12-26 22:29:10 +02:00
Roman Telezhynskyi
3c0c624682
Don't check warnings for a legacy mac os x build.
2020-12-26 19:44:55 +02:00
Roman Telezhynskyi
abe92c667d
Temporary enable full output for macosx.
2020-12-25 09:40:18 +02:00
Roman Telezhynskyi
26457152cd
Remove deprecated QPrinter methods.
2020-12-24 13:32:40 +02:00
Roman Telezhynskyi
de6e4d6fed
Fix a test crash.
2020-12-24 13:04:56 +02:00
Roman Telezhynskyi
60c6c9e5f4
Fix build.
2020-12-24 07:32:31 +02:00
Roman Telezhynskyi
54bad5d29c
Fix build.
2020-12-23 20:08:33 +02:00
Roman Telezhynskyi
dccc87d8af
Cppcheck warning.
2020-12-23 19:01:04 +02:00
Roman Telezhynskyi
547b6bcdb3
VLayoutExporter, add support for the RLD format.
2020-12-23 18:57:25 +02:00
Roman Telezhynskyi
a58a783aba
Merge branch 'develop' into feature/manual-layout
2020-12-23 18:40:33 +02:00
Roman Telezhynskyi
510a5ab6a7
Refactoring.
2020-12-23 15:42:30 +02:00
Roman Telezhynskyi
abb4397901
Introducing VPrintLayout class.
...
Refactoring printing a layout.
2020-12-23 15:30:06 +02:00
Roman Telezhynskyi
03ec38f2c3
Introducing new class VLayoutExporter.
...
Move all export code outside of the main window class.
2020-12-19 19:10:55 +02:00
Roman Telezhynskyi
4b2e8c0c82
Don't use static_cast for downcast.
2020-12-19 17:15:28 +02:00
Roman Telezhynskyi
c3142b8b07
Remove deprecated QPrinter methods.
2020-12-19 13:13:03 +02:00
Roman Telezhynskyi
e70e998dc5
Improve the layout option "Auto crop unused width".
2020-12-18 17:01:58 +02:00
Roman Telezhynskyi
58cae6f66c
New option "Don't use the native file dialog".
2020-12-17 18:43:15 +02:00
Roman Telezhynskyi
0ab76dd6b9
New warning. Warn about empty measurements dimension value when preparing placeholders.
2020-12-17 17:42:47 +02:00
Roman Telezhynskyi
f40c06b6fc
Fix invalid visualization for tool Point of intersection circles.
2020-12-08 11:20:44 +02:00
Roman Telezhynskyi
4166e8f635
Fix a regression in tool Segment a spline path.
...
Dialog must forbids a user to save an invalid point name.
2020-12-07 10:05:46 +02:00
Roman Telezhynskyi
7eb99f7a2f
Improve export of increments into a pattern recipe.
...
Add support for separators.
2020-12-05 14:50:55 +02:00
Roman Telezhynskyi
dc350ae0e2
Fix export of pattern recipe.
2020-12-05 12:36:40 +02:00
Roman Telezhynskyi
7002097362
Bump version.
2020-12-04 09:39:13 +02:00
Roman Telezhynskyi
40fb6e6900
New option Reset label position.
2020-12-04 09:24:31 +02:00
Roman Telezhynskyi
aa5f026c58
Merge branch 'develop' into feature/manual-layout
2020-11-27 11:56:55 +02:00
Roman Telezhynskyi
c4234b3050
Refactoring.
2020-11-27 10:57:11 +02:00
Roman Telezhynskyi
8877ce4630
Fix arc name in property browser.
2020-11-27 10:42:00 +02:00
Roman Telezhynskyi
3ce704d039
Improve crossing check for the layout algorithm.
2020-11-26 19:55:02 +02:00
Roman Telezhynskyi
f2624692e3
Refactoring.
...
Rename the function to better reflect its purpose.
2020-11-26 19:39:55 +02:00
Roman Telezhynskyi
27fe4b15fd
Fix regression.
...
Regression after commit 1539abaf4d
.
2020-11-26 19:39:18 +02:00
Roman Telezhynskyi
a6437dbb3b
Fix incorrect nesting status for valid cases.
2020-11-26 19:12:59 +02:00
Roman Telezhynskyi
f4f6ba9989
Improve canceling nesting.
2020-11-26 19:11:42 +02:00
Roman Telezhynskyi
4041f9e154
Restore layout debug system.
2020-11-26 19:10:09 +02:00
Roman Telezhynskyi
bccc852931
Fix arc names in property browser.
2020-11-26 13:08:48 +02:00
Roman Telezhynskyi
1e960e2f8a
Refactoring. Remove unused argument.
2020-11-25 09:59:36 +02:00
Roman Telezhynskyi
e8b69bbb88
Refactoring. Remove unused argument.
2020-11-25 08:47:01 +02:00
Roman Telezhynskyi
e2f4859d48
Fix curve names in property browser.
2020-11-25 08:44:05 +02:00
Roman Telezhynskyi
10684213ec
Merge remote-tracking branch 'origin/develop' into feature/manual-layout
2020-11-24 13:30:33 +02:00
Roman Telezhynskyi
1539abaf4d
Fix hiding inserted node in a pattern piece after its removal.
2020-11-24 13:28:42 +02:00
Roman Telezhynskyi
ce94d0747d
Lupdate.
2020-11-23 17:38:25 +02:00
Roman Telezhynskyi
76f195121e
Bump version.
2020-11-23 10:48:58 +02:00
Roman Telezhynskyi
486e9bc917
Fix curve name in property browser for segmenting tools.
...
(cherry picked from commit 9d323169e2
)
2020-11-22 16:07:27 +02:00
Roman Telezhynskyi
9d323169e2
Fix curve name in property browser for segmenting tools.
2020-11-22 16:07:09 +02:00
Roman Telezhynskyi
e8fd8095b4
Merge branch 'develop' into feature/manual-layout
2020-11-21 19:05:46 +02:00
Roman Telezhynskyi
28d2358825
Allow insertion of multiple nodes. Closes #80
2020-11-21 19:04:31 +02:00
Roman Telezhynskyi
c31966145e
Improve object alias validation.
...
Property browser not correctly validates an object alias.
2020-11-21 15:44:55 +02:00
Roman Telezhynskyi
d8c1c8e4d4
Generate new uuid for a piece duplicate.
2020-11-20 20:39:42 +02:00
Roman Telezhynskyi
435122de92
Fix build on Windows.
...
(cherry picked from commit 8aea612202
)
2020-11-20 20:24:41 +02:00
Roman Telezhynskyi
8aea612202
Fix build on Windows.
2020-11-20 19:53:36 +02:00
Roman Telezhynskyi
b82d6f1bb1
Merge remote-tracking branch 'origin/develop' into feature/manual-layout
2020-11-20 13:40:39 +02:00
Roman Telezhynskyi
80d9fbc107
New function Warning.
2020-11-20 13:18:38 +02:00
Roman Telezhynskyi
4def392945
Bump version.
2020-11-17 14:12:51 +02:00
Roman Telezhynskyi
1e3f11d1a1
Fix crash when save notes for the line tool.
...
(cherry picked from commit 66fc63c04b
)
2020-11-13 15:27:24 +02:00
Roman Telezhynskyi
66fc63c04b
Fix crash when save notes for the line tool.
2020-11-13 15:27:06 +02:00
Roman Telezhynskyi
9ae51c937f
Merge remote-tracking branch 'origin/develop' into feature/manual-layout
2020-11-13 11:52:10 +02:00
Roman Telezhynskyi
3c7f565d86
Fix build.
2020-11-12 17:30:30 +02:00
Roman Telezhynskyi
e730cba188
Bump version.
2020-11-12 16:34:56 +02:00
Roman Telezhynskyi
9e4fa8337d
Fix validation issue. Treat empty attribute as default value.
2020-11-12 16:19:08 +02:00
Roman Telezhynskyi
34fd0b81bf
Allow controlling collection timeout over environment variable VTEST_RUN_TIMEOUT. #79
2020-11-12 16:01:10 +02:00
Roman Telezhynskyi
48bc720daa
Add missing signals.
2020-11-12 14:00:14 +02:00
Roman Telezhynskyi
8c70272e60
Bump version.
2020-11-11 09:53:43 +02:00
Roman Telezhynskyi
453d120150
Cppcheck warnings.
2020-11-10 16:10:38 +02:00
Roman Telezhynskyi
0371905c0d
Merge remote-tracking branch 'origin/develop' into feature/manual-layout
2020-11-10 16:00:01 +02:00
Roman Telezhynskyi
1fc2d787de
Fix build with MSVC.
2020-11-10 13:05:58 +02:00
Roman Telezhynskyi
545f2d33fe
Independent pen style and color after a group operation.
2020-11-10 12:40:37 +02:00
Roman Telezhynskyi
49b43674c3
Free bug in VToolSplinePath::UpdateControlPoints.
2020-11-09 14:24:55 +02:00
Roman Telezhynskyi
3a76f5f0cb
Change value for an uninitialized local variable to NAN.
2020-11-09 13:39:32 +02:00
Roman Telezhynskyi
87889196b8
Cppcheck warning.
2020-11-07 17:43:49 +02:00
Roman Telezhynskyi
adab733202
Use an object name together with alias everywhere where is possible.
2020-11-07 16:20:35 +02:00
Roman Telezhynskyi
91da094f2b
Alias support for pattern recipe.
2020-11-07 15:34:50 +02:00
Roman Telezhynskyi
e5a9092e25
Fix potential crash with too big shift for a label.
2020-11-07 15:14:46 +02:00
Roman Telezhynskyi
99985d43e0
Alias support for group operations.
2020-11-07 15:02:30 +02:00
Roman Telezhynskyi
3feddb9ce9
Fix alias validation bug.
2020-11-07 11:18:13 +02:00
Roman Telezhynskyi
061c9b502a
Use a regex to validate alias.
2020-11-06 14:48:37 +02:00
Roman Telezhynskyi
3e682b180c
Alias field for tool Cut Spline Path.
2020-11-04 18:14:34 +02:00
Roman Telezhynskyi
abff41813a
Alias field for tool Cut Spline.
2020-11-04 18:14:34 +02:00
Roman Telezhynskyi
2574ecda0e
Alias field for tool Cut Arc.
2020-11-04 18:14:34 +02:00
Roman Telezhynskyi
b1f9327393
Alias field for tool Spline Path.
2020-11-04 17:36:54 +02:00
Roman Telezhynskyi
648d1f1897
Alias field for tool Spline.
2020-11-04 17:36:54 +02:00
Roman Telezhynskyi
7fe316c876
Alias field for tool Cubic Bezier Path.
2020-11-04 17:36:54 +02:00
Roman Telezhynskyi
38e60d5905
Fix name for history with alias.
2020-11-04 17:36:54 +02:00
Roman Telezhynskyi
a5f65c319c
Alias field for tool Cubic Bezier.
2020-11-04 17:36:54 +02:00
Roman Telezhynskyi
c77d4c9bd2
Improve object name translation.
2020-11-04 17:36:54 +02:00
Roman Telezhynskyi
0301c8289f
Alias field for tool Elliptical arc.
2020-11-04 17:36:54 +02:00
Roman Telezhynskyi
7542fc5dc2
Alias field for tool Arc with length.
2020-11-04 17:36:54 +02:00
Roman Telezhynskyi
1246aba24d
Alias field for tool Arc.
2020-11-04 16:17:16 +02:00
Roman Telezhynskyi
8b49ea68c8
Add alias support for internal variables.
2020-11-04 16:17:16 +02:00
Roman Telezhynskyi
788aa92d44
Add alias attribute for geometric object.
2020-11-04 16:17:16 +02:00
Roman Telezhynskyi
8a6003752e
Fix property value update.
...
Default handler doesn't work in our cases.
2020-11-04 16:17:16 +02:00
Roman Telezhynskyi
37722788bb
New pattern format version.
2020-11-04 16:17:16 +02:00
Roman Telezhynskyi
2f9708337d
Cleaning code.
2020-10-31 10:14:08 +02:00
Roman Telezhynskyi
25a5a564b5
Lupdate.
2020-10-30 13:23:11 +02:00
Roman Telezhynskyi
42afd0e2f6
Fix a size policy for widgets in the property browser.
2020-10-29 14:44:32 +02:00
Roman Telezhynskyi
d5da8c6799
Fix warning: unused variable 'textEdit'.
2020-10-29 08:58:26 +02:00
Roman Telezhynskyi
9e3e59d267
Fix error: 'width' is deprecated: Use QFontMetrics::horizontalAdvance.
2020-10-28 17:22:47 +02:00
Roman Telezhynskyi
d609214f92
Export notes in recipe.
2020-10-28 15:48:19 +02:00
Roman Telezhynskyi
8927abe99a
Reading/writing a draw tool notes.
2020-10-28 14:09:56 +02:00
Roman Telezhynskyi
460683c942
Show Notes field for all draw mode tools in the property browser.
2020-10-28 11:52:07 +02:00
Roman Telezhynskyi
de401b2d06
Add notes for the base point tool to property browser.
2020-10-27 18:26:33 +02:00
Roman Telezhynskyi
fe8552cec1
New pattern format version.
2020-10-27 18:25:03 +02:00
Roman Telezhynskyi
b820107b4d
Notes for tool Base point.
2020-10-27 16:21:51 +02:00
Roman Telezhynskyi
1e04dda335
Increase max value for the size dimension to 60.
2020-10-26 13:17:59 +02:00
Roman Telezhynskyi
b15a11dac2
Improve editing a spline path through control points for locked angles.
...
When a user locks one segment of a spline path, the neighboring segment must not be able to override it.
2020-10-26 13:15:28 +02:00
Roman Telezhynskyi
92028ddbc4
Fix issue in VAbstractCurve::CurveIntersectAxis.
...
Add normalization of the axis angle. Value must positive value between 0 and 359 degree.
2020-10-26 10:00:57 +02:00
Roman Telezhynskyi
de02bedd36
Cppcheck warning.
2020-10-26 08:05:13 +02:00
Roman Telezhynskyi
c6e2819587
Fix Tape crash on Mac OS X.
2020-10-25 15:25:57 +02:00
Roman Telezhynskyi
188d7097e1
New versioning schema. Closes #5
2020-10-24 12:23:35 +03:00
Roman Telezhynskyi
ad4b9cbb6b
New way to check the test branch.
2020-10-24 11:57:56 +03:00
Roman Telezhynskyi
eaf87cc4a1
Remove pumpkin mode.
2020-10-24 11:42:56 +03:00
Roman Telezhynskyi
232c57d340
Update the dimensions min and max values.
2020-10-20 16:52:50 +03:00
Roman Telezhynskyi
e65363546b
Swap hip and waist.
2020-10-20 16:29:11 +03:00
Roman Telezhynskyi
1ae28a7f38
Fix building on Mac OS X.
2020-10-16 19:07:06 +03:00
Roman Telezhynskyi
cebd4995c8
Cppcheck warning.
2020-10-16 15:52:38 +03:00
Roman Telezhynskyi
925c5adf1b
Cppcheck warning.
2020-10-16 15:12:06 +03:00
Roman Telezhynskyi
49d3ad1f80
Merge branch 'multisize-measurements-tables-improvement' into develop
2020-10-16 14:45:35 +03:00
Roman Telezhynskyi
34e1391ecb
Remove translation for label placeholders.
2020-10-16 13:55:51 +03:00
Roman Telezhynskyi
d10f20f399
Extend placeholders list with list of measurements.
2020-10-16 13:43:54 +03:00
Roman Telezhynskyi
92c3f75e02
Fix tests.
2020-10-16 12:16:47 +03:00
Roman Telezhynskyi
3133ae1609
Clean code.
2020-10-16 12:02:32 +03:00
Roman Telezhynskyi
1b2343e537
Extend list of placeholders.
...
Added customer email and birth date, all dimensions.
2020-10-16 11:37:49 +03:00
Roman Telezhynskyi
0eaf15f09d
Show a measurement special units in description.
2020-10-16 09:47:27 +03:00
Roman Telezhynskyi
18e1a4a601
Remove gradation information from pattern.
2020-10-16 08:22:43 +03:00
Roman Telezhynskyi
4cea74d63b
Loading measurements in Valentina.
2020-10-15 18:05:21 +03:00
Roman Telezhynskyi
23e6d0f830
Allow a user to select dimensions for individual measurements.
2020-10-15 09:35:08 +03:00
Roman Telezhynskyi
8c0bcfec37
Fix regression in VAbstractCurve::CurveIntersectLine.
2020-10-13 12:12:52 +03:00
Roman Telezhynskyi
ed2bf34f1e
Refactoring. Rename folder standard_measurements to multisize_measurements.
...
Standard measurements is old definition. It was replace with new multisize measurements.
2020-10-13 09:43:19 +03:00
Roman Telezhynskyi
eaf6975331
Dimension labels.
2020-10-08 13:34:38 +03:00
Roman Telezhynskyi
506ce6fb5e
Redesign filtering bases.
2020-10-07 17:12:53 +03:00
Roman Telezhynskyi
4a12c1ca74
Continue improving dialog Dimension restrictions.
2020-10-06 18:00:53 +03:00
Roman Telezhynskyi
1483f7a0cc
Improve warning about error in calculating a curve segment.
...
Added in the message information about the path name.
(cherry picked from commit 75e296e839
)
2020-10-05 16:50:14 +03:00
Roman Telezhynskyi
75e296e839
Improve warning about error in calculating a curve segment.
...
Added in the message information about the path name.
2020-10-05 16:39:01 +03:00
Roman Telezhynskyi
df2f2f7f83
Dialog Restrict dimension.
2020-10-05 15:14:38 +03:00
Roman Telezhynskyi
f96fd45a90
New feature Export to individual measurements.
2020-10-05 11:45:16 +03:00
Roman Telezhynskyi
7c66482b67
Conversion multisize measurements to version 0.5.0.
2020-10-05 10:17:39 +03:00
Roman Telezhynskyi
cfe46d97e4
Fix calculation a dimension step.
...
Value for millimeters is to small.
2020-10-05 10:13:44 +03:00
Roman Telezhynskyi
a083d2ff18
Hash must contains only active dimensions.
2020-10-03 18:53:36 +03:00
Roman Telezhynskyi
eef01f1d3e
Add changes to the multisize measurements schema.
2020-10-03 18:53:36 +03:00
Roman Telezhynskyi
a8ddcc56cc
Update individual measurements schema.
...
Added special units attribute.
2020-10-03 18:53:36 +03:00
Roman Telezhynskyi
16ce597a37
Reading/Writing a measurement data.
2020-10-03 18:53:36 +03:00
Roman Telezhynskyi
ecb62257c2
Dimension controls.
2020-10-03 07:34:25 +03:00
Roman Telezhynskyi
1ffbc0a720
Fix reading/writing Full circumference.
2020-10-01 19:09:23 +03:00
Roman Telezhynskyi
ac72a6cfa9
Missed reading base value.
2020-10-01 19:09:23 +03:00
Roman Telezhynskyi
a0cfebf10d
Save option Full Circumference.
2020-10-01 19:09:23 +03:00
Roman Telezhynskyi
daef1799ab
New format version. Basic implementation.
2020-10-01 19:09:23 +03:00
Roman Telezhynskyi
cea2671687
Saving dimensions. Reading dimensions.
2020-10-01 13:32:02 +03:00
Roman Telezhynskyi
484b92a38e
Dialog setup miltisize measurements.
2020-09-28 16:38:32 +03:00
Roman Telezhynskyi
054560c7a0
Fix label size for case with two pins.
...
(cherry picked from commit 64f70a58cf
)
2020-09-23 16:55:04 +03:00
Roman Telezhynskyi
047ace3f26
Fix removing a pin in the Seam Allowance tool dialog.
...
(cherry picked from commit b83fec62bf
)
2020-09-23 14:58:34 +03:00
Roman Telezhynskyi
f150428925
Fix bug in VAbstractCurve::CurveIntersectLine.
...
QLineF::intersects not always accurate on edge cases. We must provide additional check.
2020-09-22 17:05:18 +03:00
Roman Telezhynskyi
0828f25788
Fix crash when a notch is empty.
2020-09-22 14:43:39 +03:00
Roman Telezhynskyi
e3ca47dc10
Fix the second case of error: 'auto' not allowed in lambda parameter.
2020-09-22 10:23:27 +03:00
Roman Telezhynskyi
88ec0f69ca
Fix error: 'auto' not allowed in lambda parameter.
2020-09-22 09:45:17 +03:00
llocram
c8119b88c9
Silenced conversion warning
2020-08-28 17:32:35 +02:00
llocram
819bcadee4
Replaced hand-crafted find-algorithm with std::find_if. Removed a logical error (pos > points.size() never returns true).
2020-08-28 14:18:41 +02:00
llocram
1a2c5de357
Replaced hand-crafted reverse algorithm with std::reverse
2020-08-28 14:09:16 +02:00
llocram
ed970fe6f6
Minor refactoring
2020-08-28 13:57:14 +02:00
Roman Telezhynskyi
07858f7fcb
Refactoring.
2020-08-01 11:55:56 +03:00
Roman Telezhynskyi
eb04357f51
Small improvement for debugging paths.
...
Show node index number.
2020-07-31 16:34:37 +03:00
Roman Telezhynskyi
15d02bc456
Fix invalid layout allowance. Closes #58
2020-07-31 16:31:27 +03:00
Roman Telezhynskyi
49c62b072b
Refactoring.
...
Add new constructor for class VRawSAPoint to improve readability.
2020-07-31 16:15:00 +03:00
Roman Telezhynskyi
dc14f164be
Fix error in Reverse function.
2020-07-13 18:23:15 +03:00
Roman Telezhynskyi
9389cb546c
Refactoring. Redesign a container reversing method.
2020-07-13 16:28:59 +03:00
Roman Telezhynskyi
acac092ff3
Fix path to AppImage root folder.
...
Valentina relies on absolute paths to find path to components. In case of AppImage path will be mimicked, but root must be corrected to take into account tmp folder AppImage mounts data.
2020-07-13 16:28:59 +03:00
Roman Telezhynskyi
cc506e96ea
Fix hardcoded path to package data directory. It should be controlled over prefix. #56
2020-07-11 10:52:53 +03:00
Roman Telezhynskyi
5618df2b66
Fix build. Add missing headers. Closes #54
2020-07-10 20:15:46 +03:00
Roman Telezhynskyi
233246730c
Use of QWheelEvent::orientation has been deprecated since Qt 5.15.
2020-07-08 11:44:58 +03:00
Roman Telezhynskyi
158edcc093
Use of QButtonGroup::buttonClicked has been deprecated since Qt 5.15.
2020-07-08 11:29:40 +03:00
Roman Telezhynskyi
e31a22654e
Use of Qt::MatchRegExp deprecated since Qt 5.15. Use Qt::MatchRegularExpression instead.
2020-07-08 10:31:53 +03:00
Roman Telezhynskyi
dd9cfb39f5
More deprecation warnings.
2020-07-07 19:15:43 +03:00
Roman Telezhynskyi
e2669b4e2b
Fix build on Linux.
2020-07-07 18:55:31 +03:00
Roman Telezhynskyi
c3e935029e
More deprecation warnings.
2020-07-07 17:48:26 +03:00
Roman Telezhynskyi
3383df193b
More deprecation warnings.
2020-07-07 10:51:00 +03:00
Roman Telezhynskyi
2c7456ccd3
Try another approach.
2020-07-06 16:35:54 +03:00
Roman Telezhynskyi
43db94f4b0
Fix conditions.
2020-07-06 15:37:41 +03:00
Roman Telezhynskyi
8bf4c85e6e
Fix deprecation warnings.
2020-07-06 09:41:08 +03:00
Roman Telezhynskyi
a887fcb3df
New warning. Error calculating segment of curve.
2020-07-04 15:13:45 +03:00
Roman Telezhynskyi
5f2bec91d9
DRY. Refactoring item move code. smart-pattern/valentina#53
2020-06-20 12:20:39 +03:00
Roman Telezhynskyi
d08da56764
Improve moving items on scene smart-pattern/valentina#53 .
...
Increase delay to 160 ms. Set static margins.
2020-06-20 12:08:59 +03:00
Roman Telezhynskyi
e419ccfece
Fix build on Qt 5.15: missed include in vlayoutdef header.
...
(cherry picked from commit 6af9d104cd
)
2020-06-13 11:26:20 +03:00
Roman Telezhynskyi
6af9d104cd
Fix build on Qt 5.15: missed include in vlayoutdef header.
2020-06-13 11:25:54 +03:00
Roman Telezhynskyi
20b797b2c5
Merge branch 'develop' into feature/manual-layout.
2020-06-04 13:45:32 +03:00
Roman Telezhynskyi
54482b7c75
Fix label alignment.
...
Alignment type 0 (no alignment, same as left) was incorrectly handled for layout piece. Code for the layout piece label is separate and did not handle this case. Valid value 0 was handled as right alignment.
2020-06-03 14:47:37 +03:00
Roman Telezhynskyi
db007ac301
Improve checking allowance validity.
2020-06-03 13:18:43 +03:00
Roman Telezhynskyi
ca3c5c8532
Do not enable checking ntfs permissions for checking read only status.
2020-06-03 11:44:38 +03:00
Roman Telezhynskyi
c263060fd0
Invalid name of arc in modeling mode. Closes smart-pattern/valentina#40 .
2020-06-02 18:11:52 +03:00
Roman Telezhynskyi
8d68cde576
Don't show null lines. smart-pattern/valentina#32 .
...
If both points, start and end, of a line are equal such a line is invalid. To avoid incorrect representation do not draw it.
2020-06-02 16:35:40 +03:00
Roman Telezhynskyi
31db32b2b1
Fix generating a seam allowance. Closes smart-pattern/valentina#36 .
2020-06-02 13:49:44 +03:00
Roman Telezhynskyi
bdceb76316
Fix matching new line character at the end of label. Closes smart-pattern/valentina#46 .
...
Because Perl returns a string with a newline at the end when reading a line from a file, Perl’s regex engine matches $ at the position before the line break at the end of the string even when multi-line mode is turned off. Perl also matches $ at the very end of the string, regardless of whether that character is a line break. So ^\d+$ matches 123 whether the subject string is 123 or 123\n.
Most modern regex flavors have copied this behavior. That includes .NET, Java, PCRE, Delphi, PHP, and Python. This behavior is independent of any settings such as “multi-line mode”.
In all these flavors except Python, \Z also matches before the final line break. If you only want a match at the absolute very end of the string, use \z (lowercase z instead of uppercase Z). \A\d+\z does not match 123\n. \z matches after the line break, which is not matched by the shorthand character class.
2020-06-01 17:42:20 +03:00
Roman Telezhynskyi
2da8f70f86
Optimize tool box position for big screen resolutions. Closes smart-pattern/valentina#45 .
...
Instead of forcing users to one possible choice add an option to control size policy for the tool box.
2020-06-01 12:21:09 +03:00
Roman Telezhynskyi
42ed025afa
Fix validation of Curved path tool. Closes smart-pattern/valentina#41 .
2020-05-30 18:14:50 +03:00
Roman Telezhynskyi
7b1449f11e
Redesign settings.
...
All apps settings classes moved to binaries. Use common part to get access from static libraries. Fixed issues with VMainGraphicsView class.
2020-05-10 18:32:26 +03:00
Roman Telezhynskyi
f06c85753b
Merge remote-tracking branch 'origin/develop' into feature/manual-layout
2020-05-09 13:21:29 +03:00
Roman Telezhynskyi
a009e25004
Fix (de)serialize enums into QDataStream.
...
It is very important to use exactly the same way across all Qt versions we need to support. Otherwise, it will break interchange between Valentina versions built on different Qt versions.
2020-05-09 12:36:03 +03:00
Roman Telezhynskyi
110ac969e9
Fix build with MSVC.
2020-05-09 11:38:47 +03:00
Roman Telezhynskyi
4970254607
Fix issue. Elide a variable description in the formula wizard.
...
(cherry picked from commit 56ec62580c
)
2020-05-08 19:41:42 +03:00
Roman Telezhynskyi
8aa93f8757
Fix disappearing a visibility group tags after Apply -> OK sequence.
2020-05-07 17:02:16 +03:00
Ronan Le Tiec
664c6dcd51
Typo
2020-04-24 17:25:43 +02:00
Roman Telezhynskyi
82ce2aadfe
Added initial support for the manual layout format version converter.
2020-04-23 18:05:00 +03:00
Roman Telezhynskyi
30a27ee85a
UUID field for piece.
2020-04-22 14:32:25 +03:00
Roman Telezhynskyi
3b37d22a0b
Actions Open Puzzle, Create Manual Layout, Update Manual Layout in Valentina.
2020-04-21 19:02:21 +03:00
Roman Telezhynskyi
3a675f0552
New default folder Manual layouts.
2020-04-21 18:57:11 +03:00
Roman Telezhynskyi
51e0694f36
Merge branch 'develop' into feature/manual-layout.
2020-04-11 10:38:14 +03:00
Roman Telezhynskyi
952298a477
Fix invalid header.
2020-03-29 20:52:26 +03:00
Roman Telezhynskyi
2f4ac3deb9
Fix possible cause of crashes.
2020-03-28 19:43:01 +02:00
Roman Telezhynskyi
ca186be41d
Lupdate.
2020-03-27 11:25:31 +02:00
Roman Telezhynskyi
6583b8ab01
Fix another crash.
...
When we add group there is no reason to update a tool tooltip.
2020-03-26 19:51:40 +02:00
Roman Telezhynskyi
1edceea8bc
error: 'QLatin1Literal' is deprecated: Use QLatin1String.
2020-03-26 12:23:33 +02:00
Roman Telezhynskyi
e0ca7e5d80
Valentina crashes when remove a group operation.
2020-03-26 11:57:02 +02:00
Roman Telezhynskyi
c6c4edb893
Merge branch 'develop' into feature/manual-layout
2020-03-25 15:28:23 +02:00
Roman Telezhynskyi
6e0bf20bc4
Clang warnings.
2020-03-24 17:57:32 +02:00
Roman Telezhynskyi
f762d81b38
Cppcheck warnings.
2020-03-24 17:41:12 +02:00
Roman Telezhynskyi
c1453f1715
Organization of groups - groups categories. Closes smart-pattern/valentina#15 .
2020-03-24 17:31:32 +02:00
Roman Telezhynskyi
a84857afda
Show linked visibility group in group operation tooltip.
2020-03-24 17:27:16 +02:00
Roman Telezhynskyi
11718f6f44
Refactoring. Set Visibility group data in parent class.
2020-03-24 16:58:34 +02:00
Roman Telezhynskyi
82570bf9db
Remove the linked visibility group when deleting a group operation.
2020-03-24 16:54:17 +02:00
Roman Telezhynskyi
31f92c3610
Improve calculation of the layout efficiency for cases with several pages.
2020-03-22 18:21:22 +02:00
Roman Telezhynskyi
49828889e2
New layout generator option: Prefer one sheet solution.
2020-03-22 16:22:03 +02:00
Roman Telezhynskyi
c8526f2eb0
Setting scale factor for export and print.
2020-03-21 18:15:29 +02:00
Roman Telezhynskyi
47b3eab0ad
Refactoring for VPoster class.
...
Pass QSize instead QRect. To calculate tiles we need width and size only.
2020-03-21 17:31:25 +02:00
Roman Telezhynskyi
77be615877
Improve empty sheet edge.
...
User expects to have piece positioned tight to the top left corner of a paper sheet.
2020-03-21 17:28:08 +02:00
Roman Telezhynskyi
4fcbbc99fd
Make sure that printer page layout switched to millimeters before getting margins.
2020-03-20 10:19:31 +02:00
Roman Telezhynskyi
5a367a8d85
Clang warning.
2020-03-18 15:36:00 +02:00
Roman Telezhynskyi
80880f9b7b
GCC warning.
2020-03-18 15:22:27 +02:00
Roman Telezhynskyi
526892ed5a
Auto-created Visibility Group for group operation. Closes smart-pattern/valentina#18 .
2020-03-18 14:45:47 +02:00
Roman Telezhynskyi
9869ae249f
Refactoring. Move all related to the visibility group undo command classes in one file.
2020-03-18 14:37:30 +02:00
Roman Telezhynskyi
4fa2b76f01
Fix error in VDomDocument::elementById.
...
Searching in cache did not check tag if provided.
2020-03-18 14:29:28 +02:00
Roman Telezhynskyi
b756460da8
Cppcheck warning.
...
We don't need support for reading ASTM notches.
2020-03-15 13:43:18 +02:00
Roman Telezhynskyi
1b663bb5e1
Export pattern to DXF-ASTM.
2020-03-15 13:35:31 +02:00
Roman Telezhynskyi
3429e5ae11
Tool Point at distance and angle now allows negative length.
...
Because length cannot be negative a line will change direction on opposite.
2020-03-12 16:31:57 +02:00
Roman Telezhynskyi
f4908dafd4
Change default values for grainline length and pattern label size to 10 cm.
2020-03-12 10:49:12 +02:00
Roman Telezhynskyi
9dd796cb8c
Improve preparing history list.
...
Basically when we have cleared by garbage collector modeling objects Valentina will try to add them to list, because they still present in tool record list. Additionally this patch brings using multithreading support.
2020-03-09 20:07:17 +02:00
Roman Telezhynskyi
30bac523c8
Improve seam allowance.
...
Increase max allowed length of corner to cover real world case.
2020-03-07 11:17:06 +02:00
Roman Telezhynskyi
4ce51e2662
Refactoring. Add additional constructor for class QSettings.
2020-03-07 10:58:18 +02:00
Roman Telezhynskyi
f978db470d
Refactoring name.
2020-02-27 17:28:20 +02:00
Roman Telezhynskyi
ad87577ec8
Translation functions descriptions.
2020-02-27 17:26:32 +02:00
Roman Telezhynskyi
8c9eec2448
Option Pattern Piece -> Show main path doesn't show second passmarks on main path.
2020-02-25 08:44:13 +02:00
Roman Telezhynskyi
06c09b63ba
GCC warning.
2020-02-21 20:09:10 +02:00
Roman Telezhynskyi
10e05b6f6f
Improve recipe export.
...
Add support for final measurements.
2020-02-21 13:53:12 +02:00
Roman Telezhynskyi
06bc9f8baf
Suppress Clang warning.
2020-02-21 10:47:13 +02:00