Commit Graph

4347 Commits

Author SHA1 Message Date
Roman Telezhynskyi
8b2b9d3ee3 Move "Name of detail" field to Main path tab.
--HG--
branch : develop
2018-01-03 20:07:55 +02:00
Roman Telezhynskyi
f52b690827 Resolved issue #792. New feature. Visibility trigger for internal path.
--HG--
branch : develop
2018-01-03 19:31:50 +02:00
Roman Telezhynskyi
34d1b91225 New hack to restore mouse cursor.
--HG--
branch : develop
2018-01-01 16:16:50 +02:00
Roman Telezhynskyi
ae39a2b488 Resolved issue #790. Generate unique name for each detail.
--HG--
branch : develop
2017-12-30 22:19:49 +02:00
Roman Telezhynskyi
012c799614 Backed out changeset: 6d0635c37029
--HG--
branch : develop
2017-12-17 16:34:56 +02:00
Roman Telezhynskyi
c853b67f63 Fix wrong tooltip for tool box widget.
--HG--
branch : develop
2017-12-17 15:12:57 +02:00
Roman Telezhynskyi
88844ec33f Resolved issue #783. Flipping control.
--HG--
branch : develop
2017-12-17 15:06:46 +02:00
Roman Telezhynskyi
5b0a557b21 Fix issue #784. Bug in Table of Variables.
--HG--
branch : develop
2017-12-12 17:13:18 +02:00
Roman Telezhynskyi
8b4fc33649 Fix check layout allowance size position. ref #782.
We generate layout allowance right just before creating layout. Because before
this we don't know all options.

--HG--
branch : develop
2017-12-12 10:23:46 +02:00
Roman Telezhynskyi
850bb88c6b Show warning when a layout allowance is smaller than main piece path. This is
usually idicates issue with seam allowance. ref #782.

--HG--
branch : develop
2017-12-11 17:46:13 +02:00
Roman Telezhynskyi
15c93854d8 Fixed issue #780. Final Measurements kills Valentina.
--HG--
branch : develop
2017-12-11 16:00:31 +02:00
Roman Telezhynskyi
931c0de439 Breakpoints do not work if debug the app inside of app bundle.
--HG--
branch : develop
2017-12-11 15:52:24 +02:00
Roman Telezhynskyi
17b3f125f8 Resolved issue #779. Add more roll paper size templates.
--HG--
branch : develop
2017-12-10 19:25:40 +02:00
Roman Telezhynskyi
3eea6115b0 When compare a template size check both versions: portrait and landscape.
--HG--
branch : develop
2017-12-10 19:16:12 +02:00
Roman Telezhynskyi
7fb0ebed20 Cppcheck warning.
(grafted from 9cf24fc42bd2aff67a32924e48d1bd2b4d61ee2c)

--HG--
branch : develop
2017-12-10 13:29:17 +02:00
Roman Telezhynskyi
0a66db7184 Resolved issue #778. Calling Valentina with "-h" option opens information
dialog instead of writing to console.
(grafted from 4fb29d9b4e5441c43704005e4776f87d548673e7)

--HG--
branch : develop
2017-12-10 13:17:04 +02:00
Roman Telezhynskyi
ef3c60b459 Clang warning.
--HG--
branch : develop
2017-12-04 17:12:51 +02:00
Roman Telezhynskyi
f53343b01e Fix test crash.
(grafted from 8f904d2962fb3631f8ee3cdc6f8a9f5ed38f4d73)

--HG--
branch : develop
2017-12-04 16:38:32 +02:00
Roman Telezhynskyi
2d2a4a8c3e Lupdate.
--HG--
branch : develop
2017-12-04 16:33:04 +02:00
Roman Telezhynskyi
debc37d78a Removed unused postfix operator.
--HG--
branch : develop
2017-12-04 14:32:17 +02:00
Roman Telezhynskyi
d1ec8e90dd Fix Valentina crash adding internal path did not increment this object
reference.

--HG--
branch : develop
2017-12-04 14:08:13 +02:00
Roman Telezhynskyi
a0ec8ecb64 Fixed issue #775. Insert node tool craches.
--HG--
branch : develop
2017-12-04 13:35:58 +02:00
Roman Telezhynskyi
a4df5612d9 Fixed issue #776. Valentina cannot recognize translated functions.
(grafted from 5b89c34d11eea52b32e9fb60b87820ecc5187c31)

--HG--
branch : develop
2017-12-04 11:44:29 +02:00
Roman Telezhynskyi
cf727e0365 Fix XSD schema files.
We must not to use anchors, all regex matches are automatically anchored at both
ends.

