Commit graph

2778 commits

Author SHA1 Message Date
Roman Telezhynskyi 4cf819fff3 Fixing Wclazy-qstring-allocations warning.
--HG--
branch : develop
2019-01-15 10:52:43 +02:00
Wren Turkal 74c95ebb17 Set measurement diagram correctly.
When all the known measurements are removed, that should probably make
the measurement diagram show the unknown measurement message.

--HG--
branch : develop
2019-01-15 00:43:18 -08:00
Roman Telezhynskyi c142cb4b85 Some improvements after move the measurement diagram action to the ui file.
There is no harm to make it enabled from the start. Plus closing the dock widget
must uncheck the action.

--HG--
branch : develop
2019-01-15 09:53:23 +02:00
Wren Turkal a190fcaea2 Move the measurement diagram action to the ui file.
--HG--
branch : develop
2019-01-14 22:21:31 -08:00
Roman Telezhynskyi 5cb31f77f4 Resolved issue #927. Freeze prefix language on pattern/project creation.
--HG--
branch : develop
2019-01-14 17:38:59 +02:00
Roman Telezhynskyi 63db1f4d7d Test files for issue #924.
(grafted from 831eaf31d5658e3c930d47862f6622bbdcc5ce4c)

--HG--
branch : develop
2019-01-14 16:01:58 +02:00
Roman Telezhynskyi 60c4e2880f Fixed issue #923. Valentina produces wrong seam allowance for rollback case.
(grafted from 111ae73392a265baecbb3031cf3963682e0bea77)

--HG--
branch : develop
2019-01-07 18:20:36 +02:00
Roman Telezhynskyi 1c7b9a2ecb The searching by regex also works in the other places where that class is uses,
like Final Measurements and Preview Calculations.

--HG--
branch : develop
2019-01-09 11:46:34 +02:00
Wren Turkal 3979d0e9db Use qt-designer to setup action slots.
Their are slots that are automatically connected when a .ui file is
compiled. I have changed New, Save, SaveAs, and Open to use that
method for connecting the slots.

Also, I added Ctrl-O as a shortcut for Open while I was in there.

--HG--
branch : develop
2019-01-09 00:13:54 -08:00
Roman Telezhynskyi 13237ffd83 Give users hint about new feature.
--HG--
branch : develop
2019-01-06 13:59:10 +02:00
Roman Telezhynskyi ba08ed4d1d Refactoring. Fixing static analyzers warnings.
--HG--
branch : develop
2019-01-06 13:29:57 +02:00
Roman Telezhynskyi 753e9c76f5 Cppcheck warnings.
--HG--
branch : develop
2019-01-06 10:29:38 +02:00
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
Roman Telezhynskyi 24796e7f2d Cppcheck warning. Virtual function 'CleanLayout' is called from destructor
'~MainWindow()'.

--HG--
branch : develop
2018-07-09 14:19:07 +03:00
Roman Telezhynskyi 2235a5d3d8 Cppcheck warning. Virtual function 'OpenSettings' is called from constructor
'VApplication(int&argc,char**argv)'.

--HG--
branch : develop
2018-07-09 10:45:23 +03:00
Roman Telezhynskyi 126658f03f Cppcheck warning. Virtual function 'setValue' is called from constructor
'VFormulaProperty(const QString&name)'.

--HG--
branch : develop
2018-07-09 10:25:34 +03:00
Roman Telezhynskyi 627aa6dd70 Resolved issue #838. Qt GUI theme on Windows looks old-fashioned.
--HG--
branch : develop
2018-06-26 23:47:51 +03:00
Roman Telezhynskyi 63b1eb8068 Cppcheck warning 'missingOverride'.
--HG--
branch : develop
2018-06-26 15:53:48 +03:00
Roman Telezhynskyi 13a8b83a0e Flush buffer after adding a string, not before.
--HG--
branch : develop
2018-06-21 14:16:17 +03:00
Roman Telezhynskyi 0ef32da1d8 Refactoring. Rename GetPPath() to GetPatternPath(). Changes for Mac.
--HG--
branch : develop
2018-06-19 12:22:47 +03:00
Roman Telezhynskyi 09e8c81d6f Refactoring. Rename GetPPath() to GetPatternPath().
--HG--
branch : develop
2018-06-19 09:18:38 +03:00
Roman Telezhynskyi 40f8c5f5f0 Link with library uxtheme to enable new style since WindowsXP or later.
--HG--
branch : develop
2018-06-11 11:54:44 +03:00
Roman Telezhynskyi fe2ced590c Improve logging.
--HG--
branch : develop
2018-06-05 12:22:46 +03:00
Roman Telezhynskyi 4cab5b0dc9 Enable the version checker on Mac.
--HG--
branch : develop
2018-06-04 12:00:36 +03:00
Roman Telezhynskyi 6869eab05a Fixed issue #853. Valentina doesn't translate user material placeholder.
--HG--
branch : develop
2018-05-29 17:55:16 +03:00
Roman Telezhynskyi 4109848349 Class QDesktopWidget is obsolete.
Missed two more usages.

