Commit Graph

1508 Commits

Author SHA1 Message Date
Roman Telezhynskyi
f59625f56f Removed strange expression Q_FUNC_QT_VERSION < 0x053000INFO.
--HG--
branch : develop
2015-04-02 19:13:29 +03:00
Roman Telezhynskyi
1de5ba3411 fatal error: qlockfile.h: No such file or directory.
--HG--
branch : develop
2015-04-02 18:38:34 +03:00
Roman Telezhynskyi
c952b54122 Files from Qt 5.2.0.
--HG--
branch : develop
2015-04-02 18:25:19 +03:00
Roman Telezhynskyi
0c023a9db9 Files from Qt 5.4.1.
--HG--
branch : develop
2015-04-02 17:56:17 +03:00
Roman Telezhynskyi
fb879c7ae1 Qt < 5.2 didn't feature categorized logging.
--HG--
branch : develop
2015-04-02 17:01:05 +03:00
Roman Telezhynskyi
49ffd7a77d QLockFile was introduced in Qt 5.1.
--HG--
branch : develop
2015-04-02 15:54:35 +03:00
Roman Telezhynskyi
4d171184bd Forgot change methods.
--HG--
branch : develop
2015-04-02 14:53:42 +03:00
Roman Telezhynskyi
ab3c60fe03 travis.yml. Added support for "make check", run tests.
--HG--
branch : develop
2015-04-02 14:31:23 +03:00
Roman Telezhynskyi
7e49c3524f QCombobox::currentData was introduced since Qt 5.2.
--HG--
branch : develop
2015-04-02 12:51:27 +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
e1e995abe7 Test template for future test system.
--HG--
branch : develop
2015-03-31 17:48:58 +03:00
Roman Telezhynskyi
b14e98fea3 Show appers only after user change format.
--HG--
branch : develop
2015-03-31 16:38:59 +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
74e4761634 Refactoring.
--HG--
branch : develop
2015-03-31 13:46:47 +03:00
Roman Telezhynskyi
478dbe13dd Fixed issue #263. Regression. Union tool doesn't work.
--HG--
branch : develop
2015-03-31 13:39:10 +03:00
Roman Telezhynskyi
8c5ea079d7 Additional checkings.
--HG--
branch : develop
2015-03-30 21:04:44 +03:00
Roman Telezhynskyi
d9a9df14f6 Don't allow selection details with less than 2 points and less than three
objects.

--HG--
branch : develop
2015-03-30 17:27:45 +03:00
Roman Telezhynskyi
a38448623c When we unite two detalis don't skip a point of a second detail if edges length
don't equal.

--HG--
branch : develop
2015-03-30 15:43:30 +03:00
Roman Telezhynskyi
b104f0dfa5 Fixed crash. If we have no points in the seam allowence path just don't show
him.

--HG--
branch : develop
2015-03-28 14:26:49 +02:00
Roman Telezhynskyi
f97a077dcd For tool Curve intersect axis fixed wrong calculation point in case with too
small scene rect size. No code always use the biggest possible rect.

--HG--
branch : develop
2015-03-28 12:59:37 +02:00
Roman Telezhynskyi
2cab9b4f90 Fixed missed attribute in XML schema.
--HG--
branch : develop
2015-03-28 11:08:11 +02:00
Roman Telezhynskyi
91a0966271 New token.
--HG--
branch : release
2015-03-23 15:03:12 +02:00
Roman Telezhynskyi
40e786c348 New language Finnish.
--HG--
branch : release
2015-03-23 14:37:53 +02:00
Roman Telezhynskyi
6b8cb0bf69 Improving for layout debug mode.
--HG--
branch : release
2015-03-23 14:13:44 +02:00
Roman Telezhynskyi
1f74e30d39 New version v0.3.0.
--HG--
branch : release
2015-03-19 17:46:45 +02:00
Roman Telezhynskyi
0f33cb6352 Fixed bug with circle intersection. Case with one real and one theoretical
intersection.

