Commit graph

4522 commits

Author SHA1 Message Date
Roman Telezhynskyi 3970bbdbc0 Refactoring. Use QChar instead of QString where possible.
--HG--
branch : develop
2018-04-12 13:13:19 +03:00
Roman Telezhynskyi ef87a062fb Clang warnings.
--HG--
branch : develop
2018-04-09 11:51:25 +03:00
Roman Telezhynskyi 962cde8e6e Clazy warning.
--HG--
branch : develop
2018-04-09 11:15:55 +03:00
Roman Telezhynskyi f7e1b0942c Fixed issue #837. Valentina crashes when changing seam allowance on a curve
segment.

I made a mistake switching to C++11 range-based loops here.

--HG--
branch : develop
2018-04-09 11:12:46 +03:00
Roman Telezhynskyi 0281b5508c Additional controls for Label template editor. ref #824.
--HG--
branch : develop
2018-04-09 10:20:38 +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 00f9139150 Since we get previous piece from database we don't need to save them in dialog.
--HG--
branch : develop
2018-04-08 17:41:48 +03:00
Roman Telezhynskyi f90c612287 Because Seam allowance tool dialog doesn't control all piece options some of
them were lost. ref #836.

--HG--
branch : develop
2018-04-08 17:40:25 +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
Roman Telezhynskyi 188db90050 Automatically disable check for uniqness for the second point after uniting.
ref #835.

--HG--
branch : develop
2018-04-07 13:36:56 +03:00
Roman Telezhynskyi e0ecb81932 Fixed issue #834. Union Tool - Pieces can't be moved after undo union details.
--HG--
branch : develop
2018-04-07 13:11:15 +03:00
Roman Telezhynskyi 6438679f0e Cppcheck warning.
--HG--
branch : develop
2018-04-07 12:29:41 +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 5b63502b21 Cppcheck warnings.
--HG--
branch : develop
2018-04-03 14:54:57 +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 4eaf556342 Cppcheck warning.
--HG--
branch : develop
2018-04-02 17:05:53 +03:00
Roman Telezhynskyi 218c2cc518 Resolved issue #830. Seam allowance tool - object selection and preview.
--HG--
branch : develop
2018-04-02 16:49:53 +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 2ee19af497 issue 826 start working on undo redo command
--HG--
branch : feature
2018-03-31 11:50:08 +02:00
Ronan Le Tiec d2f7a742b7 issue 826 update the drawing after adding/removing item to group
--HG--
branch : feature
2018-03-30 12:56:37 +02:00
Ronan Le Tiec 6c90ae9166 merge from develop
--HG--
branch : feature
2018-03-30 11:02:41 +02:00
Ronan Le Tiec 5fba6b797b issue 826 pattern modified when group modified
--HG--
branch : feature
2018-03-30 11:02:10 +02:00
Roman Telezhynskyi 23b22f6186 Correct an arc direction after flipping. ref #829.
--HG--
branch : develop
2018-03-30 11:13:51 +03:00
Ronan Le Tiec 5b181cc3b8 merge develop into feature
--HG--
branch : feature
2018-03-30 09:27:42 +02:00
Roman Telezhynskyi fb03dbbb19 Fixed issue #829. Flipping by Axis + Rotation of an Arc and an Elliptical Arc.
--HG--
branch : develop
2018-03-30 09:43:11 +03:00
Ronan Le Tiec 597f021139 issue 826 improvement to be able to add
--HG--
branch : feature
2018-03-29 23:13:33 +02:00
Ronan Le Tiec 67c0e7ed45 issue826 improvement for the handling of groups with the same name
--HG--
branch : feature
2018-03-25 20:01:36 +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
Ronan Le Tiec be44126c94 add remove item from group and add item to group in tool context menu
--HG--
branch : issue826
2018-03-24 23:42:17 +01:00
Roman Telezhynskyi 979b97f169 Lupdate.
--HG--
branch : develop
2018-03-24 08:01:16 +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 47d86413d0 Minore cleaning.
--HG--
branch : develop
2018-03-23 15:40:36 +02:00
Roman Telezhynskyi 45a4a280b0 Fixed issue #825. Curve path editing - undo.
--HG--
branch : develop
2018-03-23 15:39:53 +02:00
Roman Telezhynskyi 3d8cdb6630 Additional controls to cover issue with Internal move. ref #824.
--HG--
branch : develop
2018-03-23 11:16:23 +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 edccf05a62 Function qAsConst() was introduced in Qt 5.7.
--HG--
branch : develop
2018-03-19 09:57:43 +02:00
Roman Telezhynskyi b547adf344 Refactor QmuTranslation to not allocate memory.
--HG--
branch : develop
2018-03-15 08:51:47 +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 015249ad12 Fix painting artifacts.
--HG--
branch : develop
2018-03-12 12:46:48 +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 20840667bb Temporary fix issue with toolbar black background on mac with OpenGL render.
--HG--
branch : develop
2018-03-12 12:25:02 +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 cb5b7fcfcd Resolved issue #818. Improve Piece path validation. Check uniqueness.
--HG--
branch : develop
2018-03-05 12:05:59 +02:00
Roman Telezhynskyi fc7e28a502 Use QT_NO_SSL to check SSL support.
(grafted from 1a1a59bdfb1fbe8d93170fa1a1a41af3424738a7)

