Commit Graph

703 Commits

Author SHA1 Message Date
Roman Telezhynskyi
019642e70a Avoid duplicated QStringLiterals.
--HG--
branch : develop
2015-10-01 19:43:41 +03:00
Valentina Zhuravska
c298be342d Q_DISABLE_COPY instead copy constructor
--HG--
branch : feature
2015-10-01 18:48:25 +03:00
Roman Telezhynskyi
06a54ba40c Use qUtf8Printable.
--HG--
branch : develop
2015-10-01 18:34:03 +03:00
Roman Telezhynskyi
0b57b8821a Show error message box only through message handler.
--HG--
branch : develop
2015-10-01 17:59:01 +03:00
Valentina Zhuravska
15834562af Fixed warnings in Linux
--HG--
branch : feature
2015-10-01 05:05:21 +03:00
Valentina Zhuravska
92a7f21621 Fixed warnings in Linux
1. fixed old-style cast
2. correct order of variables

--HG--
branch : feature
2015-09-30 21:10:13 +03:00
Valentina Zhuravska
1eaf5055a7 Fixed warnings in Linux (correct order of variables)
--HG--
branch : feature
2015-09-30 21:06:31 +03:00
Valentina Zhuravska
418a7ab57f Fixed warnings in Linux (default statement in switch case)
--HG--
branch : feature
2015-09-30 21:00:58 +03:00
Valentina Zhuravska
c3fef2abd7 Fixed warnings in Linux (old-style cast)
--HG--
branch : feature
2015-09-30 20:57:50 +03:00
Valentina Zhuravska
80d35507ca Fixed warnings in Linux
1. correct structure members initialization
2. struct has pointer data members but has no copy constructor

--HG--
branch : feature
2015-09-30 20:49:02 +03:00
Valentina Zhuravska
139027926e Fixed warnings in Linux (correct structure members initialization)
--HG--
branch : feature
2015-09-30 19:59:12 +03:00
Valentina Zhuravska
637baaeabb Fixed warnings in Linux (_MSC_VER)
--HG--
branch : feature
2015-09-30 18:10:42 +03:00
Roman Telezhynskyi
da05f74468 Do not create attributes "full name" and "description" for a known measurement.
--HG--
branch : develop
2015-09-29 18:52:30 +03:00
Roman Telezhynskyi
2e344b27b0 Fix for searching the folder 'templates'.
--HG--
branch : develop
2015-09-29 17:13:29 +03:00
Roman Telezhynskyi
bf2db165da Fixed translation.
--HG--
branch : develop
2015-09-29 17:04:24 +03:00
Roman Telezhynskyi
31af1687a6 Improve handling error messages in console mode.
--HG--
branch : develop
2015-09-28 21:54:41 +03:00
Roman Telezhynskyi
d90d24ca61 Check if all defined known measurements in a file are valid.
--HG--
branch : develop
2015-09-22 17:41:05 +03:00
Roman Telezhynskyi
ed373cf6c1 Define "tr" makes code more compact.
--HG--
branch : feature
2015-09-22 16:11:20 +03:00
Roman Telezhynskyi
4f296d46d7 Updated diagrams.
--HG--
branch : feature
2015-09-22 12:11:52 +03:00
Roman Telezhynskyi
055f80ccd5 Updated the measurement numbers.
--HG--
branch : feature
2015-09-21 17:50:50 +03:00
Roman Telezhynskyi
2299054ae6 Updated the long descriptions.
--HG--
branch : feature
2015-09-20 21:08:10 +03:00
Roman Telezhynskyi
4e3197d3d6 Updated the descriptions.
--HG--
branch : feature
2015-09-20 17:54:55 +03:00
Roman Telezhynskyi
141a3a8a05 shoulder_width_f -> shoulder_tip_to_shoulder_tip_f
--HG--
branch : feature
2015-09-20 14:11:06 +03:00
Roman Telezhynskyi
7d72d2d579 shoulder_width_b -> shoulder_tip_to_shoulder_tip_b
--HG--
branch : feature
2015-09-20 13:58:26 +03:00
Roman Telezhynskyi
5a66e753e9 neck_side_to_waist_bladepoint_b -> neck_side_to_waist_scapula_b
--HG--
branch : feature
2015-09-20 13:53:27 +03:00
Roman Telezhynskyi
f444aebc2d Code style.
--HG--
branch : feature
2015-09-20 13:44:59 +03:00
Roman Telezhynskyi
e0cad4e732 Fix for support win64.
--HG--
branch : develop
2015-09-20 13:20:21 +03:00
Roman Telezhynskyi
305818bd8e Merge
--HG--
branch : develop
2015-09-20 13:12:15 +03:00
Roman Telezhynskyi
b5c6bf8260 Command option for setting a locale.
--HG--
branch : develop
2015-09-19 22:58:32 +03:00
Valentina Zhuravska
4423d6b937 Fixed build problem on Windows
--HG--
branch : develop
2015-09-18 23:38:11 +03:00
Roman Telezhynskyi
ad28a200f7 Removed unused variable.
--HG--
branch : develop
2015-09-16 11:03:33 +03:00
Roman Telezhynskyi
f2a111f0d2 Show popup message "Measurements was updated". Fixed path to measurements when
sync.

--HG--
branch : develop
2015-09-16 11:03:15 +03:00
Roman Telezhynskyi
e75951eb8e Validate unique increment name.
--HG--
branch : develop
2015-09-16 09:14:00 +03:00
Roman Telezhynskyi
2e2a6e8f5c Validate unique measurement name.
--HG--
branch : develop
2015-09-16 09:04:43 +03:00
Roman Telezhynskyi
f722964c11 Add increment's formula to the export list.
--HG--
branch : develop
2015-09-16 08:16:27 +03:00
Roman Telezhynskyi
8dc048a47b Fixed typo in measurement name.
--HG--
branch : develop
2015-09-15 15:34:20 +03:00
Roman Telezhynskyi
cf0d1981ca Moved lock-guarding abilities to separated template class.
Changed application/mainwindow to use it. Most likelly mainwindow may be
upgraded more, since lock can hold and manage memory for complex object
like QFile, also it can have stored deallocator for the object
(lambdas), so this is effectively should simple code, when you have
allocation and freening resources declared on the same screen.