--HG--
branch : release
2015-03-19 16:20:25 +02:00
Roman Telezhynskyi
37dbe31050 Allow user add points in list by clicking on label.
--HG--
branch : release
2015-03-19 15:02:39 +02:00
Roman Telezhynskyi
7fccb9eb63 Set checked Detail mode button after close Layout Editor window.
--HG--
branch : release
2015-03-19 14:44:57 +02:00
Roman Telezhynskyi
c4d7b03905 Hide tool options before switch to Details mode.
--HG--
branch : release
2015-03-19 14:40:54 +02:00
Roman Telezhynskyi
f1b7726646 Block moving point label if tool is active.
--HG--
branch : release
2015-03-19 13:13:13 +02:00
Roman Telezhynskyi
c77b165cf0 Can't defeat PATH variable on Mac OS.
--HG--
branch : release
2015-03-16 18:31:27 +02:00
Roman Telezhynskyi
1f0ac82547 Hide warning about not available pdftops. Seek tool pdftops in app bundle on
mac os, near exe on Windows and in standard path on linux.

--HG--
branch : release
2015-03-16 16:49:51 +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
ef0a2e206b Don't use set specific index number. If user don't have pdftops application it
will make combobox empty.

--HG--
branch : release
2015-03-15 19:12:30 +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
d287e63790 Seam allowence width can't be <= 0.
--HG--
branch : release
2015-03-14 12:39:09 +02:00
Roman Telezhynskyi
365248f7e2 Separate file name from page number.
--HG--
branch : release
2015-03-10 18:01:33 +02:00
Roman Telezhynskyi
de9534b6d5 Fixed crash DialogUndo. After canceling fixing formula user will see again
DialogUndo and can try again. Button cancel make pattern broken, but left
posibility undo operation.

--HG--
branch : release
2015-03-03 17:47:31 +02:00
Roman Telezhynskyi
8f0e5fbd78 Error message about broken formula show twice if set current pattern piece after
deletion.

--HG--
branch : release
2015-03-03 17:31:18 +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
bb74ed2da6 Updated contributors list.
--HG--
branch : develop
2015-02-27 15:07: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
139d4d26f0 merge fix
--HG--
branch : develop
2015-02-26 23:27:33 +01: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
Roman Telezhynskyi
13dcebb082 Fixed unable setting AboutValentina dialog size on Windows.
--HG--
branch : develop
2015-02-26 17:06:19 +02:00
Roman Telezhynskyi
47a61dcbc7 Prevent deletion uninitialized pointer.
--HG--
branch : develop
2015-02-26 16:29:32 +02:00
Roman Telezhynskyi
fbe84b74f4 Updated translations. New language Spanish.
--HG--
branch : develop
2015-02-26 16:10:01 +02:00
Roman Telezhynskyi
326a790044 Fixed issue #253. Add description, id, size base and height base to Table of
Variables.

--HG--
branch : develop
2015-02-26 11:26:43 +02:00
Felix Ulber
7a30a08ba5 Merged dismine/valentina into develop
--HG--
branch : develop
2015-02-25 23:27:57 +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
924af81eae Rows in list can't be more than count();
--HG--
branch : develop
2015-02-25 20:21:44 +02:00
Roman Telezhynskyi
cdeddbfa1e Check pointers.
--HG--
branch : develop
2015-02-25 20:12:15 +02:00
Roman Telezhynskyi
0bfd03d98a Hide token.
--HG--
branch : develop
2015-02-22 20:46:08 +02:00
Felix Ulber
c169287336 Completed Issue #241
--HG--
branch : develop
2015-02-21 16:38:11 +01:00
Roman Telezhynskyi
9f92c1ca94 Build on Windows in debug mode.
--HG--
branch : develop
2015-02-18 18:26:28 +02:00
Roman Telezhynskyi
890c87e228 Set color for curved path.
--HG--
branch : develop
2015-02-18 18:04:27 +02:00
Roman Telezhynskyi
f77258ac70 Close property browser when reset window.
--HG--
branch : develop
2015-02-18 15:34:06 +02:00
Roman Telezhynskyi
22aa73e308 Web site URL in log file.
--HG--
branch : develop
2015-02-18 15:29:44 +02:00
Roman Telezhynskyi
8d0027ab8f Improving log.
--HG--
branch : develop
2015-02-18 15:05:20 +02:00
Roman Telezhynskyi
f3fceaea64 Build revision in crash report.
--HG--
branch : develop
2015-02-18 12:17:56 +02:00
Roman Telezhynskyi
0d6a53f5d2 Fixed issue #248. Fix dialog header for Tables Of Variables.
--HG--
branch : develop
2015-02-18 12:06:03 +02:00
Roman Telezhynskyi
48c5e6ad94 Fixed issue #247. Individual measurement file 'Where save measurements' dialog
doesn't open directory from Preferences.