--HG--
branch : develop
2018-05-27 12:08:02 +03:00
Roman Telezhynskyi 81caed8f5f Added new function VAbstractApplication::ClearMessage.
It will help clear messages from unneeded '"' at the start and at the end.
qWarning and others adds them.

--HG--
branch : develop
2018-05-25 17:54:21 +03:00
Roman Telezhynskyi c6e38932dc Update minimal requirements for Qt on Mac OS X.
--HG--
branch : develop
2018-05-22 19:22:11 +03:00
Roman Telezhynskyi f67af27c06 Fix language changing at runtime.
All two preferences dialogs have this issue.

--HG--
branch : develop
2018-05-18 13:51:35 +03:00
Roman Telezhynskyi e1276dde99 Fix typo.
--HG--
branch : develop
2018-05-15 14:01:26 +03:00
Roman Telezhynskyi d21cc1d43f String optimization.
--HG--
branch : develop
2018-05-11 12:42:52 +03:00
Roman Telezhynskyi 2ee75fdbab Tab with options to control Scrolling settings. ref #831.
Empiric settings do not work for all.

--HG--
branch : develop
2018-05-11 12:42:20 +03:00
Roman Telezhynskyi 1e0b777bd6 New option to control calling zoom current pattern piece by mouse double click.
--HG--
branch : develop
2018-05-10 14:12:41 +03:00
Roman Telezhynskyi 1158b06425 Collect garbage only after successfully parse. This way wrongly accused items
have one more time to restore a reference.

--HG--
branch : develop
2018-05-09 18:09:40 +03:00
Roman Telezhynskyi 4b859a897e If a user made a layout, returned to drawing, made some changes and returned to
layout again, Valentina will open the Layout settings dialog automatically.

--HG--
branch : develop
2018-05-08 11:40:21 +03:00
Roman Telezhynskyi fc3f8df5b0 Fix bug with caching removed items.
--HG--
branch : develop
2018-05-08 11:32:27 +03:00
Roman Telezhynskyi a7eeaebb4a Fix pattern to avoid confusion.
--HG--
branch : develop
2018-05-08 11:08:10 +03:00
Roman Telezhynskyi ccda742aa8 Refactoring. Specifying the "pointer" part outside of auto.
--HG--
branch : develop
2018-05-07 14:32:17 +03:00
Roman Telezhynskyi 3b4007a40c Backed out changeset: 87f0955a62ad ref #841.
--HG--
branch : develop
2018-05-07 14:23:47 +03:00
Roman Telezhynskyi ee6ffab480 Bug QTBUG-43344 was fixed in Qt 5.11.1.
--HG--
branch : develop
2018-04-27 16:32:26 +03:00
Roman Telezhynskyi fd446a7c1f Fixed issue #841. Variables Table won't open again when closed with Esc.
--HG--
branch : develop
2018-04-23 10:13:19 +03:00
Roman Telezhynskyi 58a2f42703 Working with progressbar very expensive. Trigger changing of status less
frequent.

--HG--
branch : develop
2018-04-22 19:33:09 +03:00
Roman Telezhynskyi ab59a76bbb String optimization. Replace string " " with signe QChar.
--HG--
branch : develop
2018-04-22 18:39:56 +03:00
Roman Telezhynskyi c92182464b We don't have Wiki anymore.
--HG--
branch : develop
2018-04-22 09:23:17 +03:00
Roman Telezhynskyi 72399472a1 Do zoom fit best current pattern piece only in Draw mode.
--HG--
branch : develop
2018-04-20 09:35:13 +03:00
Roman Telezhynskyi 678792ca5c Improve sentences.
--HG--
branch : develop
2018-04-18 11:58:03 +03:00
Roman Telezhynskyi 2d5f84b4bf Refactoring. Don't use old slot style in QTimer::singleShot.
--HG--
branch : develop
2018-04-18 11:15:53 +03:00
Roman Telezhynskyi be2a706cc0 Mouse double click zoom fit best current pattern piece.
--HG--
branch : develop
2018-04-17 09:56:41 +03:00
Roman Telezhynskyi e7ca9294cf Refactoring. Use QChar instead of QString where possible.
Point and comma.

