Commit graph

2358 commits

Author SHA1 Message Date
Roman Telezhynskyi af6e41d8cc Fix bug. Valentina doesn't update piece label.
--HG--
branch : develop
2017-08-23 15:26:48 +03:00
Roman Telezhynskyi 13f347dc1a Fix build on Mac OS X.
--HG--
branch : develop
2017-08-22 09:23:26 +03:00
Roman Telezhynskyi 03db3a2c3c Fix error C2065: 'not': undeclared identifier.
--HG--
branch : develop
2017-08-21 19:41:35 +03:00
Roman Telezhynskyi d8a6ce669e Fix Valentina crash.
--HG--
branch : develop
2017-08-21 17:29:25 +03:00
Roman Telezhynskyi ae870b8b2e Fix conflict of names.
--HG--
branch : develop
2017-08-21 17:10:55 +03:00
Roman Telezhynskyi 3d9e4e7555 Promote QLineEdit to VLineEdit.
--HG--
branch : develop
2017-08-21 15:41:42 +03:00
Roman Telezhynskyi 20f5cb3694 Read measurements size and height from individual measurements file to insert
data into label template.

The size measurement was added as synonym of bust_arc_f.

--HG--
branch : feature
2017-08-21 14:25:27 +03:00
Roman Telezhynskyi acf429518d Added more additional Piece label fields.
--HG--
branch : feature
2017-08-21 13:16:43 +03:00
Roman Telezhynskyi 03e1256952 Removed unused field from preferences.
--HG--
branch : feature
2017-08-19 20:17:51 +03:00
Roman Telezhynskyi a8d8efd889 Dialog DateTimeEditor.
--HG--
branch : feature
2017-08-19 19:10:57 +03:00
Roman Telezhynskyi 260d1cc5e9 Default piece label template.
--HG--
branch : feature
2017-08-18 15:40:52 +03:00
Roman Telezhynskyi f07fd426dd Clearing old code.
--HG--
branch : feature
2017-08-18 14:22:31 +03:00
Roman Telezhynskyi 96df1db48e Cleaning GUI.
--HG--
branch : feature
2017-08-18 09:25:57 +03:00
Roman Telezhynskyi ae78373f88 Read/write piece label.
--HG--
branch : feature
2017-08-18 07:59:47 +03:00
Roman Telezhynskyi bc037e15b5 Fix bug. Unloading multisize measurements doesn't hide size and height
comboboxes.

--HG--
branch : feature
2017-08-17 19:59:24 +03:00
Roman Telezhynskyi c368a956b8 Fix bug. Changing pattern or measurements file name do not imidiatelly update
pattern label.

--HG--
branch : feature
2017-08-17 19:57:46 +03:00
Roman Telezhynskyi d6898af23e Refactoring. Rename method.
--HG--
branch : feature
2017-08-17 19:42:48 +03:00
Roman Telezhynskyi 4102c25a04 Fix build on Windows.
--HG--
branch : feature
2017-08-16 19:07:03 +03:00
Roman Telezhynskyi bc36e9bac3 Clear unused tags from code.
--HG--
branch : feature
2017-08-16 16:56:07 +03:00
Roman Telezhynskyi 07b4800f0e Updated default pattern label template.
--HG--
branch : feature
2017-08-16 13:20:52 +03:00
Roman Telezhynskyi 0c0719114c Fix default pattern label template.
--HG--
branch : feature
2017-08-15 16:01:32 +03:00
Roman Telezhynskyi 2137cd816d Added menu option to call the Template editor independently.
--HG--
branch : feature
2017-08-15 16:01:07 +03:00
Roman Telezhynskyi 8466e84eef Read/Write pattern label.
--HG--
branch : feature
2017-08-15 10:44:00 +03:00
Roman Telezhynskyi 10e1c2fbfa Refactoring.
--HG--
branch : feature
2017-08-14 19:44:20 +03:00
Roman Telezhynskyi d5c2b1b50d GetTemplate after editing.
--HG--
branch : feature
2017-08-14 19:34:33 +03:00
Roman Telezhynskyi 0f4c993c83 Added default pattern label template.
--HG--
branch : feature
2017-08-14 17:17:40 +03:00
Roman Telezhynskyi 89ed92e93f Added more placeholders.
--HG--
branch : feature
2017-08-14 15:11:14 +03:00
Roman Telezhynskyi 67cee35426 Ask about change of label data.
User must save data before editing a template to be able to see changes in
template.