--HG--
branch : develop
2015-02-17 23:34:32 +02:00
Roman Telezhynskyi
614b57a5f2 Merge
--HG--
branch : develop
2015-02-17 19:03:05 +02:00
Roman Telezhynskyi
75f6bfd381 Fixed issue #183. Show message "Changes saved".
--HG--
branch : develop
2015-02-17 19:02:47 +02:00
Felix Ulber
78341ef434 Fixed problem with formula editing in vtooloptionspropertybrowser and "," decimal separator, related to issue 234
--HG--
branch : develop
2015-02-17 17:28:32 +01:00
Roman Telezhynskyi
b05266b78e Deleted needless class.
--HG--
branch : develop
2015-02-16 21:05:44 +02:00
Roman Telezhynskyi
734efb4145 Fixed issue #219. Rename 'Tool new detail' to 'Seam Allowance tool'.
Fixed issue #220. Rename 'Tool for union two details' to 'Union tool'.

--HG--
branch : develop
2015-02-16 16:38:37 +02:00
Roman Telezhynskyi
352637a40a Fixed issue #210. Rename Point of intersection line and axis.
--HG--
branch : develop
2015-02-16 16:02:52 +02:00
Roman Telezhynskyi
bac1baf59f Fixed issue #184. Delete button "Equal" in dialogs.
--HG--
branch : develop
2015-02-16 15:54:56 +02:00
Roman Telezhynskyi
0db66e1946 Update layout save path when show dialog first time.
--HG--
branch : develop
2015-02-15 09:14:02 +02:00
Roman Telezhynskyi
0ec2748293 Don't allow move if we use tool.
--HG--
branch : develop
2015-02-13 11:33:20 +02:00
Roman Telezhynskyi
7db74d4f20 We don't need anymore simple curves. First step just hide them.
--HG--
branch : feature
2015-02-13 11:26:02 +02:00
Roman Telezhynskyi
99ebbc3ed9 Simple curve ignore press event and allow move curve by mouse.
--HG--
branch : feature
2015-02-12 18:10:47 +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
ee0f8d51be Auto save should not change "was modefied" sign (*).
--HG--
branch : feature
2015-02-12 17:47:53 +02:00
Roman Telezhynskyi
f16cccd89f Curved path can move by mouse.
--HG--
branch : feature
2015-02-12 17:42:44 +02:00
Roman Telezhynskyi
d6069c9201 Avoid declaring the same literal in multiple places.
--HG--
branch : feature
2015-02-12 13:55:35 +02:00
Roman Telezhynskyi
d5eded4eda Show "move cursor".
--HG--
branch : feature
2015-02-12 13:43:38 +02:00
Roman Telezhynskyi
254d9b7b7a Now spline can move by mouse.
--HG--
branch : feature
2015-02-12 12:55:09 +02:00
Roman Telezhynskyi
fb8dca8452 After refreshing arc visualization get wrong f1 and f2 angels.
--HG--
branch : develop
2015-02-11 16:45:35 +02:00
Roman Telezhynskyi
d550d27d99 Fixed setting f1 and f2 angles for arc visualization.
--HG--
branch : develop
2015-02-11 15:13:17 +02:00
Roman Telezhynskyi
c4c03e1d3e Don't show asterisk (*) near file name if file saved.
--HG--
branch : develop
2015-02-11 13:04:12 +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
2726bd4eb6 Global locale settings in dialog increments.
--HG--
branch : feature
2015-02-11 11:11:49 +02:00
Roman Telezhynskyi
0459fccee0 Convert number to string according to locale options.
--HG--
branch : feature
2015-02-10 22:09:44 +02:00
Roman Telezhynskyi
0056ec49e0 Set locale according to global options.
--HG--
branch : feature
2015-02-10 21:27:11 +02:00
Roman Telezhynskyi
a12eb73bec Dynamic update tool property browser after applying options changes.
--HG--
branch : feature
2015-02-10 19:50:47 +02:00
Roman Telezhynskyi
abca716d7b DebugBreak() exist only for MSVC compiler.
--HG--
branch : develop
2015-02-10 16:27:16 +02:00
Roman Telezhynskyi
cfc2b187f6 Dialogs don't return correct formulas.
--HG--
branch : feature
2015-02-10 15:17:18 +02:00
Roman Telezhynskyi
420f2e1da7 "," can't be argument separator in C locale. Parser will return error for big
numbers.