--HG--
branch : develop
2018-04-13 09:14:55 +03:00
Roman Telezhynskyi e26fcb05b8 Fix typo.
--HG--
branch : develop
2018-04-13 08:43:44 +03:00
Roman Telezhynskyi 3970bbdbc0 Refactoring. Use QChar instead of QString where possible.
--HG--
branch : develop
2018-04-12 13:13:19 +03:00
Roman Telezhynskyi 64029c249a Refactoring. Added special section for string literals.
--HG--
branch : develop
2018-04-08 19:45:23 +03:00
Roman Telezhynskyi b3c86748f4 Fix bug in deploy. ref #832.
--HG--
branch : develop
2018-04-07 22:11:27 +03:00
Roman Telezhynskyi cc4768ff77 Fixed issue #836. Change Detail Name - Update List of Details.
--HG--
branch : develop
2018-04-07 14:11:44 +03:00
Ronan Le Tiec 2f4d699cb6 merge with incoming
--HG--
branch : develop
2018-04-06 23:11:20 +02:00
Ronan Le Tiec f09adc22ab resolves #826 code refactoring and corrections
--HG--
branch : develop
2018-04-06 23:08:09 +02:00
Ronan Le Tiec a56c41589c Merged dismine/valentina into develop
--HG--
branch : develop
2018-04-06 21:58:09 +02:00
Roman Telezhynskyi d8c3a0ac81 Use native dialog on all platforms except Linux.
We have a bug with native dialog on Linux that's why we cannot use it.

--HG--
branch : develop
2018-04-04 08:34:48 +03:00
Roman Telezhynskyi 911a85d79b Fix property editor on Mac OS.
--HG--
branch : develop
2018-04-03 18:08:11 +03:00
Roman Telezhynskyi c6e7590034 Fix MacOS regression QWidget::closeEvent called twice.
--HG--
branch : develop
2018-04-03 17:41:39 +03:00
Roman Telezhynskyi e880d5f0a3 Clang warning.
--HG--
branch : develop
2018-04-03 16:32:53 +03:00
Roman Telezhynskyi 0e3a9533af Refactoring. Use C++11 range-based loop.
--HG--
branch : develop
2018-04-03 14:36:38 +03:00
Roman Telezhynskyi 6b6a2632a9 Refactoring. Replacing all Q_FOREACH/foreach loops with the c++ range-based
loops.

--HG--
branch : develop
2018-04-03 11:15:58 +03:00
Roman Telezhynskyi 3252130f36 Refactoring. Use C++11 range-based loop.
--HG--
branch : develop
2018-04-02 20:38:56 +03:00
Roman Telezhynskyi fe5a58beef Fix unused lambda capture.
--HG--
branch : develop
2018-04-02 16:43:02 +03:00
Ronan Le Tiec 84bab5386b issue 826 clear selection when adding an item to a group. changelog and list of contributor
--HG--
branch : feature
2018-04-02 11:52:42 +02:00
Ronan Le Tiec d3da522ac4 issue 826 undo and redo adding or removing item from group finished
--HG--
branch : feature
2018-04-01 23:36:54 +02:00
Ronan Le Tiec 1526d77612 issue 826 - workind on undo redo command
--HG--
branch : feature
2018-04-01 17:19:10 +02:00
Ronan Le Tiec 6ce7ac1248 issue 826 sort group names in alphabetical case insensitive order
--HG--
branch : feature
2018-03-25 18:21:55 +02:00
Ronan Le Tiec e3f48b797f merge issue826 into feature
--HG--
branch : feature
2018-03-25 16:56:16 +02:00
Ronan Le Tiec 032783581a issue826 allow empty groups, schema version 0.7.8, update group list when adding or removing item
--HG--
branch : issue826
2018-03-25 16:43:28 +02:00
Roman Telezhynskyi ec170328e2 QFileInfo::created is deprecated in Qt 5.10.
--HG--
branch : develop
2018-03-24 07:31:46 +02:00
Roman Telezhynskyi 2cb7c4c603 Utilize macro QT_DEPRECATED_WARNINGS.
--HG--
branch : develop
2018-03-22 19:57:56 +02:00
Roman Telezhynskyi f1ef60e441 Fixed issue #823. SVG Export - seam and cutting line of one piece missing.
(grafted from 56c6ae623ed101a1e3276bc4a0ab5f6102ebae41)

