Commit graph

2566 commits

Author SHA1 Message Date
Roman Telezhynskyi 0024543764 Show My Patterns path in Tape settings.
Since we now use this path in Tape either user should be able to control it
through options like in Valentina.

--HG--
branch : develop
2019-01-06 10:29:22 +02:00
Wren Turkal 42b00c5c58 Fix the tape app importing of measurments from a pattern
When importing measurements from a pattern in the tape app, it
defaulted to the templates directory instead of the patterns
directory. The patterns directory was set as a setting in the
valentina settings (VSettings) instead of the common settings
(VCommonSettings). I refactored the the setting into the
VCommonSettings and made the tape app use the setting. I was
able to confirm that setting a new pattern directory resulted
in the same pattern directory being used in both Valentina and
tape.

--HG--
branch : develop
2019-01-05 16:46:31 -08:00
Roman Telezhynskyi dcea610da2 Fix measurements path correction.
After user finds new path to measurements file the path must be saved to
pattern file automatically. But because of optimization we read file again and
thus override the change.

--HG--
branch : develop
2019-01-03 20:50:56 +02:00
Roman Telezhynskyi a7332adc75 When export to SVG or PNG file apply margins.
--HG--
branch : develop
2019-01-03 19:33:15 +02:00
Wren Turkal 4bee75357c Add some common shortcuts for menus in tape app.
--HG--
branch : develop
2019-01-01 20:37:31 -08:00
Roman Telezhynskyi eb87d703a2 Suppress GCC warning.
--HG--
branch : develop
2018-12-27 20:44:13 +02:00
Roman Telezhynskyi dd452e66a8 Technically the member function 'VCommandLine::OptTiledPageOrientation' can be
const.

--HG--
branch : develop
2018-12-27 20:32:02 +02:00
Roman Telezhynskyi 349863b033 Refactoring. Fixing Clang-Tidy warnings.
--HG--
branch : develop
2018-12-27 20:22:42 +02:00
Roman Telezhynskyi e108a1378f New command line option --landscapeOrientation.
--HG--
branch : develop
2018-12-27 16:37:47 +02:00
Roman Telezhynskyi 6016308d58 Resolved issue #651. Improve feature: Layout orientation according to grainline.
--HG--
branch : develop
2018-12-27 15:54:29 +02:00
Roman Telezhynskyi 54418925c6 Fixed issue #915. Valentina produces wrong seam allowance for acute angle.
(grafted from 41a93a0a57ac2dcc731563b7eb759bfa2bc2961e)

--HG--
branch : develop
2018-12-23 18:41:51 +02:00
Roman Telezhynskyi 6403941406 Fixed issue #914. Filtering custom seam allowance paths prevent including more
than one.
(grafted from 07fec74fad050330a1161776e27bb6c877354a59)

--HG--
branch : develop
2018-12-21 13:01:32 +02:00
Roman Telezhynskyi 5f5b7e41fa Enable alternative operator representations for support old or nonconforming
compilers by default.

--HG--
branch : develop
2018-12-11 22:27:55 +02:00
Roman Telezhynskyi bd9205deef More issues with 'qIsInf' and 'qIsNaN'.
--HG--
branch : develop
2018-12-11 13:35:02 +02:00
Roman Telezhynskyi 7c31d660a8 Fix error: lambda capture 'this' is not used.
--HG--
branch : develop
2018-12-11 13:12:08 +02:00
Roman Telezhynskyi e891219528 Improve GUI response. When we still are waiting for details refresh we can
trigger event processing and thus make GUI more responsible.

--HG--
branch : develop
2018-12-10 13:06:53 +02:00
Roman Telezhynskyi 2ec9e656eb Fixing increments update. When we update measurements the increments also must
be updated because some of them can have dependence from them.

--HG--
branch : develop
2018-12-10 13:05:19 +02:00
Roman Telezhynskyi 9c2cdad1a8 Optimizing calling autosave. It should be called only for new unsaved changes.
--HG--
branch : develop
2018-11-24 19:34:59 +02:00
Roman Telezhynskyi cf3be706c2 Optimization. Update increments only if necessary.
--HG--
branch : develop
2018-11-24 16:47:44 +02:00
Roman Telezhynskyi 7c17b3629f To speed up opening a pattern delay piece RafreshGeometry().
--HG--
branch : develop
2018-11-19 11:07:31 +02:00
Roman Telezhynskyi 5004c12342 Seepd up pattern file validation making it parallel.
--HG--
branch : develop
2018-11-18 09:52:08 +02:00
Roman Telezhynskyi bac4e0872b Perform test for unique id after parsing.
In most cases this is very rare issue. Many checs will cover this case anyway.
Instead of wait we will perform check when calculation done.

--HG--
branch : develop
2018-11-17 14:59:45 +02:00
Roman Telezhynskyi cc5bb4ec15 Warn a user if change in preferences requires restart.
--HG--
branch : develop
2018-10-29 19:56:39 +02:00
Roman Telezhynskyi 8a1eaa7292 Improve Option dialogs. Make them resizable as possible.
--HG--
branch : develop
2018-10-29 19:37:34 +02:00
Emmanuel Nyachoke 6d9105729f Added initial dark mode theme using https://github.com/ColinDuquesnoy/
QDarkStyleSheet

