Commit graph

2316 commits

Author SHA1 Message Date
Roman Telezhynskyi 0adfbb8fb1 New math parser function "r2cm". Round to up to 1 decimal.
--HG--
branch : develop
2017-09-29 17:47:11 +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 8de6fc4473 Fix XSD schema to accept number of user material placeholders up to 20.
--HG--
branch : develop
2017-09-29 11:40:57 +03:00
Roman Telezhynskyi 6ed9dce7bf Clang warning.
--HG--
branch : develop
2017-09-28 21:20:32 +03:00
Roman Telezhynskyi d7b3ddc2d5 Resolved issue #758. Intersection Passmark - select which side is shown.
--HG--
branch : develop
2017-09-28 21:18:13 +03:00
Roman Telezhynskyi d0150bccbd Removed redundant include.
--HG--
branch : develop
2017-09-28 20:27:33 +03:00
Roman Telezhynskyi 5551b853b9 Extend number of user material placeholders up to 20.
--HG--
branch : develop
2017-09-28 17:45:57 +03:00
Roman Telezhynskyi 657c445e46 Extract formulas from final measurements.
--HG--
branch : feature
2017-09-28 16:39:27 +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 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 ab961834e8 Add missed keys to list of all command line keys.
--HG--
branch : develop
2017-09-24 10:37:58 +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 29972118ff Lupdate.
--HG--
branch : develop
2017-09-24 10:33:49 +03:00
Roman Telezhynskyi d44638eab2 SonarQube warnings.
--HG--
branch : develop
2017-09-21 10:05:58 +03:00
Roman Telezhynskyi 28cd003bcc Improve converting customer name.
--HG--
branch : develop
2017-09-21 09:55:59 +03:00
Roman Telezhynskyi dismine@gmail.com 679830ba20 Clang warnings.
--HG--
branch : develop
2017-09-21 09:46:48 +03:00
Roman Telezhynskyi dismine@gmail.com 542ab7e648 Clang warnings.
--HG--
branch : develop
2017-09-20 19:41:12 +03:00
Roman Telezhynskyi 40662bb948 Fixed bug. After full parse undocommand Move labe losts connection to tool.
--HG--
branch : develop
2017-09-20 15:39:42 +03:00
Roman Telezhynskyi f2b07a482c GCC warning.
--HG--
branch : develop
2017-09-20 14:27:43 +03:00
Roman Telezhynskyi 17394e8259 Compiler warnings.
--HG--
branch : develop
2017-09-20 14:05:41 +03:00
Roman Telezhynskyi c004f0fbad Cppcheck warning.
--HG--
branch : develop
2017-09-20 13:28:06 +03:00
Roman Telezhynskyi f7c75111ce Added support for operation tools.
--HG--
branch : feature
2017-09-20 12:10:57 +03:00
Roman Telezhynskyi af1e01c243 Hide Show label option for not point objects.
--HG--
branch : feature
2017-09-20 10:28:49 +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 783f2f1296 Merge with develop.
--HG--
branch : feature
2017-09-18 09:13:47 +03:00
Roman Telezhynskyi 0bfeb859f8 Fixed issue #754. Converting to new label template system cause error in cut
number.

--HG--
branch : develop
2017-09-18 09:11:39 +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 2e8f113e3e Tooltip for complex tools.
--HG--
branch : feature
2017-09-17 13:58:43 +03:00
Roman Telezhynskyi 6f160ebd9c Improve tooltip. It should show object label.
--HG--
branch : feature
2017-09-17 10:24:34 +03:00
Roman Telezhynskyi dbe1981eb5 Refactor to avoid hidding class member.
--HG--
branch : feature
2017-09-17 09:45:18 +03:00
Roman Telezhynskyi fa74e32769 First working result.
Doesn't change file.

--HG--
branch : feature
2017-09-17 09:19:13 +03:00
Roman Telezhynskyi f2d1b4b916 Forgot to refactor this name.
--HG--
branch : feature
2017-09-17 09:17:37 +03:00
Roman Telezhynskyi f6923a92f4 Show option Show label.
--HG--
branch : feature
2017-09-16 17:25:14 +03:00
Roman Telezhynskyi 2864be7342 Refactoring to recognize child that called a contex menu.
--HG--
branch : feature
2017-09-15 17:32:23 +03:00
Roman Telezhynskyi cc01fdf2d2 Fix Valentina crash.
The crash appeared after wrong refactoring.

--HG--
branch : develop
2017-09-15 09:25:19 +03:00
Roman Telezhynskyi 39aa43fe8f SonarQube warnings.
--HG--
branch : develop
2017-09-13 11:52:41 +03:00
Roman Telezhynskyi 851044d37e Cppcheck warning.
(grafted from 472ee616f82f6ff5e6b2d0ed4adcc2aa76c12ea1)