--HG--
branch : develop
2018-03-22 16:32:20 +02:00
Roman Telezhynskyi 6a7405b4d4 Refactoring. Use QString default constructor instead of empty string.
--HG--
branch : develop
2018-03-14 16:01:24 +02:00
Roman Telezhynskyi c1cea4c441 Clazy warnings.
--HG--
branch : develop
2018-03-14 15:39:15 +02:00
Roman Telezhynskyi a2c54fc7f3 Some dialogs should behave like windows on mac.
--HG--
branch : develop
2018-03-12 12:42:43 +02:00
Roman Telezhynskyi a68da11776 Inform a user about options those require restart to take effect.
--HG--
branch : develop
2018-03-12 11:56:47 +02:00
Roman Telezhynskyi 368c3a871a Resolved issue #819. Use OpenGL as render for view.
--HG--
branch : develop
2018-03-10 16:39:37 +02:00
Roman Telezhynskyi 3d377bcbfd Do not build an app bundle in debug mode.
--HG--
branch : develop
2018-03-10 17:09:36 +02:00
Roman Telezhynskyi 5bb90ab92d Force repain to fix paint artifacts on Mac OS X.
--HG--
branch : develop
2018-03-10 17:24:16 +02:00
Roman Telezhynskyi 337b247816 Fix max point size for better look.
--HG--
branch : develop
2018-03-10 17:25:10 +02:00
Roman Telezhynskyi d5987fa5c4 Fix form layout to better suit mac os.
--HG--
branch : develop
2018-03-10 16:33:48 +02:00
Roman Telezhynskyi 4fdfcfc11e Improve description field. It should be flexible.
--HG--
branch : develop
2018-03-04 13:34:32 +02:00
Roman Telezhynskyi 3bd958629f Fixed issuse #816. Formula Wizard in Final measurements doesn't update formula
in details.

--HG--
branch : develop
2018-02-27 10:47:17 +02:00
Roman Telezhynskyi 5f3ee65501 Fix bug in tool property browser. Too strict check makes impossible to fix
formula value.

--HG--
branch : develop
2018-02-22 14:59:39 +02:00
Roman Telezhynskyi 543042004a Imported file must not contain the same name twice. ref #804.
--HG--
branch : develop
2018-02-07 11:00:25 +02:00
Roman Telezhynskyi 6c438f92e0 Resolved issue #808. New feature. Global line width option.
--HG--
branch : develop
2018-02-06 19:30:27 +02:00
Roman Telezhynskyi 7fedd20319 Fix some bugs and add preview table. ref #804.
--HG--
branch : develop
2018-02-06 15:46:20 +02:00
Roman Telezhynskyi c56992407e Resolved issue #667. Check for updates - Test version.
--HG--
branch : develop
2018-02-06 13:38:05 +02:00
Roman Telezhynskyi e56423905d Ignore full name and description for known measurements. ref #804.
--HG--
branch : develop
2018-02-05 11:10:55 +02:00
Roman Telezhynskyi 28559870bc Lupdate.
--HG--
branch : develop
2018-02-04 23:03:28 +02:00
Roman Telezhynskyi a9652077d1 Fix bug Final measurements. Cursor in description field always returns to the
end of string.

--HG--
branch : develop
2018-02-04 22:14:27 +02:00
Roman Telezhynskyi 55abe25287 Fix piece position after flipping. ref #783.
--HG--
branch : develop
2018-02-04 18:23:07 +02:00
Roman Telezhynskyi be8207d46b Improve flipping control. Fix bug with export in DXF AAMA. ref #783.
--HG--
branch : develop
2018-02-04 10:08:18 +02:00
Roman Telezhynskyi f26087350d Resolved issue #414. Add features from Qt Windows Extras.
--HG--
branch : develop
2018-02-03 20:21:08 +02:00
Roman Telezhynskyi 14d5cf25ad Improve flipping control. Export from Details mode also should obey this rule.
ref #783.

--HG--
branch : develop
2018-02-03 15:29:23 +02:00
Roman Telezhynskyi 8b7494fb08 Show Forbid flipping and Force flipping options in piece context menu.
--HG--
branch : develop
2018-02-03 14:18:32 +02:00
Roman Telezhynskyi 28044ff4c6 Improve search in Tape app. Provide search not only in selected measurement
description, but in all descriptions. ref #732.

--HG--
branch : develop
2018-02-03 12:45:16 +02:00
Roman Telezhynskyi 34ffa5ab51 Fixed issue #805. Invalid regular expression for validation layout output
filename mask.
(grafted from eca61caae23937baffec715a2dff88e915dcc302)