--HG--
branch : feature
2015-02-10 14:46:11 +02:00
Roman Telezhynskyi
7176bd0668 Bug in VFormula class. SetFormula was broken.
--HG--
branch : feature
2015-02-10 13:51:51 +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
cc65f00e2f Windows build.
--HG--
branch : develop
2015-02-09 18:34:50 +02:00
Roman Telezhynskyi
c2191dd8d0 Fixed issue #217. Bug with mouse cursor.
--HG--
branch : develop
2015-02-09 11:54:19 +02:00
Roman Telezhynskyi
2885abb5a1 Fixed issue #242. Tool Dialogs: Label at bottom doesn't update for empty lists.
--HG--
branch : develop
2015-02-08 23:55:24 +02:00
Felix Ulber
ba5e218ff4 DialogTool: Line Angle property not considered in ValChenged slot
--HG--
branch : develop
2015-02-08 20:58:03 +01:00
Felix Ulber
77a24bba0b Tool dialog: disable "Hide Empty Measurements" checkbox when input data is "Size and height"
--HG--
branch : develop
2015-02-08 20:23:01 +01:00
Felix Ulber
1f51d0122f arc tool dialog: tab changes focus for angle values, tab order
--HG--
branch : develop
2015-02-08 20:16:13 +01:00
Roman Telezhynskyi
7064dbfaa2 Improwing documentation.
--HG--
branch : develop
2015-02-08 15:43:30 +02:00
Roman Telezhynskyi
074ca3a4e0 Improving documantation and little refactoring changes in class Calculator.
--HG--
branch : develop
2015-02-08 13:48:27 +02:00
Roman Telezhynskyi
17fa00ba75 Merge with feature. Fixed issue #74. Fold Line in pattern piece.
--HG--
branch : develop
2015-02-08 13:01:18 +02:00
Roman Telezhynskyi
401e6ea534 Leave line thick if tool was selected.
--HG--
branch : feature
2015-02-08 12:56:32 +02:00
Roman Telezhynskyi
eb56288d13 Color property also for cut tools: cut arc, cut spline, cut spline path.
--HG--
branch : feature
2015-02-08 12:23:26 +02:00
Roman Telezhynskyi
aa7b2a4112 Use visualization for highlighting tool.
--HG--
branch : feature
2015-02-07 17:18:18 +02:00
Roman Telezhynskyi
ff5c6dbb17 Fixed bug. We don't have object for line in data container. Just will send
empty object.

--HG--
branch : feature
2015-02-07 16:48:48 +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
805100ec0f Generate translated color names list. Need for property browser.
--HG--
branch : feature
2015-02-07 14:31:10 +02:00
Roman Telezhynskyi
c595df7517 Read attribute color from file.
--HG--
branch : feature
2015-02-07 13:17:31 +02:00
Roman Telezhynskyi
5da451a5ce Save tool color attribute to xml.
--HG--
branch : feature
2015-02-06 20:05:52 +02:00
Roman Telezhynskyi
1563193662 Save color from tool option dialog to xml.
--HG--
branch : feature
2015-02-06 19:50:33 +02:00
Roman Telezhynskyi
f687105905 Refactoring. Also read attribute color from xml.
--HG--
branch : feature
2015-02-06 19:43:31 +02:00
Roman Telezhynskyi
b8e7cbd1ac Use for each tool correct method Disable.
--HG--
branch : feature
2015-02-06 16:25:04 +02:00
Roman Telezhynskyi
25691639d4 This method now can be virtual.
--HG--
branch : feature
2015-02-06 14:34:02 +02:00
Roman Telezhynskyi
4f91c69127 Refactoring, correct disabling tool.
--HG--
branch : feature
2015-02-06 14:31:40 +02:00
Roman Telezhynskyi
5f49394236 Use different colors for different parts of tool.
--HG--
branch : feature
2015-02-06 13:41:30 +02:00
Roman Telezhynskyi
16662a34d5 Use variable "enabled" everywhere.
--HG--
branch : feature
2015-02-06 11:58:04 +02:00
Roman Telezhynskyi
e94c5070dc If pattern piece disabled need correct tool color.
--HG--
branch : feature
2015-02-06 11:53:36 +02:00
Roman Telezhynskyi
e64e3a9044 Wrong conversion expression if number has 0 in fractional part. Example 10,0.
Such numbers ignored and left untouched. This cause error in calculation.