--HG--
branch : develop
2015-09-14 14:53:49 +03:00
Roman Telezhynskyi
48d4ed5905 More pretty looking macros.
--HG--
branch : develop
2015-09-14 10:30:14 +03:00
Roman Telezhynskyi
7e2082fc0a Portable DebugBreak().
--HG--
branch : develop
2015-09-13 15:00:33 +03:00
val177
9301347f3f Fixed metric bug in VObjPaintDevice
--HG--
branch : develop
2015-09-12 01:24:39 +03:00
Roman Telezhynskyi
5f62ce2bde Resolved issue #356. Measurement H12 has incorrect description in tape.exe.
--HG--
branch : develop
2015-09-11 13:14:20 +03:00
Roman Telezhynskyi
ef45bf2a94 Removed translation for the standard table.
--HG--
branch : develop
2015-09-09 14:24:54 +03:00
Roman Telezhynskyi
755cbc34d5 Correct file description.
--HG--
branch : develop
2015-09-08 10:37:23 +03:00
Roman Telezhynskyi
7d633d7270 Merge
--HG--
branch : develop
2015-09-08 10:22:42 +03:00
val177
80b0f38f0d Added dxf export
--HG--
branch : feature
2015-09-07 22:47:02 +03:00
val177
c9eb629e8c Added dxflib
--HG--
branch : feature
2015-09-07 17:39:04 +03:00
Roman Telezhynskyi
b9c91734b4 Conversion measuremnt namses in expressions.
--HG--
branch : develop
2015-09-07 16:51:13 +03:00
Roman Telezhynskyi
e90bbf3870 Conversion standard measurements.
--HG--
branch : develop
2015-09-07 15:29:31 +03:00
Roman Telezhynskyi
d2bb126d04 Conversion individual measurements.
--HG--
branch : develop
2015-09-07 14:51:21 +03:00
val177
d053d51cba Fixed issue #342
--HG--
branch : develop
2015-09-07 12:40:54 +03:00
val177
00e98b8913 Fixed issue #345
--HG--
branch : develop
2015-09-04 15:39:01 +03:00
Roman Telezhynskyi
882efbccf9 Fixed list groups A, E, H.
--HG--
branch : develop
2015-09-03 11:09:56 +03:00
Roman Telezhynskyi
7b732913dc Point in the end of each descriptions.
--HG--
branch : develop
2015-09-02 18:49:49 +03:00
Roman Telezhynskyi
90d794491e Updated full names.
--HG--
branch : develop
2015-09-02 18:27:48 +03:00
Roman Telezhynskyi
99873a4439 Updated group Q.
--HG--
branch : develop
2015-09-02 17:54:05 +03:00
Roman Telezhynskyi
2efb587983 Updated group P.
--HG--
branch : develop
2015-09-02 17:51:04 +03:00
Roman Telezhynskyi
afaa6cc370 Updated group O.
--HG--
branch : develop
2015-09-02 17:42:34 +03:00
Roman Telezhynskyi
e30ce7ea1a Updated group N.
--HG--
branch : develop
2015-09-02 17:35:21 +03:00
Roman Telezhynskyi
b92d1e0f18 Updated group M.
--HG--
branch : develop
2015-09-02 17:31:35 +03:00
Roman Telezhynskyi
3cbdb451f1 Updated group L.
--HG--
branch : develop
2015-09-02 17:29:02 +03:00
Roman Telezhynskyi
1dd6e6bf3c Updated group K.
--HG--
branch : develop
2015-09-02 17:25:17 +03:00
Roman Telezhynskyi
6340756ca9 Updated group J.
--HG--
branch : develop
2015-09-02 17:07:18 +03:00
Roman Telezhynskyi
bb447cd502 Updated group I.
--HG--
branch : develop
2015-09-02 16:58:40 +03:00
Roman Telezhynskyi
42a99c8282 Updated group H.
--HG--
branch : develop
2015-09-02 16:41:51 +03:00
Roman Telezhynskyi
e830773760 Updated group G.
--HG--
branch : develop
2015-09-02 16:28:33 +03:00
Roman Telezhynskyi
c50a931ccb Updated group F.
--HG--
branch : develop
2015-09-02 16:23:10 +03:00
Roman Telezhynskyi
37724fe83c Updated group E.
--HG--
branch : develop
2015-09-02 16:16:03 +03:00
Roman Telezhynskyi
f912bc80b2 Updated group D.
--HG--
branch : develop
2015-08-31 19:20:47 +03:00
Roman Telezhynskyi
37e25046f7 Updated group C.
--HG--
branch : develop
2015-08-31 19:06:10 +03:00
Roman Telezhynskyi
a39125245d Updated group B.
--HG--
branch : develop
2015-08-31 19:02:22 +03:00
Roman Telezhynskyi
34810726ee Updated group A.
--HG--
branch : develop
2015-08-31 18:56:23 +03:00
Alex
605fb6ad8f Fixed extra / found in include, changed Tool/Vis enums to use strict valid static_cast to make all kinds of tools happy
--HG--
branch : develop
2015-08-28 19:38:02 +03:00
Alex
7f1d2934a7 Merged changes
--HG--
branch : develop
2015-08-27 21:06:40 +03:00
Alex
8cd58af79b --
--HG--
branch : develop
2015-08-27 19:20:02 +03:00
Alex
2ec0e31c2b still merge fixes...
--HG--
branch : develop
2015-08-27 19:03:43 +03:00
Alex
1641e16f50 Trying to fix conflicts
--HG--
branch : develop
2015-08-27 18:39:02 +03:00
Roman Telezhynskyi
e0f256514c Merge with feature. Conversion files is not finished yet.
--HG--
branch : develop
2015-08-27 15:25:39 +03:00
Roman Telezhynskyi
e3d13cd3b5 Wrong conversion for the tag unit.
--HG--
branch : feature
2015-08-27 14:00:20 +03:00
Roman Telezhynskyi
a69223299c Reserve a pattern file before conversion.
--HG--
branch : feature
2015-08-27 11:45:31 +03:00
Roman Telezhynskyi
62a22b122e Conversion a pattern file.
--HG--
branch : feature
2015-08-27 11:25:11 +03:00
Roman Telezhynskyi
a988c4b185 Removed DoubleSpinBoxDelegate and TextDelegate.
--HG--
branch : feature
2015-08-26 21:32:35 +03:00
Roman Telezhynskyi
a5e0ace3a5 Use V_FALLTHROUGH.
--HG--
branch : feature
2015-08-26 21:21:42 +03:00
Roman Telezhynskyi
98a5d8aadb Don't clean measurement before begin full parsing.
--HG--
branch : feature
2015-08-26 21:14:47 +03:00
Roman Telezhynskyi
0cacf1034a Open a pattern file.
--HG--
branch : feature
2015-08-26 17:20:23 +03:00
Alex
dc95ae30e9 Issue #334, try 2.
Changed spaces, some minor stuffs like [[noreturn]].
Removed added by error clang settings.