--HG--
branch : develop
2018-02-01 19:31:25 +02:00
Roman Telezhynskyi cd1ebf434a Resolved issue #804. New feature. Import measurements from CSV file in Tape app.
--HG--
branch : develop
2018-01-31 14:34:50 +02:00
Roman Telezhynskyi 90fe5d379e Fix Export to CSV bug. Header have wrong title.
--HG--
branch : develop
2018-01-31 14:31:34 +02:00
Roman Telezhynskyi 79ef15c54c Clear code.
--HG--
branch : develop
2018-01-30 10:55:16 +02:00
Roman Telezhynskyi 509955f2c6 When Valentina proposes measurement file it should select it in dialog.
--HG--
branch : develop
2018-01-30 10:54:19 +02:00
Roman Telezhynskyi d5843ceb6d Speed optimization for parsing piece internals.
--HG--
branch : develop
2018-01-25 23:53:53 +02:00
Roman Telezhynskyi f64f511287 Fix build on MSVC.
--HG--
branch : develop
2018-01-25 15:39:50 +02:00
Roman Telezhynskyi 54d3ae7561 Improve parsing formulas.
Enable subexpressions. Allow user to define local variables.

--HG--
branch : develop
2018-01-24 22:08:53 +02:00
Roman Telezhynskyi 9b5b8dde04 Improve Formula Wizard. Disable data types not available in certain cases.
--HG--
branch : develop
2018-01-24 19:10:29 +02:00
Roman Telezhynskyi 114bdfe9dd Speed optimization for method VPattern::ElementsToParse().
--HG--
branch : develop
2018-01-24 14:06:21 +02:00
Roman Telezhynskyi a91b1a3816 Speed optimization for method VAbstractPattern::ListMeasurements().
--HG--
branch : develop
2018-01-24 13:16:29 +02:00
Roman Telezhynskyi 0cc551b786 Resolved issue #732. Tape app. Improve Database dialog.
--HG--
branch : develop
2018-01-23 13:08:20 +02:00
Roman Telezhynskyi 27af6ac833 Resolved issue #392. Improve feature: Show progress bar while opening pattern
file.

--HG--
branch : develop
2018-01-22 14:26:53 +02:00
Roman Telezhynskyi d3df063160 Fix crash.
--HG--
branch : develop
2018-01-21 14:43:45 +02:00
Roman Telezhynskyi 99d6ea5152 Speed optimization for class VFormula.
--HG--
branch : develop
2018-01-20 15:37:15 +02:00
Roman Telezhynskyi d03cd7be06 Speed optmization for method VContainer::ClearVariables().
--HG--
branch : develop
2018-01-20 14:01:35 +02:00
Roman Telezhynskyi 7f84a09342 Optimization. Avoid expensive exception calls.
--HG--
branch : develop
2018-01-20 12:31:12 +02:00
Roman Telezhynskyi 751820a39b Fix crash. Valentina crashes when scale scene after creating new pattern due to
uninitialized toolbar.

--HG--
branch : develop
2018-01-20 09:25:08 +02:00
Roman Telezhynskyi 502882ec70 Refactoring.
--HG--
branch : develop
2018-01-16 19:32:38 +02:00
Roman Telezhynskyi 5c8c940f32 Refactoring. Backport QOverload template.
--HG--
branch : develop
2018-01-12 15:25:20 +02:00
Roman Telezhynskyi 352912d12f Try to fix backward compatibility with Qt 5.2.
--HG--
branch : develop
2018-01-09 21:02:08 +02:00
Roman Telezhynskyi 910ac6864c Resolved issue #794. Better control over scale value.
--HG--
branch : develop
2018-01-09 20:13:30 +02:00
Roman Telezhynskyi 231780d35e Fix crash when use Windows/Close option.
--HG--
branch : develop
2018-01-06 12:09:06 +02:00
Roman Telezhynskyi f52b690827 Resolved issue #792. New feature. Visibility trigger for internal path.
--HG--
branch : develop
2018-01-03 19:31:50 +02:00
Roman Telezhynskyi 34d1b91225 New hack to restore mouse cursor.
--HG--
branch : develop
2018-01-01 16:16:50 +02:00
Roman Telezhynskyi c853b67f63 Fix wrong tooltip for tool box widget.
--HG--
branch : develop
2017-12-17 15:12:57 +02:00
Roman Telezhynskyi 88844ec33f Resolved issue #783. Flipping control.
--HG--
branch : develop
2017-12-17 15:06:46 +02:00
Roman Telezhynskyi 5b0a557b21 Fix issue #784. Bug in Table of Variables.
--HG--
branch : develop
2017-12-12 17:13:18 +02:00
Roman Telezhynskyi 8b4fc33649 Fix check layout allowance size position. ref #782.
We generate layout allowance right just before creating layout. Because before
this we don't know all options.

