Commit Graph

237 Commits

Author SHA1 Message Date
dismine
7673deade8 Fix bug with calculator and tools visualization.
--HG--
branch : develop
2014-09-20 18:00:29 +03:00
dismine
2766628037 Clang warnings.
--HG--
branch : develop
2014-09-11 19:52:02 +03:00
dismine
1d4f0a6a55 Vera++.
--HG--
branch : develop
2014-09-10 20:57:08 +03:00
dismine
fc92e0b4a4 Set (restore) cursor only if not active (active).
--HG--
branch : develop
2014-09-08 14:02:14 +03:00
dismine
ede640618f Visualization for VToolCutSplinePath. Fixed issue #16.
--HG--
branch : feature
2014-09-08 11:23:53 +03:00
dismine
e75ed95561 Visualization for VToolSplinePath.
--HG--
branch : feature
2014-09-07 19:51:22 +03:00
dismine
2a4eef7695 Visualization for VToolCutSpline.
--HG--
branch : feature
2014-09-06 15:47:25 +03:00
dismine
d2e5be50b4 Show curve foot if only is selected.
--HG--
branch : feature
2014-09-06 11:51:46 +03:00
dismine
6fb280663a Show tool visualization when selected.
--HG--
branch : feature
2014-09-03 16:52:16 +03:00
dismine
f59009c5fc Show lite tool options in options browser.
--HG--
branch : feature
2014-09-03 14:10:51 +03:00
dismine
df2c9853a1 Setter and getter for options VToolSplinePath.
--HG--
branch : feature
2014-09-01 19:39:16 +03:00
dismine
e6f9b81dba Setter and getter for options VToolSpline.
--HG--
branch : feature
2014-09-01 19:36:15 +03:00
dismine
82d82f9b0a Setter and getter for options VToolTriangle.
--HG--
branch : feature
2014-09-01 19:27:30 +03:00
dismine
754901bff1 Setter and getter for options VToolShoulderPoint.
--HG--
branch : feature
2014-09-01 19:25:04 +03:00
dismine
5e304e8415 Setter and getter for options VToolPointOfIntersection.
--HG--
branch : feature
2014-09-01 19:21:42 +03:00
dismine
bf79d8f0bd Setter and getter for options VToolPointOfContact.
--HG--
branch : feature
2014-09-01 19:19:41 +03:00
dismine
4a6a3f3cc9 Setter and getter for options VToolNormal.
--HG--
branch : feature
2014-09-01 18:36:08 +03:00
dismine
eb6eff3486 Setter and getter for options VToolLineIntersect.
--HG--
branch : feature
2014-09-01 18:32:28 +03:00
dismine
1d33304de4 Setter and getter for options VToolLine.
--HG--
branch : feature
2014-09-01 18:29:43 +03:00
dismine
80d5637bcb Setter and getter for options VToolHeight.
--HG--
branch : feature
2014-09-01 18:27:20 +03:00
dismine
109b071134 Setter and getter for options VToolCut.
--HG--
branch : feature
2014-09-01 18:07:21 +03:00
dismine
162794c70b Setter and getter for options VToolBisector.
--HG--
branch : feature
2014-09-01 17:47:44 +03:00
dismine
3d3282ae61 Setter and getter for options VToolArc.
--HG--
branch : feature
2014-09-01 17:34:45 +03:00
dismine
d4a71f7664 Hide options when use context menu.
--HG--
branch : feature
2014-09-01 14:01:50 +03:00
dismine
c412d0c51b Refactoring. Prepare for showing tools options.
--HG--
branch : feature
2014-08-30 22:58:31 +03:00
dismine
87d32d9445 Show property tool "Point at distance along line".
--HG--
branch : feature
2014-08-30 13:41:21 +03:00
dismine
fa4a7fb7b8 Show Error message when formula broken.
--HG--
branch : feature
2014-08-29 17:38:43 +03:00
dismine
ae4bab9d07 Don't set cursor "arrow close hand" after double mouse click.
--HG--
branch : feature
2014-08-29 17:10:47 +03:00
dismine
a9667aac09 New property list of objects (points, arcs, curves).
--HG--
branch : feature
2014-08-28 14:05:58 +03:00
dismine
35b5a65eed Save label name.
--HG--
branch : feature
2014-08-27 10:31:58 +03:00
dismine
bdfd292386 First build.
--HG--
branch : feature
2014-08-26 21:31:28 +03:00
dismine
ca32f1c9df Fixed issue 168.
--HG--
branch : develop
2014-08-21 15:44:40 +03:00
dismine
4e1742ded5 Show cursor if item can move.
--HG--
branch : develop
2014-08-19 14:16:00 +03:00
dismine
6ed576a71e Visualization for VToolSpline.
--HG--
branch : develop
2014-08-18 17:42:53 +03:00
dismine
aec154e43c If point intersects with rect the line to the label wrong.
--HG--
branch : develop
2014-08-17 22:34:01 +03:00
dismine
b72f5511b4 Refactoring.
--HG--
branch : develop
2014-08-17 18:50:33 +03:00
dismine
a33ab27909 New define NULL_ID.
--HG--
branch : develop
2014-08-17 18:20:55 +03:00
dismine
036979a68c Fixed issue 107.
--HG--
branch : develop
2014-08-17 17:22:30 +03:00
dismine
62f573ec55 Renamed classes to more correct names.
--HG--
branch : develop
2014-08-15 20:27:30 +03:00
dismine
2cfe392322 Filter in dialog curves that was created after cutting.
--HG--
branch : develop
2014-08-15 20:07:26 +03:00
dismine
3f582123db Visualization for VToolLineIntersect.
--HG--
branch : develop
2014-08-14 18:48:31 +03:00
dismine
3b129aa94e Visualization for VToolPointOfContact.
--HG--
branch : develop
2014-08-14 16:43:30 +03:00
dismine
c7c86cf416 Max label distance from point seek in mm.
--HG--
branch : develop
2014-08-14 14:21:13 +03:00
dismine
ade24ab84d Visualization for VToolTriangle.
--HG--
branch : develop
2014-08-14 14:16:02 +03:00
dismine
16fa925021 Visualization for VToolPointOfIntersection.
--HG--
branch : develop
2014-08-13 14:31:01 +03:00
dismine
043b9a4742 Refactoring. Visualization for VToolHeight.
--HG--
branch : develop
2014-08-13 13:20:30 +03:00
dismine
7e75a18c1c Fixed issue 81.
--HG--
branch : develop
2014-08-11 17:41:17 +03:00
dismine
3af2859980 Formula that calculate angle can be equal zero.
--HG--
branch : develop
2014-08-11 11:56:50 +03:00
dismine
318517d3d7 Use QObject::blockSignals if need block signal instead disconnect() each time.
--HG--
branch : develop
2014-08-09 11:43:01 +03:00
dismine
1a4953ad73 Use another way get tool's id for filtering tool from lists.
--HG--
branch : develop
2014-07-29 16:08:38 +03:00
dismine
10ba3eacbb Don't show internal variable if we created her.
--HG--
branch : develop
2014-07-29 15:19:11 +03:00
dismine
484f149929 Store information about object's id that created internal variable.
--HG--
branch : develop
2014-07-29 14:28:18 +03:00
dismine
c0c407f8a8 Call ZoomFitBest() twice before show pattern.
--HG--
branch : develop
2014-07-26 11:56:34 +03:00
dismine
2cf032461d Refactoring.
--HG--
branch : develop
2014-07-25 18:43:32 +03:00
dismine
933e63d103 Added new contructor for VPointF.
--HG--
branch : develop
2014-07-25 14:53:39 +03:00
dismine
ccbdff7fb5 Use in dialog tool's container with data after creation tool with Apply button.
--HG--
branch : develop
2014-07-25 14:22:25 +03:00
dismine
b8f6629dd1 Visualization for VToolBisector.
--HG--
branch : develop
2014-07-24 16:26:59 +03:00
dismine
33ad980c91 Remove border around qgraphicsitem when selected.
--HG--
branch : develop
2014-07-24 13:20:26 +03:00
dismine
36e90eb86b Visualization for VToolAlongLine.
--HG--
branch : develop
2014-07-24 13:19:41 +03:00
dismine
28fa14cff2 Sometimes need convert from different unit that in a pattern.
--HG--
branch : develop
2014-07-23 13:04:23 +03:00
dismine
3953d6fb22 Visualization for VToolEndLine.
--HG--
branch : develop
2014-07-23 11:56:32 +03:00
dismine
41834c7b36 New undo command "rename pattern piece".
--HG--
branch : develop
2014-07-17 15:41:48 +03:00
dismine
ad01fe75bd Apply button for dialog line.
--HG--
branch : develop
2014-07-16 20:08:24 +03:00
dismine
d7dfcb8898 Refactoring undocommands. Fix deletion node.
--HG--
branch : develop
2014-07-16 15:37:38 +03:00
dismine
4b9e40175a No need get chosen object for dialog anymore for just showing options.
--HG--
branch : develop
2014-07-15 17:42:41 +03:00
dismine
b08019104e Visualization for VToolLine.
--HG--
branch : develop
2014-07-15 16:51:15 +03:00
dismine
6c6ee3c883 Prepare folder for issue #16: Visualization.
--HG--
branch : develop
2014-07-14 21:16:00 +03:00
dismine
5ba92396c2 After changing active pattern piece calculate pattern piece's bounding rect and
use them for best fit zooming.