--HG--
branch : develop
2015-08-25 22:27:21 +03:00
Alex
799d5d1dc2 Issue #334 mostly with minor neccessary changes, all options implemented
for command line, disabled gui popups when command line detected.

--HG--
branch : develop
2015-08-25 20:53:03 +03:00
Roman Telezhynskyi
5a1208655c Working with new Increments.
--HG--
branch : feature
2015-08-25 13:35:50 +03:00
Roman Telezhynskyi
62a6fcce44 Sync measurements.
--HG--
branch : feature
2015-08-23 14:01:02 +03:00
Roman Telezhynskyi
6c2c36a11d Show current measurements in Tape.
--HG--
branch : feature
2015-08-18 17:53:33 +03:00
Roman Telezhynskyi
f3d24856be Check Measurement file unit.
--HG--
branch : feature
2015-08-18 10:24:51 +03:00
Roman Telezhynskyi
0c73e7f760 Convert measurements to a pattern file's unit.
--HG--
branch : feature
2015-08-17 15:36:55 +03:00
Roman Telezhynskyi
8146f53be3 Create a measurement independent pattern file.
--HG--
branch : feature
2015-08-16 18:56:06 +03:00
Roman Telezhynskyi
90455b8910 Class LitePattern for getting a list of measurements from a pattern file.
--HG--
branch : feature
2015-08-11 16:41:03 +03:00
Roman Telezhynskyi
aec99643b3 Separate class Calculator.
--HG--
branch : feature
2015-08-09 20:46:21 +03:00
Roman Telezhynskyi
ed38ffef38 Retranslate GUI.
--HG--
branch : feature
2015-08-08 17:33:37 +03:00
Roman Telezhynskyi
65c09f7547 Translation file for mapping pattern making systems.
--HG--
branch : feature
2015-08-02 20:39:29 +03:00
Roman Telezhynskyi
e8577487b1 Dialog Preferences.
--HG--
branch : feature
2015-08-02 18:27:18 +03:00
Roman Telezhynskyi
6e6b040b60 Lock file. Save windows geometry.
--HG--
branch : feature
2015-08-01 20:09:10 +03:00
Roman Telezhynskyi
32ec3fd83c Show fields for known neasurements.
--HG--
branch : feature
2015-08-01 17:36:56 +03:00
Roman Telezhynskyi
dcbfc2240d Return selected names. Add them to the table.
--HG--
branch : feature
2015-08-01 14:25:05 +03:00
Roman Telezhynskyi
e5c74c7866 Database window.
--HG--
branch : feature
2015-08-01 12:39:32 +03:00
val177
6293b88b95 fixed libpng-bug
--HG--
branch : develop
2015-07-29 05:05:35 +03:00
val177
b0fbe74911 fixed about-Valentina bug
--HG--
branch : develop
2015-07-28 23:41:20 +03:00
val177
c92e45e25c fixed build on windows with qt5.4
--HG--
branch : develop
2015-07-28 23:13:30 +03:00
val177
e5b115ad33 Erased unwanted string from dialogtool.h
--HG--
branch : develop
2015-07-28 16:09:57 +03:00
val177
3974e1a0a8 Erased unwanted strings from vtools.pro
--HG--
branch : develop
2015-07-28 15:39:25 +03:00
Roman Telezhynskyi
fff806e110 Lock producing random attribute order in XML
--HG--
branch : feature
2015-07-26 10:17:53 +03:00
Roman Telezhynskyi
3346bd96f2 Return list known and list all measurements in a file.
--HG--
branch : feature
2015-07-26 10:01:26 +03:00
val177
3d25bb1bc5 fixed build problem on Windows
--HG--
branch : develop
2015-07-26 03:38:01 +03:00
Roman Telezhynskyi
3c32c869a6 In some cases need just disable GUI (Read only mode) without writing in file.
--HG--
branch : feature
2015-07-25 18:18:01 +03:00
Roman Telezhynskyi
19b787b111 Open measurement file.
--HG--
branch : feature
2015-07-25 15:59:40 +03:00
Roman Telezhynskyi
5697d45b2d New field full name.
--HG--
branch : feature
2015-07-25 11:54:39 +03:00
Roman Telezhynskyi
0026b698bb Values should be fractional.
--HG--
branch : feature
2015-07-25 09:10:56 +03:00
Roman Telezhynskyi
34859e5913 Fixed a bug in calculation graduation value. Values base size and heights from
file was ignored.

