Commit Graph

280 Commits

Author SHA1 Message Date
BojanKverh
ea9cdd46b2 Fixed some code style errors and checking label position at resizing
--HG--
branch : feature
2016-07-14 02:59:42 +02:00
BojanKverh
192c4d33a7 Added possibility to hide both labels for each detail individually
--HG--
branch : feature
2016-07-06 21:56:52 +02:00
BojanKverh
aa1d1f8ce1 Label cannot be moved outside of parent bounding box. Moving cursor is on when moving label. Name of detail moved to Pattern Piece Data tab. Hopefully all warnings removed
--HG--
branch : feature
2016-07-06 20:49:36 +02:00
BojanKverh
f52f97740d Moved pattern info geometry into VDetail class
--HG--
branch : feature
2016-07-02 01:49:38 +02:00
BojanKverh
6effc2b5cd Rotation bugs fixed
--HG--
branch : feature
2016-07-01 01:45:16 +02:00
BojanKverh
6577d82771 Added new schema to accomodate for new parameters and did some other minor changes. There is a bug with Undo on details label, will check that later
--HG--
branch : feature
2016-06-27 17:18:43 +02:00
BojanKverh
28c4eddbd7 Merged
--HG--
branch : feature
2016-06-26 19:35:21 +02:00
Roman Telezhynskyi
1608599795 Added list "Details in layout".
--HG--
branch : feature
2016-06-26 14:36:12 +03:00
BojanKverh
33e1a12a67 Merged heads
--HG--
branch : feature
2016-06-24 18:05:31 +02:00
Bojan Kverh
3480f33922 Merged develop into feature
--HG--
branch : feature
2016-06-24 17:57:52 +02:00
BojanKverh
caa6b425b9 Tried QGraphicsTextItem::boundingBox approach
--HG--
branch : feature
2016-06-24 17:57:08 +02:00
BojanKverh
6fbffd2834 Position, size and font size of the text label are now saved into VDetail DOM tree. Undo/Redo for moving and resizing the label works.
--HG--
branch : feature
2016-06-23 22:35:32 +02:00
Roman Telezhynskyi
7eaadf1761 Resolved issue #480. New tool: Midpoint between two points.
--HG--
branch : develop
2016-06-23 20:20:21 +03:00
BojanKverh
b14a3c9551 Fixed the SaveDetailOption::undo method and few code style issues
--HG--
branch : feature
2016-06-21 19:53:15 +02:00
BojanKverh
c05c51e078 Finished the detail dialog
--HG--
branch : feature
2016-06-21 00:49:22 +02:00
BojanKverh
8140647242 Updated detail dialog with pattern piece data editing
--HG--
branch : feature
2016-06-18 22:14:35 +02:00
BojanKverh
1899abc39e Added pattern piece data dialog, which can be accessed with right mouse click in Detail mode
--HG--
branch : feature
2016-06-18 16:00:01 +02:00
BojanKverh
05b094deec Added a class to hold pattern piece data
--HG--
branch : feature
2016-06-17 16:42:38 +02:00
Roman Telezhynskyi
f7736d3bfd Fixed issue "Not all length of curves visible".
--HG--
branch : develop
2016-05-24 20:35:19 +03:00
Roman Telezhynskyi
9c0f5f2fa4 Refactoring. Use QScopedPointer for class Calculator.
--HG--
branch : develop
2016-05-24 15:25:58 +03:00
Roman Telezhynskyi
83243e5af3 Handle case when NaN and Inf value treats like valid.
--HG--
branch : develop
2016-05-24 15:06:35 +03:00
Roman Telezhynskyi
b820d5a6ea Fixed issue #491. Valentina doesn't update fractional separator.
(grafted from c658843945e37cd7f1d3e4e0ca4967d7a01b1c4d)

--HG--
branch : develop
2016-05-23 18:23:39 +03:00
Roman Telezhynskyi
180903b807 Automatically generate suffix.
--HG--
branch : feature
2016-05-18 15:35:07 +03:00
Roman Telezhynskyi
b377042125 Merge with develop.
--HG--
branch : feature
2016-05-17 13:25:33 +03:00
Valentina Zhuravska
b55c0ffff5 Little fix.
--HG--
branch : feature
2016-05-17 12:35:18 +03:00
Roman Telezhynskyi
6187f16c6a Refactoring. Use conversion operator for conversion VPointF to QPointF.
--HG--
branch : feature
2016-05-14 22:28:09 +03:00
Roman Telezhynskyi
f83c016c54 Updated description measurements N06 and N07. Add new measurements A23 and J10.
(grafted from cf140cecff83698ca48fcf563a5e8a857466f531)