--HG--
branch : develop
2014-07-12 19:25:25 +03:00
dismine
c1319d8da7 Return old spline path name -> SplPath.
--HG--
branch : develop
2014-07-08 17:35:46 +03:00
dismine
e805d36114 Save pointer to main window. Use when need create modal window.
--HG--
branch : develop
2014-07-08 13:59:50 +03:00
dismine
f82364e53b Make tool's dialog modal.
--HG--
branch : develop
2014-07-04 14:55:36 +03:00
dismine
280b7c9584 Refactoring.
--HG--
branch : develop
2014-06-26 13:41:59 +03:00
dismine
88b8a00a2e Refactoring.
--HG--
branch : develop
2014-06-26 13:26:13 +03:00
dismine
f8882f48f1 Refactoring.
--HG--
branch : develop
2014-06-25 17:18:35 +03:00
dismine
881c203a8c Refactoring.
--HG--
branch : develop
2014-06-25 17:14:02 +03:00
dismine
129e579612 Refactoring.
--HG--
branch : develop
2014-06-25 16:32:31 +03:00
dismine
9aaf90bf5b Refactoring VToolArc.
--HG--
branch : develop
2014-06-25 12:56:19 +03:00
dismine
82836c15a1 Fixed issue #82. Fixed issue #83. Fixed issue #85.
--HG--
branch : develop
2014-06-24 11:23:39 +03:00
dismine
1884e302b4 Refactoring. Delete repetitive code. Replace lineEdit by plainTextEdit.
--HG--
branch : feature
2014-06-19 12:29:56 +03:00
dismine
c3355e37e4 Includes for Coverity Scan, again.
--HG--
branch : develop
2014-06-17 12:50:11 +03:00
dismine
507ccd686e Vera++.
--HG--
branch : develop
2014-06-16 20:18:36 +03:00
dismine
2b000cd59f Fixed issue #4.
--HG--
branch : feature
2014-06-16 15:14:46 +03:00
dismine
814e414b4b Fix for broken move detail and move single point.
--HG--
branch : feature
2014-06-16 10:52:55 +03:00
dismine
fe67e8e57f Undo add detail and add union details.
--HG--
branch : feature
2014-06-15 20:07:54 +03:00
dismine
cf880a04cd Fix for undo command DeletePatternPiece.
--HG--
branch : feature
2014-06-15 11:04:49 +03:00
dismine
d66a4b98fe New undo command DeletePatternPiece.
--HG--
branch : feature
2014-06-14 16:10:16 +03:00
dismine
a755089a99 Move documantation to cpp file.
--HG--
branch : feature
2014-06-13 20:02:41 +03:00
dismine
43f8dffaf2 Fix crash. Made mistake when created method SaveDialogChange.
--HG--
branch : feature
2014-06-12 17:29:08 +03:00
dismine
37d2dd667f Use C++11 strongly typed enumerations.
--HG--
branch : feature
2014-06-12 10:22:29 +03:00
dismine
81c1c39be9 Refactoring. Create method SaveDialogChange.
--HG--
branch : feature
2014-06-11 19:45:39 +03:00
dismine
1dfe9eda03 Change slot FullUpdateFromGui name to more readable FullUpdateFromGuiOk.
--HG--
branch : feature
2014-06-11 19:38:09 +03:00
dismine
c5250cde7f New undo command SaveToolOptions.
--HG--
branch : feature
2014-06-11 19:32:32 +03:00
dismine
745004bb5f Make method UpdateControlPoints const.
--HG--
branch : feature
2014-06-11 17:25:38 +03:00
dismine
6bcf80e7a8 New undo command MoveSplinePath.
--HG--
branch : feature
2014-06-11 17:18:50 +03:00
dismine
43935b95c9 Change signal name to LiteUpdateTree.
--HG--
branch : feature
2014-06-11 16:24:51 +03:00
dismine
8491248f02 Merge with develop
--HG--
branch : feature
2014-06-11 15:47:32 +03:00
dismine
73b29b972c Fix radius node point in detail.
--HG--
branch : develop
2014-06-10 16:14:21 +03:00
dismine
8ca765b14e Merge with develop
--HG--
branch : feature
2014-06-10 14:53:40 +03:00
dismine
e1797f3033 Merge with DialogTools
--HG--
branch : develop
2014-06-10 12:23:39 +03:00
Patrick Proy
b300bfb8f8 DialogArc change... Seems the end at last !!!
--HG--
branch : DialogTools
2014-06-09 22:38:10 +02:00
dismine
c35930db3a at() instead operator[].
--HG--
branch : feature
2014-06-09 22:11:33 +03:00
dismine
695b357c4a Merge with DialogTools
--HG--
branch : develop
2014-06-10 12:05:21 +03:00
dismine
cc6ed85407 New undo command MoveSpline.
--HG--
branch : feature
2014-06-09 20:39:18 +03:00
Patrick Proy
26067c3636 DialogCutArc change + start code cleaning
--HG--
branch : DialogTools
2014-06-09 18:37:11 +02:00
dismine
0783cc24e1 New undo command MoveSPoint.
--HG--
branch : feature
2014-06-09 16:13:15 +03:00
Patrick Proy
be8b8c9c95 DialogPointOfContact + DialogLine (no changes)
Also renamed specific functions in mainwindow