--HG--
branch : develop
2015-02-05 13:56:51 +02:00
Roman Telezhynskyi
8b7567c32a Use method setEnabled instead direct change Pen where possible.
--HG--
branch : feature
2015-02-04 15:09:37 +02:00
Roman Telezhynskyi
06d415f320 Disable curve if pattern piece disabled.
--HG--
branch : feature
2015-02-04 14:17:49 +02:00
Roman Telezhynskyi
8aa8438064 Disable label if pattern piece disabled.
--HG--
branch : feature
2015-02-04 13:47:53 +02:00
Roman Telezhynskyi
4d6fae5840 Setter and getter for attribute line color.
--HG--
branch : feature
2015-02-04 11:21:09 +02:00
Roman Telezhynskyi
9d9bc2404b Refactoring. Move line type to VDrawTool class.
--HG--
branch : feature
2015-02-03 16:46:14 +02:00
Felix ulber
278c4e7ee8 Fixed wrong title in vtooloptionspropertybrowser for curve intersect axis tool.
--HG--
branch : develop
2015-02-03 12:21:01 +01:00
Roman Telezhynskyi
76074f2820 Pattern format 0.1.3 support colors.
--HG--
branch : feature
2015-02-03 13:15:52 +02:00
Felix ulber
e1283c410e Fixed some tooltips in tool dialogs.
--HG--
branch : develop
2015-02-03 11:29:34 +01:00
Roman Telezhynskyi
cf2aea280d Refactoring.
--HG--
branch : feature
2015-02-03 12:17:04 +02:00
Roman Telezhynskyi
4572da85c8 Refactoring.
--HG--
branch : feature
2015-02-03 11:27:33 +02:00
Roman Telezhynskyi
d6a2388762 Refactoring.
--HG--
branch : feature
2015-02-03 10:55:02 +02:00
Roman Telezhynskyi
c52d0a045d Refactoring.
--HG--
branch : feature
2015-02-03 10:45:27 +02:00
Roman Telezhynskyi
f141edad27 Refactoring.
--HG--
branch : feature
2015-02-03 10:32:32 +02:00
Roman Telezhynskyi
493f607cac Refactoring. Deleted additional variables for storing ids.
--HG--
branch : feature
2015-02-03 10:17:59 +02:00
Roman Telezhynskyi
b535460715 Fixed wrong window title.
--HG--
branch : develop
2015-02-03 09:55:27 +02:00
Roman Telezhynskyi
6a9cc6da0a Default style for line Qt::SolidLine.
--HG--
branch : develop
2015-02-03 00:08:39 +02:00
Roman Telezhynskyi
d5836e2fb3 Refactoring. Left method getPointName only in parent class.
--HG--
branch : feature
2015-02-02 18:35:40 +02:00
Roman Telezhynskyi
e3b54789f3 Refactoring. Move inline methods in cpp file.
--HG--
branch : feature
2015-02-02 17:11:48 +02:00
Roman Telezhynskyi
d41308e1f4 Set line color for dialog tool " point along line".
--HG--
branch : feature
2015-02-02 13:55:42 +02:00
Roman Telezhynskyi
9381cc78a6 Initialization color conmbobox.
--HG--
branch : feature
2015-02-02 13:10:02 +02:00
Roman Telezhynskyi
c06938272f Color comboboxs in dialogs.
--HG--
branch : feature
2015-02-02 13:06:58 +02:00
Roman Telezhynskyi
e2fab3345a Test combobox that show colors.
--HG--
branch : feature
2015-02-02 12:28:09 +02:00
Roman Telezhynskyi
de1c9d8a77 List of colors.
--HG--
branch : feature
2015-02-02 11:29:50 +02:00
dismine
1b6408c144 Fixed issue #171. QComboBox to show Qt::PenStyle.
--HG--
branch : develop
2015-01-29 17:47:02 +02:00
dismine
5dcfa88691 Fix for Mac OS. Issue Makefile overriding commands for target
"bin/valentina.app/Contents/Frameworks/".

--HG--
branch : develop
2015-01-28 17:33:01 +02:00
dismine
d70879276e Fixed bug "Can't get Valentina to pick the .vst initial file (OSX)".
--HG--
branch : develop
2015-01-28 16:46:41 +02:00
dismine
f8c62b9b25 Fixed issue #208. Point from X and Y needs vertical bar to help select point
for X vertical value.