--HG--
branch : develop
2017-09-13 09:27:52 +03:00
Roman Telezhynskyi 15fc06fbf1 Fix tests. ref #753.
(grafted from 390ce06769037946ec705a8acecae65d5349e621)

--HG--
branch : develop
2017-09-13 09:17:21 +03:00
Roman Telezhynskyi a8dc3ed9f0 Fixed issue #753. Elliptical arc tool is broken.
(grafted from 6e388ecf0b095aa084889cbf6cc0461fedb18cd3)

--HG--
branch : develop
2017-09-13 07:29:35 +03:00
Roman Telezhynskyi 6689fc89d7 Fix Elliptical arc tool dialog.
--HG--
branch : develop
2017-09-13 07:07:15 +03:00
Roman Telezhynskyi 66914174d8 Fix tooltip of Elliptical arc tool.
--HG--
branch : develop
2017-09-13 07:03:18 +03:00
Roman Telezhynskyi d820191e8a User "home" folder now supports label templates.
--HG--
branch : develop
2017-09-12 11:50:23 +03:00
Roman Telezhynskyi 600ded659e Trying to fix error implicit instantiation of undefined template
'QSharedPointer<VInternalVariable>'.

--HG--
branch : develop
2017-09-12 07:42:27 +03:00
Roman Telezhynskyi 33ec3921a6 Added new language Polish (Poland).
--HG--
branch : develop
2017-09-11 16:57:49 +03:00
Roman Telezhynskyi 27f605dc65 Fixed issue #752. Valentina produces corrupted file if unite two pieces.
(grafted from e0e2d27ac2a1f8f43879218a97924481ae674c77)

--HG--
branch : develop
2017-09-11 15:56:18 +03:00
Roman Telezhynskyi d6a956b7fa Improve VDomDocument::CollectId warning message.
--HG--
branch : develop
2017-09-11 11:45:38 +03:00
Roman Telezhynskyi 3499b04c56 Remove space as thousands separator when return formula to user.
(grafted from 11b585c55b443564fefcff38cd7ce297d31659c0)

--HG--
branch : develop
2017-09-06 09:58:48 +03:00
Roman Telezhynskyi b19cb9aee7 Removed crash sending system for Windows.
--HG--
branch : develop
2017-09-04 19:11:15 +03:00
Roman Telezhynskyi fd2f977e44 Improve Formula Wizard. Added additional radio button to separate increments
and preview calculations. ref #731.

--HG--
branch : develop
2017-09-02 15:25:53 +03:00
Roman Telezhynskyi d77acc524c Resolved issue #731. Improve tab Increments. Separate the tab on two:
Increments and Preview Calculation.