--HG--
branch : develop
2017-12-12 10:23:46 +02:00
Roman Telezhynskyi 850bb88c6b Show warning when a layout allowance is smaller than main piece path. This is
usually idicates issue with seam allowance. ref #782.

--HG--
branch : develop
2017-12-11 17:46:13 +02:00
Roman Telezhynskyi 15c93854d8 Fixed issue #780. Final Measurements kills Valentina.
--HG--
branch : develop
2017-12-11 16:00:31 +02:00
Roman Telezhynskyi 931c0de439 Breakpoints do not work if debug the app inside of app bundle.
--HG--
branch : develop
2017-12-11 15:52:24 +02:00
Roman Telezhynskyi 17b3f125f8 Resolved issue #779. Add more roll paper size templates.
--HG--
branch : develop
2017-12-10 19:25:40 +02:00
Roman Telezhynskyi 3eea6115b0 When compare a template size check both versions: portrait and landscape.
--HG--
branch : develop
2017-12-10 19:16:12 +02:00
Roman Telezhynskyi 0a66db7184 Resolved issue #778. Calling Valentina with "-h" option opens information
dialog instead of writing to console.
(grafted from 4fb29d9b4e5441c43704005e4776f87d548673e7)

--HG--
branch : develop
2017-12-10 13:17:04 +02:00
Roman Telezhynskyi 2d2a4a8c3e Lupdate.
--HG--
branch : develop
2017-12-04 16:33:04 +02:00
Roman Telezhynskyi 9a6934ae59 Optimize translation of file filter.
--HG--
branch : develop
2017-11-29 16:00:18 +02:00
Roman Telezhynskyi a8f19d979b Fix bug with moving increment value down in dialog.
--HG--
branch : develop
2017-11-27 23:37:36 +02:00
Roman Telezhynskyi efb4b58b8d Fix bug with Increments. After creating they know more than should.
--HG--
branch : develop
2017-11-19 17:08:50 +02:00
Roman Telezhynskyi 8dbcfb4874 Fix issue with elliptical arc. It should read but ignore attribute 'aScale'.
ref #768.

--HG--
branch : develop
2017-11-18 13:48:03 +02:00
Roman Telezhynskyi 604baa61d3 Improve Move tool. It should provide optional rotation origin point field.
ref #726.

--HG--
branch : develop
2017-11-17 12:28:57 +02:00
Roman Telezhynskyi 5f0d4ea586 Resolved issue #774. New feature. Matching Parentheses.
--HG--
branch : develop
2017-11-14 13:46:28 +02:00
Roman Telezhynskyi 3510843e44 Resolved issue #726. Improve Move tool. Add optional rotate option.
--HG--
branch : develop
2017-11-13 19:39:11 +02:00
Roman Telezhynskyi 238e6fb24b Fix bug. Pressing Escape key disables undocommands.
--HG--
branch : develop
2017-11-11 11:28:54 +02:00
Roman Telezhynskyi ec3750e087 Resolved issue #773. Tool Point intersection curve and axis cannot find
desired intersection poin.
(grafted from 86bc49a9552fc4555956815a4d32abfa091ccfc1)

--HG--
branch : develop
2017-11-11 11:01:45 +02:00
Roman Telezhynskyi 0ef92f9cba Fixed Valentina crash.
Valentina crashes if creating tool was canceled.

--HG--
branch : develop
2017-10-31 20:01:19 +02:00
Roman Telezhynskyi 16a0af6ca5 Get a tool focus after creation.
Need for keyborad input.

--HG--
branch : develop
2017-10-30 09:57:19 +02:00
Roman Telezhynskyi 1ce645fa16 Fix bug in undocommands.
--HG--
branch : develop
2017-10-29 19:49:51 +02:00
Roman Telezhynskyi 8309fa8c7a Save show curve details state between sessions.
--HG--
branch : develop
2017-10-29 15:13:13 +02:00
Roman Telezhynskyi d3cf15f5b8 Fix some bugs.
--HG--
branch : develop
2017-10-28 17:31:18 +03:00
Roman Telezhynskyi 29b23bbce3 Toggle piece node point label. ref #755.
--HG--
branch : develop
2017-10-27 11:53:35 +03:00
Roman Telezhynskyi d61f732bde Improve warning message to provide more appropriate infromation about an error.
--HG--
branch : develop
2017-10-27 09:24:18 +03:00
Roman Telezhynskyi 4af32961b0 Optimize adjusting new scene rect.
If we know an object that cause adjustment no need to recalc bounding rect for
all scene items.

