Commit graph

2637 commits

Author SHA1 Message Date
Roman Telezhynskyi ba5ac8a04b Fixed issue #458. Issue with segment of curve.
(grafted from 4d70b5b863bcad171e8185265cdcf4e177c5c90d)

--HG--
branch : develop
2016-03-15 17:38:07 +02:00
Roman Telezhynskyi 4a9302ee4e For modeling no need to seek parent tool id.
(grafted from b84438717fd8436e747b3982461cee3c4124d935)

--HG--
branch : develop
2016-03-15 17:32:12 +02:00
Roman Telezhynskyi a56c3354e1 Better way to seek value of t.
--HG--
branch : develop
2016-03-15 17:31:58 +02:00
Valentina Zhuravska ae66acd4d6 Fixed schema version
--HG--
branch : feature
2016-03-13 21:13:58 +02:00
Roman Telezhynskyi 74c60d6008 Icons for tool Cubic Bezier Path.
--HG--
branch : feature
2016-03-13 16:51:25 +02:00
Roman Telezhynskyi a91112faee Refactoring.
--HG--
branch : develop
2016-03-13 16:22:15 +02:00
Roman Telezhynskyi 2201ca9ec0 This check helps to find missed tools in the switch.
--HG--
branch : develop
2016-03-13 16:16:49 +02:00
Roman Telezhynskyi 5befd6770b Use new connect syntax everywhere where is possible.
--HG--
branch : develop
2016-03-13 15:02:11 +02:00
Roman Telezhynskyi 55400c5a73 Fixed disappearing curve if start and finish points of a segment are equal.
(grafted from 36e5071fc3f50bb7f5261d48dae2a2fe961993a2)

--HG--
branch : develop
2016-03-10 20:18:26 +02:00
Roman Telezhynskyi 2d69e1a46f The tool Detail now supports Cubic Bezier curve.
--HG--
branch : feature
2016-03-10 19:08:37 +02:00
Roman Telezhynskyi 2548697a9e The tool Cut Spline now supports Cubic Bezier curve.
--HG--
branch : feature
2016-03-10 18:09:38 +02:00
Roman Telezhynskyi 53250a4dc4 Simple curve which uses point as control handle.
--HG--
branch : feature
2016-03-10 15:55:04 +02:00
Roman Telezhynskyi f37b3361b2 Merge with develop.
--HG--
branch : feature
2016-03-10 09:42:51 +02:00
Roman Telezhynskyi 8b0026709f Improved the comment.
(grafted from 0daf799ddd8466ddbf7e4c29954990f68895269b)

--HG--
branch : develop
2016-03-10 09:42:21 +02:00
Roman Telezhynskyi 7ec2e6d988 Fixed bug case where an open equidistant point is too far from a main path.
(grafted from cd63aeaa6228a84e977e06e9d006705103eb6c35)

--HG--
branch : develop
2016-03-10 09:42:09 +02:00
Valentina Zhuravska 821bafbdee Now we can add image to file.val
--HG--
branch : feature
2016-03-09 21:01:37 +02:00
Valentina Zhuravska ab78ee2550 Fixed build on Win7
--HG--
branch : feature
2016-03-09 20:59:08 +02:00
Roman Telezhynskyi c93dd1a69f Merge with develop.
--HG--
branch : feature
2016-03-09 10:15:45 +02:00
Roman Telezhynskyi c65a320c45 Added new language Portuguese (Brazil).
--HG--
branch : develop
2016-03-08 20:27:25 +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 1395e39c39 New classes VCubicBezier and VAbstractCubicBezier.
--HG--
branch : feature
2016-03-08 19:48:10 +02:00
Roman Telezhynskyi 5be84df289 The file stable.cpp is useful only with MSVC.
--HG--
branch : develop
2016-03-06 21:21:21 +02:00
Roman Telezhynskyi 3828d10bce Fixed issue #454. Crash: using CRTL+Z while using line tool.
(grafted from 574b96a0b75cf276766eef61d2bb16ea79a604de)

--HG--
branch : develop
2016-03-06 14:04:01 +02:00
Roman Telezhynskyi e2a53028de Resolved issue #421. Warning: unable to set geometry.
(grafted from 23e4638a28750016995eb44de649fcde69095bbd)

--HG--
branch : develop
2016-03-06 14:03:34 +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 fe220f6305 Removed tag "zorder".
--HG--
branch : develop
2016-03-05 23:11:02 +02:00
Roman Telezhynskyi f53fe379c6 Movable spline path.
--HG--
branch : feature
2016-03-05 23:06:54 +02:00
Roman Telezhynskyi 2b3c13eb1d Write warnings to log file.
--HG--
branch : feature
2016-03-05 18:31:16 +02:00
Roman Telezhynskyi 2e6be9119c Fixed crash.
--HG--
branch : feature
2016-03-05 18:30:45 +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 b12ede529f Fixed bug with wrong last spline path angle.
--HG--
branch : feature
2016-03-05 15:37:47 +02:00
Roman Telezhynskyi e120fc1d0a Calculate a formula immediately.
--HG--
branch : feature
2016-03-05 15:22:24 +02:00
Roman Telezhynskyi e948a0ba27 Refactoring ValFormulaChanged. Continue fix bugs in the dialog spline path.
--HG--
branch : feature
2016-03-05 14:30:18 +02:00
Roman Telezhynskyi 40436a5c57 Successfull build, bugs was not fixed.
--HG--
branch : feature
2016-03-04 18:08:29 +02:00
Roman Telezhynskyi 9bec10f580 Fixed broken saving pattern description.
(grafted from 5aa7bf5c81c9c525ada2c7875de3a702379fb5e3)

--HG--
branch : develop
2016-02-29 14:46:24 +02:00
Roman Telezhynskyi 738b7c499a Typos.
--HG--
branch : develop
2016-02-29 11:57:30 +02:00
Roman Telezhynskyi 018fd88f25 GCC warnings. Fixed broken tests.
--HG--
branch : develop
2016-02-28 22:00:45 +02:00
Roman Telezhynskyi 33b6256896 Merge with feature. A simple curve controled by formulas.
--HG--
branch : develop
2016-02-28 21:49:52 +02:00
Valentina Zhuravska 564da52eb1 Changed <../vmisc/vabstractapplication.h> to "../vmisc/vabstractapplication.h"
--HG--
branch : feature
2016-02-28 21:43:23 +02:00
Valentina Zhuravska 771a72711c We don't need to use qApp->fromPixel for angles
--HG--
branch : feature
2016-02-28 21:37:30 +02:00
Valentina Zhuravska e8bf8a80e3 Changed QString("%1").arg() to QString().number() in VArc
--HG--
branch : feature
2016-02-28 21:24:56 +02:00
Valentina Zhuravska 088f0a6987 Changed QString("%1").arg() to QString().number() in VEllipticalArc
--HG--
branch : feature
2016-02-28 21:20:33 +02:00
Roman Telezhynskyi 8ec60b22b1 Test the C locale options. Better be sure that the C locale have not thousand
separator.