--HG--
branch : develop
2017-12-02 19:20:24 +02:00
Roman Telezhynskyi
097af11a6d Improvement. Fix broken symlink automatically.
--HG--
branch : develop
2017-11-29 17:03:42 +02:00
Roman Telezhynskyi
9a6934ae59 Optimize translation of file filter.
--HG--
branch : develop
2017-11-29 16:00:18 +02:00
Roman Telezhynskyi
925e74af9c Fix file filter.
--HG--
branch : develop
2017-11-29 15:59:50 +02:00
Roman Telezhynskyi
20e4ab1980 Fix selecting piece labels and grainline.
--HG--
branch : develop
2017-11-29 15:58:58 +02:00
Roman Telezhynskyi
9aad1b43cb Fix bug. Valentina doesn't save additional rotation angle for tool Move when
use options dialog.

--HG--
branch : develop
2017-11-28 12:12:33 +02:00
Roman Telezhynskyi
a8f19d979b Fix bug with moving increment value down in dialog.
--HG--
branch : develop
2017-11-27 23:37:36 +02:00
Roman Telezhynskyi
98ebfd11c6 Fix stand-alone piece updating. It should call updating internal paths in this
case.

--HG--
branch : develop
2017-11-21 11:55:37 +02:00
Roman Telezhynskyi
191e4e7d08 Fix Valentina hang in formula CSR.
--HG--
branch : develop
2017-11-21 11:03:37 +02:00
Roman Telezhynskyi
9162b58417 Fix bug in Move tool. Dialog doesn't pass optional rotate origin point.
ref #726.

--HG--
branch : develop
2017-11-19 17:31:04 +02:00
Roman Telezhynskyi
efb4b58b8d Fix bug with Increments. After creating they know more than should.
--HG--
branch : develop
2017-11-19 17:08:50 +02:00
Roman Telezhynskyi
8dbcfb4874 Fix issue with elliptical arc. It should read but ignore attribute 'aScale'.
ref #768.

--HG--
branch : develop
2017-11-18 13:48:03 +02:00
Roman Telezhynskyi
604baa61d3 Improve Move tool. It should provide optional rotation origin point field.
ref #726.

--HG--
branch : develop
2017-11-17 12:28:57 +02:00
Roman Telezhynskyi
e6c59de3ca Fix bug in dialog Seam allowance tool.
Don't show the dialog if a main path doesn't contain at least one item.

--HG--
branch : develop
2017-11-15 15:25:38 +02:00
Roman Telezhynskyi
037d1daaaa Fix bug in dialog Seam allowance tool.
When create a piece and call a context menu Valentina blocks creating because
of wrong formulas.

--HG--
branch : develop
2017-11-15 15:25:05 +02:00
Roman Telezhynskyi
a0643e5712 Optimize tool piece visualization.
--HG--
branch : develop
2017-11-15 13:23:19 +02:00
Roman Telezhynskyi
016883110f Allow an arc to have the same start and end angles.
In such a case full circle will be drawn.

--HG--
branch : develop
2017-11-15 13:22:16 +02:00
Roman Telezhynskyi
12761dcfa6 SonarQube warning.
--HG--
branch : develop
2017-11-14 15:08:19 +02:00
Roman Telezhynskyi
bbee47fe35 Fix compatibility with Qt below version 5.5.
--HG--
branch : develop
2017-11-14 15:06:22 +02:00
Roman Telezhynskyi
ae52f58f6f Cppcheck.
--HG--
branch : develop
2017-11-14 15:05:05 +02:00
Roman Telezhynskyi
5f0d4ea586 Resolved issue #774. New feature. Matching Parentheses.
--HG--
branch : develop
2017-11-14 13:46:28 +02:00
Roman Telezhynskyi
3510843e44 Resolved issue #726. Improve Move tool. Add optional rotate option.
--HG--
branch : develop
2017-11-13 19:39:11 +02:00
Roman Telezhynskyi
f71b0fd328 Fix build on Windows.
--HG--
branch : develop
2017-11-13 12:59:25 +02:00
Roman Telezhynskyi
d5cd6095e5 Clang warning.
--HG--
branch : develop
2017-11-13 11:50:09 +02:00
Roman Telezhynskyi
5fb0eb42fd Fix Valentina crash.
Valentina crashes if remove piece node parent.