--HG--
branch : develop
2015-01-27 20:17:28 +02:00
dismine
c15c0ac67b Fixed issue #196. Detail Editor crashes on Delete.
--HG--
branch : develop
2015-01-27 18:32:50 +02:00
dismine
12c1b59c79 Fixed issue #218. Pattern disappears when Detail icon on icon bar is selected.
--HG--
branch : develop
2015-01-27 16:14:54 +02:00
dismine
e8329a1294 Merged
--HG--
branch : develop
2015-01-27 15:57:08 +02:00
dismine
2a27ebfe1f Fixed issue #230. Program hangs when I try to open saved file.
--HG--
branch : develop
2015-01-27 15:56:44 +02:00
Felix Ulber
f9f6ae884f Fixed Issue #212: Tooltip for Tool triangle is unclear. Rename.
--HG--
branch : develop
2015-01-27 11:20:30 +01:00
Felix Ulber
665d276e96 Fixed Issue #205: Point from X and Y needs improved tooltip and user prompts.
--HG--
branch : develop
2015-01-26 23:13:57 +01:00
Felix Ulber
70ffdcc1c6 Fixed Issue #207: Point from intersection of line and arc has incorrect options dialog title.
--HG--
branch : develop
2015-01-26 22:28:54 +01:00
Felix Ulber
acadc898dc Fixed Issue #204. Point from X and Y tool needs X & Y labels in options box.
--HG--
branch : develop
2015-01-26 21:05:59 +01:00
dismine
9875558e49 Fixed issue #222. Move Layout icon on top toolbar so it is next to Detail mode.
--HG--
branch : develop
2015-01-26 17:13:46 +02:00
dismine
aac096d897 Fixed issue #223. Attempt to remove stale lock file.
--HG--
branch : develop
2015-01-26 17:02:57 +02:00
dismine
886f347ba6 To File/Preferences/Paths added path to export a layout.
--HG--
branch : develop
2015-01-26 16:08:09 +02:00
dismine
57c4813255 Refactoring changed word 'Mask' to 'File Name' when saving the layout.
--HG--
branch : develop
2015-01-26 15:38:51 +02:00
dismine
245c6f522b Don't show arrow if edge too short.
--HG--
branch : develop
2015-01-23 17:05:23 +02:00
dismine
878cc2d573 Use pattern file name in mask.
--HG--
branch : develop
2015-01-23 13:40:17 +02:00
dismine
bc2df2b1b3 Changed layout allowence value.
--HG--
branch : develop
2015-01-23 12:59:40 +02:00
dismine
bdc1fa2e7f Merge with develop.
--HG--
branch : feature
2015-01-23 12:11:12 +02:00
dismine
4a9e69d32f Saving the layout paper sheets.
--HG--
branch : feature
2015-01-23 12:07:58 +02:00
dismine
0b85380f20 Show paper preview in list.
--HG--
branch : feature
2015-01-22 18:22:37 +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
ce67acc6ff Dialog must do not allow values smaller than 1 pixel.
--HG--
branch : feature
2015-01-15 19:31:42 +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
f6380cf739 Dialog for showing progress of creation.
--HG--
branch : feature
2015-01-14 19:52:16 +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
dismine
007bc1466f Layout paper. Main algorithm.
--HG--
branch : feature
2015-01-10 15:47:46 +02:00
dismine
9effd8af02 Layout detail.
--HG--
branch : feature
2015-01-07 18:54:43 +02:00
dismine
0b80c2b9f8 We alwayse need information about “the current parent of the working directory”.
--HG--
branch : develop
2015-01-04 18:11:00 +02:00
dismine
06e945d8a3 Detail must return contour points and seam allowence points yourself.
--HG--
branch : feature
2015-01-03 14:22:55 +02:00
dismine
4ba488d0c0 VAbstractDetail parent class for VDetail.
--HG--
branch : feature
2015-01-02 19:02:07 +02:00
dismine
112dbd7f4e Class for abstract detail.
--HG--
branch : feature
2015-01-02 18:32:26 +02:00
dismine
67c93e2b5b Initial commit for class VLayoutDetail.
--HG--
branch : feature
2015-01-02 16:14:28 +02:00
dismine
44372c7e6b Initial commit for static library VLayout.
--HG--
branch : feature
2015-01-02 15:53:36 +02:00
dismine
7d6f22d01b Better use method here.
--HG--
branch : develop
2015-01-02 13:13:14 +02:00
dismine
4bb5930cad Default value for seam allowence is 1 cm. But pattern have different units, so
just set 1 in dialog not enough.

