Roman Telezhynskyi
fea2ec52fe
New section "Custom seam allowance".
...
--HG--
branch : feature
2016-11-28 10:47:36 +02:00
Roman Telezhynskyi
9c3a49e43f
Renamed DialogPiecePath::DisableShowMode to DialogPiecePath::EnbleShowMode.
...
--HG--
branch : feature
2016-11-28 10:45:57 +02:00
Roman Telezhynskyi
0d65f1f4d6
Fixed code style.
...
--HG--
branch : feature
2016-11-28 10:45:02 +02:00
Roman Telezhynskyi
7fa1c6f901
SavePieceOptions. Removed unused forward declaretions.
...
--HG--
branch : feature
2016-11-28 10:44:47 +02:00
Roman Telezhynskyi
ecdb53b7d0
Save VPiecePath name.
...
--HG--
branch : feature
2016-11-28 10:42:37 +02:00
Roman Telezhynskyi
109e23e40d
Refactor VToolSeamAllowance::InitTool. Enough to pass only tool id.
...
--HG--
branch : feature
2016-11-25 16:41:52 +02:00
Roman Telezhynskyi
20f8da230d
Increment custom seam allowance in tool seam allowance.
...
--HG--
branch : feature
2016-11-25 16:37:32 +02:00
Roman Telezhynskyi
8e9b01a93a
Decrement/increment custom seam allowance in tool seam allowance undocommands.
...
--HG--
branch : feature
2016-11-25 16:12:33 +02:00
Roman Telezhynskyi
cb95210d1e
Rename VPiece::Missing.
...
--HG--
branch : feature
2016-11-25 15:35:52 +02:00
Roman Telezhynskyi
6424a92559
Read/write custom seam allowance record.
...
--HG--
branch : feature
2016-11-25 14:19:44 +02:00
Roman Telezhynskyi
39b27e4b24
New class VToolPiecePath.
...
--HG--
branch : feature
2016-11-24 21:35:54 +02:00
Roman Telezhynskyi
0e78efc714
Move tag strings from VToolSeamAllowance class to VAbstractPattern class. The
...
same strings use also VToolPiecePath class.
--HG--
branch : feature
2016-11-24 21:35:07 +02:00
Roman Telezhynskyi
7f1bab1ac6
Fix typo.
...
--HG--
branch : feature
2016-11-24 21:31:27 +02:00
Roman Telezhynskyi
024f1373f6
Undocommand SavePieceOptions. Don't need anymore pointer to scene.
...
--HG--
branch : feature
2016-11-24 21:27:47 +02:00
Roman Telezhynskyi
422fb60dcc
Each path should know its type.
...
--HG--
branch : feature
2016-11-24 21:26:51 +02:00
Roman Telezhynskyi
8a5c4a1a37
Check if a path is valid. Should contains at least one object.
...
--HG--
branch : feature
2016-11-23 18:50:52 +02:00
Roman Telezhynskyi
1a73a1f870
Set clear button for field Name.
...
--HG--
branch : feature
2016-11-23 18:43:31 +02:00
Roman Telezhynskyi
524e98d372
Get active pattern piece list of pieces.
...
--HG--
branch : feature
2016-11-23 18:41:01 +02:00
Roman Telezhynskyi
965e588a9d
New piece attribute "united".
...
--HG--
branch : feature
2016-11-23 18:40:27 +02:00
Roman Telezhynskyi
34e5fd2ceb
Check size of pieces list in "Create mode".
...
--HG--
branch : feature
2016-11-23 18:36:37 +02:00
Roman Telezhynskyi
6793bb69f1
Some updates for dialog.
...
--HG--
branch : feature
2016-11-23 14:50:30 +02:00
Roman Telezhynskyi
bb39410296
Added visualization creating a path.
...
--HG--
branch : feature
2016-11-23 13:57:12 +02:00
Roman Telezhynskyi
5d5e677e2c
Added class VPiecePath.
...
--HG--
branch : feature
2016-11-23 12:54:46 +02:00
Roman Telezhynskyi
6b89f43e87
Tool button connected to tool dialog.
...
--HG--
branch : feature
2016-11-22 14:33:08 +02:00
Roman Telezhynskyi
f741e1387c
Added DialogPiecePath class. Not finished.
...
--HG--
branch : feature
2016-11-22 13:04:34 +02:00
Roman Telezhynskyi
cc3d97a015
Change order the angle "by first edge symmetry".
...
--HG--
branch : feature
2016-11-19 18:28:07 +02:00
Roman Telezhynskyi
c21aedc541
A seam allowance node angle. Read, write and set in the dialog. Not handled in
...
seam allowance itself.
--HG--
branch : feature
2016-11-19 13:44:12 +02:00
Roman Telezhynskyi
3d835a1a2a
Merge with develop
...
--HG--
branch : feature
2016-11-14 20:35:22 +02:00
Roman Telezhynskyi
fd02a71c14
Fix building with Qt 5.1.
...
--HG--
branch : develop
2016-11-14 19:41:12 +02:00
Roman Telezhynskyi
585bfec12f
Fix bug Tool seam allowance. The tool returned to previous position after
...
selecting Apply or Ok buttons in the tool's dialog.
--HG--
branch : feature
2016-11-12 15:41:15 +02:00
Roman Telezhynskyi
878fdb6156
Disable Group Nodes if the main list doesn't contain points.
...
--HG--
branch : feature
2016-11-12 14:05:47 +02:00
Roman Telezhynskyi
d0b0f55d19
Read and write local seam allowance width (before and after).
...
--HG--
branch : feature
2016-11-12 13:18:16 +02:00
Roman Telezhynskyi
6706f3b39d
Use QDoubleSpinBox setSuffix() method instead independent label.
...
--HG--
branch : feature
2016-11-12 12:45:53 +02:00
Roman Telezhynskyi
c5536ab38a
Control seam allowance before and after values in a dialog.
...
--HG--
branch : feature
2016-11-12 12:41:04 +02:00
Roman Telezhynskyi
49208a640d
Fix few bugs with apllying changes for seam allowance.
...
--HG--
branch : feature
2016-11-10 14:15:43 +02:00
Roman Telezhynskyi
f992bb7bbd
Returned visualization of base seam allowance.
...
--HG--
branch : feature
2016-11-10 14:06:09 +02:00
Roman Telezhynskyi
a5fc19d7ec
Returned storing and reading base seam allowance values: width and
...
enable/disable.
--HG--
branch : feature
2016-11-10 12:53:02 +02:00
Roman Telezhynskyi
df20415e9e
Returned "Forbid flipping" feature.
...
--HG--
branch : feature
2016-11-10 11:56:40 +02:00
Roman Telezhynskyi
0dbf26a109
Merge with develop
...
--HG--
branch : feature
2016-11-10 11:28:08 +02:00
Roman Telezhynskyi
2489f525f7
Added tab Seam allowance. Disabled if Apply button is not active.
...
--HG--
branch : feature
2016-11-10 11:27:59 +02:00
Roman Telezhynskyi
c4b9346021
Fixed issue #586 . Valentina crashes if clear input filter string.
...
--HG--
branch : develop
2016-11-10 11:15:52 +02:00
Roman Telezhynskyi
91d43c4b26
Added missed signal. Little refactoring. ref #581 .
...
--HG--
branch : develop
2016-11-10 08:53:44 +02:00
Roman Telezhynskyi
7e3ebe7ca2
Merged in rsskga/valentina-develop/feature (pull request #150 )
...
Resolved issue #581 . Filter lists by keyword in function wizard.
--HG--
branch : develop
2016-11-10 06:14:35 +00:00
Raina
88130f1084
Resolves #581 . User can now filter input lists by keyword in function wizard.
...
--HG--
branch : feature
2016-11-09 18:25:52 -08:00
Roman Telezhynskyi
1c0dced61d
Apply button now works.
...
--HG--
branch : feature
2016-11-09 16:27:55 +02:00
Roman Telezhynskyi
39d2ea41ac
Returned undocommand "Toggle piece in layout".
...
--HG--
branch : feature
2016-11-09 15:53:22 +02:00
Roman Telezhynskyi
988ce8f7f2
Returned undocommand "Save piece options".
...
--HG--
branch : feature
2016-11-09 14:11:58 +02:00
Roman Telezhynskyi
8601b2ae2a
Returned undocommand "Move piece".
...
--HG--
branch : feature
2016-11-09 13:06:05 +02:00
Roman Telezhynskyi
b88663dcb4
Returned undocommand "Delete piece".
...
--HG--
branch : feature
2016-11-09 11:57:39 +02:00
Roman Telezhynskyi
f593d4ca5b
Dialog seam allowance tool should show visualization only when user is creating
...
new piece.
--HG--
branch : feature
2016-11-08 19:11:47 +02:00
Roman Telezhynskyi
11e9b40cb1
Forgot to return a pointer.
...
--HG--
branch : feature
2016-11-08 17:52:56 +02:00
Roman Telezhynskyi
b5061038ba
Fix mistake. The next pattern format will be 0.4.0.
...
--HG--
branch : feature
2016-11-08 16:34:44 +02:00
Roman Telezhynskyi
4a41840ae7
New class VToolSeamAllowance.
...
--HG--
branch : feature
2016-11-08 12:57:01 +02:00
Roman Telezhynskyi
721b9b638b
Fixed VPiece class method name. CountNode -> CountNodes.
...
--HG--
branch : feature
2016-11-08 12:55:57 +02:00
Roman Telezhynskyi
2b75519d66
Undocommand "add piece".
...
--HG--
branch : feature
2016-11-08 12:54:33 +02:00
Roman Telezhynskyi
2ed35461b6
Forbid delete objects if user is creating a piece.
...
--HG--
branch : feature
2016-11-05 15:31:20 +02:00
Roman Telezhynskyi
bff5462ef3
Changes in dialog: reverse and internal move update the visualization
...
automatically.
--HG--
branch : feature
2016-11-05 15:27:19 +02:00
Roman Telezhynskyi
b7def444ef
Visialization. Highlight first and last point of main path.
...
--HG--
branch : feature
2016-11-05 14:08:26 +02:00
Roman Telezhynskyi
bf306f6101
The visualization connected to tool dialog.
...
--HG--
branch : feature
2016-11-05 12:49:20 +02:00
Roman Telezhynskyi
65a38141de
Added class VisToolPiece.
...
Show visualization creating piece main path.
--HG--
branch : feature
2016-11-05 10:56:44 +02:00
Roman Telezhynskyi
f8ee078ef7
When user creates new piece button Apply should be disabled.
...
--HG--
branch : feature
2016-11-04 19:36:36 +02:00
Roman Telezhynskyi
f40bf977c8
Enable internal move in the list. Helps user quickly make reorder.
...
--HG--
branch : feature
2016-11-04 17:34:15 +02:00
Roman Telezhynskyi
eb84ae7526
Added list context menu with options Delete and Reverse (except for point).
...
--HG--
branch : feature
2016-11-04 17:04:18 +02:00
Roman Telezhynskyi
e261d02f89
Check keyboard modificator and add object reversed if pressed Shift.
...
--HG--
branch : feature
2016-11-04 16:25:57 +02:00
Roman Telezhynskyi
1dd86e66fb
New dialog connected to tool button.
...
--HG--
branch : feature
2016-11-04 16:16:11 +02:00
Roman Telezhynskyi
a50df3a33c
GCC warnings.
...
--HG--
branch : develop
2016-11-03 15:09:48 +02:00
Roman Telezhynskyi
d134e8b367
Clang warnings.
...
--HG--
branch : develop
2016-11-01 10:42:32 +02:00
BojanKverh
96cfc52202
At least one arrow has to be present on a grainline
...
--HG--
branch : feature
2016-10-25 23:00:42 +02:00
BojanKverh
21cd56463c
User can now turn on/off grainline arrows
...
--HG--
branch : feature
2016-10-25 00:53:01 +02:00
Roman Telezhynskyi
0a7097f259
Fix MSVC warning.
...
--HG--
branch : develop
2016-10-24 12:57:27 +03:00
Roman Telezhynskyi
1aa896eff1
Merged in BojanKverh/valentina-issue331/feature (pull request #147 )
...
Grainline implementation. ref #331 .
--HG--
branch : develop
2016-10-23 20:05:50 +00:00
BojanKverh
5862264a1d
Fixed saving grainline formulas when grainline is set to not visible
...
--HG--
branch : feature
2016-10-23 21:24:16 +02:00
BojanKverh
e82f65fc6a
Fixed the grainline tab icon in details dialog
...
--HG--
branch : feature
2016-10-23 20:59:38 +02:00
Roman Telezhynskyi
7d935add5b
Fix building. Error about private members.
...
--HG--
branch : develop
2016-10-23 19:45:45 +03:00
Roman Telezhynskyi
c203986111
Fix support Qt 5.0.
...
--HG--
branch : develop
2016-10-23 19:38:34 +03:00
Bojan Kverh
01c068ddd0
Merged develop into feature
...
--HG--
branch : feature
2016-10-23 15:28:40 +02:00
Ronan Le Tiec
ae9da263ab
issue #570 tiled pdf case when margin smaller than min
...
--HG--
branch : feature
2016-10-23 11:11:00 +02:00
Ronan Le Tiec
8da35622d1
Merged develop into feature
...
--HG--
branch : feature
2016-10-22 10:42:27 +02:00
Roman Telezhynskyi
fdc1eac734
Refactoring DialogTool::GetComboBoxCurrentData. Returned wrong default value.
...
--HG--
branch : develop
2016-10-17 14:53:46 +03:00
Ronan Le Tiec
f91b3dc955
10 new colors added for the lines #577
...
--HG--
branch : feature
2016-10-16 19:23:40 +02:00
BojanKverh
8ab094c40d
Grainline should now be visible in Layout mode
...
--HG--
branch : feature
2016-10-16 15:00:53 +02:00
Bojan Kverh
e1a4eeb4e4
Merged develop into feature
...
--HG--
branch : feature
2016-10-15 11:50:17 +02:00
Roman Telezhynskyi
972c70e608
Selected detail is also selected in the list.
...
--HG--
branch : develop
2016-10-14 21:33:12 +03:00
Roman Telezhynskyi
d38e81cecb
Added new option "In layout" to context menu tool Detail.
...
--HG--
branch : develop
2016-10-14 20:41:37 +03:00
Roman Telezhynskyi
710558812a
Improved performans commands Select all/Select none in the list of details in
...
layout.
--HG--
branch : develop
2016-10-14 17:11:15 +03:00
BojanKverh
e192ff54ec
Finished interactive rotation of the grainline and fixed cursor in the Grainline tab of detail dialog
...
--HG--
branch : feature
2016-10-13 23:33:32 +02:00
Bojan Kverh
39afb81321
Merged develop into feature
...
--HG--
branch : feature
2016-10-13 19:53:49 +02:00
Roman Telezhynskyi
87209bc850
Fixed broken visuzlization for tool Move.
...
--HG--
branch : develop
2016-10-12 16:36:58 +03:00
Roman Telezhynskyi
0817264a84
New feature. Valentina will highlight a detail selected in the Group list.
...
--HG--
branch : develop
2016-10-12 14:43:08 +03:00
BojanKverh
fce2849208
Worked on grainline rotation
...
--HG--
branch : feature
2016-10-12 02:45:01 +02:00
BojanKverh
dc36337663
Implemented interactive resizing for grainline item
...
--HG--
branch : feature
2016-10-11 00:27:14 +02:00
BojanKverh
5562e46790
Fixed the Grainline tab in detail dialog and also length/rotation formulas checking
...
--HG--
branch : feature
2016-10-06 23:39:57 +02:00
Bojan Kverh
520995a90c
Merged develop into feature
...
--HG--
branch : feature
2016-10-06 20:39:55 +02:00
Roman Telezhynskyi
593bae3969
Fixed build on Windows.
...
--HG--
branch : develop
2016-10-06 19:12:25 +03:00
BojanKverh
b755762aec
Merged develop into feature
...
--HG--
branch : feature
2016-10-05 20:27:57 +02:00
Roman Telezhynskyi
f86bf9edd5
Lupdate.
...
--HG--
branch : develop
2016-10-05 16:21:33 +03:00
Roman Telezhynskyi
4a50f2e3c9
Fixed wrong include.
...
--HG--
branch : develop
2016-10-04 17:52:03 +03:00
Roman Telezhynskyi
121ef1323d
Fix building problem on Windows.
...
--HG--
branch : develop
2016-10-04 17:51:37 +03:00
Roman Telezhynskyi
4f516c60a6
For the tool Rotate was missed checking changing a point.
...
--HG--
branch : develop
2016-10-04 17:50:48 +03:00
Roman Telezhynskyi
abce5439a5
Resolved issue #573 . New tool: 'Move Point'.
...
--HG--
branch : develop
2016-10-04 17:34:37 +03:00
Roman Telezhynskyi
1eb93fd4f7
Fixed wrong selecting rule for the tool Line.
...
--HG--
branch : develop
2016-10-04 13:52:04 +03:00
BojanKverh
3bc3c4bec3
Fixed the grainline formulas editing
...
--HG--
branch : feature
2016-10-04 02:07:58 +02:00
BojanKverh
60462bc303
Fixed some code style and replaced some code with more appropriate one according to general recommendations
...
--HG--
branch : feature
2016-09-29 02:13:18 +02:00
BojanKverh
083b2035af
Hopefully this commit solves the #551 issue
...
--HG--
branch : feature
2016-09-29 01:39:50 +02:00
BojanKverh
85b8cb2bd7
Fixes compilation error due to unrecognized qIsNaN
...
--HG--
branch : feature
2016-09-27 22:09:49 +02:00
BojanKverh
744acbcd3b
Merged with develop
...
--HG--
branch : feature
2016-09-27 22:00:02 +02:00
Roman Telezhynskyi
fd8ab6123c
Fixed issue #565 . Bug : Some informations not saved in "Seam allowance tool" in
...
Draw Mode.
--HG--
branch : develop
2016-09-24 22:30:33 +03:00
Roman Telezhynskyi
3bb657ea1a
New internal variable "Length to spline control point".
...
--HG--
branch : develop
2016-09-24 20:44:06 +03:00
Roman Telezhynskyi
eee2144483
Fix crash. Each tool should delete visualization even if scene also can delete
...
it.
--HG--
branch : develop
2016-09-24 16:09:09 +03:00
BojanKverh
5f1d7a357a
Merged develop into feature, removing the conflicts
...
--HG--
branch : feature
2016-09-20 19:29:49 +02:00
Roman Telezhynskyi
d556508265
Mark tooltip strings for translation. Tools Rotation, Flipping by line and
...
Flipping by axis.
--HG--
branch : develop
2016-09-17 19:18:27 +03:00
Roman Telezhynskyi
255db32720
Improve tooltip for tools Rotation, Flipping by line and Flipping by axis.
...
The app will show updated tooltip message in case a user selected point that is
already a part of the list of operated objects.
--HG--
branch : develop
2016-09-17 19:16:15 +03:00
Roman Telezhynskyi
74bc4179ef
New tool Flipping by axis.
...
--HG--
branch : feature
2016-09-17 12:10:03 +03:00
Roman Telezhynskyi
91c614a2b8
Fix broken build.
...
--HG--
branch : feature
2016-09-16 11:03:51 +03:00
BojanKverh
de799569ef
Fixed moving and scaling grainline and ensured that it stays in bounds
...
--HG--
branch : feature
2016-09-14 01:15:01 +02:00
Roman Telezhynskyi
bfde34c882
Rename RotationMoveLabel class.
...
--HG--
branch : feature
2016-09-13 11:47:33 +03:00
Roman Telezhynskyi
9bb88afaa5
New tool Flipping by line.
...
--HG--
branch : feature
2016-09-13 11:27:44 +03:00
BojanKverh
8e0dc15e25
Moving the grainline works now, but still has a few issues
...
--HG--
branch : feature
2016-09-11 12:18:09 +02:00
BojanKverh
f341f51125
Grainline is visible on the detail now, rotation and length can be edited, but it cannot be moved yet
...
--HG--
branch : feature
2016-09-10 18:30:03 +02:00
BojanKverh
906dafebe8
Finished the grainline parameters editing in detail dialog
...
--HG--
branch : feature
2016-09-10 15:17:55 +02:00
BojanKverh
2dc19732a0
Prepated detail dialog for formula editing in case of grainline length and rotation
...
--HG--
branch : feature
2016-09-08 22:35:32 +02:00
BojanKverh
287f8fc41e
Added VGrainlineGeometry class to hold grainline parameters and methods to save, load and edit it
...
--HG--
branch : feature
2016-09-06 23:50:46 +02:00
Roman Telezhynskyi
b6e9a7bab3
Fixed issue #561 . UI compiler warning in dialogdetail.ui.
...
--HG--
branch : develop
2016-09-06 18:47:56 +03:00
Roman Telezhynskyi
0d35033275
Added global option "Forbid Flipping". ref #560 .
...
--HG--
branch : develop
2016-09-06 17:05:54 +03:00
Roman Telezhynskyi
038863fbdf
Resolved issue #560 . Flipped pattern pieces in Layout.
...
--HG--
branch : develop
2016-09-06 13:24:52 +03:00
Roman Telezhynskyi
8cf52dc674
Length to control point can be 0.
...
--HG--
branch : develop
2016-08-26 19:33:54 +03:00
Roman Telezhynskyi
c2b7ead2ce
Fixed wrong units in dialog DialogEditWrongFormula.
...
--HG--
branch : develop
2016-08-26 19:20:03 +03:00
Roman Telezhynskyi
c35f050b66
Improvements for the Dialog Detail. Added spliters, fields Letter and Name of
...
detail have placeholder text.
--HG--
branch : develop
2016-08-26 13:46:23 +03:00
Roman Telezhynskyi
23d9898154
Use QLocale::c() instead of QLocale(QLocale::C).
...
--HG--
branch : develop
2016-08-26 12:38:23 +03:00
Roman Telezhynskyi
89ce8afe77
Localize numeric keyboard's dot key according to locale and user preferences.
...
--HG--
branch : develop
2016-08-23 21:24:14 +03:00
Roman Telezhynskyi
73bcc89107
Fixed wrong compatibility with Qt 5.0.
...
--HG--
branch : develop
2016-08-22 12:16:12 +03:00
Roman Telezhynskyi
bf82dc3bb3
Make 1 minimal value of the field "Cut number".
...
--HG--
branch : develop
2016-08-22 11:47:21 +03:00
Roman Telezhynskyi
7dd88da82d
Merged in BojanKverh/valentina-issue24a/feature (pull request #138 )
...
Improvements for feature "New feature: Label on detail" ref #24 .
--HG--
branch : develop
2016-08-22 11:33:22 +03:00
Roman Telezhynskyi
bfff8ccb96
Changes for returning support Qt 5.0 and GCC 4.6.
...
--HG--
branch : develop
2016-08-21 18:57:08 +03:00
Bojan Kverh
08bfd9cd82
Merged develop into feature
...
--HG--
branch : feature
2016-08-21 11:51:49 +02:00
BojanKverh
b4ced822e0
Fixed material attribute writing to XML and removed commented out lines
...
--HG--
branch : feature
2016-08-21 11:48:51 +02:00
Roman Telezhynskyi
0563df117d
<QLoggingCategory> available since Qt 5.2. Use vmisc/logging.h instead.
...
--HG--
branch : develop
2016-08-21 11:54:32 +03:00
BojanKverh
ff6d3c7155
Fixed user defined materials
...
--HG--
branch : feature
2016-08-21 10:27:39 +02:00
Bojan Kverh
19c69c691a
Merged develop into feature
...
--HG--
branch : feature
2016-08-21 00:01:35 +02:00
Roman Telezhynskyi
948ae32dc5
Fixed regression with tool "Union details".
...
One file in collection contain unpredicted case. For fixing returned old code.
--HG--
branch : develop
2016-08-20 17:34:49 +03:00
Valentina Zhuravska
00649770e3
Little fixes.
...
--HG--
branch : feature
2016-08-17 23:13:54 +03:00
BojanKverh
1cfa97497c
Fixed translations after language change
...
--HG--
branch : feature
2016-08-17 21:38:39 +02:00
Bojan Kverh
10f2d83edd
Merged develop into feature
...
--HG--
branch : feature
2016-08-17 18:00:56 +02:00
Valentina Zhuravska
09a9ec2855
Resolved Issue #424 . Improve Formula Wizard dialog.
...
--HG--
branch : feature
2016-08-16 23:13:34 +03:00
Roman Telezhynskyi
e333c9bc08
QtDebug and QDebug lead to the same header. Leave only QtDebug.
...
--HG--
branch : develop
2016-08-16 20:35:21 +03:00
Roman Telezhynskyi
d66280033b
Fixed issue #546 . Compile error under Windows in current develop revision.
...
--HG--
branch : develop
2016-08-16 19:57:32 +03:00
Roman Telezhynskyi
3ef57202d1
Resolved issue #544 . Error: Color Lines are black until touched.
...
(grafted from f62bbdf4122fa02aa12d110d123b900b94c423d1)
--HG--
branch : develop
2016-08-16 18:23:20 +03:00
BojanKverh
92ec78e6b3
Made sure that labels stay inside the detail after changing size or height
...
--HG--
branch : feature
2016-08-15 17:19:21 +02:00
BojanKverh
fb326d4f39
Added %size% and %height% placeholders to display pattern size and height in the Pattern size line edit
...
--HG--
branch : feature
2016-08-15 13:03:59 +02:00
Bojan Kverh
37b683f125
Merged develop into feature
...
--HG--
branch : feature
2016-08-15 11:06:42 +02:00
Roman Telezhynskyi
da4bf27c75
New test localization (checking punctuation).
...
--HG--
branch : develop
2016-08-12 15:21:55 +03:00
BojanKverh
86f24bf0e5
User defined materials are now remembered and can also be deleted in preferences dialog
...
--HG--
branch : feature
2016-08-12 01:22:23 +02:00
BojanKverh
b0532e6fb9
Removed userDef attributes from DOM tree, where they are not necessary. Fixed some translations. Refactored finding the selected material in detail dialog
...
--HG--
branch : feature
2016-08-11 22:44:53 +02:00
Roman Telezhynskyi
0aabacfee4
String inside label also should be translated.
...
--HG--
branch : develop
2016-08-09 19:42:00 +03:00
Roman Telezhynskyi
7585db6a58
Fix build on Qt\5.3\msvc2013_64_opengl.
...
--HG--
branch : develop
2016-08-09 16:55:46 +03:00
Roman Telezhynskyi
9035382238
Cppcheck warnings.
...
--HG--
branch : develop
2016-08-09 14:18:49 +03:00
Roman Telezhynskyi
31fa9785b9
Fixed several mistakes in original strings.
...
--HG--
branch : develop
2016-08-09 13:50:37 +03:00
Roman Telezhynskyi
67360605b3
Fix broken tool Union details.
...
--HG--
branch : develop
2016-08-08 17:34:50 +03:00
Roman Telezhynskyi
eec896edd0
Fix errors. error: QPrinter: No such file or directory.
...
error: QMetaTypeId: No such file or directory.
--HG--
branch : develop
2016-08-08 15:26:48 +03:00
Roman Telezhynskyi
80f00b361d
Use "Include What You Use" tool for optimizing #includes.
...
--HG--
branch : develop
2016-08-08 14:44:49 +03:00
Roman Telezhynskyi
67b18fbbde
Fix problems with layouts in dialog tool Detail. Returned detail name by
...
default. Setted clear button for field Letter.
--HG--
branch : develop
2016-08-07 23:41:49 +03:00
Roman Telezhynskyi
da91ed974a
Merged in BojanKverh/valentina-issue24/feature (pull request #134 )
...
Fixed issue #24 . New feature: Label on detail.
--HG--
branch : develop
2016-08-07 18:08:39 +03:00
Roman Telezhynskyi
c9cdd2cd8d
Using macros QT_WARNING_DISABLE_*.
...
--HG--
branch : develop
2016-08-06 21:42:40 +03:00
Roman Telezhynskyi
1c987b919b
Use gcc’s Address Sanitizer only in Debug mode.
...
--HG--
branch : develop
2016-08-06 19:23:42 +03:00
Roman Telezhynskyi
69e0ff74e6
MSVC warnings.
...
--HG--
branch : develop
2016-08-06 15:59:30 +03:00
Roman Telezhynskyi
2af9c0e65a
Fixed issues with include paths.
...
--HG--
branch : develop
2016-08-05 13:48:23 +03:00
BojanKverh
f56614966b
Deleted unnecessary class member
...
--HG--
branch : feature
2016-08-03 00:44:22 +02:00
BojanKverh
192bd7e7d5
Deleted unnecessary include
...
--HG--
branch : feature
2016-08-03 00:39:02 +02:00
BojanKverh
a2ee1e24e6
Fixed cursor handling over the label
...
--HG--
branch : feature
2016-08-03 00:32:37 +02:00
BojanKverh
f2d5b00fd9
Detail bounding box is drawn when one of its items is in move, resize or rotate mode
...
--HG--
branch : feature
2016-08-02 22:51:40 +02:00
Roman Telezhynskyi
a2d18c15a4
Fix broken VTextGraphicsItem::paint.
...
--HG--
branch : develop
2016-08-02 21:16:15 +03:00
Roman Telezhynskyi
ffb6f1fbd5
cppcheck warnings.
...
--HG--
branch : develop
2016-08-02 15:12:13 +03:00
BojanKverh
a1c905381b
Fixed label update on clicking OK in pattern properties dialog and the label is hidden when there is no text on it
...
--HG--
branch : feature
2016-07-30 13:21:03 +02:00
Bojan Kverh
c5f38207fd
Merged develop into feature
...
--HG--
branch : feature
2016-07-29 21:47:49 +02:00
Roman Telezhynskyi
483e56866d
Added MSVC warnings.
...
--HG--
branch : develop
2016-07-29 21:04:53 +03:00
Roman Telezhynskyi
75e9e9b2ee
Fixed issues with include paths.
...
--HG--
branch : develop
2016-08-05 13:41:02 +03:00
Roman Telezhynskyi
7b7ef6c0e2
Fixed build.
...
--HG--
branch : develop
2016-07-26 16:51:38 +03:00
Valentina Zhuravska
1ae8509d63
Merge with develop.
...
--HG--
branch : feature
2016-07-26 15:32:55 +03:00
Valentina Zhuravska
f9c9cedfac
We don't need DialogTool::ShowVisToolTip slot anymore.
...
--HG--
branch : feature
2016-07-26 13:45:17 +03:00
BojanKverh
a625c35616
Added comments to most important new classes
...
--HG--
branch : feature
2016-07-23 15:26:15 +02:00
BojanKverh
455befa493
Removed printf commands, added Q_REQUIRED_RESULT macros, replaced v[i] with v.at(i) where needed, replaced 1,0 with true,false when creating boolean XML attributes
...
--HG--
branch : feature
2016-07-22 12:40:02 +02:00
BojanKverh
0e7b369c2e
Corrected all the issues reported by Roman till 10:11 AM
...
--HG--
branch : feature
2016-07-22 11:56:45 +02:00
BojanKverh
312b8e458b
Centered the label texts and did some refactoring, so that the label content is generated in one place
...
--HG--
branch : feature
2016-07-21 21:46:49 +02:00
BojanKverh
5ba40aad8c
Fixed alignments
...
--HG--
branch : feature
2016-07-21 16:49:26 +02:00
Bojan Kverh
4138d30fb6
Merged develop into feature
...
--HG--
branch : feature
2016-07-21 08:30:51 +02:00
Roman Telezhynskyi
9375e0319d
As part of testing make all compiler warnings treat as errors.
...
Added new CONFIG option "checkWarnings".
--HG--
branch : develop
2016-07-20 15:40:33 +03:00
Roman Telezhynskyi
1bffa92127
Using QLatin1String instead of QLatin1Literal.
...
QLatin1Literal is just a typedef of QLatin1String lefter for compatibility with
Qt 4.x.
--HG--
branch : develop
2016-07-20 11:39:15 +03:00
Bojan Kverh
608b566006
Merged develop into feature
...
--HG--
branch : feature
2016-07-19 23:00:37 +02:00
BojanKverh
948102e74e
Current date is always used to show the pattern creation date
...
--HG--
branch : feature
2016-07-19 22:59:14 +02:00
Roman Telezhynskyi
fc7e0bb6cb
Fixed Valentina crash after undo deleting detail.
...
Emitting signal in lambda was not really good idea.
--HG--
branch : develop
2016-07-19 20:50:42 +03:00
BojanKverh
04780b4323
Moved VTextManager class into the vlayout folder in order for tests to compile. It also belong to vlayout folder more than into vtools
...
--HG--
branch : feature
2016-07-19 14:23:20 +02:00
BojanKverh
1759d4314f
Labels with pattern info are now displayed in the Layout mode as well. Maybe needs a little bit of refactoring (the label styles and texts are now set up in two different places (VToolDetail and VLayoutDetail), I think this should be unified
...
--HG--
branch : feature
2016-07-19 13:47:21 +02:00
BojanKverh
9368978039
Added detail texts to layout mode
...
--HG--
branch : feature
2016-07-19 02:26:50 +02:00
BojanKverh
c9ee648cb8
Refactored the text managing in labels
...
--HG--
branch : feature
2016-07-18 22:30:14 +02:00
BojanKverh
9943fa7c8b
Merging
...
--HG--
branch : feature
2016-07-18 20:56:05 +02:00
Roman Telezhynskyi
18e0f6750a
Refactoring. Fixed wrong using method tr().
...
--HG--
branch : develop
2016-07-18 19:29:34 +03:00
Roman Telezhynskyi
47f12c80f8
Refactoring. Use lambda for small slots. Move slots declaration in appropriate
...
place.
--HG--
branch : develop
2016-07-18 18:09:15 +03:00
BojanKverh
25a58421cc
Added pattern size field and creation date visibility flag to pattern properties
...
--HG--
branch : feature
2016-07-16 01:12:51 +02:00
BojanKverh
ea9cdd46b2
Fixed some code style errors and checking label position at resizing
...
--HG--
branch : feature
2016-07-14 02:59:42 +02:00
BojanKverh
634d8773de
Labels now cannot go outside the detail bounding box with any operation (move, resize or rotate)
...
--HG--
branch : feature
2016-07-14 02:10:27 +02:00
Bojan Kverh
f7ebda3c6e
Merged develop into feature
...
--HG--
branch : feature
2016-07-13 23:11:49 +02:00
Valentina Zhuravska
d96c885e0d
We don't need toolTip after we finished creation of CubicBezierPath.
...
--HG--
branch : feature
2016-07-13 14:59:01 +03:00
Valentina Zhuravska
a362731040
Added ToolTip for editing SplinePath.
...
--HG--
branch : feature
2016-07-13 14:42:50 +03:00
Roman Telezhynskyi
e4d6df06b7
Refactoring. Instead of using proxy slots emit signals directly from lambda
...
expressions.
--HG--
branch : develop
2016-07-13 14:41:44 +03:00
Valentina Zhuravska
2cf2275365
Added ToolTip for editing simple curve.
...
--HG--
branch : feature
2016-07-13 14:05:37 +03:00
BojanKverh
7c2f4e54ba
Fixed cursor handling on vtextgraphicsitem
...
--HG--
branch : feature
2016-07-12 23:11:17 +02:00
Bojan Kverh
e93f2c117b
Merged develop into feature
...
--HG--
branch : feature
2016-07-12 22:09:47 +02:00
BojanKverh
e5f7c47828
Removed some compiler warnings and set the resize cursor when label is being resized
...
--HG--
branch : feature
2016-07-10 12:39:50 +02:00
BojanKverh
a557b99409
Material/Cut/Placement is not displayed on label if cut number is 0
...
--HG--
branch : feature
2016-07-10 11:32:37 +02:00
BojanKverh
d76cc0bd38
Corrected the label placement when moved on the detail edge
...
--HG--
branch : feature
2016-07-10 11:20:53 +02:00
Roman Telezhynskyi
f56f2a0209
Fixed issue #526 . Dialog Detail is not on top after selection second object on
...
Mac.
(grafted from acde5cf1164d8227d71e7ff41ce03b45cbe7c9dd)
--HG--
branch : develop
2016-07-09 13:57:37 +03:00
BojanKverh
6e1dce0cd7
Fixed moving labels and added warning icon to detail dialog when detail name is empty
...
--HG--
branch : feature
2016-07-08 00:46:33 +02:00
Bojan Kverh
5aa75f2aff
Merged develop into feature
...
--HG--
branch : feature
2016-07-07 20:47:16 +02:00
Roman Telezhynskyi
a2acb032a2
Use static assert to check if minimal version is high enough to delete code that
...
needed for backward compatibility.
--HG--
branch : develop
2016-07-07 18:04:26 +03:00
Roman Telezhynskyi
eec1240da0
Fixed resizing scene when move detail.
...
When first time create detail MoveDetail class gets wrong scene pointer and this
cause refreshing wrong scene.
--HG--
branch : develop
2016-07-07 15:38:55 +03:00
Roman Telezhynskyi
bd7f328a8a
Refactoring deleting visualization object.
...
Instead of searcing inside current graphics scene use QPointer class.
--HG--
branch : develop
2016-07-07 14:56:55 +03:00
Roman Telezhynskyi
628fdd4217
Call Lite Parse each time when add object inside of file.
...
--HG--
branch : develop
2016-07-07 14:55:01 +03:00
Roman Telezhynskyi
c0bae287be
Refactoring.
...
--HG--
branch : develop
2016-07-07 14:36:11 +03:00
Roman Telezhynskyi
ed0d4df88f
Fixed wrong color segment that connects label with point in Base point tool.
...
--HG--
branch : develop
2016-07-07 14:35:55 +03:00
BojanKverh
3a40927764
Fixed layout in detail dialog and painting of text item in rotate mode
...
--HG--
branch : feature
2016-07-06 22:15:32 +02:00
BojanKverh
192c4d33a7
Added possibility to hide both labels for each detail individually
...
--HG--
branch : feature
2016-07-06 21:56:52 +02:00
BojanKverh
aa1d1f8ce1
Label cannot be moved outside of parent bounding box. Moving cursor is on when moving label. Name of detail moved to Pattern Piece Data tab. Hopefully all warnings removed
...
--HG--
branch : feature
2016-07-06 20:49:36 +02:00
BojanKverh
cdd3e03e53
Merged develop into feature
...
--HG--
branch : feature
2016-07-06 17:58:17 +02:00
Roman Telezhynskyi
15e840f49a
Small refactoring VToolDetail class.
...
--HG--
branch : develop
2016-07-06 13:34:39 +03:00
Roman Telezhynskyi
0e24fae91c
Fixed issue #521 . Error: Can't create Seam Allowance after using Union Tool.
...
--HG--
branch : develop
2016-07-06 13:34:05 +03:00
BojanKverh
c58717a803
Merged
...
--HG--
branch : feature
2016-07-03 10:25:42 +02:00
BojanKverh
180e1ddc90
Merged
...
--HG--
branch : feature
2016-07-03 10:24:25 +02:00
BojanKverh
5e3daf416c
Fixed initial positioning of the labels
...
--HG--
branch : feature
2016-07-03 10:17:59 +02:00
Valentina Zhuravska
01f66d3c34
Resolved issue #461 . Improve feature: Add a keyboard shortcut for getting pure 45, 90, 135, 180, 225, 270, 315 and 0 degree angles for all tools.
...
--HG--
branch : feature
2016-07-03 07:50:14 +03:00
Roman Telezhynskyi
14afb2ce9b
Resolved issue #521 . Error: Can't create Seam Allowance after using Union Tool.
...
--HG--
branch : develop
2016-07-02 14:43:01 +03:00
BojanKverh
74a49662f6
Fixed rotation
...
--HG--
branch : feature
2016-07-02 11:15:41 +02:00
Roman Telezhynskyi
49258cac8c
Added additional checks to method DialogTool::SetAssociatedTool.
...
--HG--
branch : develop
2016-07-02 12:12:12 +03:00
BojanKverh
f52f97740d
Moved pattern info geometry into VDetail class
...
--HG--
branch : feature
2016-07-02 01:49:38 +02:00
Bojan Kverh
438cb466d7
Merged develop into feature
...
--HG--
branch : feature
2016-07-01 17:36:21 +02:00
Roman Telezhynskyi
b3f1b15c1e
Fixed Bisector tool bug. The tool created internal variable for wrong segment.
...
(grafted from 53b851e1c883bd92a7f9267a8fcefaa98735ecde)
--HG--
branch : develop
2016-07-01 15:49:15 +03:00
BojanKverh
6effc2b5cd
Rotation bugs fixed
...
--HG--
branch : feature
2016-07-01 01:45:16 +02:00
Bojan Kverh
9a64ddf6a3
Merged develop into feature
...
--HG--
branch : feature
2016-06-30 20:50:07 +02:00
Roman Telezhynskyi
800c1b4dc9
Little improvement for Unit tool. New detail will have offset from first detail.
...
--HG--
branch : develop
2016-06-30 19:53:16 +03:00
Roman Telezhynskyi
c89243a288
Resolved issue #520 . Improve Union tool. An option to select about original
...
pieces.
--HG--
branch : develop
2016-06-30 19:48:46 +03:00
BojanKverh
23a31b1fa9
Rotation of the labels. There are a couple of bugs still to fix
...
--HG--
branch : feature
2016-06-30 18:04:25 +02:00
Bojan Kverh
d5a3289ef7
Merged develop into feature
...
--HG--
branch : feature
2016-06-30 18:01:27 +02:00
Roman Telezhynskyi
046ef4975d
These strings should be translated.
...
--HG--
branch : develop
2016-06-30 18:34:20 +03:00
Roman Telezhynskyi
6bf31f2846
Resolved issue #483 . File lost.
...
Fixed crash after redo Unite tool. Caused by wrong position of modeling objects.
--HG--
branch : develop
2016-06-30 18:32:08 +03:00
Roman Telezhynskyi
8a8f63e88e
Resolved issue #519 . Error: Crash with Union tool.
...
--HG--
branch : develop
2016-06-30 16:02:59 +03:00
BojanKverh
0f90b61235
Fixed the vtextgraphicsitem mouse events bug
...
--HG--
branch : feature
2016-06-29 23:52:48 +02:00
BojanKverh
caa13f06ac
Corrected some warnings
...
--HG--
branch : feature
2016-06-29 23:39:52 +02:00
Bojan Kverh
83ec6e219a
Merged develop into feature
...
--HG--
branch : feature
2016-06-29 23:19:24 +02:00
Roman Telezhynskyi
79d63f49a6
GCC warnings.
...
--HG--
branch : develop
2016-06-28 09:36:12 +03:00
BojanKverh
2b7f056566
Fixed schema and undo bug
...
--HG--
branch : feature
2016-06-27 20:51:29 +02:00
BojanKverh
6577d82771
Added new schema to accomodate for new parameters and did some other minor changes. There is a bug with Undo on details label, will check that later
...
--HG--
branch : feature
2016-06-27 17:18:43 +02:00
Valentina Zhuravska
289bf05642
Fixed issue #516 . Valentina crashes when use "Point intersect line and axis" instrument.
...
--HG--
branch : feature
2016-06-27 15:09:32 +03:00
BojanKverh
80fcf30776
Moving, resizing and editing both labels now works
...
--HG--
branch : feature
2016-06-27 11:06:51 +02:00
BojanKverh
fa105537d2
Moving and resizing pattern info label (has few bugs still, probably just XML parsing)
...
--HG--
branch : feature
2016-06-27 01:17:27 +02:00
BojanKverh
28c4eddbd7
Merged
...
--HG--
branch : feature
2016-06-26 19:35:21 +02:00
BojanKverh
e68fa3a0f3
Fixed few bugs: label position is preserved after editing detail, buttons for add/update/remove MCP are handled correcty. Added style to VTextGraphicsItem lines
...
--HG--
branch : feature
2016-06-26 14:21:06 +02:00
Roman Telezhynskyi
1608599795
Added list "Details in layout".
...
--HG--
branch : feature
2016-06-26 14:36:12 +03:00
BojanKverh
21debaf249
Reimplemented QTextGraphicsItem class
...
--HG--
branch : feature
2016-06-25 17:19:44 +02:00
BojanKverh
33e1a12a67
Merged heads
...
--HG--
branch : feature
2016-06-24 18:05:31 +02:00
Bojan Kverh
3480f33922
Merged develop into feature
...
--HG--
branch : feature
2016-06-24 17:57:52 +02:00
BojanKverh
caa6b425b9
Tried QGraphicsTextItem::boundingBox approach
...
--HG--
branch : feature
2016-06-24 17:57:08 +02:00
BojanKverh
6fbffd2834
Position, size and font size of the text label are now saved into VDetail DOM tree. Undo/Redo for moving and resizing the label works.
...
--HG--
branch : feature
2016-06-23 22:35:32 +02:00
Roman Telezhynskyi
7eaadf1761
Resolved issue #480 . New tool: Midpoint between two points.
...
--HG--
branch : develop
2016-06-23 20:20:21 +03:00
BojanKverh
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