--HG--
branch : develop
2017-09-02 14:47:44 +03:00
Roman Telezhynskyi 0a5035c5b3 Remove unused settings for removed old time ago Community page.
--HG--
branch : develop
2017-09-01 17:15:12 +03:00
Roman Telezhynskyi b7db0804dc Our new website.
--HG--
branch : develop
2017-09-01 17:04:19 +03:00
Roman Telezhynskyi 0da1d58a78 SonarQube warning.
--HG--
branch : develop
2017-08-30 10:35:11 +03:00
Roman Telezhynskyi 4ed21eb4d5 Clang warning.
--HG--
branch : develop
2017-08-30 10:16:40 +03:00
Roman Telezhynskyi b6bc6cbeae Added additional restriction for XSD schema.
--HG--
branch : feature
2017-08-30 09:38:33 +03:00
Roman Telezhynskyi c33b178e3c Template recognizes new placeholders.
--HG--
branch : feature
2017-08-30 09:32:39 +03:00
Roman Telezhynskyi a97821edce Read and write pattern materials.
--HG--
branch : feature
2017-08-30 08:55:07 +03:00
Roman Telezhynskyi 4a6e1e104f Global variable to count placeholders quantity.
--HG--
branch : feature
2017-08-30 07:43:00 +03:00
Roman Telezhynskyi 2885d95a43 Added dialog Pattern materials.
--HG--
branch : feature
2017-08-30 07:26:18 +03:00
Roman Telezhynskyi da892dfc3c Added dialog Known Materials.
--HG--
branch : feature
2017-08-28 16:03:19 +03:00
Roman Telezhynskyi 51f6176ede Resolved issue #722. Rename "Seam Allowance" tool to "Workpiece" tool.
--HG--
branch : develop
2017-08-27 11:15:57 +03:00
Roman Telezhynskyi 842dfafcd6 Fix bug. Valentina doesn't update pattern label.
--HG--
branch : develop
2017-08-23 20:54:20 +03:00
Roman Telezhynskyi af6e41d8cc Fix bug. Valentina doesn't update piece label.
--HG--
branch : develop
2017-08-23 15:26:48 +03:00
Roman Telezhynskyi db8b4e0023 Resolved issue #750. Info Box Beside Mouse.
--HG--
branch : develop
2017-08-23 14:50:48 +03:00
Roman Telezhynskyi 56273f6429 SonarQube warnings.
--HG--
branch : develop
2017-08-21 21:20:42 +03:00
Roman Telezhynskyi 54dec078da Clang warning.
--HG--
branch : develop
2017-08-21 21:12:24 +03:00
Roman Telezhynskyi 8a53a7af71 Clang warning.
--HG--
branch : develop
2017-08-21 20:14:39 +03:00
Roman Telezhynskyi 9d84412823 SonarQube warnings.
--HG--
branch : develop
2017-08-21 19:20:50 +03:00
Roman Telezhynskyi c4262903d8 Clang warning.
--HG--
branch : develop
2017-08-21 18:59:11 +03:00
Roman Telezhynskyi 6a5e684d90 Fix conversion a piece label with multiple materials.
--HG--
branch : develop
2017-08-21 18:07:30 +03:00
Roman Telezhynskyi ae870b8b2e Fix conflict of names.
--HG--
branch : develop
2017-08-21 17:10:55 +03:00
Roman Telezhynskyi be83ff5a12 SonarQube warnings.
--HG--
branch : develop
2017-08-21 16:47:17 +03:00
Roman Telezhynskyi 31beeb0756 Clang warnings.
--HG--
branch : develop
2017-08-21 16:03:43 +03:00
Roman Telezhynskyi c827152eb4 Fix error "QT_WARNING_PUSH does not name a type".
--HG--
branch : develop
2017-08-21 15:58:10 +03:00
Roman Telezhynskyi 3d9e4e7555 Promote QLineEdit to VLineEdit.
--HG--
branch : develop
2017-08-21 15:41:42 +03:00
Roman Telezhynskyi be548269f6 Cppcheck warnings.
--HG--
branch : develop
2017-08-21 15:39:05 +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 4841a7937d Refactoring. Remove unused method.
--HG--
branch : feature
2017-08-21 14:22:25 +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 464a54c7ee Update label after changing date/time format.
--HG--
branch : feature
2017-08-19 19:52:33 +03:00
Roman Telezhynskyi 6d06370f4f Use user define date/time format.
--HG--
branch : feature
2017-08-19 19:37:14 +03:00
Roman Telezhynskyi a8d8efd889 Dialog DateTimeEditor.
--HG--
branch : feature
2017-08-19 19:10:57 +03:00
Roman Telezhynskyi db6de640ce Fix crash.
--HG--
branch : feature
2017-08-18 14:56:31 +03:00
Roman Telezhynskyi 5961f52a73 Fix label conversion.
--HG--
branch : feature
2017-08-18 14:56:18 +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 12fa4399e8 Convert piece label to new format.
--HG--
branch : feature
2017-08-18 09:02:03 +03:00
Roman Telezhynskyi ae78373f88 Read/write piece label.
--HG--
branch : feature
2017-08-18 07:59:47 +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 09c67a099a UI changes for piece label.
--HG--
branch : feature
2017-08-17 19:18:03 +03:00
Roman Telezhynskyi 6d967cddf8 Fix bug. Tags should contain only file base name.
--HG--
branch : feature
2017-08-17 16:04:52 +03:00
Roman Telezhynskyi bc36e9bac3 Clear unused tags from code.
--HG--
branch : feature
2017-08-16 16:56:07 +03:00
Roman Telezhynskyi 3cd0c10f07 Convert old pattern label to new form.
--HG--
branch : feature
2017-08-16 16:39:16 +03:00
Roman Telezhynskyi af5c82bdf6 Test to be sure that translation of placeholders are correct.
--HG--
branch : feature
2017-08-16 13:09:29 +03:00
Roman Telezhynskyi 4d58e05f3e New option Font size increment.
Add value to point size of base font.

--HG--
branch : feature
2017-08-15 18:10:15 +03:00
Roman Telezhynskyi b212d04d11 Parse template and prepare pattern label.
--HG--
branch : feature
2017-08-15 15:22:33 +03:00
Roman Telezhynskyi b80bd85dec Just replace() method is enough. It replaces all occurrences.
--HG--
branch : feature
2017-08-15 15:21:31 +03:00
Roman Telezhynskyi 3b60eaff08 List to speed up reading a template by many pieces.
--HG--
branch : feature
2017-08-15 11:38:36 +03:00
Roman Telezhynskyi 882cf360e2 We use implicit conversion. That's why check if values are still the same as
excpected.