--HG--
branch : develop
2015-01-02 13:08:24 +02:00
dismine
1a59396196 Method CheckLoops return wrong list of points if points less then 4.
--HG--
branch : develop
2015-01-02 13:00:20 +02:00
dismine
d59bfb8a56 Url to user manual for unstable builds.
--HG--
branch : develop
2015-01-01 14:00:17 +02:00
dismine
eb2e3ea799 By default on Windows font point size 8 points we need 11 like on Linux.
--HG--
branch : develop
2014-12-31 16:54:11 +02:00
dismine
6221833f45 Version 0.2.9.
--HG--
branch : develop
2014-12-31 15:55:41 +02:00
dismine
db3b35af46 Url to user manual for stable release.
--HG--
branch : develop
2014-12-31 15:48:43 +02:00
dismine
a72e1459e8 Updated translations.
--HG--
branch : develop
2014-12-31 14:28:08 +02:00
dismine
2efc995496 Fixed broken build on Windows.
--HG--
branch : develop
2014-12-31 13:28:55 +02:00
dismine
8bbfacabb4 Since Qt 5.4.0 the source code location is recorded only in debug builds.
We need this information also in release builds. For this need define
QT_MESSAGELOGCONTEXT.

--HG--
branch : develop
2014-12-31 13:25:22 +02:00
dismine
eb17d6b37e Command for taking build revision number now work on Windows.
--HG--
branch : develop
2014-12-30 23:21:59 +02:00
dismine
7da26995c3 Patrick in list of contributors.
--HG--
branch : develop
2014-12-30 21:42:58 +02:00
dismine
08f8fc70e1 Same lenght to point label for draw and detail.
--HG--
branch : develop
2014-12-29 20:19:23 +02:00
dismine
56653c7943 Changes in version policy. Major.Minor.Debug.Distance.
Also now we save build revision number.

--HG--
branch : develop
2014-12-29 18:06:09 +02:00
dismine
3febdd31fb Check if log file empty.
--HG--
branch : develop
2014-12-27 21:12:45 +02:00
dismine
4e6b5a8f24 Return support for pattern format version 0.1.0.
--HG--
branch : develop
2014-12-27 13:15:34 +02:00
dismine
541d3d2eac Fixed issue #214.
--HG--
branch : develop
2014-12-26 15:56:07 +02:00
dismine
64f0d13449 Fixed issue #213.
--HG--
branch : develop
2014-12-26 13:17:11 +02:00
dismine
8563234dae More log information.
--HG--
branch : develop
2014-12-25 21:29:04 +02:00
dismine
13f87b66f4 More log information.
--HG--
branch : develop
2014-12-25 21:04:10 +02:00
dismine
ccd06caef9 Fix for line to label.
--HG--
branch : develop
2014-12-25 19:19:31 +02:00
dismine
141ec30b8c Make visiable amied axis.
--HG--
branch : develop
2014-12-25 18:22:32 +02:00
dismine
e431388be8 Don't scale points.
--HG--
branch : develop
2014-12-25 18:21:56 +02:00
dismine
a49606a0de Fixed issue #211.
--HG--
branch : develop
2014-12-25 18:21:01 +02:00
dismine
163200a8c5 Better don't be silent.
--HG--
branch : develop
2014-12-25 17:50:46 +02:00
dismine
100857ab21 Don't use scaling factor for circle.
--HG--
branch : develop
2014-12-25 16:06:50 +02:00
dismine
44b3064290 Undo moving label.
--HG--
branch : develop
2014-12-25 13:33:27 +02:00
dismine
c978a8c090 Set undo stack clean after each document save.
--HG--
branch : develop
2014-12-25 12:28:42 +02:00
dismine
45aebc627e Delete previous file name from restore list after save as action.
--HG--
branch : develop
2014-12-24 16:39:44 +02:00
dismine
a1bb140bb5 Hide objects before they need.
--HG--
branch : develop
2014-12-24 15:13:13 +02:00
dismine
4fe796f508 Crash. Forgot check event type.
--HG--
branch : develop
2014-12-24 14:11:47 +02:00
dismine
586b541aec Lite parse each time was changed active pattern piece.
--HG--
branch : develop
2014-12-24 14:08:08 +02:00
dismine
955b0148e9 Disable SCASSERT function if debugging is not set.
--HG--
branch : develop
2014-12-24 11:54:56 +02:00
dismine
2beb229f9c Some systems use special name for lrelease. For example opensuse 13.2 has
lrelease-qt5.

--HG--
branch : develop
2014-12-23 14:00:29 +02:00
dismine
a706f2fb58 Set to prefix (/usr) if library prefix (/usr/lib) is empty and not just to
default prefix.