--HG--
branch : develop
2018-03-04 14:05:13 +02:00
Roman Telezhynskyi 1a231872b5 Improve roatation tool.
It's not really logical for a user that a center of rotation no need to select.
To fix this issue we just silently remove it from the list.

--HG--
branch : develop
2018-03-04 13:54:28 +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 f605777495 Fixed issue #817. Piece label is not rotatable by mouse.
--HG--
branch : develop
2018-02-27 13:06:37 +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 3f77b979aa Fixed issue #814. Make "\" valid character.
--HG--
branch : develop
2018-02-27 10:22:08 +02:00
Roman Telezhynskyi 9088ad93be Fix bug in VFormula copy constructor.
--HG--
branch : develop
2018-02-27 09:44:17 +02:00
Roman Telezhynskyi ced8963041 Refactoring VFormula::Eval().
Plus, in case of check If zero set value to Error instead of "0". This confuses
users.

--HG--
branch : develop
2018-02-22 15:03:11 +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 cacca07c13 Fix build on MSVC.
--HG--
branch : develop
2018-02-18 10:05:10 +02:00
Roman Telezhynskyi 9763aaa59d Fix build on Qt 5.2.
--HG--
branch : develop
2018-02-17 20:45:10 +02:00
Roman Telezhynskyi 573f6a828a Fix build.
--HG--
branch : develop
2018-02-17 20:35:38 +02:00
Roman Telezhynskyi eeb7c86d74 Speed up starting translation tests.
--HG--
branch : develop
2018-02-17 20:26:25 +02:00
Roman Telezhynskyi d39fea54cd Resolved issue #810. Performance regression in c9abc05 (macOS).
--HG--
branch : develop
2018-02-15 11:20:34 +02:00
Roman Telezhynskyi 7b3ab26832 Improve dialog Piece path. Hide unused tabs depending on path type.
--HG--
branch : develop
2018-02-13 19:43:32 +02:00
Roman Telezhynskyi 551d11f298 Fix bug in Dialog piece path. Dialog was blocked if piece path is internal
path.

--HG--
branch : develop
2018-02-13 19:37:45 +02:00
Roman Telezhynskyi 1199adf6e4 Fixing bug. When export a piece invisible internal path should not be included.
--HG--
branch : develop
2018-02-13 18:22:38 +02:00
Roman Telezhynskyi 1b60d5d5cf Fix bug in XSD schema. Piece path attribute visible must be a string.
--HG--
branch : develop
2018-02-13 18:01:40 +02:00
Roman Telezhynskyi fd8446c5e5 Clang warning.
--HG--
branch : develop
2018-02-11 13:26:57 +02:00
Roman Telezhynskyi 85afe83f6a Fix reappearing internal piece path after scene update.
--HG--
branch : develop
2018-02-11 13:15:07 +02:00
Roman Telezhynskyi e15c6eca08 Fix issue with Piece path dialog. Path should be active tab by default.
--HG--
branch : develop
2018-02-09 15:00:47 +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 3f79c0f057 Clean code.
--HG--
branch : develop
2018-02-06 21:18:51 +02:00
Roman Telezhynskyi 575068e181 Fix bug in control point.
Do not draw control point in constructor. It creates artefacts if they enabled
from start.

--HG--
branch : develop
2018-02-06 21:05:43 +02:00
Roman Telezhynskyi 89d01f3fe5 Arrow length should follow line width.
--HG--
branch : develop
2018-02-06 20:45:07 +02:00
Roman Telezhynskyi f4b92b2cf1 Origins should ignore line width settings.
--HG--
branch : develop
2018-02-06 20:21:04 +02:00
Roman Telezhynskyi 077b31cc78 Circle radius should follow line width settings.
--HG--
branch : develop
2018-02-06 20:20:45 +02:00
Roman Telezhynskyi 6e50832578 Fix bug with pen width.
--HG--
branch : develop
2018-02-06 20:08:50 +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 72d832c93a Resolved issue #807. Issue with "Intersection" passmark.
--HG--
branch : develop
2018-02-04 12:35:27 +02:00