--HG--
branch : feature
2015-07-25 08:41:04 +03:00
Roman Telezhynskyi
5fb426c248 Fixed path to resource Icon.
--HG--
branch : feature
2015-07-24 21:04:38 +03:00
Roman Telezhynskyi
b5e4880c71 Move resource Icon to the vmisc library.
--HG--
branch : feature
2015-07-24 20:53:21 +03:00
Roman Telezhynskyi
5fa0badfc1 Calling dialog for creation an expression.
--HG--
branch : feature
2015-07-24 15:06:53 +03:00
Roman Telezhynskyi
7e25a27a0c Block wrong formula and don't write to file.
--HG--
branch : feature
2015-07-24 13:06:39 +03:00
Roman Telezhynskyi
180af51f99 Save attributes.
--HG--
branch : feature
2015-07-22 12:44:31 +03:00
Roman Telezhynskyi
17e99b4cb4 Move up and move down.
--HG--
branch : feature
2015-07-22 10:01:34 +03:00
Roman Telezhynskyi
a74bfd9c42 Delete measurement.
--HG--
branch : feature
2015-07-22 09:41:04 +03:00
Roman Telezhynskyi
b79807a8ef Methods AddEmpty, AddEmptyAfter.
--HG--
branch : feature
2015-07-21 20:26:33 +03:00
Roman Telezhynskyi
930c7cbf42 Show measurement details.
--HG--
branch : feature
2015-07-21 18:28:20 +03:00
Roman Telezhynskyi
b046aba66c Add custom measurement in table.
--HG--
branch : feature
2015-07-19 15:28:01 +03:00
Roman Telezhynskyi
397f5b65bc Ignore new values if file read only.
--HG--
branch : feature
2015-07-18 16:25:56 +03:00
Roman Telezhynskyi
4aa690d55d Save and Save as.
--HG--
branch : feature
2015-07-18 15:39:33 +03:00
Roman Telezhynskyi
5ba6d62d94 Save basic information in file.
--HG--
branch : feature
2015-07-18 14:08:44 +03:00
Roman Telezhynskyi
a9edee47e5 Creation empty file.
--HG--
branch : feature
2015-07-16 12:38:54 +03:00
Roman Telezhynskyi
58d1cf5fdd Open new window if file was created.
--HG--
branch : feature
2015-07-15 10:16:59 +03:00
Roman Telezhynskyi
1aad1090b1 New static library VFormat.
--HG--
branch : feature
2015-07-14 20:22:31 +03:00
Roman Telezhynskyi
e72c54318a New actions.
--HG--
branch : feature
2015-07-14 19:28:50 +03:00
Roman Telezhynskyi
11ef76d0ae Show new empty table.
--HG--
branch : feature
2015-07-13 13:48:29 +03:00
Roman Telezhynskyi
01e1958aa5 Move windows theme to VMisc library.
--HG--
branch : feature
2015-07-12 18:15:35 +03:00
Roman Telezhynskyi
1aa09c1901 Fields for the main window.
--HG--
branch : feature
2015-07-12 18:07:04 +03:00
Roman Telezhynskyi
9228e417b2 Class MApplication.
--HG--
branch : feature
2015-07-10 14:14:55 +03:00
Roman Telezhynskyi
77767ed85b Rename ambiguous Valentina.pri.
--HG--
branch : feature
2015-07-10 12:28:30 +03:00
Roman Telezhynskyi
2d3b50637c Fixed automatic layout problem. Don't check workpiece bounding rect because it
is not always correct.

--HG--
branch : develop
2015-07-07 10:47:10 +03:00
Roman Telezhynskyi
cc64b0627e Just set default values and don't show dialog. User still can easy get access
to options.

--HG--
branch : develop
2015-07-03 22:22:52 +03:00
Roman Telezhynskyi
1a67aafe05 Show translated names in combobox.
--HG--
branch : develop
2015-07-03 20:06:30 +03:00
Roman Telezhynskyi
fb71593e93 By default don't show line for tool "Point along line".
--HG--
branch : develop
2015-07-03 19:00:57 +03:00
Roman Telezhynskyi
f3f5982d3f Show unit in description of the Internal data.
--HG--
branch : develop
2015-07-03 18:54:25 +03:00
Roman Telezhynskyi
82a24587c5 Show "Error (pattern unit)". Example "Error (cm)". Help quick understand
pattern unit.

--HG--
branch : develop
2015-07-03 17:14:35 +03:00
Roman Telezhynskyi
75e9bd0ed5 Move templates outside class definition.
--HG--
branch : develop
2015-07-03 17:03:19 +03:00
Roman Telezhynskyi
d4e13bfe34 Use Q_DECL_OVERRIDE.
--HG--
branch : develop
2015-07-03 16:36:54 +03:00
Roman Telezhynskyi
f6a551ed4b Fixed window titles for tools "Point from circle and tangent" and
"Point from arc and tangent".