--HG--
branch : DialogTools
2014-06-09 15:00:26 +02:00
Patrick Proy
a167cda90c DialogShoulderPoinr change
--HG--
branch : DialogTools
2014-06-09 12:56:07 +02:00
Patrick Proy
0b4f1a21ed DialogNormal change
--HG--
branch : DialogTools
2014-06-08 22:28:09 +02:00
dismine
7e3dc203dc Use forward declaration.
--HG--
branch : feature
2014-06-08 21:10:57 +03:00
Patrick Proy
094f29492d DialogBisector Change
--HG--
branch : DialogTools
2014-06-08 19:56:09 +02:00
Patrick Proy
dab44eb163 DialogAlongLine Tool change
--HG--
branch : DialogTools
2014-06-08 11:14:16 +02:00
dismine
fc3c8acc46 Undo add pattern piece now work.
--HG--
branch : feature
2014-06-06 18:06:41 +03:00
dismine
d914f359c1 New undo command AddPatternPiece.
--HG--
branch : feature
2014-06-06 13:36:34 +03:00
dismine
55a7ba99a4 New undo command AddToCalculation.
--HG--
branch : feature
2014-06-05 12:52:00 +03:00
dismine
a40099da1f Backport changeset 8a2e2ab97237.
--HG--
branch : develop
2014-06-03 15:15:17 +03:00
dismine
a6ffb16054 Clang's warnings.
--HG--
branch : develop
2014-06-02 10:43:27 +03:00
dismine
42091c2611 Build doesn't work, if include this headers on Windows.
--HG--
branch : DialogTools
2014-05-31 13:00:19 +04:00
dismine
cc7f257081 New macros SCASSERT instead Q_CHECK_PTR will break into the debugger on the line
of the assert.