--HG--
branch : develop
2018-10-29 15:05:49 +03:00
Roman Telezhynskyi 2989466c52 Fixed issue #891. Valentina claims that file was incorrectly saved when used
Save as option.
(grafted from 1d7f8c80ceb1d7a320eb81d2a7bd726a018e0e05)

--HG--
branch : develop
2018-10-22 12:16:48 +03:00
Roman Telezhynskyi 84bb44943f Fixed issue #890. Menu Windows->Close pattern doesn't clear "Group of
visibility" list.
(grafted from 36be0b8fc57d31b2cf949adc86c713e85bfd0cb3)

--HG--
branch : develop
2018-10-22 11:42:04 +03:00
Roman Telezhynskyi c89755b2a5 Define variables if not defined when include <windows.h>.
(grafted from d21cb1805ca0aa448f9aec0b8cdd30c0b67a5b12)

--HG--
branch : develop
2018-10-12 21:47:18 +03:00
Roman Telezhynskyi db478562ee Fixed issue #885. Regression. Broken support for multi size measurements.
(grafted from 1a0becf32c00518f126cd0e7325c0eb2bbdcc18e)

--HG--
branch : develop
2018-10-12 13:06:03 +03:00
Roman Telezhynskyi 47e3f9f7c7 Improve message handling from threads.
Only GUI thread can show message boxes.

--HG--
branch : release
2018-09-28 21:05:42 +03:00
Roman Telezhynskyi 10a20b08b8 Be pendantic about notch errors.
--HG--
branch : release
2018-09-28 14:29:10 +03:00
Roman Telezhynskyi 81f7993f43 Use $$system_path() to improve support MSYS environment.
--HG--
branch : release
2018-09-21 13:35:57 +03:00
Roman Telezhynskyi 60b323cf8e Fixed issue #882. VContainer class doesn't support multi document mode.
--HG--
branch : release
2018-09-18 16:38:16 +03:00
Roman Telezhynskyi 3fe7709c40 Fixed issue #883. Fix right angle seam allowance angle type.
--HG--
branch : release
2018-09-13 16:46:04 +03:00
Roman Telezhynskyi 8a3d50520f Added status check for settings read/write operations.
--HG--
branch : release
2018-09-09 12:39:19 +03:00
Roman Telezhynskyi 05a5101115 Fixed issue #808. Fix broken seam allowance angle type.
--HG--
branch : release
2018-09-01 18:56:43 +03:00
Roman Telezhynskyi eabfd48b50 Fix bug with watcher. It watches wrong path.
--HG--
branch : release
2018-08-31 15:22:59 +03:00
Roman Telezhynskyi cb6c2eb8eb Fix warning option '-Wmissing-prototypes' is valid for C/ObjC but not for C++.
--HG--
branch : develop
2018-08-06 20:47:24 +03:00
Roman Telezhynskyi 9e80bc186d Refactoring. Move methods to class MainWindowsNoGUI.
--HG--
branch : develop
2018-08-06 19:38:23 +03:00
Roman Telezhynskyi ed5ac37256 Fix potential crash.
--HG--
branch : develop
2018-08-02 15:03:15 +03:00
Roman Telezhynskyi e1cfe78077 Fix memory leak.
--HG--
branch : develop
2018-08-02 13:48:48 +03:00
Roman Telezhynskyi 2453758735 Fix mistake in name.
--HG--
branch : develop
2018-08-01 19:25:36 +03:00
Roman Telezhynskyi d8f6734451 Refactoring. Use macros FORMAT_VERSION to avoid human mistakes.
--HG--
branch : develop
2018-07-26 21:21:08 +03:00
Roman Telezhynskyi 8a29755a36 Resolved issue #868. New feature. Connect internal path with cutting contour.
--HG--
branch : develop
2018-07-26 20:00:24 +03:00
Roman Telezhynskyi fe9dc90dc7 Bug in undocommands. We should return to pattern piece only if in Calculation
mode. If do it in Details mode Valentina may not switch pattern piece back when
a user returns to Calculation mode. This breaks a work and no new object can be
added to pattern.

--HG--
branch : develop
2018-07-25 11:26:09 +03:00
Roman Telezhynskyi a0e09d3fe7 Fix crash on Windows.
Cancelling Piece Path dialog crashes Valentina.

--HG--
branch : develop
2018-07-24 14:57:41 +03:00
Roman Telezhynskyi 1ae08d6020 Resolved issue #867. Visibility control for place labels.
--HG--
branch : develop
2018-07-20 10:30:05 +03:00
Roman Telezhynskyi 2c7b21b98d Resolved issue #865. New feature. Dynamic Way to define Material in piece label.
--HG--
branch : develop
2018-07-18 20:18:30 +03:00
Roman Telezhynskyi 9da4cbb329 Resolved issue #864. Valentina crashes on Mac OS X after closing Variables
Table dialog.

--HG--
branch : develop
2018-07-18 18:03:38 +03:00
Roman Telezhynskyi fd85efacd9 Resolved issue #862. Force Valentina to immediately terminate if a pattern
contains a parsing warning.

--HG--
branch : develop
2018-07-13 16:18:04 +03:00