--HG--
branch : develop
2015-07-03 14:02:46 +03:00
Roman Telezhynskyi
371020b824 Message "All objects in path should follow in clockwise direction.".
--HG--
branch : develop
2015-06-29 20:23:01 +03:00
Roman Telezhynskyi
0cf7a344a0 Fixed Windows build.
--HG--
branch : develop
2015-06-25 13:42:49 +03:00
Roman Telezhynskyi
edc8664f3f Additional changes for the issue #303.
--HG--
branch : develop
2015-06-25 10:05:19 +03:00
Roman Telezhynskyi
07e7cbf908 Names must begin with a lowercase letter.
--HG--
branch : develop
2015-06-24 17:48:57 +03:00
Roman Telezhynskyi
bb89e681a2 Ignore children in list.
--HG--
branch : feature
2015-06-24 17:44:21 +03:00
Roman Telezhynskyi
b866e7b91e Resolved issue #301. True darts.
--HG--
branch : feature
2015-06-24 17:30:07 +03:00
Roman Telezhynskyi
0c947f5f50 Don't show children in point combobox.
--HG--
branch : feature
2015-06-20 21:32:35 +03:00
Roman Telezhynskyi
9b49c5122c VToolDoublePoint.
--HG--
branch : feature
2015-06-20 19:14:04 +03:00
Roman Telezhynskyi
0097d67865 Rename VToolPoint.
--HG--
branch : feature
2015-06-20 09:23:04 +03:00
Roman Telezhynskyi
a99c3ce54a Better structure for tools.
--HG--
branch : develop
2015-06-19 17:17:31 +03:00
Roman Telezhynskyi
dfd717fb24 Rename VToolSinglePoint to VToolBasePoint.
--HG--
branch : develop
2015-06-19 15:08:27 +03:00
Roman Telezhynskyi
b7f731802d Reserve one name outside a pattern data base.
--HG--
branch : develop
2015-06-19 14:58:13 +03:00
Roman Telezhynskyi
cf7971ecac Fixed path to icon.qrc.
--HG--
branch : develop
2015-06-18 21:48:02 +03:00
Roman Telezhynskyi
c49d9a6fa0 Fixed paths to icon.qrc.
--HG--
branch : feature
2015-06-18 21:35:00 +03:00
Roman Telezhynskyi
bfaeddfc85 VTools static library.
--HG--
branch : feature
2015-06-18 20:23:24 +03:00
Roman Telezhynskyi
b395465659 Rename getSettings.
--HG--
branch : feature
2015-06-18 11:49:25 +03:00
Roman Telezhynskyi
a312e763c0 Move VFormula to library VPatternDB. New class VAbstractPattern.
--HG--
branch : feature
2015-06-18 11:45:38 +03:00
Roman Telezhynskyi
fab30e999f Use VAbstractPattern in tools.
--HG--
branch : feature
2015-06-16 18:01:17 +03:00
Roman Telezhynskyi
d969cfb2d5 Complited refactoring VPattern.
--HG--
branch : feature
2015-06-16 12:04:48 +03:00
Roman Telezhynskyi
f166f2521b Refactoring UndoCommands.
--HG--
branch : feature
2015-06-16 11:30:25 +03:00
Roman Telezhynskyi
f4aeff48cd Move classes VGraphicsSimpleTextItem and VControlPointSpline to library
VWidgets.

--HG--
branch : feature
2015-06-15 16:59:19 +03:00
Roman Telezhynskyi
fe704484c5 Class VControlPointSpline more independent.
--HG--
branch : feature
2015-06-15 16:47:44 +03:00
Roman Telezhynskyi
78dbb63c1b Move class VSettings to library VMisc.
--HG--
branch : feature
2015-06-15 16:24:57 +03:00
Roman Telezhynskyi
6132153338 Move classes to VWidgets.
--HG--
branch : feature
2015-06-15 15:50:59 +03:00
Roman Telezhynskyi
8faded8de2 Move classes to VMisc.
--HG--
branch : feature
2015-06-15 15:02:42 +03:00
Roman Telezhynskyi
cababbfc37 New static library VMisc.
--HG--
branch : feature
2015-06-15 14:43:41 +03:00
Roman Telezhynskyi
95f141d737 Move realization to cpp.
--HG--
branch : feature
2015-06-15 12:37:18 +03:00
Roman Telezhynskyi
4e4deeb2e5 Refactoring. More independent class VSimpleCurve.
--HG--
branch : feature
2015-06-15 12:32:27 +03:00
Roman Telezhynskyi
48cd74cabd Move class VToolRecord to library IFC.
--HG--
branch : feature
2015-06-12 12:49:35 +03:00
Roman Telezhynskyi
f331f6fa5f Cppcheck warnings.
--HG--
branch : feature
2015-06-12 12:15:59 +03:00
Roman Telezhynskyi
fbeabaa8a9 Remove CONFIG += ordered.
--HG--
branch : feature
2015-06-12 12:10:52 +03:00
Roman Telezhynskyi
f8c6a65962 Moving class VContainer in a static library complited.
--HG--
branch : feature
2015-06-12 11:55:44 +03:00
Roman Telezhynskyi
0322457ece Refactoring. Make class VDetail more independent.
--HG--
branch : feature
2015-06-11 20:36:17 +03:00
Roman Telezhynskyi
4635593b5a Resolved issue #245 New tool "Arc with given length".
--HG--
branch : develop
2015-06-09 21:23:37 +03:00
Roman Telezhynskyi
7143d9fe16 Construct acr from angle and length.
--HG--
branch : develop
2015-06-09 13:21:10 +03:00
Roman Telezhynskyi
a327bc4985 Resolved issue #209. New tool point from circle and tangent.
--HG--
branch : develop
2015-06-05 16:43:41 +03:00
Roman Telezhynskyi
ab01a5b064 Resolved issue #259. Draw free curve path point at distance.
--HG--
branch : develop
2015-06-02 16:53:19 +03:00
Roman Telezhynskyi
bd58148080 GCC warnings.
--HG--
branch : develop
2015-05-31 13:00:26 +03:00
Roman Telezhynskyi
c3d5688f28 New tool "Point of the intersection circles".
--HG--
branch : develop
2015-05-30 13:02:20 +03:00
Roman Telezhynskyi
6530b57a8a Changes for issue #232.
--HG--
branch : develop
2015-05-29 11:03:16 +03:00
Roman Telezhynskyi
256ad10169 New pattern format version.
--HG--
branch : feature
2015-05-28 12:07:52 +03:00
Roman Telezhynskyi
e37e2d48f3 Successful show first point.
--HG--
branch : feature
2015-05-27 19:24:20 +03:00
Roman Telezhynskyi
99bb6bb983 Refactoring.
--HG--
branch : feature
2015-05-25 15:51:44 +03:00
Roman Telezhynskyi
1ba4725538 Method intersection circles.
--HG--
branch : feature
2015-05-25 15:49:28 +03:00
Roman Telezhynskyi
5ebcd1caba New option "Unite papers".
--HG--
branch : develop
2015-05-18 14:26:37 +03:00
Roman Telezhynskyi
dffb7f27a0 Forgot disable these sections.
--HG--
branch : develop
2015-05-18 11:26:54 +03:00
Roman Telezhynskyi
7392e8e914 Fixed issue #304. Layout appears different than my pattern.
--HG--
branch : develop
2015-05-17 18:31:17 +03:00
Roman Telezhynskyi
0fe066925a Oprion for disable debug symbols or(and) strip debug symbols in release mode.
--HG--
branch : develop
2015-05-16 20:38:05 +03:00
Roman Telezhynskyi
3c6441bd85 Comments about disabling Address Sanitizer.
--HG--
branch : develop
2015-05-16 17:17:34 +03:00
Roman Telezhynskyi
027bd31c2a Speed optimization.
--HG--
branch : develop
2015-05-15 18:16:15 +03:00
Roman Telezhynskyi
1ee4ccc8e5 Fixed issue #302. Error when creating layout.
--HG--
branch : develop
2015-05-15 18:15:14 +03:00
Roman Telezhynskyi
3cf421bde4 Speed optimization.
--HG--
branch : develop
2015-05-14 20:22:24 +03:00
Roman Telezhynskyi
a869874429 Resolved issue #300. How to find even odd number.
--HG--
branch : develop
2015-05-14 19:19:23 +03:00
Roman Telezhynskyi
3cb7e5a393 First step to unite Layout and main windows.
--HG--
branch : feature
2015-05-12 15:42:19 +03:00
Roman Telezhynskyi
641e718a04 Fixed issue #299. Error when opening .val file.
--HG--
branch : develop
2015-05-11 15:59:53 +03:00
Roman Telezhynskyi
2db88bb95b For debugging creation a layout we don't need always have whole sheet length.
--HG--
branch : develop
2015-05-11 10:48:57 +03:00
Roman Telezhynskyi
c1980cc7aa Make possible disable Address Sanitizer.
--HG--
branch : develop
2015-05-11 10:10:25 +03:00
Roman Telezhynskyi
c73b2f51e1 Save/Restore a last layout settings. Added button RestoreDefaults.
--HG--
branch : develop
2015-05-08 17:24:20 +03:00
Roman Telezhynskyi
56c027686d New Layout setting "Save length of the sheet".
--HG--
branch : develop
2015-05-08 13:10:56 +03:00
Roman Telezhynskyi
af2e0fb509 New static libray VGeomerty. Need for unit testing.
--HG--
branch : develop
2015-05-07 15:31:53 +03:00
Roman Telezhynskyi
fcbb301004 Spelling error.
--HG--
branch : develop
2015-05-06 17:11:12 +03:00
Roman Telezhynskyi
44ef0936d9 Much more correct work with QThreadPool.
Use "volatile" keyword. Don't use method waitForDone() anymore.