--HG--
branch : feature
2016-02-28 19:58:41 +02:00
Valentina Zhuravska e1981a56c5 Fixed tests for VEllipticalArc
--HG--
branch : feature
2016-02-28 17:51:27 +02:00
Valentina Zhuravska 91f5300b0f Little fixes for VEllipticalArc tests
--HG--
branch : feature
2016-02-28 16:16:34 +02:00
Valentina Zhuravska 3d628d815b Fixed merge conflicts
--HG--
branch : feature
2016-02-27 16:53:17 +02:00
Roman Telezhynskyi 8d628404df Curve factor was removed.
--HG--
branch : feature
2016-02-27 16:49:10 +02:00
Valentina Zhuravska 39b404673d Merge with develop
--HG--
branch : feature
2016-02-27 16:20:40 +02:00
Roman Telezhynskyi a2561bc7da Updated property dialog for tool Spline.
--HG--
branch : feature
2016-02-27 12:28:15 +02:00
Roman Telezhynskyi 53cb607f34 Block moving a control point if a formula was used.
--HG--
branch : feature
2016-02-27 10:29:32 +02:00
Valentina Zhuravska cafd3ee583 Added CutArc in VEllipticalArc
--HG--
branch : feature
2016-02-26 21:30:20 +02:00
Valentina Zhuravska 22a3e9d1a0 Little fixes in VEllipticalArc
--HG--
branch : feature
2016-02-26 21:27:55 +02:00
Roman Telezhynskyi 679f90d627 Block moving a spline by dragging if a formula was used.
--HG--
branch : feature
2016-02-26 19:44:51 +02:00
Roman Telezhynskyi 773383ec70 Fixed moving a spline by dragging.
--HG--
branch : feature
2016-02-26 19:19:30 +02:00
Roman Telezhynskyi a9112a29cb Create, save, open and edit simple curve by dialog. Editing by mouse still not
prepared.

--HG--
branch : feature
2016-02-26 16:38:42 +02:00
Roman Telezhynskyi 4eca4f97c6 Fixed issue "Warning: Z-order assignment: '' is not a valid widget."
--HG--
branch : feature
2016-02-25 21:40:39 +02:00
Roman Telezhynskyi 9b02bde691 Release a dialog size for deploying a formula field.
--HG--
branch : feature
2016-02-25 21:39:21 +02:00
Roman Telezhynskyi 990c03c697 Updated dialog for the tool Spline.
--HG--
branch : feature
2016-02-25 21:23:16 +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
Valentina Zhuravska bea2a32e85 Divide one big test into several little tests in TST_VEllipticalArc
--HG--
branch : feature
2016-02-25 02:18:52 +02:00
Roman Telezhynskyi f2ee4cfd35 Class VSpline now can be controlled by formulas.
--HG--
branch : feature
2016-02-24 21:47:39 +02:00
Valentina Zhuravska 389504b548 Fixed GetPoints in VEllipticalArc
--HG--
branch : feature
2016-02-24 17:34:33 +02:00
Valentina Zhuravska 06637f2103 Added FindF2 in VEllipticalArc
--HG--
branch : feature
2016-02-24 17:34:03 +02:00
Valentina Zhuravska e1837d1b03 Little optimization: change parent = 0 to parent = nullptr
--HG--
branch : feature
2016-02-24 17:31:44 +02:00
Roman Telezhynskyi 7024df4ab2 Using QGraphicsScene instead of VMainGraphicsScene caused a crash.
(grafted from 32c7acbe1384dc3a8d284c938a8093d178095f87)

--HG--
branch : develop
2016-02-23 16:59:05 +02:00
Roman Telezhynskyi 335a4db2d1 For vlayout library enable speed optimizations.
--HG--
branch : develop
2016-02-23 14:30:56 +02:00
Roman Telezhynskyi 595e5b0bf5 Resolved issue #306. Layout generator optimization. Divide into strips.
--HG--
branch : develop
2016-02-23 14:13:10 +02:00
Roman Telezhynskyi fcd254f08c Fixed bug disabling tool True darts.
(grafted from 8c5aeccb775c10068c8f20a881994b3b4fac808a)

--HG--
branch : develop
2016-02-22 11:38:18 +02:00
Roman Telezhynskyi 7d991584fb Fixed wrong calulation tool True darts.
--HG--
branch : develop
2016-02-22 11:02:24 +02:00
Roman Telezhynskyi c3db8bab68 For avoiding errors in future better seek the first tag draw and insert before
it.

