Roman Telezhynskyi
40662bb948
Fixed bug. After full parse undocommand Move labe losts connection to tool.
...
--HG--
branch : develop
2017-09-20 15:39:42 +03:00
Roman Telezhynskyi
f2b07a482c
GCC warning.
...
--HG--
branch : develop
2017-09-20 14:27:43 +03:00
Roman Telezhynskyi
17394e8259
Compiler warnings.
...
--HG--
branch : develop
2017-09-20 14:05:41 +03:00
Roman Telezhynskyi
c004f0fbad
Cppcheck warning.
...
--HG--
branch : develop
2017-09-20 13:28:06 +03:00
Roman Telezhynskyi
f7c75111ce
Added support for operation tools.
...
--HG--
branch : feature
2017-09-20 12:10:57 +03:00
Roman Telezhynskyi
af1e01c243
Hide Show label option for not point objects.
...
--HG--
branch : feature
2017-09-20 10:28:49 +03:00
Roman Telezhynskyi
7864ae9572
Added support for tool True Darts.
...
--HG--
branch : feature
2017-09-20 10:19:02 +03:00
Roman Telezhynskyi
795438c202
Merge with develop.
...
--HG--
branch : feature
2017-09-20 08:53:44 +03:00
Roman Telezhynskyi
bfe327ee13
If pattern linked to individual measurements it should get customer name from
...
it.
--HG--
branch : develop
2017-09-19 16:07:48 +03:00
Roman Telezhynskyi
e7db934fb5
Refactor tool clases to pass data in structure.
...
--HG--
branch : feature
2017-09-18 11:37:23 +03:00
Roman Telezhynskyi
b01adfa388
Saving to file works for simple point.
...
--HG--
branch : feature
2017-09-17 19:52:18 +03:00
Roman Telezhynskyi
2e8f113e3e
Tooltip for complex tools.
...
--HG--
branch : feature
2017-09-17 13:58:43 +03:00
Roman Telezhynskyi
6f160ebd9c
Improve tooltip. It should show object label.
...
--HG--
branch : feature
2017-09-17 10:24:34 +03:00
Roman Telezhynskyi
dbe1981eb5
Refactor to avoid hidding class member.
...
--HG--
branch : feature
2017-09-17 09:45:18 +03:00
Roman Telezhynskyi
fa74e32769
First working result.
...
Doesn't change file.
--HG--
branch : feature
2017-09-17 09:19:13 +03:00
Roman Telezhynskyi
f6923a92f4
Show option Show label.
...
--HG--
branch : feature
2017-09-16 17:25:14 +03:00
Roman Telezhynskyi
2864be7342
Refactoring to recognize child that called a contex menu.
...
--HG--
branch : feature
2017-09-15 17:32:23 +03:00
Roman Telezhynskyi
39aa43fe8f
SonarQube warnings.
...
--HG--
branch : develop
2017-09-13 11:52:41 +03:00
Roman Telezhynskyi
6689fc89d7
Fix Elliptical arc tool dialog.
...
--HG--
branch : develop
2017-09-13 07:07:15 +03:00
Roman Telezhynskyi
66914174d8
Fix tooltip of Elliptical arc tool.
...
--HG--
branch : develop
2017-09-13 07:03:18 +03:00
Roman Telezhynskyi
d820191e8a
User "home" folder now supports label templates.
...
--HG--
branch : develop
2017-09-12 11:50:23 +03:00
Roman Telezhynskyi
27f605dc65
Fixed issue #752 . Valentina produces corrupted file if unite two pieces.
...
(grafted from e0e2d27ac2a1f8f43879218a97924481ae674c77)
--HG--
branch : develop
2017-09-11 15:56:18 +03:00
Roman Telezhynskyi
fd2f977e44
Improve Formula Wizard. Added additional radio button to separate increments
...
and preview calculations. ref #731 .
--HG--
branch : develop
2017-09-02 15:25:53 +03:00
Roman Telezhynskyi
c33b178e3c
Template recognizes new placeholders.
...
--HG--
branch : feature
2017-08-30 09:32:39 +03:00
Roman Telezhynskyi
51f6176ede
Resolved issue #722 . Rename "Seam Allowance" tool to "Workpiece" tool.
...
--HG--
branch : develop
2017-08-27 11:15:57 +03:00
Roman Telezhynskyi
af6e41d8cc
Fix bug. Valentina doesn't update piece label.
...
--HG--
branch : develop
2017-08-23 15:26:48 +03:00
Roman Telezhynskyi
db8b4e0023
Resolved issue #750 . Info Box Beside Mouse.
...
--HG--
branch : develop
2017-08-23 14:50:48 +03:00
Roman Telezhynskyi
54dec078da
Clang warning.
...
--HG--
branch : develop
2017-08-21 21:12:24 +03:00
Roman Telezhynskyi
ae870b8b2e
Fix conflict of names.
...
--HG--
branch : develop
2017-08-21 17:10:55 +03:00
Roman Telezhynskyi
3d9e4e7555
Promote QLineEdit to VLineEdit.
...
--HG--
branch : develop
2017-08-21 15:41:42 +03:00
Roman Telezhynskyi
20f5cb3694
Read measurements size and height from individual measurements file to insert
...
data into label template.
The size measurement was added as synonym of bust_arc_f.
--HG--
branch : feature
2017-08-21 14:25:27 +03:00
Roman Telezhynskyi
acf429518d
Added more additional Piece label fields.
...
--HG--
branch : feature
2017-08-21 13:16:43 +03:00
Roman Telezhynskyi
6d06370f4f
Use user define date/time format.
...
--HG--
branch : feature
2017-08-19 19:37:14 +03:00
Roman Telezhynskyi
db6de640ce
Fix crash.
...
--HG--
branch : feature
2017-08-18 14:56:31 +03:00
Roman Telezhynskyi
f07fd426dd
Clearing old code.
...
--HG--
branch : feature
2017-08-18 14:22:31 +03:00
Roman Telezhynskyi
96df1db48e
Cleaning GUI.
...
--HG--
branch : feature
2017-08-18 09:25:57 +03:00
Roman Telezhynskyi
ae78373f88
Read/write piece label.
...
--HG--
branch : feature
2017-08-18 07:59:47 +03:00
Roman Telezhynskyi
c368a956b8
Fix bug. Changing pattern or measurements file name do not imidiatelly update
...
pattern label.
--HG--
branch : feature
2017-08-17 19:57:46 +03:00
Roman Telezhynskyi
09c67a099a
UI changes for piece label.
...
--HG--
branch : feature
2017-08-17 19:18:03 +03:00
Roman Telezhynskyi
6d967cddf8
Fix bug. Tags should contain only file base name.
...
--HG--
branch : feature
2017-08-17 16:04:52 +03:00
Roman Telezhynskyi
4d58e05f3e
New option Font size increment.
...
Add value to point size of base font.
--HG--
branch : feature
2017-08-15 18:10:15 +03:00
Roman Telezhynskyi
b212d04d11
Parse template and prepare pattern label.
...
--HG--
branch : feature
2017-08-15 15:22:33 +03:00
Roman Telezhynskyi
b9bd1b60e4
Method SetTemplate.
...
--HG--
branch : feature
2017-08-14 20:00:19 +03:00
Roman Telezhynskyi
d5c2b1b50d
GetTemplate after editing.
...
--HG--
branch : feature
2017-08-14 19:34:33 +03:00
Roman Telezhynskyi
0b3342fe3d
Translation from/to user text.
...
--HG--
branch : feature
2017-08-14 15:48:14 +03:00
Roman Telezhynskyi
89ed92e93f
Added more placeholders.
...
--HG--
branch : feature
2017-08-14 15:11:14 +03:00
Roman Telezhynskyi
4aa002f510
Added Preview tab.
...
--HG--
branch : feature
2017-08-12 13:19:13 +03:00
Roman Telezhynskyi
0c13d610eb
Еext in QLineEdit selected on edit start.
...
--HG--
branch : feature
2017-08-12 11:57:46 +03:00
Roman Telezhynskyi
d81be4f778
Added placeholders list.
...
--HG--
branch : feature
2017-08-12 11:40:58 +03:00
Roman Telezhynskyi
9202418d7c
Fix bug. Values "0" and "1" mean for us the same.
...
--HG--
branch : feature
2017-08-10 19:36:31 +03:00
Roman Telezhynskyi
c989cdf048
Added import the template.
...
--HG--
branch : feature
2017-08-10 19:32:05 +03:00
Roman Telezhynskyi
b4c0651de4
Added export the template.
...
--HG--
branch : feature
2017-08-10 17:14:39 +03:00
Roman Telezhynskyi
209a281cdc
New standard path for label templates.
...
--HG--
branch : feature
2017-08-10 14:51:17 +03:00
Roman Telezhynskyi
7f570106db
Finished basic functions.
...
--HG--
branch : feature
2017-08-10 14:47:56 +03:00
Roman Telezhynskyi
7b13020e4e
Button to call Label editor.
...
--HG--
branch : feature
2017-08-09 19:32:14 +03:00
Roman Telezhynskyi
80f6a5a7d1
Redesign. The Label editor should be in separate dialog window.
...
--HG--
branch : feature
2017-08-09 17:33:20 +03:00
Roman Telezhynskyi
6f5199c5d1
Performance optimization.
...
--HG--
branch : develop
2017-08-05 11:03:19 +03:00
Roman Telezhynskyi
3999ebd82e
Fixed bug in Tape. Each Window should has own size and height values.
...
--HG--
branch : develop
2017-08-04 20:29:43 +03:00
Roman Telezhynskyi
2be8bf2206
Fix bug. Set correct brush pattern for seam allowance.
...
--HG--
branch : develop
2017-08-03 15:59:16 +03:00
Roman Telezhynskyi
349a5cade0
Fixed issue #743 . Valentina doesn't update update pattern after adding item.
...
(grafted from 9488967913032bb6c97488a8540309db771e7728)
--HG--
branch : develop
2017-08-03 15:25:14 +03:00
Roman Telezhynskyi
7734b7a59d
Refactoring. Remove unused method.
...
--HG--
branch : develop
2017-08-02 14:11:03 +03:00
Roman Telezhynskyi
acc340bff1
Performance improvement. Speed up method VDomDocument::elementById.
...
--HG--
branch : develop
2017-08-02 14:10:10 +03:00
Roman Telezhynskyi
ca66c8ebe2
Improve performance. Calling method RefreshDataInFile() slows down parsing.
...
--HG--
branch : develop
2017-08-02 11:34:44 +03:00
Roman Telezhynskyi
0894f686ef
Improve working with mouse cursors. Instead of setting global value set cursor
...
for each item separately.
--HG--
branch : develop
2017-08-01 14:35:48 +03:00
Roman Telezhynskyi
145a0923cb
NodePoint also should show a context menu of piece.
...
--HG--
branch : develop
2017-08-01 13:04:47 +03:00
Roman Telezhynskyi
c822464064
Fix bug. Hiding a main path making impossible to move a piece.
...
--HG--
branch : develop
2017-08-01 12:59:31 +03:00
Roman Telezhynskyi
651d22e488
Fix regression. Heavy method boundingRect() slows down the Details mode.
...
--HG--
branch : develop
2017-08-01 12:57:19 +03:00
Roman Telezhynskyi
b0348cbe9f
Fixed issue #729 . Moved Bezier curves can't be rotated.
...
(grafted from f22c4df1ff3a5d20398f3d07ed02e0c2e1847a3b)
--HG--
branch : develop
2017-07-27 18:20:21 +03:00
Roman Telezhynskyi
d8c5fafbc3
Refactoring.
...
--HG--
branch : develop
2017-07-27 17:43:10 +03:00
Roman Telezhynskyi
f648860c69
Fixed issue #737 . Valentina produces corrupted file if unite two pieces with
...
pins.
(grafted from 0c048c920b8b495e756d87df63133187151e21e9)
--HG--
branch : develop
2017-07-26 13:56:19 +03:00
Roman Telezhynskyi
457c27dbda
Fix Valentina crash.
...
Valentina crashes after uniting two pieces.
--HG--
branch : develop
2017-07-26 11:54:06 +03:00
Roman Telezhynskyi
99de6f8e22
Fix wrong piece bounding rect if disable a main path.
...
--HG--
branch : develop
2017-07-25 16:33:50 +03:00
Roman Telezhynskyi
d09de4155b
Added new option for Internal path. ref #391 .
...
This option is nedded for AAMA to determine a cut contour.
--HG--
branch : develop
2017-07-20 17:38:56 +03:00
Roman Telezhynskyi
9475da34b8
Tool Seam allowance's bounding box should not include passmarks.
...
--HG--
branch : develop
2017-07-11 13:05:48 +03:00
Roman Telezhynskyi
d0cc8902f9
SonarQube warnings.
...
--HG--
branch : develop
2017-07-09 09:02:26 +03:00
Roman Telezhynskyi
1726b55339
GCC warnings.
...
--HG--
branch : develop
2017-07-05 19:35:34 +03:00
Roman Telezhynskyi
b6e0d97df0
Qmake. Fix masks to support 64 bit versions of compilers.
...
--HG--
branch : develop
2017-07-05 11:35:32 +03:00
Roman Telezhynskyi
d25979f054
Merged with feature.
...
--HG--
branch : develop
2017-07-04 19:53:05 +03:00
Roman Telezhynskyi
13d43d100d
Resolved issue #712 . Default seam allowance setting.
...
--HG--
branch : develop
2017-07-03 11:23:34 +03:00
Ronan Le Tiec
14b0eade7a
currentIndex of tabpaths.ui changed by mistake
...
--HG--
branch : develop
2017-07-02 13:46:38 +02:00
Ronan Le Tiec
f080b88cf7
issue #712 new default allowance setting taken into account in seam allowance tool dialog. StrToUnits and UnitsToStr moved from VDomDocument to def
...
--HG--
branch : develop
2017-07-02 13:34:36 +02:00
Roman Telezhynskyi
72ea1997fb
Fixed issue #715 . Build fails with Qt 5.9.1 / clang / macOS.
...
(grafted from d78ca13c4891ccf3542b0704a7d66af0f9b02938)
--HG--
branch : develop
2017-07-01 21:38:26 +03:00
Roman Telezhynskyi
53502e3dd9
Refactoring. Remove code dependency.
...
--HG--
branch : feature
2017-07-01 14:43:16 +03:00
Roman Telezhynskyi
275338da4b
Allow user to setup font family for piece labels.
...
--HG--
branch : feature
2017-07-01 14:41:46 +03:00
Roman Telezhynskyi
a1f4207621
Scale curve direction arrows.
...
--HG--
branch : develop
2017-06-23 14:18:31 +03:00
Roman Telezhynskyi
8d0b2c0af9
Fix a crash.
...
Valentina crahed if create a curve.
--HG--
branch : develop
2017-06-23 12:25:02 +03:00
Roman Telezhynskyi
8e0a7250df
Added new feature Zoom Fit Best Current pattern piece.
...
--HG--
branch : develop
2017-06-16 21:14:33 +03:00
Roman Telezhynskyi
61dcc52965
Remember Formula Wizard dialog size.
...
--HG--
branch : develop
2017-06-16 17:05:35 +03:00
Roman Telezhynskyi
46d845f7e1
Improve the Formula Wizard dialog. Set a pointing hand cursor for variables
...
table.
--HG--
branch : develop
2017-06-16 15:11:25 +03:00
Roman Telezhynskyi
b0f867499c
Resolved issue #244 . New feature: Adjust line and point thickness and label
...
size.
--HG--
branch : develop
2017-06-16 14:53:08 +03:00
Roman Telezhynskyi
5c4f45397d
Fix build on Mac OS X.
...
--HG--
branch : develop
2017-06-05 20:58:38 +03:00
Roman Telezhynskyi
4461caaf0f
Fixed issue #698 . Problem typing in new axis point for new piece.
...
(grafted from 8ad30021d46f5ddcd479b7ec1a9279a5185a2578)
--HG--
branch : develop
2017-06-02 09:23:29 +03:00
Roman Telezhynskyi
cc5641a15c
Added gcc’s 4.9.0 Undefined Behavior Sanitizer (ubsan).
...
--HG--
branch : develop
2017-06-01 10:14:17 +03:00
Roman Telezhynskyi
37a28a4629
Fixed issue #697 . Incomplete Internal Path for Waist Dart.
...
(grafted from 1f17c5a2e540f1b1c27dab709bae1570fb170ed9)
--HG--
branch : develop
2017-05-31 10:55:39 +03:00
Roman Telezhynskyi
7e064f80c5
Thrown away code for support Qt < 5.2.
...
--HG--
branch : develop
2017-05-30 19:52:38 +03:00
Roman Telezhynskyi
2921dbf2a3
Move dialog Piece path.
...
--HG--
branch : develop
2017-05-30 11:56:16 +03:00
Roman Telezhynskyi
fb64c8d2e8
Remeber size of tool Seam allowance dialog between sessions. ref #683 .
...
--HG--
branch : develop
2017-05-30 11:47:27 +03:00
Roman Telezhynskyi
2efec7a1ed
Added tooltip for tab Passmark.
...
Explained meaning of check box "Show the second passmark on seam line".
(grafted from d144cddaa4decf56cc5ff85748251b918ae407b9)
--HG--
branch : develop
2017-05-26 19:49:06 +03:00
Roman Telezhynskyi
6e1eabaf29
Tab Pins moved to be second in the list after tab Paths.
...
(grafted from 6dade874f3c6417db907d0c00760006aba4bd702)
--HG--
branch : develop
2017-05-26 19:39:42 +03:00
Roman Telezhynskyi
f9060f1bb7
Fixed bug in dialog Internal Piece Path.
...
Value from the field After rewrited data in the field Before.
(grafted from bf1336d102f09e2efef6afe4db87a0692df44b86)
--HG--
branch : develop
2017-05-26 19:27:11 +03:00
Roman Telezhynskyi
3a782f8fa7
Fixed issue #689 . Grainline default values swapped around.
...
(grafted from 7730e53eed5099c5cdd5d0eb5abf2550b83b7805)
--HG--
branch : develop
2017-05-21 20:54:35 +03:00
Roman Telezhynskyi
c7ad55274f
Read default value of option Hide main path from settings. ref #684 .
...
--HG--
branch : develop
2017-05-16 16:22:12 +03:00
Roman Telezhynskyi
56dd8ef3b6
Resolved issue #684 . Proposal: Add option to only show outer edges on detail.
...
--HG--
branch : develop
2017-05-16 15:16:50 +03:00
Roman Telezhynskyi
13a93ef5df
Fix internal path support of pen style.
...
--HG--
branch : develop
2017-05-16 13:47:36 +03:00
Roman Telezhynskyi
32a16890a7
Resolved issue #681 . Enhance feature: Dashed line options for curves, arcs, etc.
...
--HG--
branch : develop
2017-05-16 13:07:53 +03:00
Roman Telezhynskyi
037fe89e27
Resolved issue #683 . Tool Seam allowance's dialog is off screen on small
...
resolutions.
--HG--
branch : develop
2017-05-13 11:55:02 +03:00
Roman Telezhynskyi
f2f1a681ef
Pins should be on top.
...
--HG--
branch : release
2017-04-27 16:53:18 +03:00
Roman Telezhynskyi
f990a5726c
Refactoring. Join similar parts from methods that update labels. ref #672 .
...
Issue #672 that this part better to refactor to eliminate more issues in future.
--HG--
branch : release
2017-04-27 14:30:20 +03:00
Roman Telezhynskyi
795373e74e
Fixed issue #672 . Labels are turning oposite directions.
...
--HG--
branch : release
2017-04-27 13:32:52 +03:00
Roman Telezhynskyi
c9e005c65b
Small improvements for passmark.
...
Added new option that allow localy disable the second passmark on the seam line.
--HG--
branch : release
2017-04-26 11:22:42 +03:00
Roman Telezhynskyi
39a1c50022
Fix bug. Labels created tools from Operation section should be not movable when
...
use a tool.
--HG--
branch : release
2017-04-26 08:19:39 +03:00
Roman Telezhynskyi
dce880e270
Minor fixes for dialog Piece path.
...
--HG--
branch : release
2017-04-25 13:55:35 +03:00
Roman Telezhynskyi
7840bf04eb
Resolved issue #668 . Passmarks on Hems.
...
--HG--
branch : release
2017-04-25 11:42:08 +03:00
Roman Telezhynskyi
85aca86c85
Fix current index for tab Main path.
...
--HG--
branch : release
2017-04-24 16:01:50 +03:00
Roman Telezhynskyi
7734c0564b
Localization improvements.
...
--HG--
branch : release
2017-04-21 17:28:25 +03:00
Roman Telezhynskyi
b4106f8e5a
Improved tip in the Piece path dialog.
...
--HG--
branch : release
2017-04-20 15:00:37 +03:00
Roman Telezhynskyi
a0262e260b
Coverity scan warnings.
...
--HG--
branch : release
2017-04-19 12:48:13 +03:00
Roman Telezhynskyi
124fd657e3
Suppress scene item context menu if a tool was activated.
...
A context menu is allowed only if the Arrow tool is active.
--HG--
branch : release
2017-04-18 11:06:17 +03:00
Roman Telezhynskyi
865af1540b
SonarQube warning.
...
--HG--
branch : release
2017-04-15 18:19:16 +03:00
Roman Telezhynskyi
30a35e723a
Removed unused function.
...
--HG--
branch : release
2017-04-15 18:19:00 +03:00
Roman Telezhynskyi
b433d9cfc4
Clang warning.
...
--HG--
branch : release
2017-04-15 18:11:19 +03:00
Roman Telezhynskyi
c5957846b6
Refactoring. New parent class VInteractiveTool.
...
Helps to share info about tool dialog.
--HG--
branch : release
2017-04-15 17:39:59 +03:00
Roman Telezhynskyi
e8917bd10d
Fixed issue #662 . Valentina closes when creating details on 64 bit systems.
...
--HG--
branch : release
2017-04-15 13:25:07 +03:00
Roman Telezhynskyi
495397621d
Fix warning "Review the data-flow - This condition might always evaluate to
...
"true"."
--HG--
branch : release
2017-04-14 17:20:29 +03:00
Roman Telezhynskyi
0ddc935d9a
Force a user to choose a piece before inseting into.
...
Should help prevent mistakes.
--HG--
branch : release
2017-04-14 13:52:59 +03:00
Roman Telezhynskyi
78bdd5a8af
Improve tooltip for case when a user get infinite or NaN result.
...
--HG--
branch : release
2017-04-13 17:16:53 +03:00
Roman Telezhynskyi
fdd3e9a70c
Fix a crash.
...
If call a visualization and then close the window Valentina will crash.
--HG--
branch : release
2017-04-11 15:02:52 +03:00
Roman Telezhynskyi
b63922fa9e
Show for user translated curve name in tool dialog and the property browser.
...
--HG--
branch : release
2017-04-11 13:42:42 +03:00
Roman Telezhynskyi
2ef3c7bcb0
Forgot to update passmark options for piece path dialog.
...
--HG--
branch : release
2017-04-10 11:31:16 +03:00
Roman Telezhynskyi
d355b4dce8
Cppcheck warnings.
...
--HG--
branch : develop
2017-04-06 15:50:15 +03:00
Roman Telezhynskyi
321b22faba
Show in the main path marks for T and V passmarks.
...
--HG--
branch : develop
2017-04-05 13:42:59 +03:00
Roman Telezhynskyi
c0f36dffbe
Resolved issue #652 . Show passmarks for builtin seam allowance.
...
--HG--
branch : develop
2017-04-05 13:22:33 +03:00
Roman Telezhynskyi
1ecbfaa873
Connect pins to detail item to correctly translate coordinates.
...
--HG--
branch : develop
2017-04-04 09:00:34 +03:00
Roman Telezhynskyi
862b5823e7
Fixed issue #647 . Shoulder tool broken in latest test builds.
...
--HG--
branch : develop
2017-04-03 13:50:05 +03:00
Roman Telezhynskyi
e2383eb500
Refactoring. Use "=default" instead of the default implementation.
...
--HG--
branch : develop
2017-04-01 17:27:55 +03:00
Roman Telezhynskyi
9433a6b358
Refactoring. Remove unused private functions.
...
--HG--
branch : develop
2017-04-01 15:27:24 +03:00
Roman Telezhynskyi
660406ab35
Refactoring. Improve access to static member.
...
--HG--
branch : develop
2017-03-31 17:25:14 +03:00
Roman Telezhynskyi
b316133dad
Remove unused members.
...
--HG--
branch : develop
2017-03-31 17:21:18 +03:00
Roman Telezhynskyi
f9aa896477
Refactoring. Avoid implicit conversions.
...
--HG--
branch : develop
2017-03-31 17:04:11 +03:00
Roman Telezhynskyi
b506b1d177
Refactoring. "Remove" call to the overridable "CheckState" method.
...
--HG--
branch : develop
2017-03-31 11:54:05 +03:00
Roman Telezhynskyi
482cc9c76e
Forgot to init passmarks list on start.
...
--HG--
branch : develop
2017-03-30 14:12:23 +03:00
Roman Telezhynskyi
11a7bf89b4
Piece path now works with passmarks.
...
--HG--
branch : feature
2017-03-29 14:18:33 +03:00
Roman Telezhynskyi
33da692248
Added special check for tools those use free click.
...
When a user click on point the app show line between selected point and a mouse
cursor. This usefull when need to select an angle or length. But because
selection of a point also emit release event this particular event should be
ignored. In case of release inside of point circle all worked good, but not if
select point by label.
--HG--
branch : feature
2017-03-29 13:09:49 +03:00
Roman Telezhynskyi
ebda4292a8
Merge with develop.
...
--HG--
branch : feature
2017-03-28 13:33:31 +03:00
Roman Telezhynskyi
b9bebcaeb4
Show passmarks in the main path.
...
--HG--
branch : feature
2017-03-28 13:09:00 +03:00
Roman Telezhynskyi
c20f94e5f0
Optimize searching special shoulder point.
...
--HG--
branch : develop
2017-03-27 10:30:31 +03:00
Roman Telezhynskyi
6ac1a1247c
Read/write passmark information.
...
--HG--
branch : feature
2017-03-24 14:48:07 +02:00
Roman Telezhynskyi
81b88db5cc
Dialog Seam allowance tool now supports passmarks.
...
--HG--
branch : feature
2017-03-24 13:08:16 +02:00
Roman Telezhynskyi
ad23a75d7a
Check if all points in a path are unique.
...
Because in some valid cases the same geometric point can be included in a path
several times we must force user to create unique point for each case. This
happens because we determine each point by point id.
--HG--
branch : feature
2017-03-23 19:36:50 +02:00
Roman Telezhynskyi
d696af9a33
"static" members should be accessed statically.
...
--HG--
branch : develop
2017-03-23 10:25:46 +02:00
Roman Telezhynskyi
5ca119bb5b
Spline Path lost data about duplicate.
...
--HG--
branch : develop
2017-03-22 17:04:32 +02:00
Roman Telezhynskyi
08bf90bf48
Trying to prevent a crash.
...
--HG--
branch : develop
2017-03-22 17:03:20 +02:00
Roman Telezhynskyi
573e20f12d
Clang warning.
...
--HG--
branch : develop
2017-03-22 15:29:50 +02:00
Roman Telezhynskyi
e995f6f68a
Added new tool Insert node.
...
--HG--
branch : feature
2017-03-22 12:05:53 +02:00
Roman Telezhynskyi
20ccbaae01
Create modeling items before insert new node.
...
--HG--
branch : feature
2017-03-21 18:00:31 +02:00
Roman Telezhynskyi
7fe86bc319
Successful build.
...
--HG--
branch : feature
2017-03-21 17:18:48 +02:00
Roman Telezhynskyi
fa1ab37ca2
Fix dialogs window title.
...
--HG--
branch : feature
2017-03-21 15:42:37 +02:00
Roman Telezhynskyi
96255ef093
Dialog Insert node tool.
...
--HG--
branch : feature
2017-03-21 15:39:14 +02:00
Roman Telezhynskyi
ea5010d8f7
Resolved request "Tool Options should show information about parent objects".
...
--HG--
branch : develop
2017-03-19 17:13:02 +02:00
Roman Telezhynskyi
814c2307ee
Refactoring. Minor changes.
...
--HG--
branch : develop
2017-03-18 14:06:40 +02:00
Roman Telezhynskyi
6a3eff4c0b
Resolved issue #641 . Seam Allowance Tools tab texts truncated in MAC.
...
--HG--
branch : feature
2017-03-17 16:38:18 +02:00
Roman Telezhynskyi
abd10d8f56
Move Seam Allowance tool's dialog.
...
--HG--
branch : feature
2017-03-16 14:49:40 +02:00
Roman Telezhynskyi
74ee767a31
Fix bug with warning icon.
...
--HG--
branch : feature
2017-03-14 12:39:03 +02:00
Roman Telezhynskyi
88b56f5453
Fix bug with resizing free grainline.
...
--HG--
branch : feature
2017-03-14 12:24:59 +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
6802c6f154
Write/read label center pin point.
...
--HG--
branch : feature
2017-03-13 16:10:25 +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
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
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
fb402f84b7
Dialog get/set grainline center pin point.
...
--HG--
branch : feature
2017-03-09 13:10:46 +02:00
Roman Telezhynskyi
714a180b31
Improve memory allocation.
...
--HG--
branch : develop
2017-03-02 13:14:19 +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
5fbdb4f7f0
Block actions with grainline depend on restrictions.
...
--HG--
branch : feature
2017-02-27 22:06:48 +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
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
f36a4d6621
Copy-on-write for class VGrainlineData.
...
--HG--
branch : feature
2017-02-23 14:04:49 +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
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
a0380f4d24
Warning. Initialize member in an initialization list.
...
--HG--
branch : develop
2017-02-22 12:22:04 +02:00
Roman Telezhynskyi
146c936ccf
Clang warning.
...
--HG--
branch : develop
2017-02-22 08:11:13 +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
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
ca9bdbd3fb
QSharedPointer doesn't support deleting object from outside.
...
--HG--
branch : feature
2017-02-15 16:43:12 +02:00
Roman Telezhynskyi
18bbca7b9a
Cppcheck warning.
...
--HG--
branch : feature
2017-02-15 16:07:52 +02:00
Roman Telezhynskyi
ff2d9c28fe
Init all pin comboboxes.
...
--HG--
branch : feature
2017-02-15 15:32:48 +02:00
Roman Telezhynskyi
a3d27bf9db
Refacoring. Use marcos for getting current combobox data.
...
--HG--
branch : feature
2017-02-15 15:23:04 +02:00
Roman Telezhynskyi
6597f68dad
Show all pins when tab Pins is active.
...
--HG--
branch : feature
2017-02-14 17:33:30 +02:00
Roman Telezhynskyi
79a1caa4d7
Translate path node names.
...
--HG--
branch : feature
2017-02-14 15:12:37 +02:00
Roman Telezhynskyi
fc86069f7c
Dialog Seam allowance tool. Show pins in a list.
...
--HG--
branch : feature
2017-02-14 15:11:54 +02:00
Roman Telezhynskyi
71ac49a221
Merge with develop.
...
--HG--
branch : feature
2017-02-13 15:29:37 +02:00
Roman Telezhynskyi
a8bd44b63a
Refactoring. Method VDrawTool::AddRecord has sense to call only when do
...
Document::FullParse.
--HG--
branch : develop
2017-02-13 08:55:42 +02:00
Roman Telezhynskyi
8814c07d14
Fixed bug. Grainline's formulas were not converted to internal look.
...
--HG--
branch : develop
2017-02-13 08:30:34 +02:00
Roman Telezhynskyi
16871a0466
Fix bug with Default button.
...
--HG--
branch : develop
2017-02-12 15:42:21 +02:00
Roman Telezhynskyi
6fd45d9e2c
Path should also supports elliptical arc.
...
--HG--
branch : develop
2017-02-10 16:47:15 +02:00
Roman Telezhynskyi
ddd2e3054f
Fixed issue #625 . Seam allowance tool does not take decimals with locale
...
de_DE.utf8.
--HG--
branch : develop
2017-02-10 15:02:03 +02:00
Roman Telezhynskyi
5edc241426
Fix corruption a pattern after using Union Details tool.
...
--HG--
branch : develop
2017-02-08 11:06:17 +02:00
Roman Telezhynskyi
a1774149f6
Fixed issue #622 . Piece lost custom seam allowance data.
...
--HG--
branch : develop
2017-02-08 10:28:18 +02:00
Roman Telezhynskyi
8a19d8a0b1
Fix bug with "internal variable" in localized form.
...
Some tools have internal variables, if click button Apply a dialog lost
information about such a variable.
--HG--
branch : develop
2017-02-06 13:38:47 +02:00
Roman Telezhynskyi
29c61b9778
Fix minore bugs in Seam allowance tool.
...
--HG--
branch : develop
2017-02-04 20:30:32 +02:00
Roman Telezhynskyi
8549e55fec
Union Details tool now supports pin points.
...
--HG--
branch : feature
2017-02-01 13:31:14 +02:00
Roman Telezhynskyi
4831d263b9
Union Details tool. Small improvements and bug fixes.
...
--HG--
branch : develop
2017-02-01 13:27:38 +02:00
Roman Telezhynskyi
3f8dc54acb
Union Details tool. Small improvements and bug fixes.
...
--HG--
branch : feature
2017-02-01 13:27:38 +02:00
Roman Telezhynskyi
415e5a25a5
Merge with develop.
...
--HG--
branch : feature
2017-02-01 12:26:08 +02:00
Roman Telezhynskyi
b5d50288a8
Union Details tool brokes a pattern.
...
--HG--
branch : develop
2017-02-01 12:22:36 +02:00
Roman Telezhynskyi
ad403850bc
Save pin inside a piece.
...
--HG--
branch : feature
2017-01-31 18:09:18 +02:00
Roman Telezhynskyi
a58a479db5
Refactor VPiece class. Instead of method AppendInternalPath() use overloaded
...
getter.
--HG--
branch : feature
2017-01-31 16:26:28 +02:00
Roman Telezhynskyi
f2e88c71da
Added class VToolPin.
...
--HG--
branch : feature
2017-01-31 16:04:51 +02:00
Roman Telezhynskyi
b9d635dab2
Dialog Pin tool.
...
--HG--
branch : feature
2017-01-31 14:28:48 +02:00
Roman Telezhynskyi
dcc36a253a
Refactoring and bug fix in dialog Piece path.
...
--HG--
branch : develop
2017-01-31 14:28:05 +02:00
Roman Telezhynskyi
637eaa4256
Refactoring and bug fix in dialog Piece path.
...
--HG--
branch : feature
2017-01-31 14:28:05 +02:00
Roman Telezhynskyi
dc3c9511ed
QPlainTextEdit widget crash a dialog if do not disable signal when closing a
...
dialog.
--HG--
branch : develop
2017-01-31 14:27:13 +02:00
Roman Telezhynskyi
21e034ef71
QPlainTextEdit widget crash a dialog if do not disable signal when closing a
...
dialog.
--HG--
branch : feature
2017-01-31 14:27:13 +02:00
Roman Telezhynskyi
d6c68a4df8
MSVC warning.
...
--HG--
branch : develop
2017-01-27 17:41:08 +02:00
Roman Telezhynskyi
01a04fdb09
Clang warning.
...
--HG--
branch : develop
2017-01-27 14:07:12 +02:00
Roman Telezhynskyi
c49f97d695
MSVC warning.
...
--HG--
branch : develop
2017-01-27 11:15:24 +02:00
Roman Telezhynskyi
ede59d003f
Update formula value if node was changed.
...
--HG--
branch : feature
2017-01-25 14:42:51 +02:00
Roman Telezhynskyi
19400f5b83
A seam allowance value can be 0.
...
--HG--
branch : feature
2017-01-25 14:20:25 +02:00
Roman Telezhynskyi
75efd4021b
All united details should have appropriate flag setted up.
...
--HG--
branch : feature
2017-01-22 15:21:08 +02:00