--HG--
branch : feature
2017-08-14 12:03:20 +03:00
Roman Telezhynskyi bc96184617 Merge with develop.
--HG--
branch : feature
2017-08-10 17:14:57 +03:00
Roman Telezhynskyi d91f32be02 Proposed to always use mm as the default DXF export unit. ref #745.
--HG--
branch : develop
2017-08-10 16:50:10 +03:00
Roman Telezhynskyi 209a281cdc New standard path for label templates.
--HG--
branch : feature
2017-08-10 14:51:17 +03:00
Roman Telezhynskyi 7b13020e4e Button to call Label editor.
--HG--
branch : feature
2017-08-09 19:32:14 +03:00
Roman Telezhynskyi 80f6a5a7d1 Redesign. The Label editor should be in separate dialog window.
--HG--
branch : feature
2017-08-09 17:33:20 +03:00
Roman Telezhynskyi 849635b8a8 Added new GUI page.
--HG--
branch : feature
2017-08-09 14:16:53 +03:00
Roman Telezhynskyi 7fd93eff5b Fix bug with mouse cursor.
--HG--
branch : develop
2017-08-08 23:25:09 +03:00
Roman Telezhynskyi 16ec3a3ea8 User should be able to rename increments.
--HG--
branch : develop
2017-08-08 17:43:41 +03:00
Roman Telezhynskyi 6b29b8c528 Fix method DialogIncrements::IncrementUsed.
Checking regular text in expression is not enough to know that an increment was
used.

--HG--
branch : develop
2017-08-08 11:51:06 +03:00
Roman Telezhynskyi 372ab02bbc Resolved issue #744. Check for Updates button produces error.
(grafted from 61294fbade9ec4418eb4e58b33cfae7f82281c55)

--HG--
branch : develop
2017-08-06 21:06:59 +03:00
Roman Telezhynskyi 3999ebd82e Fixed bug in Tape. Each Window should has own size and height values.
--HG--
branch : develop
2017-08-04 20:29:43 +03:00
Roman Telezhynskyi 349a5cade0 Fixed issue #743. Valentina doesn't update update pattern after adding item.
(grafted from 9488967913032bb6c97488a8540309db771e7728)

--HG--
branch : develop
2017-08-03 15:25:14 +03:00
Roman Telezhynskyi 0894f686ef Improve working with mouse cursors. Instead of setting global value set cursor
for each item separately.

--HG--
branch : develop
2017-08-01 14:35:48 +03:00
Roman Telezhynskyi 842d21016e Improve regular expression to support non ASCII letters.
--HG--
branch : develop
2017-07-26 15:43:22 +03:00
Roman Telezhynskyi 1fff49936b Return resizing Increments Dialog.
--HG--
branch : develop
2017-07-26 09:13:29 +03:00
Roman Telezhynskyi ea4301ea3f Cppcheck warning.
(grafted from e3934b5f00ac3777865d665625ee3add0390cd99)

--HG--
branch : develop
2017-07-24 20:28:51 +03:00
Roman Telezhynskyi 2400555d05 Fixed behaviour on Windows. Valentina asks about synchronization measurements
twice.
(grafted from e60ffe31f4ba96857a59275dc069bbb67a9bbbdf)

--HG--
branch : develop
2017-07-24 20:02:55 +03:00
Roman Telezhynskyi 38cbe654f4 Lupdate.
--HG--
branch : develop
2017-07-23 17:32:02 +03:00
Roman Telezhynskyi a6bafb77e1 Resolved issue #734. Optimization. Stop increments/variables table from
updating immediately.

--HG--
branch : develop
2017-07-23 16:52:57 +03:00
Roman Telezhynskyi a6976fd1ee Fix details position if export from Detail mode. red #391.
--HG--
branch : develop
2017-07-20 19:14:19 +03:00
Roman Telezhynskyi d09de4155b Added new option for Internal path. ref #391.
This option is nedded for AAMA to determine a cut contour.

--HG--
branch : develop
2017-07-20 17:38:56 +03:00
Roman Telezhynskyi f9d63047c9 Merge with develop.
--HG--
branch : feature
2017-07-17 17:43:32 +03:00
Roman Telezhynskyi 39f5bdfe2a Fix bug. Valentina doesn't print tiled PDF.
--HG--
branch : develop
2017-07-17 09:37:57 +03:00
Roman Telezhynskyi 54eadfdb3c Export to DXF-AAMA.
--HG--
branch : feature
2017-07-16 21:10:48 +03:00
Roman Telezhynskyi bcd61305c3 Fixed issue #719. Valentina crashes when unite pieces.
(grafted from ec7218525e9754a9237465d2c0a8656c5bccb387)

