Commit Graph

2231 Commits

Author SHA1 Message Date
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