Roman Telezhynskyi
88b56f5453
Fix bug with resizing free grainline.
...
--HG--
branch : feature
2017-03-14 12:24:59 +02:00
Roman Telezhynskyi
76748f7688
Fix grainline's resize rectangle position.
...
--HG--
branch : feature
2017-03-14 11:56:41 +02:00
Roman Telezhynskyi
2eac3e0643
Fix bug with rotation mode.
...
--HG--
branch : feature
2017-03-14 11:24:36 +02:00
Roman Telezhynskyi
c271a81b1d
Fix bug with width and height restricted by pin points.
...
--HG--
branch : feature
2017-03-14 11:20:06 +02:00
Roman Telezhynskyi
de6e3d7213
Fix issue with angle direction of grainline.
...
--HG--
branch : feature
2017-03-14 11:11:35 +02:00
Roman Telezhynskyi
011f0eaec0
Label item on scene has clockwise angle direction, we work with counter
...
clockwise.
--HG--
branch : feature
2017-03-13 16:57:54 +02:00
Roman Telezhynskyi
698eaa7736
Don't change position when restricted by center pin point.
...
--HG--
branch : feature
2017-03-13 16:20:58 +02:00
Roman Telezhynskyi
6802c6f154
Write/read label center pin point.
...
--HG--
branch : feature
2017-03-13 16:10:25 +02:00
Roman Telezhynskyi
94ec43d85e
Fix moving label according to restrictions.
...
--HG--
branch : feature
2017-03-13 15:54:38 +02:00
Roman Telezhynskyi
65b3c6d3aa
Fix typo.
...
--HG--
branch : feature
2017-03-13 15:00:44 +02:00
Roman Telezhynskyi
ce1c96528e
If formula is empty set to default value.
...
--HG--
branch : feature
2017-03-13 15:00:32 +02:00
Roman Telezhynskyi
c6d19c3b9b
Grainline obey center pin point on layout.
...
--HG--
branch : feature
2017-03-13 14:33:04 +02:00
Roman Telezhynskyi
1ab541236d
Successful build.
...
--HG--
branch : feature
2017-03-13 14:27:29 +02:00
Roman Telezhynskyi
988da5fd19
Fix showing warning for labels.
...
--HG--
branch : feature
2017-03-11 16:39:04 +02:00
Roman Telezhynskyi
728b0e79d4
Set default values for grainline length and angle.
...
--HG--
branch : feature
2017-03-11 15:57:57 +02:00
Roman Telezhynskyi
c5f7eef8b4
Fix showing warning for grainline.
...
--HG--
branch : feature
2017-03-11 15:56:39 +02:00
Roman Telezhynskyi
38409f747f
Successful build.
...
--HG--
branch : feature
2017-03-11 15:25:21 +02:00
Roman Telezhynskyi
08d712ffb6
Show warning icon and pin points for tab Labels.
...
--HG--
branch : feature
2017-03-11 11:41:25 +02:00
Roman Telezhynskyi
367c78936a
Rename tab.
...
--HG--
branch : feature
2017-03-10 19:31:48 +02:00
Roman Telezhynskyi
3442da18ee
Fix pattern format version after the merge.
...
--HG--
branch : feature
2017-03-10 19:14:14 +02:00
Roman Telezhynskyi
fa50c1f4f7
Merge with develop.
...
--HG--
branch : feature
2017-03-10 18:56:18 +02:00
Roman Telezhynskyi
eb675f49ce
If selected center pin point resize by extending both sides.
...
--HG--
branch : feature
2017-03-10 17:07:23 +02:00
Roman Telezhynskyi
bf409006f5
Fix grainline's resize rectangle position.
...
--HG--
branch : feature
2017-03-10 16:45:41 +02:00
Roman Telezhynskyi
4bec2bb815
Do not warn a user about wrong configuration if top and bottom pin points are
...
not selected.
--HG--
branch : feature
2017-03-10 16:27:56 +02:00
Roman Telezhynskyi
af3735ea23
Grainline now can be controlled by center pin point.
...
--HG--
branch : feature
2017-03-10 16:22:19 +02:00
Roman Telezhynskyi
11a2302b94
Code style.
...
--HG--
branch : feature
2017-03-10 11:39:28 +02:00
Roman Telezhynskyi
77a3845374
Updated multisize file format version.
...
--HG--
branch : feature
2017-03-10 11:39:20 +02:00
Roman Telezhynskyi
3e1cde0719
Updated file format version.
...
--HG--
branch : feature
2017-03-10 11:22:15 +02:00
Murloc
506ca0612c
Add 200 in heights
...
--HG--
branch : feature
2017-03-09 21:41:48 +01:00
Roman Telezhynskyi
8a6ed9e426
Fixed typo.
...
--HG--
branch : develop
2017-03-09 15:52:41 +02:00
Roman Telezhynskyi
fb402f84b7
Dialog get/set grainline center pin point.
...
--HG--
branch : feature
2017-03-09 13:10:46 +02:00
Roman Telezhynskyi
778cbb2a70
Cppcheck warnings.
...
--HG--
branch : develop
2017-03-09 12:23:36 +02:00
Roman Telezhynskyi
d2057aa8ae
Fixed issue #633 . Valentina crashes when check for updates on Mac.
...
This is temporary solution. We just disabled checking in release mode. User
still can crash program if go to About Valentina/Tape dialog anf click on button
Check update. Such a decidion will left us chance get more bug reports from
users.
--HG--
branch : develop
2017-03-06 11:38:27 +02:00
Roman Telezhynskyi
a1ebea0a0d
Set SSL configuration for the Update checker.
...
--HG--
branch : develop
2017-03-06 11:33:45 +02:00
Roman Telezhynskyi
7350d32dc7
Use secure connection.
...
--HG--
branch : develop
2017-03-05 18:18:05 +02:00
Roman Telezhynskyi
c6c62f6b72
Bitbucket changed adress to repository.
...
--HG--
branch : develop
2017-03-05 14:13:49 +02:00
Roman Telezhynskyi
d2904b567b
Since Qt 5.8 minimal supported OSX version is 10.9.
...
--HG--
branch : develop
2017-03-02 19:04:59 +02:00
Roman Telezhynskyi
714a180b31
Improve memory allocation.
...
--HG--
branch : develop
2017-03-02 13:14:19 +02:00
Roman Telezhynskyi
20107a35f8
Cppcheck warning.
...
--HG--
branch : develop
2017-03-02 11:16:02 +02:00
Roman Telezhynskyi
71d10dbdcb
Sync grainline and lable position after correcting to parent bounding rect.
...
--HG--
branch : feature
2017-03-02 09:12:48 +02:00
Roman Telezhynskyi
e91d037e0a
Use pins to position grainline and label on layout.
...
--HG--
branch : feature
2017-03-01 11:13:36 +02:00
Roman Telezhynskyi
98f26cd417
Show pins if user activated Pattern Piece Data tab or Grainline tab.
...
--HG--
branch : feature
2017-03-01 07:43:51 +02:00
Roman Telezhynskyi
247dc910d5
Block actions with label depend on restrictions.
...
--HG--
branch : feature
2017-03-01 07:39:13 +02:00
Roman Telezhynskyi
0a94c5036b
Fix label rotation.
...
--HG--
branch : feature
2017-03-01 07:38:43 +02:00
Roman Telezhynskyi
e3fdad1321
Update grainline after selecting each type.
...
--HG--
branch : feature
2017-03-01 07:10:04 +02:00
Roman Telezhynskyi
d47505b076
Merge with develop.
...
--HG--
branch : feature
2017-02-28 17:34:11 +02:00
Roman Telezhynskyi
04009746d5
Improve user expirience. Added grainline hover.
...
--HG--
branch : feature
2017-02-28 17:33:53 +02:00
Roman Telezhynskyi
360c5ef604
Use Qt built in functions qRadiansToDegrees and qDegreesToRadians.
...
--HG--
branch : develop
2017-02-27 23:03:07 +02:00
Roman Telezhynskyi
5fbdb4f7f0
Block actions with grainline depend on restrictions.
...
--HG--
branch : feature
2017-02-27 22:06:48 +02:00
Georg von Zengen
159432927a
qmuparser: added triangular functions that work with degree
...
new functions are: degTorad, radTodeg, , sinD, cosD, tanD, asinD, acosD , atanD, sinhD, coshD , tanhD, asinhD, acoshD, atanhD
--HG--
branch : feature
2017-02-27 20:42:35 +01:00
Roman Telezhynskyi
83b9e3e5ff
Fix grainline rotatio angle.
...
Now it follow mouse pointer.
--HG--
branch : feature
2017-02-27 14:35:55 +02:00
Roman Telezhynskyi
1d91df5216
Preparetions to be able to control moving actions: rotation and resizing.
...
--HG--
branch : feature
2017-02-27 14:30:02 +02:00
Roman Telezhynskyi
38740f7ef8
Fix incorrect saving grainline angle and length.
...
--HG--
branch : feature
2017-02-27 14:28:22 +02:00
Roman Telezhynskyi
93a59b9371
Use pin points to set size and angle.
...
--HG--
branch : feature
2017-02-27 12:01:38 +02:00
Roman Telezhynskyi
2be9110955
Override method shape() to improve selection of grainline.
...
--HG--
branch : feature
2017-02-27 11:59:08 +02:00
Roman Telezhynskyi
3b33eabc22
Clang warning.
...
--HG--
branch : develop
2017-02-26 15:52:00 +02:00
Roman Telezhynskyi
ae5650f1f0
Try to fix MSVC error.
...
--HG--
branch : develop
2017-02-26 12:25:14 +02:00
Roman Telezhynskyi
01612c4c7c
GCC warning.
...
--HG--
branch : develop
2017-02-26 12:17:58 +02:00
Roman Telezhynskyi
5dff5b36d0
Fixed issue #631 . Runtime Error when using elliptical arc and opening
...
Measurements Table of Variables or Formula Wizard.
--HG--
branch : develop
2017-02-26 09:00:40 +02:00
Roman Telezhynskyi
892e5f298f
Fix bug. Piece must increase reference count for each pin.
...
--HG--
branch : feature
2017-02-24 19:48:54 +02:00
Roman Telezhynskyi
02fde1464d
Fix infinite redrawing.
...
--HG--
branch : feature
2017-02-24 19:47:13 +02:00
Roman Telezhynskyi
449543f203
Show warning icon if only both requirements are false.
...
--HG--
branch : feature
2017-02-24 19:42:06 +02:00
Roman Telezhynskyi
1e525ed788
User should at least has valid pins or not null lengths of grainline.
...
--HG--
branch : feature
2017-02-24 17:23:02 +02:00
Roman Telezhynskyi
86cc0fa0b0
Fix typo.
...
--HG--
branch : feature
2017-02-24 17:21:43 +02:00
Roman Telezhynskyi
3a2752ef37
Move all grainline objects inside a group box.
...
--HG--
branch : feature
2017-02-24 17:21:17 +02:00
Roman Telezhynskyi
d9bf2d5d6c
Get window text color from dialog palette. Set Ok color only for Active state.
...
--HG--
branch : feature
2017-02-24 17:17:56 +02:00
Roman Telezhynskyi
edf2b2e74a
Fix typo.
...
--HG--
branch : feature
2017-02-24 16:37:11 +02:00
Roman Telezhynskyi
3ebbc53a01
Delete pin visualization when close Seam allowance dialog.
...
--HG--
branch : feature
2017-02-24 12:14:28 +02:00
Roman Telezhynskyi
757a5ec550
Fix typo.
...
--HG--
branch : feature
2017-02-24 12:11:00 +02:00
Roman Telezhynskyi
5f4760f06f
Read/write info about pin points.
...
--HG--
branch : feature
2017-02-23 16:49:20 +02:00
Roman Telezhynskyi
8721a4a5d8
Dialog Seam allowance tool now allow select pin points.
...
--HG--
branch : feature
2017-02-23 16:33:15 +02:00
Roman Telezhynskyi
67a12ef86c
Copy-on-write for class VPieceLabelData.
...
--HG--
branch : feature
2017-02-23 14:46:53 +02:00
Roman Telezhynskyi
2b1cd5c96c
Copy-on-write for class VPatternLabelData.
...
--HG--
branch : feature
2017-02-23 14:36:08 +02:00
Roman Telezhynskyi
f36a4d6621
Copy-on-write for class VGrainlineData.
...
--HG--
branch : feature
2017-02-23 14:04:49 +02:00
Roman Telezhynskyi
9714e8cb07
Copy-on-write for class VAbstractFloatItemData.
...
--HG--
branch : feature
2017-02-23 13:50:13 +02:00
Roman Telezhynskyi
c5c3c73429
Added pin point ids.
...
--HG--
branch : feature
2017-02-23 13:36:56 +02:00
Roman Telezhynskyi
3cfefbe698
Refactoring. New parent VAbstractFloatItemData.
...
--HG--
branch : feature
2017-02-23 13:26:12 +02:00
Roman Telezhynskyi
1710e3cdb7
Refactoring. Prepare folder structure for new hierarchy.
...
--HG--
branch : feature
2017-02-23 11:37:19 +02:00
Roman Telezhynskyi
a287913500
Refactoring. Rename class VGrainlineGeometry to VGrainlineData.
...
--HG--
branch : feature
2017-02-23 11:33:17 +02:00
Roman Telezhynskyi
4e3ee3eefd
Refactoring. Rename class VPatternInfoGeometry to VPatternLabelData.
...
--HG--
branch : feature
2017-02-23 11:26:25 +02:00
Roman Telezhynskyi
37efefe1ec
Refactoring. Rename class VPatternPieceData to VPieceLabelData.
...
--HG--
branch : feature
2017-02-23 11:19:27 +02:00
Roman Telezhynskyi
e7651c7194
Merge with develop.
...
--HG--
branch : feature
2017-02-23 09:29:28 +02:00
Roman Telezhynskyi
5a2604d2bd
"catch" a specific exception type.
...
--HG--
branch : develop
2017-02-22 19:49:17 +02:00
Roman Telezhynskyi
34b70cfb02
Add an explicit "return" statement with an expression.
...
--HG--
branch : develop
2017-02-22 19:40:50 +02:00
Roman Telezhynskyi
2c6f1d9f64
End a switch case with an unconditional break.
...
--HG--
branch : develop
2017-02-22 19:34:29 +02:00
Roman Telezhynskyi
703a26a5cf
Remove useless assignment to variable "date".
...
--HG--
branch : develop
2017-02-22 19:29:30 +02:00
Roman Telezhynskyi
67d69781f3
Remove the code after "return".
...
--HG--
branch : develop
2017-02-22 19:27:53 +02:00
Roman Telezhynskyi
3bf65edaa6
Merge with develop.
...
--HG--
branch : feature
2017-02-22 14:48:48 +02:00
Roman Telezhynskyi
a4fd71f68c
Refactoring. Merging identical cases.
...
--HG--
branch : develop
2017-02-22 14:15:16 +02:00
Roman Telezhynskyi
e3d6b32aec
Do not use "volatile" to sync threads.
...
--HG--
branch : develop
2017-02-22 14:04:47 +02:00
Roman Telezhynskyi
a0380f4d24
Warning. Initialize member in an initialization list.
...
--HG--
branch : develop
2017-02-22 12:22:04 +02:00
Roman Telezhynskyi
2921276cad
Sync libdxf code with last from QCAD project.
...
--HG--
branch : develop
2017-02-22 12:08:58 +02:00
Roman Telezhynskyi
146c936ccf
Clang warning.
...
--HG--
branch : develop
2017-02-22 08:11:13 +02:00
Roman Telezhynskyi
915276748c
Replace deprecated function qt_mac_set_dock_menu() by method
...
QMenu::setAsDockMenu().
--HG--
branch : develop
2017-02-22 08:09:33 +02:00
Roman Telezhynskyi
4ed5fd9329
QScopedPointer doesn't support deleting from outside.
...
--HG--
branch : develop
2017-02-22 08:02:28 +02:00
Roman Telezhynskyi
b31a8d4c6b
Extend max size to 72 cm.
...
Request from a user. See
http://forum.valentina-project.org/t/extension-of-standard-measurements/957
--HG--
branch : develop
2017-02-22 07:54:42 +02:00
Roman Telezhynskyi
d84fd78a38
Fixed bug. Operation tools did not obey tool selection type.
...
--HG--
branch : develop
2017-02-21 16:16:02 +02:00
Roman Telezhynskyi
38abf5c9a0
Removed redundant forward declaration.
...
--HG--
branch : develop
2017-02-18 11:22:59 +02:00
Roman Telezhynskyi
8f0f2399e2
Use QScopedPointer to prevent memory leaks.
...
--HG--
branch : develop
2017-02-18 10:43:06 +02:00
Roman Telezhynskyi
7b23e89237
Check pointer to prevent memory leak.
...
--HG--
branch : develop
2017-02-18 09:03:24 +02:00