--HG--
branch : feature
2017-08-15 11:23:48 +03:00
Roman Telezhynskyi cd06b70c6f New pattern format version 0.6.0.
--HG--
branch : feature
2017-08-15 11:17:54 +03:00
Roman Telezhynskyi 8466e84eef Read/Write pattern label.
--HG--
branch : feature
2017-08-15 10:44:00 +03:00
Roman Telezhynskyi b9bd1b60e4 Method SetTemplate.
--HG--
branch : feature
2017-08-14 20:00:19 +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 5a649d4747 Fix bug translation placeholders.
--HG--
branch : feature
2017-08-14 17:13:16 +03:00
Roman Telezhynskyi 0b3342fe3d Translation from/to user text.
--HG--
branch : feature
2017-08-14 15:48:14 +03:00
Roman Telezhynskyi 89ed92e93f Added more placeholders.
--HG--
branch : feature
2017-08-14 15:11:14 +03:00
Roman Telezhynskyi 4aa002f510 Added Preview tab.
--HG--
branch : feature
2017-08-12 13:19:13 +03:00
Roman Telezhynskyi 0c13d610eb Еext in QLineEdit selected on edit start.
--HG--
branch : feature
2017-08-12 11:57:46 +03:00
Roman Telezhynskyi d81be4f778 Added placeholders list.
--HG--
branch : feature
2017-08-12 11:40:58 +03:00
Roman Telezhynskyi 9202418d7c Fix bug. Values "0" and "1" mean for us the same.
--HG--
branch : feature
2017-08-10 19:36:31 +03:00
Roman Telezhynskyi c989cdf048 Added import the template.
--HG--
branch : feature
2017-08-10 19:32:05 +03:00
Roman Telezhynskyi bc96184617 Merge with develop.
--HG--
branch : feature
2017-08-10 17:14:57 +03:00
Roman Telezhynskyi b4c0651de4 Added export the template.
--HG--
branch : feature
2017-08-10 17:14:39 +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 7f570106db Finished basic functions.
--HG--
branch : feature
2017-08-10 14:47:56 +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 56bb45aee7 Added new icons to local icon theme.
--HG--
branch : feature
2017-08-09 14:17:21 +03:00
Roman Telezhynskyi 5fa0324185 Fix translation elarc variables.
--HG--
branch : develop
2017-08-08 18:27:36 +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 6f5199c5d1 Performance optimization.
--HG--
branch : develop
2017-08-05 11:03:19 +03:00
Roman Telezhynskyi cc2b991e78 Performance optimization.
--HG--
branch : develop
2017-08-05 08:45:37 +03:00
Roman Telezhynskyi 8dc5b739ad Cppcheck warning.
--HG--
branch : develop
2017-08-04 22:50:06 +03:00
Roman Telezhynskyi 0cea5c3347 Performance optimization.
--HG--
branch : develop
2017-08-04 21:25:59 +03:00
Roman Telezhynskyi 0a500c52dd Performance improvement.
--HG--
branch : develop
2017-08-04 20:46:11 +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 825b0b1431 Don't need to prepare increments because they do not support multi size
measurements anymore.
(grafted from ca88ea9874acb7e08edafe84ca716e58b6e4b05e)

--HG--
branch : develop
2017-08-04 13:05:48 +03:00
Roman Telezhynskyi 474c0949e2 Fix translation variables.
(grafted from dff11ab321d8eb16de58f01b70913190f527809c)

--HG--
branch : develop
2017-08-04 10:28:44 +03:00
Roman Telezhynskyi 2be8bf2206 Fix bug. Set correct brush pattern for seam allowance.
--HG--
branch : develop
2017-08-03 15:59:16 +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 9acaaffce5 Fixed issue #742. Valentina produces wrong seam allowance.
(grafted from e5047109085c16f09270349bc020dbabfb64505f)

--HG--
branch : develop
2017-08-03 13:43:25 +03:00
Roman Telezhynskyi 4914d2c3e7 Fix grainline orientation in AAMA.
--HG--
branch : develop
2017-08-02 17:04:31 +03:00
Roman Telezhynskyi 07a7b033b7 Performance improvement. Speed up method VDomDocument::elementById.
Use integer key instead of string.

--HG--
branch : develop
2017-08-02 14:40:17 +03:00
Roman Telezhynskyi 7734b7a59d Refactoring. Remove unused method.
--HG--
branch : develop
2017-08-02 14:11:03 +03:00
Roman Telezhynskyi acc340bff1 Performance improvement. Speed up method VDomDocument::elementById.
--HG--
branch : develop
2017-08-02 14:10:10 +03:00