--HG--
branch : develop
2017-11-13 11:29:29 +02:00
Roman Telezhynskyi
8e44628b57 Fix bug. Update details list after creating or deleting a detail.
--HG--
branch : develop
2017-11-13 11:08:48 +02:00
Roman Telezhynskyi
736d21d71c Fix bug with mouse cursor when use line tool.
--HG--
branch : develop
2017-11-13 11:03:12 +02:00
Roman Telezhynskyi
132b7c9fc6 CSR - special modeling case.
--HG--
branch : develop
2017-11-13 10:53:27 +02:00
Roman Telezhynskyi
238e6fb24b Fix bug. Pressing Escape key disables undocommands.
--HG--
branch : develop
2017-11-11 11:28:54 +02:00
Roman Telezhynskyi
c180a26e09 Improve tool Point on middle visualization.
Show point on middle position when creating a point.

--HG--
branch : develop
2017-11-11 11:24:30 +02:00
Roman Telezhynskyi
ec3750e087 Resolved issue #773. Tool Point intersection curve and axis cannot find
desired intersection poin.
(grafted from 86bc49a9552fc4555956815a4d32abfa091ccfc1)

--HG--
branch : develop
2017-11-11 11:01:45 +02:00
Roman Telezhynskyi
b453d2b2d6 Fix bug in dialog Seam allowance tool.
The dialog should prevent user to save a detail with broken formula.

--HG--
branch : develop
2017-11-01 11:40:19 +02:00
Roman Telezhynskyi
d1e3531247 Write log output in UTF-8.
--HG--
branch : develop
2017-11-01 10:20:07 +02:00
Roman Telezhynskyi
0ef92f9cba Fixed Valentina crash.
Valentina crashes if creating tool was canceled.

--HG--
branch : develop
2017-10-31 20:01:19 +02:00
Roman Telezhynskyi
e9abab4eb2 Fix bug in Valentina.
Each QGaphicsItem should make accepted mouse press event if it accept an event.

--HG--
branch : develop
2017-10-31 10:31:50 +02:00
Roman Telezhynskyi
790e276102 SonarQube warnings.
--HG--
branch : develop
2017-10-30 12:16:58 +02:00
Roman Telezhynskyi
7a11b3497a Fix bug with setting cursor QGraphicsPathItem without hover events.
--HG--
branch : develop
2017-10-30 11:08:25 +02:00
Roman Telezhynskyi
16a0af6ca5 Get a tool focus after creation.
Need for keyborad input.

--HG--
branch : develop
2017-10-30 09:57:19 +02:00
Roman Telezhynskyi
cbf3e4d5df When create group selecting a control point should also select a curve.
--HG--
branch : develop
2017-10-30 08:34:18 +02:00
Roman Telezhynskyi
55754d227b Fix bug with spline path.
--HG--
branch : develop
2017-10-30 08:20:03 +02:00
Roman Telezhynskyi
61efe97e6c Fix black square bug.
--HG--
branch : develop
2017-10-29 20:12:35 +02:00
Roman Telezhynskyi
1ce645fa16 Fix bug in undocommands.
--HG--
branch : develop
2017-10-29 19:49:51 +02:00
Roman Telezhynskyi
8309fa8c7a Save show curve details state between sessions.
--HG--
branch : develop
2017-10-29 15:13:13 +02:00
Roman Telezhynskyi
1cd126856c Fixes for spline control point.
--HG--
branch : develop
2017-10-29 13:48:28 +02:00
Roman Telezhynskyi
f16d26b659 Improve EnsureVisibleWithDelay feature.
Margins should to be scaled according to scene scale factor.

--HG--
branch : develop
2017-10-29 13:46:58 +02:00
Roman Telezhynskyi
09f3ba234c Fix bug with item highligh selected.
--HG--
branch : develop
2017-10-29 11:06:17 +02:00
Roman Telezhynskyi
def801a626 Call item update if curve detailed mode changed.
Need to show/hide a curve direction.

--HG--
branch : develop
2017-10-29 10:53:47 +02:00
Roman Telezhynskyi
969dd163bf Fix bug with spline's control point.
Fix infinite redrawing.

--HG--
branch : develop
2017-10-28 19:21:47 +03:00
Roman Telezhynskyi
d3cf15f5b8 Fix some bugs.
--HG--
branch : develop
2017-10-28 17:31:18 +03:00
Roman Telezhynskyi
46d6fcd29d Fix creating pieces.
--HG--
branch : develop
2017-10-28 14:11:52 +03:00
Roman Telezhynskyi
104a491a67 Fixing font problem on Windows.
Calc start label scale based on start font size and minimal visible font size.