--HG--
branch : develop
2017-07-13 12:22:24 +03:00
Ronan Le Tiec 46f70788cf issue #654 refactoring the code so that the functions and variables are called xxx multisize xxx instead of xxx standard xxx
--HG--
branch : develop
2017-07-12 20:21:48 +02:00
Ronan Le Tiec 5b79acd2bb issue #654 tape : standard changed to multisize in the GUI
--HG--
branch : develop
2017-07-11 18:47:23 +02:00
Roman Telezhynskyi b166ff83b2 Pieces should be positioned as on Detail mode. ref #660.
--HG--
branch : develop
2017-07-09 22:27:54 +03:00
Ronan Le Tiec bfc584876d issue 709 change 'fields' to 'margins' in layout setting dialog
--HG--
branch : develop
2017-07-09 18:01:21 +02:00
Roman Telezhynskyi 7d205d7596 Resolved issue #660. New export: Export details without layout.
--HG--
branch : develop
2017-07-09 14:45:49 +03:00
Roman Telezhynskyi d0cc8902f9 SonarQube warnings.
--HG--
branch : develop
2017-07-09 09:02:26 +03:00
Roman Telezhynskyi cd37c4a48c Fix broken build.
--HG--
branch : develop
2017-07-08 21:16:47 +03:00
Roman Telezhynskyi c074318d65 Resolved issue #716. Command line option to create *tiled* export.
--HG--
branch : develop
2017-07-08 20:18:47 +03:00
Roman Telezhynskyi 163de7091f Fix error: not a Doxygen trailing comment.
--HG--
branch : develop
2017-07-07 16:42:29 +03:00
Roman Telezhynskyi e6eb9c756b Cppcheck warnings.
--HG--
branch : develop
2017-07-06 12:58:26 +03:00
Roman Telezhynskyi 1726b55339 GCC warnings.
--HG--
branch : develop
2017-07-05 19:35:34 +03:00
Roman Telezhynskyi b6e0d97df0 Qmake. Fix masks to support 64 bit versions of compilers.
--HG--
branch : develop
2017-07-05 11:35:32 +03:00
Roman Telezhynskyi d25979f054 Merged with feature.
--HG--
branch : develop
2017-07-04 19:53:05 +03:00
Roman Telezhynskyi 13d43d100d Resolved issue #712. Default seam allowance setting.
--HG--
branch : develop
2017-07-03 11:23:34 +03:00
Ronan Le Tiec f080b88cf7 issue #712 new default allowance setting taken into account in seam allowance tool dialog. StrToUnits and UnitsToStr moved from VDomDocument to def
--HG--
branch : develop
2017-07-02 13:34:36 +02:00
Ronan Le Tiec 07556c6c46 issue #712 new setting added in dialog for seam default seam allowance. not taken into account in the rest of the programm yet
--HG--
branch : develop
2017-07-02 10:14:01 +02:00
Roman Telezhynskyi 72ea1997fb Fixed issue #715. Build fails with Qt 5.9.1 / clang / macOS.
(grafted from d78ca13c4891ccf3542b0704a7d66af0f9b02938)

--HG--
branch : develop
2017-07-01 21:38:26 +03:00
Roman Telezhynskyi f94967d02e New option Export text as paths.
--HG--
branch : feature
2017-07-01 20:32:54 +03:00
Roman Telezhynskyi 53502e3dd9 Refactoring. Remove code dependency.
--HG--
branch : feature
2017-07-01 14:43:16 +03:00
Roman Telezhynskyi 275338da4b Allow user to setup font family for piece labels.
--HG--
branch : feature
2017-07-01 14:41:46 +03:00
Roman Telezhynskyi 018007e87b When export dxf hide a paper sheet box.
--HG--
branch : feature
2017-06-30 11:50:28 +03:00
Roman Telezhynskyi bca2623d32 Merge with develop.
--HG--
branch : feature
2017-06-30 11:43:40 +03:00
Roman Telezhynskyi 1226db1735 Text now correctly converted due to hack. Saved to continue cleaning.
--HG--
branch : feature
2017-06-29 18:56:52 +03:00
Roman Telezhynskyi 9c14f46a26 Fix bug. Valentina overrids exported file even if a user said no.
(grafted from cebb2be5d991225d9689a43e44c7764c31d708ff)