--HG--
branch : develop
2016-04-08 13:21:18 +03:00
Roman Telezhynskyi
c99cdb69ec Added new curve path segment variables.
--HG--
branch : develop
2016-04-02 00:15:04 +03:00
Roman Telezhynskyi
d1480132a0 Don't separate data about spline and arc length and angles.
--HG--
branch : develop
2016-04-01 22:34:57 +03:00
Roman Telezhynskyi
bb29984b4a Cut tools do not create subcurves anymore.
--HG--
branch : develop
2016-04-01 17:32:36 +03:00
Roman Telezhynskyi
be7277eeba Refactoring. Use more safe function VFuzzyComparePossibleNulls.
--HG--
branch : develop
2016-03-23 16:09:30 +02:00
Roman Telezhynskyi
bd783d4df1 Check if next id is not bigger than UINT_MAX.
--HG--
branch : develop
2016-03-19 16:54:27 +02:00
Roman Telezhynskyi
c5c3862bfc More human readable angle of line.
--HG--
branch : develop
2016-03-16 14:09:56 +02:00
Roman Telezhynskyi
d72ea565cb Fixed wrong handling with true darts points inside tool detail.
(grafted from c84b1a66716faa7e171e5acb2824a7fb5702dd27)

--HG--
branch : develop
2016-03-08 19:49:16 +02:00
Roman Telezhynskyi
dc162f5085 Fixed build problem on Win7
(grafted from 4d6b1388a31f2f0092699ea73ac5a8de3ec97b18)

--HG--
branch : develop
2016-03-06 14:03:22 +02:00
Roman Telezhynskyi
504a334717 The method FormulaFromUser throw an exception. In many places we don't catch the
exception and i think this is wrong. New method TryFormulaFromUser was
introduced for fixing situation.

--HG--
branch : feature
2016-03-05 17:27:07 +02:00
Roman Telezhynskyi
9219b05a5b Fixed broken formula when for system locale thousand separator is space.
--HG--
branch : feature
2016-02-25 21:21:48 +02:00
Roman Telezhynskyi
623c28eb9f Fixed getting correct reversed segment for single in the list curve.
(grafted from c45cc62df72241692b4bf035f779a34add622b37)

--HG--
branch : develop
2016-02-10 21:39:26 +02:00
Roman Telezhynskyi
85f5df4b21 Removing objects before each FullParse. NodeArc, NodeSpline, NodeSplinePath are
not part of a scene anymore.

--HG--
branch : develop
2016-02-10 18:45:49 +02:00
Roman Telezhynskyi
3d6f8e0caa Brush detail.
--HG--
branch : develop
2016-01-10 15:31:43 +02:00
Roman Telezhynskyi
1c92165467 Have found case where the program returns wrong curve segment.
--HG--
branch : develop
2016-01-08 17:59:51 +02:00
Roman Telezhynskyi
4bdb788c50 New tests of localizations. Lupdate.
--HG--
branch : develop
2015-12-17 12:52:10 +02:00
Roman Telezhynskyi
717772c339 Main workpiece's path also can contains loops. This cause wrong seam allowances.
--HG--
branch : develop
2015-12-15 13:16:37 +02:00
Roman Telezhynskyi
f0691d7c9f Mark implicitly shared classes as a movable type. This can improve performance
and memory efficiency when using Qt's container classes.

--HG--
branch : develop
2015-11-25 20:56:17 +02:00
Roman Telezhynskyi
5eed97c640 Enable #pragma message in Clang.
--HG--
branch : develop
2015-11-16 12:28:21 +02:00
Roman Telezhynskyi
7038c25c39 Turn on PCH on mac os x.
--HG--
branch : develop
2015-11-16 12:22:34 +02:00
Roman Telezhynskyi
af74da95af Corrected measurement N04 (rise_length_side_sitting) short description.
--HG--
branch : develop
2015-11-15 17:57:59 +02:00
Roman Telezhynskyi
4e21bf05e0 Don't show section "Size and Height".
--HG--
branch : develop
2015-11-11 20:52:25 +02:00
Roman Telezhynskyi
833c507148 New measurement (N08) rise_length_side.
--HG--
branch : feature
2015-11-11 16:26:48 +02:00
Roman Telezhynskyi
fa822dda24 (N04) 'rise_length_side' renamed to 'rise_length_side_sitting'.
--HG--
branch : feature
2015-11-11 14:37:32 +02:00
Roman Telezhynskyi
e286ae8476 New measurements: (H41) neck_back_to_across_back, (H42) across_back_to_waist_b,
​(L22) arm_neck_side_to_outer_elbow, (G46) hip_circ_with_abdomen.

--HG--
branch : feature
2015-11-11 14:23:39 +02:00
Roman Telezhynskyi
6b54c5bb7d Set default printing color mode.
Known issue: program doesn't print in grayscale color mode.

--HG--
branch : develop
2015-11-04 17:22:49 +02:00
Roman Telezhynskyi
9aa8713203 Refactoring.
--HG--
branch : develop
2015-10-31 14:56:28 +02:00
Roman Telezhynskyi
cb8bc39e8c Resolved issue #380.
--HG--
branch : develop
2015-10-29 18:20:59 +02:00
Roman Telezhynskyi
88324a11f2 Static Code Analysis.
--HG--
branch : develop
2015-10-28 16:22:36 +02:00
Roman Telezhynskyi
b516ceb8e1 "CONFIG += silent" doesn't work correct with msvc. Do not create target
"make distclean" with msvc.