--HG--
branch : develop
2015-05-06 17:09:58 +03:00
Roman Telezhynskyi
b0e0f73aa3 QImage supports a maximum of 32768x32768 px images.
--HG--
branch : develop
2015-05-06 15:03:45 +03:00
Roman Telezhynskyi
7e6809557b Fixed broken checking intersection workpieces.
--HG--
branch : develop
2015-05-04 10:57:38 +03:00
Roman Telezhynskyi
6ce904d652 Memory leak. Quick stop creation a layout.
--HG--
branch : develop
2015-05-02 20:18:31 +03:00
Roman Telezhynskyi
5766523733 Resolved issue #290. Add paper type 'Roll - 36" & 'Roll - 44" to 'Create Layout'
paper size.

--HG--
branch : develop
2015-05-02 19:21:47 +03:00
Roman Telezhynskyi
74608b0481 Grid(1,1) instead Grid(0,0).
--HG--
branch : develop
2015-04-19 17:41:46 +03:00
Roman Telezhynskyi
44b01e8f1b Calculate allowance value according to resolution value.
--HG--
branch : develop
2015-04-19 13:59:19 +03:00
Roman Telezhynskyi
8616ef8b9b Check for loops need only do after we create equdistant path.
--HG--
branch : develop
2015-04-16 15:43:40 +03:00
Roman Telezhynskyi
89f13a0016 fatal error: QtMath: No such file or directory.
--HG--
branch : develop
2015-04-15 20:41:23 +03:00
Roman Telezhynskyi
78f1e89f08 Cppcheck.
--HG--
branch : develop
2015-04-15 15:44:57 +03:00
Roman Telezhynskyi
8bfc9d1ca3 Don't show bottom border if only one page need to print.
--HG--
branch : develop
2015-04-15 12:10:35 +03:00
Roman Telezhynskyi
d7d1c0b78a Don't show left border and top border if page margin is 0.
--HG--
branch : develop
2015-04-15 11:36:08 +03:00
Roman Telezhynskyi
c144c149e6 Class VPoster.
--HG--
branch : feature
2015-04-11 14:01:25 +03:00
Roman Telezhynskyi
07ec5aacf8 QVector::removeLast() was introduced only in Qt 5.1.
--HG--
branch : develop
2015-04-01 21:38:42 +03:00
Roman Telezhynskyi
6dea77276c QtMath apperas only since Qt 5.1.
--HG--
branch : develop
2015-04-01 21:21:24 +03:00
Roman Telezhynskyi
ff44834417 GCC warning “ISO C99 requires rest arguments to be used”.
For fixing use printf style.