--HG--
branch : develop
2017-06-27 16:09:16 +03:00
Roman Telezhynskyi ce9219d668 Fix code style.
--HG--
branch : develop
2017-06-29 10:27:40 +03:00
Ronan Le Tiec c0341a086c Resolved issue #693, sort the groups, details and pattern pieces alphabeticaly und change the caption of group to details in Detail Mode
--HG--
branch : develop
2017-06-28 20:19:20 +02:00
Roman Telezhynskyi 575e99ee21 Valentina overrided export file even if user said no.
--HG--
branch : feature
2017-06-27 16:09:16 +03:00
Roman Telezhynskyi 9edc1a39db Allow user to select DXF version.
--HG--
branch : feature
2017-06-26 17:28:41 +03:00
Roman Telezhynskyi cb1b3ead0b Zoom fit best current eats some size.
--HG--
branch : develop
2017-06-23 16:19:24 +03:00
Roman Telezhynskyi cacba00e83 Zoom fit best current did not work properly because of corrupted point.
--HG--
branch : develop
2017-06-23 16:02:59 +03:00
Roman Telezhynskyi 4243804f55 New key to disable creating a Windows installer.
--HG--
branch : develop
2017-06-19 19:11:41 +03:00
Roman Telezhynskyi 663ab8aff1 SonarCloud warnings.
--HG--
branch : develop
2017-06-19 17:44:18 +03:00
Roman Telezhynskyi 77350e5dc3 Resolved issue #629. Improve GUI: Move 'True Dart tool' to Operations tool
group.

--HG--
branch : develop
2017-06-19 16:21:01 +03:00
Roman Telezhynskyi 9686d0e179 Fixed issue #623. Issue: Bug with dialog Open file.
--HG--
branch : develop
2017-06-19 16:11:44 +03:00
Roman Telezhynskyi 8e0a7250df Added new feature Zoom Fit Best Current pattern piece.
--HG--
branch : develop
2017-06-16 21:14:33 +03:00
Roman Telezhynskyi d110dc3325 Fixed issue #706. Default unit in preferences not changing new file unit.
(grafted from f1ce177213a46538a840fc789e4e2ce3d78d98e4)

--HG--
branch : develop
2017-06-16 16:01:09 +03:00
Roman Telezhynskyi b0f867499c Resolved issue #244. New feature: Adjust line and point thickness and label
size.

--HG--
branch : develop
2017-06-16 14:53:08 +03:00
Roman Telezhynskyi debcabf1a3 Set wait cursor to inform a user that the program is busy when openning
Preferences dialog.

Because Preferences dialog reads data about installed localizations each time
a user opens it in some cases it's take some time. Especially when a hard drive
is busy.

--HG--
branch : develop
2017-06-14 11:48:51 +03:00
Roman Telezhynskyi f12e9ee4ac Fixed issue #703. Valentina warns about format rewriting for unsaved files.
(grafted from c25298f49b2401b67647213dd6543ba880ddf58d)

--HG--
branch : develop
2017-06-08 09:39:56 +03:00
Roman Telezhynskyi 3a4871fcd0 SonarQube warnings.
--HG--
branch : develop
2017-06-05 19:47:25 +03:00
Roman Telezhynskyi 8e7ea0f45f Cppcheck warning.
(grafted from 5fb12906763ccf0b28ee1e2037196556fb9297eb)

--HG--
branch : develop
2017-06-05 18:25:36 +03:00
Roman Telezhynskyi 7a9b2e34bd Changed default behaviour if path to multisize measurements or templates doesn't
exist.

If the path doesn't exist Valentina will create and return path to user
localized default folder.
(grafted from 722c37544c26fe3f406d222b7f344ddf7b3602a0)

--HG--
branch : develop
2017-06-05 17:52:42 +03:00
Roman Telezhynskyi 65c98f6a39 Do not force copying translations if build in debug mode.
--HG--
branch : develop
2017-06-05 16:21:35 +03:00
Roman Telezhynskyi 4461caaf0f Fixed issue #698. Problem typing in new axis point for new piece.
(grafted from 8ad30021d46f5ddcd479b7ec1a9279a5185a2578)

--HG--
branch : develop
2017-06-02 09:23:29 +03:00
Roman Telezhynskyi bfd2620fad Next try to fix problem with tests.
Because different compilers and even different version from same vendor may
produce little bit different result this cause of test fails because it expect
too accurate result. We don't need such accuracy and can use variable
VGObject::accuracyPointOnLine to compare two points.

--HG--
branch : develop
2017-06-01 13:04:25 +03:00
Roman Telezhynskyi cc5641a15c Added gcc’s 4.9.0 Undefined Behavior Sanitizer (ubsan).
--HG--
branch : develop
2017-06-01 10:14:17 +03:00
Roman Telezhynskyi f0bceec6ea Cppcheck warning.
--HG--
branch : develop
2017-05-30 20:09:34 +03:00