--HG--
branch : develop
2016-02-20 10:05:18 +02:00
Roman Telezhynskyi 06d88d66e5 CONFIG key to disable building tests.
--HG--
branch : develop
2016-02-19 20:31:01 +02:00
Roman Telezhynskyi 48d58de871 CONFIG key to disable setting custom rpath option.
--HG--
branch : develop
2016-02-19 17:21:51 +02:00
Roman Telezhynskyi 122827f74a New file in the collection.
--HG--
branch : develop
2016-02-19 16:55:03 +02:00
Roman Telezhynskyi 3419476ee1 Fixed failed build.
--HG--
branch : develop
2016-02-19 16:50:20 +02:00
Roman Telezhinskyi ac95ecb271 Merged in thomas_hocedez/valentina/feature (pull request #103)
Resolved #385: Add 'Open Recent' option in Tape.exe, 'File' dropdown menu.

--HG--
branch : develop
2016-02-19 16:40:09 +02:00
Roman Telezhynskyi 936a7fef07 Fixed issue #405. Crash after deleting first pattern piece in the list.
--HG--
branch : develop
2016-02-19 16:34:32 +02:00
Valentina Zhuravska da2c6d3242 Fixed GetPoints function in VEllipticalArc
--HG--
branch : feature
2016-02-19 11:47:42 +02:00
Valentina Zhuravska 03086c946e Fixed GetPoint function in VEllipticalArc
--HG--
branch : feature
2016-02-19 11:47:22 +02:00
Valentina Zhuravska 9eb385c7a2 Added tests for VEllipticalArc
--HG--
branch : feature
2016-02-19 11:45:36 +02:00
Valentina Zhuravska 6fc86543ec Little fixes
--HG--
branch : feature
2016-02-19 11:43:46 +02:00
Roman Telezhynskyi e2bd5c51f2 Build and install only selected localizations. Use in Gentoo.
--HG--
branch : develop
2016-02-18 20:14:57 +02:00
Thomas HOCEDEZ 2070559250 tmainwindow.cpp édité en ligne via Bitbucket
--HG--
branch : feature
2016-02-18 11:23:00 +00:00
Thomas HOCEDEZ b449e16b81 #385 : final version
--HG--
branch : feature
2016-02-18 12:18:14 +01:00
Roman Telezhynskyi b42710f8d0 Measurement Diagram is not shown on Mac OS X.
(grafted from 34490ebbc73d0f9c0360883903cd010fb6bea8f8)

--HG--
branch : develop
2016-02-17 10:11:36 +02:00
Roman Telezhynskyi 39c88a812e Correct path to NSIS on Win x64.
--HG--
branch : develop
2016-02-16 20:55:52 +02:00
Roman Telezhynskyi 04ae26d1bd Regesign dialogs tool 'Spline' and 'Spline Path' for avoiding text squeeze.
--HG--
branch : develop
2016-02-16 18:08:51 +02:00
Roman Telezhynskyi 0ea99175b4 New VAL pattern format version that supports attribute 'duplicate'.
--HG--
branch : feature
2016-02-16 15:38:08 +02:00
Roman Telezhynskyi 0846d3c282 Read and save a spline path attribute 'duplicate'.
--HG--
branch : feature
2016-02-16 15:37:01 +02:00
Roman Telezhynskyi c80fe9c61b Show name in a property browser.
--HG--
branch : feature
2016-02-16 15:04:21 +02:00
Roman Telezhynskyi c36f1eb8ef Working with Spline Path.
--HG--
branch : feature
2016-02-16 14:00:56 +02:00
Roman Telezhynskyi be3fc296f4 Untested changes for the tool Spline.
--HG--
branch : feature
2016-02-15 16:30:48 +02:00
Roman Telezhynskyi f264206aab Refactoring DialogSpline.
--HG--
branch : feature
2016-02-15 11:02:55 +02:00
Roman Telezhynskyi 35b9dea4b2 Fixes creating spline path.
--HG--
branch : feature
2016-02-13 23:39:47 +02:00
Roman Telezhynskyi b124b8402e The control point should be on some distance before we will begin count this
distance.

--HG--
branch : feature
2016-02-13 18:30:21 +02:00
Roman Telezhynskyi e68c64e8f1 Implementation for tool Spline path.
--HG--
branch : feature
2016-02-13 18:24:32 +02:00
Valentina Zhuravska 37eb0e9e21 Fixed GetLength and changed the rotation of point
--HG--
branch : feature
2016-02-12 22:02:54 +02:00
Roman Telezhynskyi 0405a54bf8 Removed unused QGraphicsLineItem item.
--HG--
branch : feature
2016-02-12 21:43:33 +02:00
Roman Telezhynskyi 1924b30f6f Don't show control points if too close to start and end points.
--HG--
branch : feature
2016-02-12 20:32:31 +02:00
Roman Telezhynskyi 6dd26ddd73 Refactoring. Use qFuzzyIsNull.
--HG--
branch : feature
2016-02-12 20:31:08 +02:00
Valentina Zhuravska 560a3dc1d1 Added rotation of points
--HG--
branch : feature
2016-02-12 20:19:46 +02:00
Valentina Zhuravska 894ad4ea66 Fixed GetLength method in VEllipticalArc
--HG--
branch : feature
2016-02-12 20:17:55 +02:00
Roman Telezhynskyi 0f747ede7e The first implementation for tool Spline.
--HG--
branch : feature
2016-02-12 20:10:01 +02:00
Roman Telezhynskyi 791d874c9a Little refactoring.
--HG--
branch : feature
2016-02-12 15:49:59 +02:00
Roman Telezhynskyi 8683b69f13 Select an item inside mousePressEvent() instead mouseReleaseEvent().
--HG--
branch : feature
2016-02-11 13:05:08 +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 44aac2179b Fixed triggering validation a detail.
Two new cases: has been changed Reverse option and the list
has been scrolled. Fixed validation when the list conatains only curve.
(grafted from 87af46985d0867d550605810c5c5a9c2c72f4a0b)

--HG--
branch : develop
2016-02-10 21:39:20 +02:00
Roman Telezhynskyi aa67e04a3e Improved exporting to dxf. QPainterPath export as Polyline.
--HG--
branch : develop
2016-02-10 19:32: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 9eac04654c Refactoring. Always use AddTool method.
--HG--
branch : develop
2016-02-10 12:13:34 +02:00
Valentina Zhuravska c587826a56 Added VEllipticalArc
--HG--
branch : feature
2016-02-10 06:59:29 +02:00
Roman Telezhynskyi be24d6f503 New file in the collection.
--HG--
branch : develop
2016-02-09 17:48:59 +02:00
Roman Telezhynskyi 61adfbaef5 Handle all tools when creating the history records.
--HG--
branch : develop
2016-02-09 17:26:59 +02:00
Roman Telezhynskyi 6b4b79a1b5 Little fix tools visuzlization.
(grafted from 7ef2dcf85f7b9da986105ad524382ba47efb177f)

--HG--
branch : develop
2016-02-09 17:19:25 +02:00
Roman Telezhynskyi 7deed94604 Fixed broken path to measurements after using Save As option.
(grafted from 2e63a19d717ad4ef5d6f38da7ed3b1ed6d7311a6)

--HG--
branch : develop
2016-02-09 17:19:19 +02:00
Roman Telezhynskyi aa64076a36 Tool line. Block selecting the same point twice.
(grafted from 0029c3e3b5ae45d21f834f0d36023d8ef9734345)

--HG--
branch : develop
2016-02-09 17:19:14 +02:00
Roman Telezhynskyi 863b62cd6e Resolved issue #443. Not valid dxf file.
- libdxf updated to version 3.12.2.0.
- Fixed wrong pen width.
- Fixed drawPath() method. Drawing subpaths.
(grafted from f587dae3fa6cd75f987f54aa282caf73225da8fe)

--HG--
branch : develop
2016-02-09 17:19:07 +02:00
Roman Telezhynskyi fb6e3b29ff Updated the tool "Point of intersection curves" to new correct way work with
references.

--HG--
branch : develop
2016-02-02 15:50:15 +02:00
Roman Telezhynskyi 233415bc67 Fixed combobox width in Dialog "Tool True Dart point".
(grafted from 969110d32207c05d2ce53d6446d2e9835e3b1b67)

--HG--
branch : develop
2016-02-02 15:38:37 +02:00
Roman Telezhynskyi 78799d3d83 Resolved issue #441. Broken reference incrementation for tool "True Dart point".
(grafted from 0c13c14f9829e53dbbbe850053947b646bd800bd)

--HG--
branch : develop
2016-02-02 15:38:30 +02:00
Roman Telezhynskyi 5ec4f51601 Grab user attention if measurements was changed. Related to issue #440.
--HG--
branch : develop
2016-02-02 12:05:33 +02:00
Roman Telezhynskyi e67b6b5805 Refactoring. Removed unneeded method.
--HG--
branch : develop
2016-02-01 21:58:11 +02:00
Roman Telezhynskyi 9e9689e16a Resolved issue #439. Widen Formula Dialog.
(grafted from 5a638f3f6092284070e985b98debbd155a48d96d)

--HG--
branch : develop
2016-02-01 21:16:53 +02:00
Roman Telezhynskyi a8f97c8fdb Fixed broken tool dialogs "Intersection arcs" and "Point from arc and tangent".
(grafted from 68d37d7921c6ad9e0d99e6593df27dacba7f6465)

--HG--
branch : develop
2016-02-01 21:16:32 +02:00
Roman Telezhynskyi 46b9fe65e6 Fixed issue #442. 'Broken Formula' error when using Intersect Circles tool.
(grafted from cd5fd09824ab95db402d187bc296ac126922cdea)

--HG--
branch : develop
2016-02-01 21:16:23 +02:00
Roman Telezhynskyi 302e7e3552 Refactoring. Alignment.
--HG--
branch : develop
2016-01-29 17:48:39 +02:00
Roman Telezhynskyi 8d61121e1b New file in collection.
--HG--
branch : develop
2016-01-29 17:46:31 +02:00
Roman Telezhynskyi de4267c3c3 Switching pattern pieces do not require lite parse enough will be to set
current data set.

--HG--
branch : develop
2016-01-29 17:29:23 +02:00
Roman Telezhynskyi a693f9e57d Fixed issue #438. Broken switching pattern pieces.
(grafted from 6448ff0d78086ccb1182cf981c95239f36d22e83)

--HG--
branch : develop
2016-01-29 16:30:57 +02:00
Roman Telezhynskyi 7bc6100efa Refactoring. Removed unused variable.
--HG--
branch : develop
2016-01-29 13:48:22 +02:00
Roman Telezhynskyi 4081b1a40f Fixed window title.
--HG--
branch : develop
2016-01-29 11:24:21 +02:00
Roman Telezhynskyi c1fecafda9 Refactoring.
--HG--
branch : feature
2016-01-25 19:10:39 +02:00
Roman Telezhynskyi d86c79f290 Unit test. Check VToolPointOfIntersectionCurves::FindPoint() method.
--HG--
branch : feature
2016-01-25 19:06:36 +02:00
Roman Telezhynskyi 2069713ff6 Fixed bugs.
--HG--
branch : feature
2016-01-25 16:46:24 +02:00
Roman Telezhynskyi 387c33e9e0 Refactoring. Smooth scrolling.
--HG--
branch : feature
2016-01-25 15:49:37 +02:00
Roman Telezhynskyi 11aae952cb Show 'read only' in title of window if a pattern file in read only state.
--HG--
branch : feature
2016-01-25 11:13:41 +02:00
Roman Telezhynskyi 1f624ec69b Enable actionSave even file was not saved before.
--HG--
branch : feature
2016-01-25 11:04:42 +02:00
Roman Telezhynskyi 4bb612e20e Show origins when add first pattern piece.
--HG--
branch : feature
2016-01-24 19:04:22 +02:00
Roman Telezhynskyi ea0000fea6 First successful build. Tool working was not tested!
--HG--
branch : feature
2016-01-24 18:15:08 +02:00
Roman Telezhynskyi 796fde3cfc Icons for tool Intersection curves.
--HG--
branch : feature
2016-01-22 18:18:24 +02:00
Roman Telezhynskyi deb574cc5f Better documentation for script 'generate_tool_cursor.sh'.
--HG--
branch : develop
2016-01-22 17:01:20 +02:00
Roman Telezhynskyi 0d34320e7d The lock file already helps to prevent rewriting current opened pattern file.
--HG--
branch : develop
2016-01-22 12:54:19 +02:00
Roman Telezhynskyi 8b050eee31 Resolved issue #265. Add 'Read only' attribute.
--HG--
branch : develop
2016-01-22 12:45:18 +02:00
Roman Telezhynskyi e000486633 Fixed broken tests.
--HG--
branch : develop
2016-01-21 17:20:47 +02:00
Roman Telezhynskyi f0d4aaf1fb Added language Chinese (China).
--HG--
branch : develop
2016-01-21 17:14:47 +02:00
Roman Telezhynskyi d466e53e5d Fixed typos.
(grafted from 5212bd0c72b44da2d16dab9e1592c2843ab0ff1e)

--HG--
branch : develop
2016-01-21 16:21:58 +02:00
Roman Telezhynskyi 5f1421f512 New icon for VAL file. Updated Tape logo. Updated ico for standard measurements.
--HG--
branch : develop
2016-01-20 17:44:07 +02:00
Roman Telezhynskyi be8503664f Fixed issue #325. Check pattern for inverse compatibility.
--HG--
branch : develop
2016-01-19 17:25:46 +02:00
Roman Telezhynskyi c661e04cb3 We have been running Tape in two different cases.
The first inside own bundle where info.plist is works fine, but the second,
when we run inside Valentina's bundle, require direct setting the icon.
(grafted from 911feb13c2c0d9b632fcdb35770d74d5a551d9c0)

--HG--
branch : develop
2016-01-15 18:02:14 +02:00
Roman Telezhynskyi 7982e48e4e If item's rect is bigger than view's rect ensureVisible works very unstable.
(grafted from d807a6fc7a9c1abc588dfda621ac7b70f90b401b)

--HG--
branch : develop
2016-01-15 14:57:47 +02:00
Roman Telezhynskyi aadac5772d Showing/hiding control points require recalculation scene size.
(grafted from 6f9642ea3c32ce5a333fa85339fd761aa992acc6)

--HG--
branch : develop
2016-01-15 14:57:41 +02:00
Roman Telezhynskyi 3026f9dfc6 Call ensureVisible() only in mouseMoveEvent() method. Alwayse update size of
scene.
(grafted from a080e8c10e0817579d802539e4ef30b4b51f43a8)

--HG--
branch : develop
2016-01-15 14:57:23 +02:00
Roman Telezhynskyi 5517b96613 Ensure cursor visibility when move curve.
(grafted from e7cbd25ec5f67ef9b413244b32a543b2a2a0603f)

--HG--
branch : develop
2016-01-15 14:57:09 +02:00
Roman Telezhynskyi 6a28f464b9 Fix recalculation the scene when move detail.
(grafted from 2a58800bc48bc82057c7bec08d007eb133849b5b)

--HG--
branch : develop
2016-01-15 14:56:33 +02:00
Roman Telezhynskyi 73f0f4ca58 Show scene origins.
--HG--
branch : develop
2016-01-15 14:55:56 +02:00
Roman Telezhynskyi e1f3456027 Begin developing new version 0.5.0.
--HG--
branch : develop
2016-01-14 11:55:14 +02:00
Roman Telezhynskyi 40b4779a04 Work only with visible items.
--HG--
branch : develop
2016-01-13 17:15:53 +02:00
Roman Telezhynskyi 8745a78c67 Calculate items bounding rect without hidden items.
--HG--
branch : develop
2016-01-13 15:47:38 +02:00
Valentina Zhuravska bc1664a275 Better way to do table not editable
--HG--
branch : develop
2016-01-13 11:22:39 +02:00
Valentina Zhuravska 48bf54dfd9 All table should not be editable
--HG--
branch : develop
2016-01-13 10:55:10 +02:00
Roman Telezhinskyi 2ecc8b944e Merged in nauck/valentina/feature (pull request #95)
Make 'V' in "Valentina" upper case on osx

--HG--
branch : develop
2016-01-12 01:21:46 +02:00
Benjamin Nauck de12d75606 Make 'V' in "Valentina" upper case on osx
This will change:
 * the filename of the application to "Valentina.app",
 * the name in the menubar to "Valentina", and
 * the about item so it says "About Valentina" instead of "About valentina"

Almost every application on OS X capitalizes their name. The only exceptions on my computer are apple's i-products (but there the second letter is upper case instead)

--HG--
branch : feature
2016-01-12 00:16:48 +01:00
Roman Telezhynskyi b304ef7d3b Lupdate.
--HG--
branch : develop
2016-01-11 21:45:57 +02:00
Roman Telezhinskyi 62b47197f7 Merged in ValentinaZhuravska/valentina/feature (pull request #92)
Retranslate

--HG--
branch : develop
2016-01-11 15:16:57 +02:00
Valentina Zhuravska 96add2113c Retranslate all variables inside tables
--HG--
branch : feature
2016-01-11 15:11:33 +02:00
Valentina Zhuravska 3caee4a8df We need to call LoadTranslation when langChanged or systemChanged
--HG--
branch : feature
2016-01-11 14:28:26 +02:00
Valentina Zhuravska c7696c9d2a Set translation in the helpLabel to "Changes applied".
--HG--
branch : feature
2016-01-11 14:17:41 +02:00
Valentina Zhuravska c81724d42b Restore selected row after retranslate
--HG--
branch : feature
2016-01-11 13:41:34 +02:00
Roman Telezhynskyi afe36d69d5 New file in the collection.
--HG--
branch : develop
2016-01-11 13:31:19 +02:00
Roman Telezhynskyi 6be6eb80b0 Parse expression also in the attribute radius.
--HG--
branch : develop
2016-01-11 13:28:48 +02:00
Roman Telezhynskyi 4977604106 Correct disabling line to the label.
--HG--
branch : develop
2016-01-11 13:24:37 +02:00
Roman Telezhynskyi ac5c8d8201 Do not remove a loop created by intersection point when it is the first or
the last point of lines that intersect.

--HG--
branch : develop
2016-01-10 21:41:46 +02:00
Roman Telezhynskyi f240a3d599 Fix failed tests
--HG--
branch : develop
2016-01-10 17:43:48 +02:00
Roman Telezhynskyi 50dbe9471f Merge
--HG--
branch : develop
2016-01-10 17:03:12 +02:00
Roman Telezhynskyi 7ef6ed4726 New files in collection.
--HG--
branch : develop
2016-01-10 17:02:44 +02:00
Roman Telezhynskyi 3d6f8e0caa Brush detail.
--HG--
branch : develop
2016-01-10 15:31:43 +02:00
Roman Telezhynskyi a97ce04ca5 Fixed issue #434. Select multiple modes.
--HG--
branch : develop
2016-01-10 11:14:23 +02:00
Roman Telezhynskyi c2976614ba Correct removing loop if a path contains them several. Seek and remove the last.
In this way we will correct remove them all.

--HG--
branch : develop
2016-01-09 23:53:17 +02:00
Roman Telezhynskyi 975a528560 New test. Check correct seam allowance in the file jacketМ6_30-110.val.
--HG--
branch : develop
2016-01-09 18:16:03 +02:00
Valentina Zhuravska 982a0172c5 Retranslate pattern making system
--HG--
branch : feature
2016-01-09 14:52:28 +02:00
Valentina Zhuravska a4e1db90e8 Change pattern making system in Valentina settings
--HG--
branch : feature
2016-01-09 14:38:26 +02:00
Roman Telezhynskyi 13fbc0b8b9 New files in collection.
--HG--
branch : develop
2016-01-09 12:29:50 +02:00
Roman Telezhynskyi b9f8e19236 Test issue with method IsPointOnLineSegment.
--HG--
branch : develop
2016-01-09 11:42:06 +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
Valentina Zhuravska e2cfd3f3f7 Fix names according to code style conventions
--HG--
branch : feature
2016-01-08 14:14:56 +02:00
Valentina Zhuravska 4bb731a825 Retranslate tables of variables
--HG--
branch : feature
2016-01-08 14:06:38 +02:00
Valentina Zhuravska b283fb2a76 Retranslate history
--HG--
branch : feature
2016-01-08 13:55:37 +02:00
Roman Telezhynskyi 7be1690e39 Fix. Don't change state of a pattern if click on the button OK.
--HG--
branch : develop
2016-01-08 13:22:48 +02:00
Roman Telezhynskyi 39e7b2df89 Delay for correct the first fitbest zoom.
--HG--
branch : develop
2016-01-08 13:08:54 +02:00
Roman Telezhynskyi 45454a8955 Fix tool UnionDetails. Always left last poit of detail, save children ids,
save in correct section.

--HG--
branch : develop
2016-01-07 18:43:08 +02:00
Valentina Zhuravska 31582e06da Fixed alignment
--HG--
branch : feature
2016-01-06 17:28:46 +02:00
Valentina Zhuravska b6466547e8 Retranslate patternPieceLabel
--HG--
branch : feature
2016-01-06 09:34:03 +02:00
Valentina Zhuravska be3e6e5498 Retranslate helpLabel
--HG--
branch : feature
2016-01-06 09:11:44 +02:00
Valentina Zhuravska 772836b516 Retranslate undo and redo buttons
--HG--
branch : feature
2016-01-06 09:03:40 +02:00
Valentina Zhuravska 0575f40a2a We need to fixate size of the contentsWidget, because we don't need to change it during the retranslation
--HG--
branch : feature
2016-01-06 08:49:44 +02:00
Valentina Zhuravska eabbcb2e2b Little fix: correct retranslate osOptionCheck
--HG--
branch : feature
2016-01-06 08:11:51 +02:00
Valentina Zhuravska 31aee635e4 Little optimization: change 'cansel' to 'cancel'
--HG--
branch : feature
2016-01-06 08:05:41 +02:00
Valentina Zhuravska c4fe05df11 Retranslate patternpage.
--HG--
branch : feature
2016-01-06 07:59:01 +02:00
Valentina Zhuravska aa3197fbd3 Retranslate pathpage.
--HG--
branch : feature
2016-01-06 07:55:51 +02:00
Valentina Zhuravska ac899a4cf1 Retranslate configurationpage.
--HG--
branch : feature
2016-01-06 07:55:05 +02:00
Valentina Zhuravska b9f3e664dc Retranslate communitypage.
--HG--
branch : feature
2016-01-06 07:40:34 +02:00
Valentina Zhuravska 4e12484725 Retranslate configdialog.
--HG--
branch : feature
2016-01-06 07:34:30 +02:00
Valentina Zhuravska 2623af8881 Retranslate mainwindow ui.
--HG--
branch : feature
2016-01-06 07:02:41 +02:00
Roman Telezhynskyi 65bf17fcf9 Fixed broken feature 'Default height and size'.
--HG--
branch : develop
2016-01-03 15:21:30 +02:00
Roman Telezhinskyi b0e484c6f7 Merged in nauck/valentina/feature (pull request #91)
Unify title and tool bar on osx

--HG--
branch : develop
2016-01-03 14:02:02 +02:00
Roman Telezhynskyi fa410de76d Fixed issue #432. Cannot switch between pattern pieces on latest develop (osx).
--HG--
branch : develop
2016-01-03 11:52:22 +02:00
Roman Telezhinskyi e90db08842 Merged in nauck/valentina/feature (pull request #90)
Fix issue #431

--HG--
branch : develop
2016-01-03 10:28:57 +02:00
Benjamin Nauck e03db7f738 Use unified title and tool bar on mac
--HG--
branch : feature
2016-01-03 04:11:11 +01:00
Benjamin Nauck 000bbd454e Use same icon on cursor as it is on the tool button for the arc intersect axis tool
--HG--
branch : feature
2016-01-02 23:57:26 +01:00
Benjamin Nauck e89f730b38 Move and refactor tool cursor generation script
--HG--
branch : feature
2016-01-02 23:38:02 +01:00
Benjamin Nauck 6ffa9d0055 Move set attribute to vabstractapplication
--HG--
branch : feature
2016-01-02 17:06:19 +01:00
Benjamin Nauck 9d3257ef1c Adjust code to code convention
--HG--
branch : feature
2016-01-02 17:01:00 +01:00
Benjamin Nauck 15b5c4534d Add new tool cursors
--HG--
branch : feature
2016-01-02 15:59:19 +01:00
Benjamin Nauck 99cf5496ea Add missing svg file "triangle.svg"
--HG--
branch : feature
2016-01-02 15:57:13 +01:00
Benjamin Nauck 43ffbbe3c0 Add tool for generating SVG tool icon cursors
The resulting files might need some adjusting but it's a good start

--HG--
branch : feature
2016-01-02 15:55:26 +01:00
Benjamin Nauck 1be3c90cd3 Add support for HiDPI cursors
--HG--
branch : feature
2016-01-02 15:52:42 +01:00
Benjamin Nauck 8be71c1ecb Create new triangle tool icon
--HG--
branch : feature
2016-01-02 14:03:54 +01:00
Benjamin Nauck 31a00ab6fe Fix icon export res misstake
--HG--
branch : feature
2016-01-02 05:19:09 +01:00
Benjamin Nauck 1254de52d5 Update toolbar icons and add HiDPI versions
--HG--
branch : feature
2016-01-02 03:14:54 +01:00
Benjamin Nauck 4bc766295e Add @2x versions of toolbar tab icons (excluding detail and layout)
--HG--
branch : feature
2016-01-02 02:45:29 +01:00
Benjamin Nauck c57201fe82 Add support for high dpi bitmap resources
--HG--
branch : feature
2016-01-02 02:40:33 +01:00
Valentina Zhuravska 9fd6f18426 Resolved issue #423. Deny moving several labels at one time.
--HG--
branch : feature
2015-12-28 10:00:10 +02:00
Roman Telezhynskyi d6de99babb Fixed test build fail.
--HG--
branch : develop
2015-12-26 20:04:26 +02:00
Roman Telezhynskyi 37e799ce71 Fixed issue with deleting detail (after union details) and blocked objects.
--HG--
branch : feature
2015-12-26 19:10:02 +02:00
Roman Telezhynskyi 1aa2263686 Improved question message.
--HG--
branch : feature
2015-12-26 18:01:32 +02:00
Roman Telezhynskyi a11b3c3203 Check if setted detail is valid.
--HG--
branch : feature
2015-12-26 15:18:58 +02:00
Roman Telezhynskyi 00b8aae5a7 Fixed issue with deleting detail and blocked objects. Part about tool union
still is not fixed.

--HG--
branch : feature
2015-12-26 15:08:41 +02:00
Roman Telezhynskyi 4d3aeaca08 Allow user to ignore warning "This file already opened in another window".
--HG--
branch : develop
2015-12-23 15:26:29 +02:00
Roman Telezhynskyi d227ce68c2 Show dialog "Fix broken formula" only in GUI mode.
--HG--
branch : develop
2015-12-22 20:12:09 +02:00
Roman Telezhynskyi 8b7602e223 In restore list clear all files that do not exist.
--HG--
branch : develop
2015-12-22 17:39:04 +02:00
Roman Telezhynskyi fbd3c05b92 Resolved issue #93. Create test set of patterns.
--HG--
branch : develop
2015-12-22 16:42:00 +02:00
Roman Telezhynskyi 6e394a20f2 Resolved issue #256. Crash if open pattern with wrong measurements file.
--HG--
branch : develop
2015-12-22 15:29:16 +02:00
Valentina Zhuravska 1dce05b239 Show openHand cursor only if we can move the detail
--HG--
branch : feature
2015-12-20 21:55:27 +02:00
Valentina Zhuravska 73c544c45d Resolved issue #271. Deny move workpieces when tool union is active.
--HG--
branch : feature
2015-12-20 21:53:59 +02:00
Valentina Zhuravska fd658631b3 We don't need to move nodePoints
--HG--
branch : feature
2015-12-20 21:51:14 +02:00
Roman Telezhynskyi 95772bf0db Fixed "Build failed".
--HG--
branch : develop
2015-12-19 22:15:42 +02:00
Roman Telezhynskyi 40bf125fdf Resolved issue #422. Date of birth: German data format.
--HG--
branch : develop
2015-12-19 21:26:05 +02:00
Roman Telezhynskyi a0b785ffd8 Resolved issue #402. After Crash .val is empty.
--HG--
branch : develop
2015-12-19 21:02:38 +02:00
Roman Telezhynskyi 90dac31a2e Discard vmargins.h. Build backport files if only need.
--HG--
branch : develop
2015-12-19 16:38:24 +02:00
Roman Telezhynskyi 1e5def1361 Instead of indexes save and set string values.
--HG--
branch : develop
2015-12-19 15:56:09 +02:00
Roman Telezhynskyi 0c3fcfb14e Merge.
--HG--
branch : develop
2015-12-19 10:09:25 +02:00
Roman Telezhynskyi 2fdd441a1c Fixed issue #420. Crash, not able to to open Standard measurements tables.
--HG--
branch : develop
2015-12-19 10:09:03 +02:00
Valentina Zhuravska 662ae70919 Resolved issue #417. Valentina don't change cursor to arrow when we change the mode
--HG--
branch : develop
2015-12-19 03:20:15 +02:00
Roman Telezhynskyi af5a74badd Fixed issue #419. Message in footer obsolete.
--HG--
branch : develop
2015-12-18 14:01:13 +02:00
Roman Telezhynskyi b2ec130d7e Fixed issue #167. Window modified indication disappears even we have unsaved
change.

--HG--
branch : develop
2015-12-18 13:57:03 +02:00
Roman Telezhynskyi 3beb8a8b7c Refactoring. Smooth scrolling.
--HG--
branch : develop
2015-12-17 21:13:07 +02:00
Roman Telezhynskyi 6ba9bb8b28 Little optimization.
--HG--
branch : develop
2015-12-17 21:01:06 +02:00
Roman Telezhynskyi 949f4be2c6 Merge.
--HG--
branch : develop
2015-12-17 13:13:11 +02:00
Roman Telezhynskyi 4bdb788c50 New tests of localizations. Lupdate.
--HG--
branch : develop
2015-12-17 12:52:10 +02:00
Valentina Zhuravska 550816a958 Resolved issue #270. Selection point by clicking on label in tools seam allowance and union.
--HG--
branch : feature
2015-12-17 12:03:44 +02:00
Roman Telezhynskyi 24c6eed4a7 Refactoring. More optimized run a test.
--HG--
branch : develop
2015-12-16 14:52:00 +02:00
Roman Telezhynskyi e39d42146c Lupdate. Fixed typos.
--HG--
branch : develop
2015-12-15 16:39:26 +02:00
Roman Telezhynskyi 2409b1cc8b Refactoring tests.
--HG--
branch : develop
2015-12-15 16:38:37 +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 05ad1605e0 Fix size dialog about Tape.
--HG--
branch : develop
2015-12-14 21:58:40 +02:00
Roman Telezhynskyi 7bc0399134 New contributor.
--HG--
branch : develop
2015-12-14 21:32:11 +02:00
Roman Telezhynskyi afaaffd52f Updated test TST_TSTranslation.
--HG--
branch : develop
2015-12-14 18:05:09 +02:00
Roman Telezhynskyi 88d22ee3dd Fixed incorrect string place markers.
--HG--
branch : develop
2015-12-14 13:06:04 +02:00
Roman Telezhynskyi 45ee787a3f New test check if string contain correct place markers, i.e., %1, %2, ..., %99.
--HG--
branch : develop
2015-12-14 12:49:48 +02:00
Roman Telezhynskyi 0cb4447230 Refactoring test methods.
--HG--
branch : develop
2015-12-14 11:56:21 +02:00
Roman Telezhynskyi 812c09ba83 Removed '...' from localization.
--HG--
branch : develop
2015-12-14 09:42:09 +02:00
Roman Telezhynskyi bceb18d4a5 New test that help find and remove '...' string inside localization.
--HG--
branch : develop
2015-12-14 09:41:42 +02:00
Roman Telezhynskyi 7ef2c22c47 Fixed bug with setting default height and size. Relative to the issue #418.
--HG--
branch : develop
2015-12-14 09:39:57 +02:00
Roman Telezhynskyi f7814ed6ba Lupdate. Fixed issue in English string.
--HG--
branch : develop
2015-12-13 19:30:25 +02:00
Roman Telezhynskyi b56849e33c Fixed bug in the test.
--HG--
branch : develop
2015-12-13 19:29:39 +02:00
Roman Telezhynskyi 5343e4e68d Test that allow to fix issues in English localization.
--HG--
branch : develop
2015-12-13 18:33:00 +02:00
Roman Telezhynskyi 90bdb6b561 XSD validation base height and size values.
--HG--
branch : develop
2015-12-12 17:35:57 +02:00
Roman Telezhynskyi a5bfb2af35 Resore height and size after load new measurements data.
--HG--
branch : develop
2015-12-12 16:36:00 +02:00
Roman Telezhynskyi abb7147bc8 Return 0 if default height/size is not custom.
--HG--
branch : develop
2015-12-12 13:15:29 +02:00
Roman Telezhynskyi e8a93ddc2b New setting "Default height and size".
--HG--
branch : develop
2015-12-12 13:11:39 +02:00
Roman Telezhynskyi 3aa1ccaea4 Optimization. Call creation toolbar only if was not uploaded any measurements.
--HG--
branch : develop
2015-12-11 17:06:20 +02:00
Roman Telezhynskyi f600a00db8 Merge
--HG--
branch : develop
2015-12-11 16:23:20 +02:00
Roman Telezhinskyi eb69008e07 Merged in ValentinaZhuravska/valentina/feature (pull request #83)
Fixed issue #415.

--HG--
branch : develop
2015-12-11 16:22:52 +02:00
Valentina Zhuravska 10c0ad2c5c Define class VGraphicsSimpleTextItem instead of #include "../vwidgets/vgraphicssimpletextitem.h"
--HG--
branch : feature
2015-12-11 16:20:32 +02:00
Roman Telezhynskyi 93a52bd889 Allow user to set default size and height for a pattern.
--HG--
branch : develop
2015-12-11 16:19:11 +02:00
Valentina Zhuravska 5a22c6baf6 Use SCASSERT for point, namePoint and lineName
--HG--
branch : feature
2015-12-11 15:07:05 +02:00
Valentina Zhuravska a1417fc127 We don't need to change pen inside RefreshLine method
--HG--
branch : feature
2015-12-11 13:35:48 +02:00
Valentina Zhuravska 0869c7fed4 We don't need to change the radius, so we can make it const
--HG--
branch : feature
2015-12-11 11:33:12 +02:00
Valentina Zhuravska ece2c42e5f We need one method RefreshLine in VAbstractTool instead of two similar methods in VNodePoint and VToolSinglePoint
--HG--
branch : feature
2015-12-11 11:31:21 +02:00
Roman Telezhynskyi 3ebac9ce59 Test limited gradation list.
--HG--
branch : develop
2015-12-10 12:19:31 +02:00
Roman Telezhynskyi 0c731ea406 Do not update the recent files list in export/test mode.
--HG--
branch : develop
2015-12-09 13:37:38 +02:00
Roman Telezhynskyi ca24b201e1 Refactor the method name.
--HG--
branch : develop
2015-12-09 13:31:33 +02:00
Roman Telezhynskyi da827ad952 QComboBox clear button in property browser.
--HG--
branch : develop
2015-12-09 13:13:34 +02:00
Roman Telezhynskyi 6f1dcb7592 Resolved build issue on OpenSuse. The method setClearButtonEnable is available
only since Qt 5.2.

--HG--
branch : develop
2015-12-09 12:40:43 +02:00
Roman Telezhynskyi 589bf173ae Improved calculation arc points.
--HG--
branch : develop
2015-12-07 23:33:11 +02:00
Roman Telezhynskyi 75701f8cad New test. Testing arc points.
--HG--
branch : develop
2015-12-07 18:35:55 +02:00
Valentina Zhuravska d057d336f7 Fixed issue #415. Line appears between the point and mark in the detail mode
--HG--
branch : feature
2015-12-07 07:48:51 +02:00
Roman Telezhynskyi 0e60b20ace Merge.
--HG--
branch : develop
2015-12-06 18:47:44 +02:00
Roman Telezhynskyi 36f586ec58 End file opening if error occurred.
--HG--
branch : develop
2015-12-06 18:47:19 +02:00
Roman Telezhinskyi b5dfbae5a1 Merged in ValentinaZhuravska/valentina/feature (pull request #82)
Resolved Issue #272.

--HG--
branch : develop
2015-12-06 18:45:46 +02:00
Valentina Zhuravska 178419742a Added hoverMoveEvent. The cursor should not be changed to arrow until we leave the detail area
--HG--
branch : feature
2015-12-06 18:20:37 +02:00
Roman Telezhynskyi a820b20fc2 The program crashes if scene is not connected to view.
--HG--
branch : develop
2015-12-05 18:27:38 +02:00
Roman Telezhynskyi 830c43a89d Mac OS proxy icon.
--HG--
branch : develop
2015-12-05 16:16:29 +02:00
Roman Telezhynskyi 7054714114 Fixed dock menu on Mac OS.
--HG--
branch : develop
2015-12-05 11:50:32 +02:00
Roman Telezhynskyi e781b8252d Cut less scene rect size for showing axis.
--HG--
branch : develop
2015-12-04 22:21:07 +02:00
Roman Telezhynskyi 6de8a44314 Try to fix flowing of drawing.
--HG--
branch : develop
2015-12-04 21:49:00 +02:00
Roman Telezhynskyi dc25101d78 Refactoring. Call parent's method.
--HG--
branch : develop
2015-12-04 21:47:44 +02:00
Roman Telezhynskyi 2b0e358cdd Saving position of the base point should be handled in ItemPositionChange
section.

--HG--
branch : develop
2015-12-04 21:46:52 +02:00
Roman Telezhynskyi 6d566c2715 Make fictive scene bigger in all cases.
--HG--
branch : develop
2015-12-04 10:04:43 +02:00
Roman Telezhynskyi 019b3dc38b Tape create .lock file for wrong file path.
--HG--
branch : develop
2015-12-04 02:58:39 +02:00
Roman Telezhynskyi 454f23a399 Fix incorrect view on Windows.
--HG--
branch : develop
2015-12-04 00:33:54 +02:00
Roman Telezhynskyi 4da3c9d7a5 Forgot to hide QMAKE_EXTRA_COMPILERS.
--HG--
branch : develop
2015-12-03 22:42:26 +02:00
Roman Telezhynskyi ae43c66bd9 Fixed issue #412. Error in Detail using 'Segment a Simple Curve' tool.
--HG--
branch : develop
2015-12-03 21:56:40 +02:00
Roman Telezhynskyi b431f65ff2 Fixed issue #411. Curve Tool handles detach from curve.
--HG--
branch : develop
2015-12-03 19:50:42 +02:00
Roman Telezhynskyi 689a7e4829 Speed up build time. Prevent linking Tape each build.
--HG--
branch : develop
2015-12-03 19:49:47 +02:00
Roman Telezhynskyi ced638a782 Support a proxy icon on Mac OS.
--HG--
branch : develop
2015-12-03 14:07:51 +02:00
Roman Telezhynskyi 1a0733ad00 Alert user about finished creating a layout.
--HG--
branch : develop
2015-12-03 10:56:19 +02:00
Roman Telezhynskyi 33087b2fe8 Added support Mac OS Dock Menu.
--HG--
branch : develop
2015-12-03 10:43:31 +02:00
Valentina Zhuravska dfa46dc1cd Added mousePressEvent and changed QApplication::setOverrideCursor to SetOverrideCursor
--HG--
branch : feature
2015-12-02 23:07:23 +02:00
Roman Telezhynskyi 61eec32420 Always show Tape's window on Mac OS when the app starts, even when is empty.
--HG--
branch : develop
2015-12-02 21:57:16 +02:00
Roman Telezhynskyi 1ccb8f3452 Optimization MaybeSave() method for Mac OS.
--HG--
branch : develop
2015-12-02 21:51:19 +02:00
Valentina Zhuravska 75a4acaea7 Resolved Issue #272. Show that user can move workpiece.
--HG--
branch : feature
2015-12-02 21:33:42 +02:00
Roman Telezhynskyi 6cd674ec0f QGraphicsView Zooming in and out under mouse position using mouse wheel finally
works like i want.

--HG--
branch : develop
2015-12-02 20:39:25 +02:00
Roman Telezhynskyi 8506afc056 Optimization tape config dialog for Mac OS.
--HG--
branch : develop
2015-12-02 17:05:30 +02:00
Roman Telezhynskyi 9f3e41a6f6 Optimization config dialog for Mac OS.
--HG--
branch : develop
2015-12-01 22:53:29 +02:00
Roman Telezhynskyi cf4e313862 Optimization dialogs for Mac OS.
--HG--
branch : develop
2015-12-01 20:12:40 +02:00
Roman Telezhynskyi 477a95798a Optimization line color combobox for Mac.
--HG--
branch : develop
2015-12-01 17:13:57 +02:00
Roman Telezhynskyi 49dc9f7700 We can save user's changes in measurement's full name immediately.
--HG--
branch : develop
2015-12-01 16:56:05 +02:00
Roman Telezhynskyi d24390bd98 Set of fixes for better look on Mac OS X.
--HG--
branch : develop
2015-12-01 16:38:09 +02:00
Roman Telezhynskyi 85bb6141ab Clang warnings.
--HG--
branch : develop
2015-11-30 12:55:39 +02:00
Roman Telezhinskyi 3dc675e0ce Merged in ValentinaZhuravska/valentina/feature (pull request #81)
Resolved issue #80.

--HG--
branch : develop
2015-11-29 16:43:59 +02:00
Valentina Zhuravska f91fbaaa01 We need do set decimals before we set value
--HG--
branch : feature
2015-11-29 16:42:39 +02:00
Roman Telezhynskyi ada92a27d1 Show path with native separator.
--HG--
branch : develop
2015-11-29 14:12:36 +02:00
Roman Telezhynskyi b0211b09c9 Resolved issue #403. Tape - Button "Show in Explorer" is not working.
--HG--
branch : develop
2015-11-29 14:03:35 +02:00
Valentina Zhuravska cd15fd711e Resolved issue #80. Choice between inches and centimeters in options
--HG--
branch : feature
2015-11-28 22:48:43 +02:00
Roman Telezhynskyi 7611940c40 Copy paste mistake.
--HG--
branch : develop
2015-11-28 21:31:21 +02:00
Roman Telezhynskyi 40fc6bea54 Backward compatibility with <= Qt 5.1.
--HG--
branch : develop
2015-11-28 21:04:51 +02:00
Roman Telezhynskyi a781d16cd4 Used way proposed in MainWindow class.
--HG--
branch : develop
2015-11-28 19:02:21 +02:00
Roman Telezhynskyi b6caf1f53f Try to fix broken build with Qt 5.1 and less.
--HG--
branch : develop
2015-11-28 17:27:17 +02:00
Roman Telezhynskyi 70cc2b6f95 QDebugStateSaver available only since Qt 5.1.
--HG--
branch : develop
2015-11-28 12:36:54 +02:00
Roman Telezhynskyi 4f776f1fbb Error "rcc: Unknown option: '--binary'"
--HG--
branch : develop
2015-11-28 12:01:24 +02:00
Roman Telezhynskyi b6506b2cae Wrong defining QLoggingCategory.
--HG--
branch : develop
2015-11-27 14:04:23 +02:00
Roman Telezhynskyi 97d60004f6 Update debian files.
--HG--
branch : develop
2015-11-26 15:00:04 +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 783e3d57c2 Support QGraphicsView autoscroll of a draged object.
--HG--
branch : develop
2015-11-25 19:26:37 +02:00
Roman Telezhynskyi af1c40e027 Merge
--HG--
branch : develop
2015-11-25 15:47:51 +02:00
Roman Telezhynskyi 1e5fd5e28d Merge
--HG--
branch : develop
2015-11-25 15:45:54 +02:00
Roman Telezhynskyi 36704cd02e Invisible "VSimpleCurve" causes exponential growth scene size, and it causes
the program crash. Because we don't need anymore this calss i just have removed
it.

--HG--
branch : develop
2015-11-25 15:45:38 +02:00
Valentina Zhuravska 58d2410f11 Do not close application when can't open recent file if we have GUI mode
--HG--
branch : feature
2015-11-25 13:46:36 +02:00
Valentina Zhuravska 3d5e8c211d Move 'drawMode = false' inside to 'if' statement
--HG--
branch : feature
2015-11-25 11:52:50 +02:00
Roman Telezhynskyi 2bd5a22218 Fixed memory leak.
--HG--
branch : develop
2015-11-25 11:30:02 +02:00
Valentina Zhuravska 2fbd01d89a Correct save of currentDrawIndex
--HG--
branch : feature
2015-11-25 04:29:12 +02:00
Roman Telezhynskyi 8f47af2c56 GCC warning.
--HG--
branch : develop
2015-11-22 19:45:20 +02:00
Roman Telezhinskyi 4c3eae4c80 Merged in ValentinaZhuravska/valentina/feature (pull request #78)
Tests for SumTrapezoids method in VAbstractDetail class

--HG--
branch : develop
2015-11-22 18:59:07 +02:00
Valentina Zhuravska 88503bb806 Added comments to tests for SumTrapezoids
--HG--
branch : feature
2015-11-22 18:56:49 +02:00
Roman Telezhynskyi b7caafb0c4 Fixed test failure.
--HG--
branch : develop
2015-11-22 17:49:36 +02:00
Valentina Zhuravska 56d655f2ff Tests for SumTrapezoids method in VAbstractDetail class
--HG--
branch : feature
2015-11-22 17:08:22 +02:00
Roman Telezhynskyi e8570f9812 Merge
--HG--
branch : develop
2015-11-22 17:02:08 +02:00
Valentina Zhuravska d575ad5ad3 Return false if we have less than 3 points
--HG--
branch : feature
2015-11-22 16:58:58 +02:00
Valentina Zhuravska 3e9793dbbb We don't need variable points in method Square
--HG--
branch : feature
2015-11-22 16:47:50 +02:00
Valentina Zhuravska 6c653163f9 Erased QString(" ")
--HG--
branch : feature
2015-11-22 16:36:55 +02:00