--HG--
branch : develop
2014-12-23 00:13:25 +02:00
dismine
9bfe1f3cd9 Minimal Qt version 5.2.0.
--HG--
branch : develop
2014-12-22 21:46:36 +02:00
dismine
42275e32b0 First try create rpm package.
--HG--
branch : develop
2014-12-22 19:06:24 +02:00
dismine
5d12cf5e99 Coverity Scan warnings.
--HG--
branch : develop
2014-12-21 22:33:31 +02:00
dismine
d8dfa651ff Cppcheck warnings.
--HG--
branch : develop
2014-12-21 13:35:12 +02:00
dismine
bd6cf95340 GCC warnings.
--HG--
branch : develop
2014-12-21 12:56:31 +02:00
dismine
f62b78bd9b Compile debug build with gcc's Address Sanitizer.
--HG--
branch : develop
2014-12-20 20:18:00 +02:00
dismine
a94d7b4066 Fixed issue #200.
--HG--
branch : develop
2014-12-19 09:19:26 +02:00
dismine
dfd1b35562 Windows build.
--HG--
branch : develop
2014-12-18 13:34:32 +02:00
dismine
934ccce310 Added translation for library vobj.
--HG--
branch : develop
2014-12-18 12:52:39 +02:00
dismine
0e6188d847 Application crash.
--HG--
branch : feature
2014-12-17 14:57:17 +02:00
dismine
d6c78ca1a1 All points in detail should go clockwise. This mean in some cases need reverse
curves that go anticlockwise. Old method reversing curves doesn't work
correct in all cases. I don't see now way automatically handle this. That's
why now user can choose himself need reverse points for this curve or not.

Also this mean increment in format version to 0.1.2.

--HG--
branch : feature
2014-12-17 14:56:14 +02:00
dismine
fa9a1d7807 Cutting too long an acute angle.
--HG--
branch : feature
2014-12-17 12:02:45 +02:00
dismine
8fac8f87ae Fixed disappearing curve in detail if path counterclockwise.
--HG--
branch : feature
2014-12-16 15:33:00 +02:00
dismine
ad96323e29 Preparation for new changes in pattern format.
--HG--
branch : feature
2014-12-16 09:42:24 +02:00
dismine
9621904b97 By default seam allowence for the detail is 1 pattern's units.
--HG--
branch : feature
2014-12-15 16:28:03 +02:00
dismine
aed090aed3 New better way select objects for creation a detail.
Now the detail cutting points and use only cutted part for creation paths.

--HG--
branch : feature
2014-12-15 16:25:40 +02:00
dismine
30d1fad26f Static library for export a layout to Wavefront OBJ file.
--HG--
branch : develop
2014-12-12 16:08:31 +02:00
dismine
0efbe1745c Fixed issue #198.
--HG--
branch : develop
2014-12-12 14:35:54 +02:00
dismine
8c2a06e63f If not get all list of details user will not show all details for creation a
layout. For this change mode from Draw to Details and than prepare details.

--HG--
branch : develop
2014-12-12 12:30:02 +02:00
dismine
3293916d50 Don't open new window if user canceled opening file.
--HG--
branch : develop
2014-12-12 11:56:26 +02:00
dismine
dd0d3faae6 Rules for creation version.
--HG--
branch : develop
2014-12-12 11:47:12 +02:00
dismine
3ebb56a40c Add conversion when openning pattern.
--HG--
branch : feature
2014-12-11 22:56:59 +02:00
dismine
1d1b3e3670 Method Convert.
--HG--
branch : feature
2014-12-11 22:54:33 +02:00
dismine
1d9fd7109d Validate file by using xsd schema for this version.
--HG--
branch : feature
2014-12-11 22:19:17 +02:00
dismine
941b43b5b5 Path to file version sxd schema.
--HG--
branch : feature
2014-12-11 22:16:03 +02:00
dismine
1c4af06343 Check version number.
--HG--
branch : feature
2014-12-11 21:44:48 +02:00
dismine
fb8849f798 Convert version string to number.
--HG--
branch : feature
2014-12-11 20:40:26 +02:00
dismine
71f070a509 Validation version.
--HG--
branch : feature
2014-12-11 18:14:02 +02:00
dismine
51b89a5497 Get version information.
--HG--
branch : feature
2014-12-11 17:51:24 +02:00
dismine
fb405d5754 Move XSD files to library.
--HG--
branch : feature
2014-12-11 17:12:16 +02:00
dismine
21d1a781fd Converter inherits class VDomDocument.
--HG--
branch : feature
2014-12-10 20:33:20 +02:00
dismine
394d54e9c1 Convertor need throw exceptions.
--HG--
branch : feature
2014-12-10 20:01:33 +02:00