--HG--
branch : develop
2017-10-28 13:02:51 +03:00
Roman Telezhynskyi
72dde072af New feature. Allow to exclude piece node point from it's context menu.
--HG--
branch : develop
2017-10-27 14:02:17 +03:00
Roman Telezhynskyi
91b4c7c8fa Fix bug with returning a piece to original position.
--HG--
branch : develop
2017-10-27 12:28:08 +03:00
Roman Telezhynskyi
dd5b276e5d Fix bug with exclude objects.
--HG--
branch : develop
2017-10-27 12:11:29 +03:00
Roman Telezhynskyi
29b23bbce3 Toggle piece node point label. ref #755.
--HG--
branch : develop
2017-10-27 11:53:35 +03:00
Roman Telezhynskyi
3df6c09934 Optimize adjusting scene rect after moving label.
--HG--
branch : develop
2017-10-27 10:36:55 +03:00
Roman Telezhynskyi
d61f732bde Improve warning message to provide more appropriate infromation about an error.
--HG--
branch : develop
2017-10-27 09:24:18 +03:00
Roman Telezhynskyi
4af32961b0 Optimize adjusting new scene rect.
If we know an object that cause adjustment no need to recalc bounding rect for
all scene items.

--HG--
branch : develop
2017-10-27 09:13:51 +03:00
Roman Telezhynskyi
6dfe04e2bc Fixing issue with slow zooming.
Check if need to update scene rect before actual update.

--HG--
branch : develop
2017-10-26 22:59:28 +03:00
Roman Telezhynskyi
7777646a16 Fix font problem on Windows.
--HG--
branch : develop
2017-10-26 19:57:52 +03:00
Roman Telezhynskyi
5a07871a8d Fix Tool union Reatin pieces option.
--HG--
branch : feature
2017-10-26 17:22:12 +03:00
Roman Telezhynskyi
51e670bd84 Duplicate from GUI.
--HG--
branch : feature
2017-10-26 16:57:52 +03:00
Roman Telezhynskyi
e8ca7f575d Fix bug. Modeling objects should be separated from calculation objects and stay
in not copied container.

--HG--
branch : feature
2017-10-26 12:54:08 +03:00
Roman Telezhynskyi
9b54b0c069 Dialog Duplicate Detail.
--HG--
branch : feature
2017-10-25 17:49:04 +03:00
Roman Telezhynskyi
3362e8a4dc Fix font problem on Windows.
--HG--
branch : develop
2017-10-25 22:34:28 +03:00
Roman Telezhynskyi
feaa43a712 SonarCloud warning.
--HG--
branch : develop
2017-10-25 13:54:15 +03:00
Roman Telezhynskyi
7c0d17a7e3 Cppcheck warning.
--HG--
branch : develop
2017-10-25 11:56:24 +03:00
Roman Telezhynskyi
19fb13affe Resolved issue #771. Improve tool Point at intersection of arc and line.
--HG--
branch : develop
2017-10-25 11:27:43 +03:00
Roman Telezhynskyi
7fce20c98e Removed redundant calls UpdateGObject(). Undocommand for piece label.
--HG--
branch : feature
2017-10-24 20:25:51 +03:00
Roman Telezhynskyi
89a2323944 Fix problem with updating objects inside vcontainer.
--HG--
branch : feature
2017-10-24 19:50:16 +03:00
Roman Telezhynskyi
f78c122cb0 Show place label rect.
--HG--
branch : feature
2017-10-24 16:42:09 +03:00
Roman Telezhynskyi
7a2297ed6b Correct applying correction angle.
--HG--
branch : feature
2017-10-24 14:23:11 +03:00
Roman Telezhynskyi
14e19ced4b Refactoring. Move dialogs related to pieces.
--HG--
branch : feature
2017-10-24 14:14:59 +03:00
Roman Telezhynskyi
9c6160fa50 Fix bug with parent disappearing.
--HG--
branch : feature
2017-10-24 12:02:47 +03:00
Roman Telezhynskyi
f27c7e4e35 Fix recursive repaint after label scale.
--HG--
branch : feature
2017-10-23 21:10:48 +03:00
Roman Telezhynskyi
05cad85ab3 Fix bug with tool seam allowance cursor.
--HG--
branch : feature
2017-10-23 14:31:01 +03:00
Roman Telezhynskyi
233efde704 Always draw circle for Button type.
--HG--
branch : feature
2017-10-23 12:33:54 +03:00