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
fc0b1dce9c
Added label containing pattern piece information to vtooldetail, which can be moved/resized
...
--HG--
branch : feature
2016-06-23 00:59:45 +02:00
BojanKverh
b14a3c9551
Fixed the SaveDetailOption::undo method and few code style issues
...
--HG--
branch : feature
2016-06-21 19:53:15 +02:00
Bojan Kverh
553f8dc2d2
Merged develop into feature
...
--HG--
branch : feature
2016-06-21 18:29:08 +02:00
BojanKverh
c05c51e078
Finished the detail dialog
...
--HG--
branch : feature
2016-06-21 00:49:22 +02:00
BojanKverh
9386ae2ff1
Corrected code to satisfy code style specifications
...
--HG--
branch : feature
2016-06-19 13:46:19 +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
Roman Telezhynskyi
76d1c02423
Call details context menu through label.
...
--HG--
branch : develop
2016-06-17 16:13:49 +03:00
Valentina Zhuravska
43cba1b10f
Fixed build in Windows.
...
--HG--
branch : develop
2016-06-11 16:27:14 +03:00
Roman Telezhynskyi
eaa1744262
Clang warnings.
...
--HG--
branch : develop
2016-05-25 16:28:35 +03:00
Roman Telezhynskyi
eb15b5d736
Rotated curves don't need mx and my attributes.
...
--HG--
branch : develop
2016-05-25 12:14:24 +03:00
Roman Telezhynskyi
58ed043b1b
A keyboard input focus for class VSimpleCurve.
...
--HG--
branch : develop
2016-05-25 11:59:59 +03:00
Roman Telezhynskyi
e4ee400903
VToolLine did not have a keyboard input focus.
...
--HG--
branch : develop
2016-05-25 11:51:26 +03:00
Roman Telezhynskyi
35b1a2fb9a
Show direction when show a visualization.
...
--HG--
branch : develop
2016-05-25 11:48:32 +03:00
Roman Telezhynskyi
ff34f05b34
Fixed crash when detail use curve created by tool rotation.
...
--HG--
branch : develop
2016-05-25 10:41:00 +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
66cc34ed64
Fixed issue "Rotation tool - Cannot edit formula after creation".
...
--HG--
branch : develop
2016-05-24 13:29:13 +03:00
Roman Telezhynskyi
d13937fb40
Clicking on notselectable object do not clean previous selections.
...
--HG--
branch : develop
2016-05-24 12:43:30 +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
64f72c69d5
Clang warnings.
...
--HG--
branch : develop
2016-05-20 19:39:13 +03:00
Roman Telezhynskyi
b05da647fe
Moving labels and curves did not call resizing scene.
...
--HG--
branch : develop
2016-05-20 15:20:08 +03:00
Roman Telezhynskyi
05fdbcf8f5
Fixed a bug with QGraphicsItem class. QGraphicsItem itself produce case where
...
clicking on empty space produce call to QGraphicsItem.
--HG--
branch : develop
2016-05-20 14:41:57 +03:00
Roman Telezhynskyi
182d07f761
Fixed wrong incrementing references to objects.
...
--HG--
branch : feature
2016-05-19 16:46:40 +03:00
Roman Telezhynskyi
e2a059287e
Update an angle during processing editing rotation.
...
--HG--
branch : feature
2016-05-19 15:56:50 +03:00
Roman Telezhynskyi
7665402d64
Fixed crash.
...
--HG--
branch : feature
2016-05-19 15:48:56 +03:00
Roman Telezhynskyi
123434f806
Mark with different color base objects and rotated objects.
...
--HG--
branch : feature
2016-05-19 15:23:37 +03:00
Roman Telezhynskyi
948d384868
Fixed moving labels.
...
--HG--
branch : feature
2016-05-19 15:13:38 +03:00
Roman Telezhynskyi
d7b4cbf860
Remove all children before update.
...
--HG--
branch : feature
2016-05-19 15:01:49 +03:00
Roman Telezhynskyi
0266b27b36
Save information about curve color inside geometric objects. Help to copy this
...
data to copy objects after rotation.
--HG--
branch : feature
2016-05-19 13:11:50 +03:00
Roman Telezhynskyi
fd39c19da0
Show selected objects even before selecting origin point.
...
--HG--
branch : feature
2016-05-18 19:13:48 +03:00
Roman Telezhynskyi
19df01be2e
Correct selection and hovering. Line can't be selected.
...
--HG--
branch : feature
2016-05-18 19:07:43 +03:00
Roman Telezhynskyi
ba76ba2746
Origin point shouldn't be in a rotation list.
...
--HG--
branch : feature
2016-05-18 16:57:17 +03:00
Roman Telezhynskyi
0052a883a4
Better way to check suffix.
...
--HG--
branch : feature
2016-05-18 16:44:23 +03:00
Roman Telezhynskyi
702245f9fb
Check suffix in a dialog.
...
--HG--
branch : feature
2016-05-18 16:38:04 +03:00
Roman Telezhynskyi
180903b807
Automatically generate suffix.
...
--HG--
branch : feature
2016-05-18 15:35:07 +03:00
Roman Telezhynskyi
291c19d5a2
Property browser for tool Rotation.
...
--HG--
branch : feature
2016-05-18 14:32:51 +03:00
Roman Telezhynskyi
84a56545ea
Merge with develop.
...
--HG--
branch : feature
2016-05-18 13:18:08 +03:00
Roman Telezhynskyi
916598c86c
Show an arc between two lines that reprezent an angle.
...
--HG--
branch : feature
2016-05-18 13:17:50 +03:00
Valentina Zhuravska
0d8d9cb5e1
Resolved issue #487 . True dart point always goes to origin when the label is moved.
...
--HG--
branch : develop
2016-05-17 13:46:52 +03:00
Roman Telezhynskyi
b377042125
Merge with develop.
...
--HG--
branch : feature
2016-05-17 13:25:33 +03:00
Roman Telezhynskyi
970b876cf7
Show the tool visualization.
...
--HG--
branch : feature
2016-05-17 13:24:51 +03:00
Valentina Zhuravska
6e7b77b9de
Added toolTip.
...
--HG--
branch : feature
2016-05-17 13:18:38 +03:00
Roman Telezhynskyi
18d3a297cd
VToolRotation::SetFactor.
...
--HG--
branch : feature
2016-05-17 13:02:01 +03:00
Valentina Zhuravska
5933da7403
Resolved issue #472 . Add 'Full Name' column to Formula dialog.
...
--HG--
branch : feature
2016-05-17 12:25:01 +03:00
Roman Telezhynskyi
ac49d298f8
Refactoring. Use tag names from class VAbstractPattern.
...
--HG--
branch : feature
2016-05-16 20:59:04 +03:00
Roman Telezhynskyi
7dbba35919
Parse the tool in a file.
...
--HG--
branch : feature
2016-05-16 20:27:51 +03:00
Roman Telezhynskyi
02eb12ba3e
Fix warning "Class implements the interface QGraphicsItem but does not list it
...
in Q_INTERFACES. qobject_cast to QGraphicsItem will not work!"
--HG--
branch : feature
2016-05-14 22:58:00 +03:00
Roman Telezhynskyi
e9d23a7a32
Refactoring. Each a static method has access to each method in a class. So, we
...
can declare a constructor in private section for each a tool class that has
"Create" methods.
--HG--
branch : feature
2016-05-14 22:54:57 +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
d2efd50030
Delete visualization before closing the tool dialog.
...
--HG--
branch : feature
2016-05-13 20:59:15 +03:00
Roman Telezhynskyi
2f7138e69c
Forgot to add apply button.
...
--HG--
branch : feature
2016-05-13 20:46:57 +03:00
Roman Telezhynskyi
4ec4f276fc
GCC warnings.
...
--HG--
branch : feature
2016-05-13 18:10:13 +03:00
Roman Telezhynskyi
c8a041e4f2
Refactoring undocommands move label.
...
--HG--
branch : feature
2016-05-13 18:05:35 +03:00
Roman Telezhynskyi
fc4054e49e
Undocommand move a label of rotated point.
...
--HG--
branch : feature
2016-05-13 16:50:30 +03:00
Roman Telezhynskyi
80b415f258
Merge with develop.
...
--HG--
branch : feature
2016-05-12 22:52:31 +03:00
Roman Telezhynskyi
910c40a5b3
Commit successful build.
...
--HG--
branch : feature
2016-05-12 22:11:21 +03:00
Roman Telezhynskyi
49bee0cada
Delete key did not work.
...
--HG--
branch : develop
2016-05-08 18:04:18 +03:00
Roman Telezhynskyi
6f56b46d26
Fixed Clang warnings.
...
--HG--
branch : develop
2016-05-03 19:50:37 +03:00
Valentina Zhuravska
c95b162c0d
Fixed build in win7
...
--HG--
branch : feature
2016-04-11 05:27:51 +03:00
Roman Telezhynskyi
a0842b0f48
Merge with develop.
...
--HG--
branch : feature
2016-04-07 17:59:07 +03:00
Roman Telezhynskyi
48e411a3ce
Working with group widget.
...
--HG--
branch : feature
2016-04-07 17:57:53 +03:00
Roman Telezhinskyi
0b9562a3bd
Merged in ValentinaZhuravska/valentina/feature (pull request #107 )
...
We can add image to file.val
--HG--
branch : develop
2016-04-07 12:03:40 +03:00
Roman Telezhynskyi
9c63c4f794
The method SetGroupName.
...
--HG--
branch : feature
2016-04-06 12:36:33 +03:00
Roman Telezhynskyi
a8feb5d0c0
New undo command DelGroup.
...
--HG--
branch : feature
2016-04-06 12:23:39 +03:00
Roman Telezhynskyi
cb67249b54
New undo command Add Group.
...
--HG--
branch : feature
2016-04-06 12:03:34 +03:00
Roman Telezhynskyi
ada64305c0
Dialog Group.
...
--HG--
branch : feature
2016-04-05 20:14:12 +03:00
Roman Telezhynskyi
371c352efc
Tool "Curve intersect axis" store data about subpaths.
...
--HG--
branch : develop
2016-04-02 20:47:56 +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
9a6a5be59d
No need anymore to disable the drawing of the selection border.
...
--HG--
branch : feature
2016-03-31 20:27:40 +03:00
Roman Telezhynskyi
9f5fd98865
Fixed tools Spline and Spline Path. For their work need section by mouse press
...
event, all other better work with mouse release event.
--HG--
branch : feature
2016-03-31 20:10:20 +03:00
Roman Telezhynskyi
351f01e0e3
Disable hover and selection when work with a tool.
...
--HG--
branch : feature
2016-03-31 17:01:41 +03:00
Roman Telezhynskyi
0d4c6c2208
By default user can select only labels by rubber band.
...
--HG--
branch : develop
2016-03-28 17:10:19 +03:00
Roman Telezhynskyi
2339a95585
Fixed broken redo/undo command moving of a label.
...
--HG--
branch : develop
2016-03-28 15:49:35 +03:00
Roman Telezhynskyi
0c9b8453bf
Optimization. No need to refresh a pattern when move a label.
...
--HG--
branch : develop
2016-03-28 12:21:24 +03:00
Roman Telezhynskyi
0325e0a441
Changed code tree structure for visualization classes.
...
--HG--
branch : develop
2016-03-24 16:49:15 +02:00
Roman Telezhynskyi
70fd0be830
Use Q_REQUIRED_RESULT where it make sense.
...
--HG--
branch : develop
2016-03-23 17:27:17 +02:00
Roman Telezhynskyi
be7277eeba
Refactoring. Use more safe function VFuzzyComparePossibleNulls.
...
--HG--
branch : develop
2016-03-23 16:09:30 +02:00
Roman Telezhynskyi
ff667c8602
The tool Detail now supports Cubic Bezier Path curve.
...
--HG--
branch : develop
2016-03-22 17:33:05 +02:00
Roman Telezhynskyi
4c1c0d4d0a
Fixed empty point label in SplinePath name.
...
--HG--
branch : develop
2016-03-22 17:25:16 +02:00
Roman Telezhynskyi
2e0bf11261
The tool Cut Spline now supports Cubic Bezier Path curve.
...
--HG--
branch : develop
2016-03-22 17:14:53 +02:00
Roman Telezhynskyi
baddba9e43
Resolved issue #366 . Update 'Point from Distance and Angle' tool to read
...
distance and angle between points.
--HG--
branch : develop
2016-03-19 17:45:57 +02:00
Roman Telezhynskyi
02cb84c4a1
Show list of points from the begin of the list.
...
--HG--
branch : feature
2016-03-19 16:29:26 +02:00
Roman Telezhynskyi
505cec891d
Several bug fixes.
...
--HG--
branch : feature
2016-03-19 16:20:09 +02:00
Roman Telezhynskyi
19265e1f93
Succesful build.
...
--HG--
branch : feature
2016-03-18 23:11:14 +02:00
Roman Telezhynskyi
ca020c4c7f
Improved visualization for tool Cubic Bezier.
...
--HG--
branch : feature
2016-03-18 12:28:28 +02:00
Roman Telezhynskyi
037e91484a
For tool Cubic Bezier curve show connection to control points.
...
--HG--
branch : feature
2016-03-17 16:26:25 +02:00
Roman Telezhynskyi
2c4312046c
New classes VAbstractCubicBezierPath and VCubicBezierPath.
...
--HG--
branch : feature
2016-03-16 20:07:50 +02:00
Roman Telezhynskyi
f5c5995117
Fixed issue with deleting detail nodes.
...
(grafted from dc69de0a2dd73ae3cbbc6ce6b7007407540e4c4c)
--HG--
branch : develop
2016-03-15 17:38:36 +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
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
Valentina Zhuravska
ab78ee2550
Fixed build on Win7
...
--HG--
branch : feature
2016-03-09 20:59:08 +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
5be84df289
The file stable.cpp is useful only with MSVC.
...
--HG--
branch : develop
2016-03-06 21:21:21 +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
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
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
8d628404df
Curve factor was removed.
...
--HG--
branch : feature
2016-02-27 16:49:10 +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
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
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
936a7fef07
Fixed issue #405 . Crash after deleting first pattern piece in the list.
...
--HG--
branch : develop
2016-02-19 16:34:32 +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
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
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
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
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
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
Roman Telezhynskyi
6b4b79a1b5
Little fix tools visuzlization.
...
(grafted from 7ef2dcf85f7b9da986105ad524382ba47efb177f)
--HG--
branch : develop
2016-02-09 17:19:25 +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
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
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
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
ea0000fea6
First successful build. Tool working was not tested!
...
--HG--
branch : feature
2016-01-24 18:15:08 +02:00
Roman Telezhynskyi
d466e53e5d
Fixed typos.
...
(grafted from 5212bd0c72b44da2d16dab9e1592c2843ab0ff1e)
--HG--
branch : develop
2016-01-21 16:21:58 +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 Telezhinskyi
62b47197f7
Merged in ValentinaZhuravska/valentina/feature (pull request #92 )
...
Retranslate
--HG--
branch : develop
2016-01-11 15:16:57 +02:00
Roman Telezhynskyi
4977604106
Correct disabling line to the label.
...
--HG--
branch : develop
2016-01-11 13:24:37 +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
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
31aee635e4
Little optimization: change 'cansel' to 'cancel'
...
--HG--
branch : feature
2016-01-06 08:05:41 +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
d227ce68c2
Show dialog "Fix broken formula" only in GUI mode.
...
--HG--
branch : develop
2015-12-22 20:12:09 +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
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
812c09ba83
Removed '...' from localization.
...
--HG--
branch : develop
2015-12-14 09:42:09 +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
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
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
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 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
e781b8252d
Cut less scene rect size for showing axis.
...
--HG--
branch : develop
2015-12-04 22:21:07 +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
ae43c66bd9
Fixed issue #412 . Error in Detail using 'Segment a Simple Curve' tool.
...
--HG--
branch : develop
2015-12-03 21:56:40 +02:00
Valentina Zhuravska
dfa46dc1cd
Added mousePressEvent and changed QApplication::setOverrideCursor to SetOverrideCursor
...
--HG--
branch : feature
2015-12-02 23:07:23 +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
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
d24390bd98
Set of fixes for better look on Mac OS X.
...
--HG--
branch : develop
2015-12-01 16:38:09 +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
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
783e3d57c2
Support QGraphicsView autoscroll of a draged object.
...
--HG--
branch : develop
2015-11-25 19:26:37 +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
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
Valentina Zhuravska
d679187f15
Fixed SumTrapezoids method
...
--HG--
branch : feature
2015-11-22 15:58:31 +02:00
Valentina Zhuravska
e8deb4b29c
The user must select points in a clockwise direction
...
--HG--
branch : feature
2015-11-22 01:52:18 +02:00
Roman Telezhynskyi
7ef98c3c4b
Fixed building on Linux.
...
--HG--
branch : develop
2015-11-17 12:17:53 +02:00
Roman Telezhynskyi
e31a6eb841
Merge
...
--HG--
branch : develop
2015-11-16 22:04:56 +02:00
Valentina Zhuravska
fe23631251
Changed pixmap and icon to const, removed setTextFormat
...
--HG--
branch : feature
2015-11-16 17:54:45 +02:00
Valentina Zhuravska
e0237e901f
Added help label to detail mode
...
--HG--
branch : feature
2015-11-16 17:34:16 +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
Valentina Zhuravska
d253db879f
ScrollUp and scrollDown is enabled if we have more than 1 objects in a detail
...
--HG--
branch : feature
2015-11-13 15:23:56 +02:00
Valentina Zhuravska
13ff0d7973
Removed unwanted strings
...
--HG--
branch : feature
2015-11-13 14:54:26 +02:00
Valentina Zhuravska
b9deb50c1b
Fixed toolTips of scrollUp and scrollDown buttons
...
--HG--
branch : feature
2015-11-13 14:04:51 +02:00
Valentina Zhuravska
ef1fff7a22
Resolved Issue #329 . Add button to 'Scroll Up/Scroll Down' in Detail mode
...
--HG--
branch : feature
2015-11-13 12:31:10 +02:00
Roman Telezhinskyi
ae1195df21
Merged in ValentinaZhuravska/valentina/feature (pull request #73 )
...
Fixed problems in DialogDetail
--HG--
branch : develop
2015-11-11 21:50:54 +02:00
Valentina Zhuravska
c6577675e7
Changed some methods to be const
...
--HG--
branch : feature
2015-11-11 21:46:36 +02:00
Roman Telezhynskyi
4e21bf05e0
Don't show section "Size and Height".
...
--HG--
branch : develop
2015-11-11 20:52:25 +02:00
Valentina Zhuravska
e323afc4e6
Fixed DetailIsValid() method
...
--HG--
branch : feature
2015-11-11 19:38:21 +02:00
Valentina Zhuravska
d27a64b819
Delete the last point from detail when the first point equals the last point
...
--HG--
branch : feature
2015-11-10 11:58:33 +02:00
Valentina Zhuravska
4c41e04d49
Can not add one point to detail twice
...
--HG--
branch : feature
2015-11-10 10:07:40 +02:00
Roman Telezhynskyi
912d1f91f6
Disable changing window size only after first show.
...
--HG--
branch : develop
2015-11-05 15:01:33 +02:00
Roman Telezhynskyi
a342948437
Improved loging. Base point's DeleteTool should ignore value "_referens".
...
--HG--
branch : develop
2015-11-03 17:11:35 +02:00
Roman Telezhynskyi
345b0e5c7f
Fixed crash after undo creating a pattern piece.
...
--HG--
branch : develop
2015-11-02 18:25:29 +02:00
Roman Telezhynskyi
88324a11f2
Static Code Analysis.
...
--HG--
branch : develop
2015-10-28 16:22:36 +02:00
Roman Telezhynskyi
d1f18dc9a0
Use quint32 instead unsigned int.
...
--HG--
branch : develop
2015-10-26 10:36:07 +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
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
03b6ce08cc
Coverity scan.
...
--HG--
branch : develop
2015-10-19 09:10:39 +03:00
Roman Telezhynskyi
65d2213ef9
Coverity scan missing includes.
...
--HG--
branch : develop
2015-10-18 22:30:51 +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
bdb3bf9050
Fixed height formula field.
...
--HG--
branch : develop
2015-10-15 12:39:09 +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
c1976401a0
Use CONFIG += silent in release mode.
...
--HG--
branch : develop
2015-10-09 20:22:49 +03:00
Roman Telezhynskyi
026804bc37
Fix for build on drone.io.
...
--HG--
branch : develop
2015-10-08 21:11:50 +03:00
Roman Telezhynskyi
7676959bdb
Fix for build on drone.io.
...
--HG--
branch : develop
2015-10-08 20:07:48 +03:00
Roman Telezhynskyi
8aea332cda
Remember cursor position and return focus to the formula field.
...
--HG--
branch : develop
2015-10-05 17:12:36 +03:00
Roman Telezhynskyi
55421d196b
Correct maximum size formula field.
...
--HG--
branch : develop
2015-10-05 17:07:53 +03:00
Roman Telezhynskyi
06a54ba40c
Use qUtf8Printable.
...
--HG--
branch : develop
2015-10-01 18:34:03 +03:00
Valentina Zhuravska
4423d6b937
Fixed build problem on Windows
...
--HG--
branch : develop
2015-09-18 23:38:11 +03:00
Roman Telezhynskyi
ad28a200f7
Removed unused variable.
...
--HG--
branch : develop
2015-09-16 11:03:33 +03:00
val177
d053d51cba
Fixed issue #342
...
--HG--
branch : develop
2015-09-07 12:40:54 +03:00
val177
00e98b8913
Fixed issue #345
...
--HG--
branch : develop
2015-09-04 15:39:01 +03:00
Roman Telezhynskyi
e0f256514c
Merge with feature. Conversion files is not finished yet.
...
--HG--
branch : develop
2015-08-27 15:25:39 +03:00
Roman Telezhynskyi
8146f53be3
Create a measurement independent pattern file.
...
--HG--
branch : feature
2015-08-16 18:56:06 +03:00
Roman Telezhynskyi
90455b8910
Class LitePattern for getting a list of measurements from a pattern file.
...
--HG--
branch : feature
2015-08-11 16:41:03 +03:00
val177
b0fbe74911
fixed about-Valentina bug
...
--HG--
branch : develop
2015-07-28 23:41:20 +03:00
val177
c92e45e25c
fixed build on windows with qt5.4
...
--HG--
branch : develop
2015-07-28 23:13:30 +03:00
val177
e5b115ad33
Erased unwanted string from dialogtool.h
...
--HG--
branch : develop
2015-07-28 16:09:57 +03:00
val177
3974e1a0a8
Erased unwanted strings from vtools.pro
...
--HG--
branch : develop
2015-07-28 15:39:25 +03:00
val177
3d25bb1bc5
fixed build problem on Windows
...
--HG--
branch : develop
2015-07-26 03:38:01 +03:00