--HG--
branch : develop
2017-10-27 09:13:51 +03:00
Roman Telezhynskyi 51e670bd84 Duplicate from GUI.
--HG--
branch : feature
2017-10-26 16:57:52 +03:00
Roman Telezhynskyi e8ca7f575d Fix bug. Modeling objects should be separated from calculation objects and stay
in not copied container.

--HG--
branch : feature
2017-10-26 12:54:08 +03:00
Roman Telezhynskyi 9b54b0c069 Dialog Duplicate Detail.
--HG--
branch : feature
2017-10-25 17:49:04 +03:00
Roman Telezhynskyi 19fb13affe Resolved issue #771. Improve tool Point at intersection of arc and line.
--HG--
branch : develop
2017-10-25 11:27:43 +03:00
Roman Telezhynskyi 660efa3844 Fix bugs.
* * *
Fix tool union bugs.
* * *
Fix preparing pieces for layout.
* * *
Fix bug with formulas.

--HG--
branch : feature
2017-10-23 10:45:58 +03:00
Roman Telezhynskyi ca79c7ff93 Added place label.
--HG--
branch : feature
2017-10-15 12:25:20 +03:00
Roman Telezhynskyi b693244847 Fix issue with cursor position in tabs increments and preview calculations.
--HG--
branch : develop
2017-10-17 14:46:22 +03:00
Roman Telezhynskyi 2d21ac2266 Clang warning.
--HG--
branch : develop
2017-10-13 18:48:52 +03:00
Roman Telezhynskyi 782897dd08 New forum.
--HG--
branch : develop
2017-10-13 17:50:25 +03:00
Roman Telezhynskyi d15e507aeb Fix issue. User should be able to control tiled pdf export through command line.
--HG--
branch : develop
2017-10-13 17:48:20 +03:00
Roman Telezhynskyi 0da31099f3 Tiled pdf should work only with standard formats.
--HG--
branch : develop
2017-10-12 10:40:11 +03:00
Roman Telezhynskyi baa2f4fd92 Resolved issue #768. New feature. Custom curve approximation scale.
--HG--
branch : develop
2017-10-11 13:51:06 +03:00
Roman Telezhynskyi 38815727bb Fix bugs. ref #657.
--HG--
branch : develop
2017-10-11 11:34:22 +03:00
Roman Telezhynskyi 8cbf143592 Cppcheck.
--HG--
branch : develop
2017-10-10 14:40:07 +03:00
Roman Telezhynskyi b85c94273f Lupdate.
--HG--
branch : develop
2017-10-10 14:02:20 +03:00
Roman Telezhynskyi 67b01c0337 Resolved issue #657. Improve feature: Allow more paper formats for printing
tiled PDF.

--HG--
branch : develop
2017-10-10 12:22:59 +03:00
Roman Telezhynskyi 0fb0763191 Fixed issue #767. Valentina produces wrong main path.
(grafted from c07c9ff6a27a673f55e5c3d98242534ee2c6ca95)

--HG--
branch : develop
2017-10-07 15:19:36 +03:00
Roman Telezhynskyi 61172d46c4 Fix typo in headers.
--HG--
branch : develop
2017-10-05 12:20:01 +03:00
Roman Telezhynskyi daa539378f Resolved issue #765. New feature. Free curve mode.
--HG--
branch : develop
2017-10-03 13:01:56 +03:00
Roman Telezhynskyi f636a3899f Export description as part of final measurements.
ref #761.

--HG--
branch : develop
2017-10-03 10:40:08 +03:00
Roman Telezhynskyi f122ce479c Speed optimization. Deploy Windows version with file qtlogging.ini that disables
logging.

--HG--
branch : develop
2017-10-03 10:18:29 +03:00
Roman Telezhynskyi 8eb7c413e9 Two new shortcut sequences: Ctrl+PgDown and Ctrl+PgUp to switch to next and
previous pattern piece.

ref #762.