--HG--
branch : develop
2015-04-01 20:08:35 +03:00
Roman Telezhynskyi
30f6aea194 Hide warnings, minimal requirements for build is Qt 5.0.0.
--HG--
branch : develop
2015-04-01 15:51:54 +03:00
Roman Telezhynskyi
8d497c68eb Increase version qmuparser.
--HG--
branch : develop
2015-03-31 16:35:01 +03:00
Roman Telezhynskyi
0cabe83e10 Fix for ParserTokenReader::ExtractOperatorToken incorrectly uses
ValidInfixOprtChars().

--HG--
branch : develop
2015-03-31 16:13:41 +03:00
Roman Telezhynskyi
aef39533c8 Bugfix for Bulkmode: Expressions with like "a=b, b*10" did not compute properly.
--HG--
branch : develop
2015-03-31 16:08:44 +03:00
Roman Telezhynskyi
99bb3f8962 Fixed issue #267. Error in the creation of obj files.
--HG--
branch : develop
2015-03-31 14:14:08 +03:00
Roman Telezhynskyi
2cab9b4f90 Fixed missed attribute in XML schema.
--HG--
branch : develop
2015-03-28 11:08:11 +02:00
Roman Telezhynskyi
6b8cb0bf69 Improving for layout debug mode.
--HG--
branch : release
2015-03-23 14:13:44 +02:00
Roman Telezhynskyi
7555c67c3e Clang warnings.
--HG--
branch : release
2015-03-16 14:23:02 +02:00
Roman Telezhynskyi
cabac6f3d0 GCC warnings.
--HG--
branch : release
2015-03-16 12:33:37 +02:00
Roman Telezhynskyi
2b711c5f8f Bad API in class LayoutDetail. Fixed checking seam allowence points.
--HG--
branch : release
2015-03-14 14:38:44 +02:00
Roman Telezhynskyi
c466fc40b4 GCC warnings.
--HG--
branch : release
2015-03-03 17:29:33 +02:00
Roman Telezhynskyi
8b0de7504f Coverity Scan.
--HG--
branch : release
2015-03-02 21:20:09 +02:00
Roman Telezhynskyi
850d51adac cppcheck.
--HG--
branch : release
2015-03-02 19:54:33 +02:00
Roman Telezhynskyi
22055ab684 Vera++.
--HG--
branch : release
2015-03-02 19:11:43 +02:00
Roman Telezhynskyi
629a2a7579 Copyright dates.
--HG--
branch : develop
2015-02-27 12:27:48 +02:00
Roman Telezhynskyi
bfbe2a5fc2 Fixed copyright notice for library qmuparser.
--HG--
branch : develop
2015-02-27 12:21:09 +02:00
Felix Ulber
f3eb68c2db resolve merge conflict
--HG--
branch : develop
2015-02-26 23:16:38 +01:00
Felix Ulber
12c66e873f Corrections on license text
--HG--
branch : develop
2015-02-26 22:48:52 +01:00
Felix Ulber
6ad6eda04a Some code corrections on fix of issue #235
--HG--
branch : develop
2015-02-26 22:34:33 +01:00
Roman Telezhynskyi
018fae459a Build on Mac OS.
--HG--
branch : develop
2015-02-26 22:18:52 +02:00
Felix Ulber
1f0027fd22 Merged dismine/valentina into develop
--HG--
branch : develop
2015-02-26 18:45:37 +01:00
Felix Ulber
80a58cd729 Fixed Issue #235
--HG--
branch : develop
2015-02-25 23:27:09 +01:00
Roman Telezhynskyi
72324c0942 Fixed issue #249. Size Base and Height Base (Calculations Error and Display
Wish List).

--HG--
branch : develop
2015-02-25 21:50:13 +02:00
Roman Telezhynskyi
9f92c1ca94 Build on Windows in debug mode.
--HG--
branch : develop
2015-02-18 18:26:28 +02:00
Roman Telezhynskyi
0deaa1b7b4 Cut tools use attribute "color" instead "lineColor".
--HG--
branch : feature
2015-02-12 18:02:23 +02:00
Roman Telezhynskyi
949e1d9011 Merge with feature
--HG--
branch : develop
2015-02-11 12:52:19 +02:00
Roman Telezhynskyi
28f806a779 Refactoring. More good looking code.
--HG--
branch : feature
2015-02-11 12:43:50 +02:00
Roman Telezhynskyi
f6e511e43c Set and dynamically refresh locale settings for tool property browser.
--HG--
branch : feature
2015-02-11 12:33:13 +02:00
Roman Telezhynskyi
abca716d7b DebugBreak() exist only for MSVC compiler.
--HG--
branch : develop
2015-02-10 16:27:16 +02:00
Roman Telezhynskyi
8c0bdcc612 Make parser static locale variable local for each parser instance.
--HG--
branch : feature
2015-02-10 13:39:31 +02:00
Roman Telezhynskyi
619a303e9b Property explorer now show color combobox.
--HG--
branch : feature
2015-02-07 16:42:49 +02:00
Roman Telezhynskyi
6d638a3080 Class that show line colors.
--HG--
branch : feature
2015-02-07 15:18:08 +02:00
Roman Telezhynskyi
76074f2820 Pattern format 0.1.3 support colors.
--HG--
branch : feature
2015-02-03 13:15:52 +02:00
Roman Telezhynskyi
cf2aea280d Refactoring.
--HG--
branch : feature
2015-02-03 12:17:04 +02:00
dismine
1b6408c144 Fixed issue #171. QComboBox to show Qt::PenStyle.
--HG--
branch : develop
2015-01-29 17:47:02 +02:00
dismine
245c6f522b Don't show arrow if edge too short.
--HG--
branch : develop
2015-01-23 17:05:23 +02:00
dismine
4a9e69d32f Saving the layout paper sheets.
--HG--
branch : feature
2015-01-23 12:07:58 +02:00
dismine
c84caa349d Clear layout paper.
--HG--
branch : feature
2015-01-22 16:23:23 +02:00
dismine
2388d8ef29 Avoid window freaze.
--HG--
branch : feature
2015-01-22 16:13:25 +02:00
dismine
ef73b351ed New options: rotatate and rotation increase.
--HG--
branch : feature
2015-01-22 16:11:50 +02:00
dismine
dd098506dd Move rotation to separate method. Preparetion for working with new setting.
--HG--
branch : feature
2015-01-22 13:47:20 +02:00
dismine
0d1725fc11 Allow user more quick stop generation.
--HG--
branch : feature
2015-01-22 13:39:04 +02:00
dismine
d538f2af73 Give program time update GUI.
--HG--
branch : feature
2015-01-22 13:35:12 +02:00
dismine
7a9447f7af Don't set information for debug if no need.
--HG--
branch : feature
2015-01-22 13:29:40 +02:00
dismine
2aa9de5f94 For rotation check only two positions 180 and 0 degree.
--HG--
branch : feature
2015-01-22 13:26:09 +02:00
dismine
9210d31c25 First realization multithreading.
--HG--
branch : feature
2015-01-21 23:49:38 +02:00
dismine
62aa898742 Refactoring. Prepare for support multithreading.
--HG--
branch : feature
2015-01-21 20:56:59 +02:00
dismine
8655460d6e Refactoring.
--HG--
branch : feature
2015-01-21 16:33:06 +02:00
dismine
dac95d00fe Combine edges not enough for all cases. Was added checking position after
rotation around point.