--HG--
branch : DialogTools
2014-05-30 22:56:05 +03:00
dismine
98c90ee5fe Use native QString method for replacing strings. Fix bug with InitOkCancel
method. Still continue crash.

--HG--
branch : DialogTools
2014-05-30 22:03:17 +03:00
dismine
3d0d616db0 Merge with develop.
--HG--
branch : DialogTools
2014-05-30 17:52:12 +03:00
dismine
bf15237296 Update documentation for Calculator class.
--HG--
branch : develop
2014-05-30 16:04:38 +03:00
dismine
54dfd9457e Fixed issue #43.
--HG--
branch : feature
2014-05-30 14:50:41 +03:00
dismine
18307e0a14 New method CheckFormula.
--HG--
branch : feature
2014-05-30 12:33:30 +03:00
dismine
1b877ca978 Move documentation to cpp file.
--HG--
branch : feature
2014-05-30 12:12:20 +03:00
dismine
381adf0ba0 Dialog edit wrong formula (only for toolendline now).
--HG--
branch : feature
2014-05-30 11:32:40 +03:00
dismine
8b6a140ebb Issue #104.
--HG--
branch : develop
2014-05-28 18:52:50 +03:00
dismine
6f009a8ee4 Merge with develop
--HG--
branch : DialogTools
2014-05-26 17:26:25 +03:00
Patrick Proy
5cb0a5cf96 Multi lines for formula and apply button are now working for DialogEndLine
--HG--
branch : DialogTools
2014-05-26 13:48:42 +02:00
Patrick Proy
e645e671de First test for apply on creation
--HG--
branch : DialogTools
2014-05-26 09:03:51 +02:00
Patrick Proy
aa2eda12ee First change for "apply button" (works only when modifying an existing point).
--HG--
branch : DialogTools
2014-05-25 21:54:17 +02:00
dismine
e4ab794211 Catch math parser exceptions.
--HG--
branch : feature
2014-05-21 13:12:52 +03:00
dismine
bd5fda320f Use new math parser instead old.
--HG--
branch : feature
2014-05-21 11:51:16 +03:00
dismine
bdb788e7a7 Highlight start of method.
--HG--
branch : feature
2014-05-02 14:11:30 +03:00
dismine
79ef0e914e CppCheck.
--HG--
branch : feature
2014-05-02 11:09:10 +03:00
dismine
362638066a Vera++.
--HG--
branch : feature
2014-05-01 14:33:40 +03:00
dismine
f505234bbd My surname like in my passport.
--HG--
branch : feature
2014-04-30 08:38:52 +03:00
dismine
1e99fb68c1 Change project structure for support libs.
--HG--
branch : feature
2014-04-25 11:58:33 +03:00