--HG--
branch : develop
2017-10-02 19:51:15 +03:00
Roman Telezhynskyi 4d113db163 Cannot suppress warning -Wstrict-overflow. Completely disable it.
--HG--
branch : develop
2017-09-29 19:05:34 +03:00
Roman Telezhynskyi be614ad9f8 Right way to suppress GCC warning Wstrict-overflow for method QVector::move().
--HG--
branch : develop
2017-09-29 17:13:30 +03:00
Roman Telezhynskyi a5e4261e55 GCC warning.
--HG--
branch : develop
2017-09-29 10:43:47 +03:00
Roman Telezhynskyi 58ca1b3110 Fix dialog Final measurements. Set title and icon.
--HG--
branch : develop
2017-09-29 10:12:19 +03:00
Roman Telezhynskyi 5d2e584d2f Improving for embedded man page.
Use bullet list where possible.

--HG--
branch : feature
2017-09-28 16:22:35 +03:00
Roman Telezhynskyi ffe4affcbf Retrieve canonical file path if possible.
--HG--
branch : feature
2017-09-28 16:05:55 +03:00
Roman Telezhynskyi b673ec0fc7 Command line options to export final measurements.
--HG--
branch : feature
2017-09-28 16:05:04 +03:00
Roman Telezhynskyi d01edb53c3 Abort export if cannot retrive a value.
--HG--
branch : feature
2017-09-27 15:23:40 +03:00
Roman Telezhynskyi ac96ce6b84 Export Final measurements to CSV.
--HG--
branch : feature
2017-09-27 14:47:05 +03:00
Roman Telezhynskyi 257fb2f913 Refactor export to CSV.
Preparation for export final measurements.

--HG--
branch : feature
2017-09-27 13:25:18 +03:00
Roman Telezhynskyi 4caab9a479 Fix export increments and preview calculations.
Separate both types. First write increments then preview calculations.

--HG--
branch : feature
2017-09-27 11:53:17 +03:00
Roman Telezhynskyi 661e71bad0 Refactoring use static methods VTranslateVars::TryFormula*User().
--HG--
branch : feature
2017-09-26 17:46:28 +03:00
Roman Telezhynskyi 0eb6b8b30f Dialog Final measurements.
--HG--
branch : feature
2017-09-26 17:24:02 +03:00
Roman Telezhynskyi 8c84cff91d Read/write list of final measurements.
--HG--
branch : feature
2017-09-26 12:54:52 +03:00
Roman Telezhynskyi e1075dfdf5 Fix zoom fit best current after adding new pattern piece.
--HG--
branch : develop
2017-09-25 18:28:58 +03:00
Roman Telezhynskyi 6bd1a460e6 Refactor method VPattern::setCurrentData().
It should use method VAbstractPattern::getLocalHistory().

--HG--
branch : develop
2017-09-25 18:15:28 +03:00
Roman Telezhynskyi 3a358f7633 Improve dialog Increments. It should show all internal variables instead it
showed only those who were in currently selected pattern piece.

--HG--
branch : develop
2017-09-25 16:36:04 +03:00
Roman Telezhynskyi bdc8840184 Resolved issue #756. New feature. Select pieces from command line.
--HG--
branch : develop
2017-09-22 19:16:16 +03:00
Roman Telezhynskyi a5c9ba6c4d Fix export bug. In command line mode Valentina ignored option "in Layout" for
all pieces.

--HG--
branch : develop
2017-09-22 15:37:03 +03:00
Roman Telezhynskyi 29972118ff Lupdate.
--HG--
branch : develop
2017-09-24 10:33:49 +03:00
Roman Telezhynskyi dismine@gmail.com 542ab7e648 Clang warnings.
--HG--
branch : develop
2017-09-20 19:41:12 +03:00
Roman Telezhynskyi 7864ae9572 Added support for tool True Darts.
--HG--
branch : feature
2017-09-20 10:19:02 +03:00
Roman Telezhynskyi 795438c202 Merge with develop.
--HG--
branch : feature
2017-09-20 08:53:44 +03:00
Roman Telezhynskyi bfe327ee13 If pattern linked to individual measurements it should get customer name from
it.

--HG--
branch : develop
2017-09-19 16:07:48 +03:00
Roman Telezhynskyi e7db934fb5 Refactor tool clases to pass data in structure.
--HG--
branch : feature
2017-09-18 11:37:23 +03:00
Roman Telezhynskyi b01adfa388 Saving to file works for simple point.
--HG--
branch : feature
2017-09-17 19:52:18 +03:00
Roman Telezhynskyi 39aa43fe8f SonarQube warnings.
--HG--
branch : develop
2017-09-13 11:52:41 +03:00