--HG--
branch : feature
2015-01-20 22:58:30 +02:00
dismine
7970678575 Fix for method UniteWithContour.
--HG--
branch : feature
2015-01-20 14:50:24 +02:00
dismine
2355e435a5 Fix for method Crossing.
--HG--
branch : feature
2015-01-19 20:07:32 +02:00
dismine
366519781b Fix for method InsideContour.
--HG--
branch : feature
2015-01-19 20:01:42 +02:00
dismine
120f4cf565 Speed optimization.
--HG--
branch : feature
2015-01-19 16:13:26 +02:00
dismine
3c76f32bed Alwayse first check if workpiece inside of paper sheet rect.
--HG--
branch : feature
2015-01-19 12:36:27 +02:00
dismine
dc2620e0df Need additional point on each edge for check if workpiece inside of global
contour.

--HG--
branch : feature
2015-01-19 12:14:54 +02:00
dismine
2937a9e594 Wrong rule for check true intersection.
--HG--
branch : feature
2015-01-18 22:21:20 +02:00
dismine
c191059ddd Changed Point-In-Polygon Algorithm. Additional field for saving mirror state.
--HG--
branch : feature
2015-01-18 20:56:01 +02:00
dismine
c044b334d7 Fix for method UniteWithContour.
--HG--
branch : feature
2015-01-17 22:51:17 +02:00
dismine
696aaa413b Fixes for method Mirror and debug system.
--HG--
branch : feature
2015-01-17 19:23:54 +02:00
dismine
1d1ae1acb4 Fixed creation global contour.
--HG--
branch : feature
2015-01-17 16:00:46 +02:00
dismine
56aa09a639 Don't save last options for creation a layout.
--HG--
branch : feature
2015-01-17 15:14:28 +02:00
dismine
28b2f97aaa Fixed getting seam allowence points.
--HG--
branch : feature
2015-01-16 21:35:50 +02:00
dismine
b04d1f92e7 Forgot save paper after creation.
--HG--
branch : feature
2015-01-16 21:34:37 +02:00
dismine
f849d16018 Choose first best result.
--HG--
branch : feature
2015-01-16 21:33:18 +02:00
dismine
f8d210e720 Better check more frequently if user want cancel creation layout.
--HG--
branch : feature
2015-01-16 16:45:56 +02:00
dismine
4fb5a048ca Ignore intersection in vertices of edges.
--HG--
branch : feature
2015-01-16 16:22:42 +02:00
dismine
040b9e607b Method Mirror now should work.
--HG--
branch : feature
2015-01-16 15:20:15 +02:00
dismine
ab2b894d69 Better round points if we want avoid errors. Correct way working with QMatrix in
methods translate and rotate.

--HG--
branch : feature
2015-01-16 14:54:37 +02:00
dismine
3d1100bc3d Send arranged count of workpieces.
--HG--
branch : feature
2015-01-16 14:53:14 +02:00
dismine
00e42b4368 Fixed broken seam allowence.
--HG--
branch : feature
2015-01-15 16:24:37 +02:00
dismine
79325fe91f Changes for table widows. All prepare for begin testing.
--HG--
branch : feature
2015-01-15 15:10:05 +02:00
dismine
a121845407 Dialog layout settings.
--HG--
branch : feature
2015-01-14 16:14:51 +02:00
dismine
3ed87757c4 Return QGraphicsItems with sheet and all details for show on scene.
--HG--
branch : feature
2015-01-13 12:38:51 +02:00
dismine
166f2fbcdb Save each frame to png file for debuging creation layout.
--HG--
branch : feature
2015-01-12 22:35:32 +02:00
dismine
789dcea6bc Standard way arrange first detail on paper not always allow find position. For
such cases best way is rotate detail around vertex.

--HG--
branch : feature
2015-01-12 17:59:15 +02:00
dismine
8dec59ef00 Also check shift for each edge.
--HG--
branch : feature
2015-01-12 17:23:25 +02:00
dismine
98d5dde2e1 Class that drive all process, also speak with outside world.
--HG--
branch : feature
2015-01-12 14:12:15 +02:00
dismine
b53d32225a Class that handle choose next detail.
--HG--
branch : feature
2015-01-11 15:11:56 +02:00