--HG--
branch : develop
2015-10-24 14:13:59 +03:00
Valentina Zhuravska
36f0e1dc44 Fixed MSVC build
--HG--
branch : feature
2015-10-22 12:28:17 +03:00
Roman Telezhynskyi
69f65cf4e7 ICC warnings.
--HG--
branch : develop
2015-10-21 10:25:27 +03:00
Roman Telezhynskyi
467ffbd132 ICC warnings.
--HG--
branch : develop
2015-10-20 17:32:01 +03:00
Roman Telezhynskyi
4d90589f01 Clang warnings.
--HG--
branch : develop
2015-10-19 16:21:06 +03:00
Roman Telezhynskyi
65d2213ef9 Coverity scan missing includes.
--HG--
branch : develop
2015-10-18 22:30:51 +03:00
Roman Telezhynskyi
a6dedb814a We can't use tr() macros, but macros translate() need context in the first
parameter.

--HG--
branch : develop
2015-10-16 23:00:05 +03:00
Roman Telezhynskyi
1e05300ae1 Add method for check that formula contain inside only single value.
--HG--
branch : develop
2015-10-15 13:41:42 +03:00
Roman Telezhynskyi
5cd9a88761 Making class Calculator independent from class VContainer.
--HG--
branch : develop
2015-10-15 13:07:43 +03:00
Roman Telezhynskyi
4fbae45406 Return list of all variables.
--HG--
branch : develop
2015-10-15 12:49:15 +03:00
Roman Telezhynskyi
8066d880c9 Lupdate. Fixed lupdate warnings.
--HG--
branch : develop
2015-10-15 12:32:50 +03:00
Roman Telezhynskyi
be398bae93 cppcheck.
--HG--
branch : develop
2015-10-12 14:52:48 +03:00
Roman Telezhynskyi
2c042b82ae stable.cpp only need by MSVC.
--HG--
branch : develop
2015-10-11 13:15:08 +03:00
Roman Telezhynskyi
c1976401a0 Use CONFIG += silent in release mode.
--HG--
branch : develop
2015-10-09 20:22:49 +03:00
Roman Telezhynskyi
259f1e1de0 Define macros tr() for reducing code complexity.
--HG--
branch : develop
2015-10-08 08:24:15 +03:00
Roman Telezhynskyi
7daec88f6e Fixed system p25 description.
--HG--
branch : develop
2015-10-07 22:22:44 +03:00
Roman Telezhynskyi
94f86f136e New pattern making system 'None' with code p998.
--HG--
branch : develop
2015-10-07 20:57:18 +03:00
Roman Telezhynskyi
defbdb8e9c New keys "gsize" and "gheight".
--HG--
branch : develop
2015-10-07 18:28:51 +03:00
Roman Telezhynskyi
bf2db165da Fixed translation.
--HG--
branch : develop
2015-09-29 17:04:24 +03:00
Roman Telezhynskyi
ed373cf6c1 Define "tr" makes code more compact.
--HG--
branch : feature
2015-09-22 16:11:20 +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
ef45bf2a94 Removed translation for the standard table.
--HG--
branch : develop
2015-09-09 14:24:54 +03:00
val177
00e98b8913 Fixed issue #345
--HG--
branch : develop
2015-09-04 15:39:01 +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
Roman Telezhynskyi
98a5d8aadb Don't clean measurement before begin full parsing.
--HG--
branch : feature
2015-08-26 21:14:47 +03:00
Roman Telezhynskyi
5a1208655c Working with new Increments.
--HG--
branch : feature
2015-08-25 13:35:50 +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
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
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
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
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
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
11ef76d0ae Show new empty table.
--HG--
branch : feature
2015-07-13 13:48:29 +03:00
Roman Telezhynskyi
77767ed85b Rename ambiguous Valentina.pri.
--HG--
branch : feature
2015-07-10 12:28:30 +03:00
Roman Telezhynskyi
d4e13bfe34 Use Q_DECL_OVERRIDE.
--HG--
branch : develop
2015-07-03 16:36:54 +03:00
Roman Telezhynskyi
0cf7a344a0 Fixed Windows build.
--HG--
branch : develop
2015-06-25 13:42:49 +03:00
Roman Telezhynskyi
9b49c5122c VToolDoublePoint.
--HG--
branch : feature
2015-06-20 19:14:04 +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
cababbfc37 New static library VMisc.
--HG--
branch : feature
2015-06-15 14:43:41 +03:00
Roman Telezhynskyi
f331f6fa5f Cppcheck warnings.
--HG--
branch : feature
2015-06-12 12:15:59 +03:00
Roman Telezhynskyi
f8c6a65962 Moving class VContainer in a static library complited.
--HG--
branch : feature
2015-06-12 11:55:44 +03:00