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
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
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
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
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
d6c68a4df8
MSVC warning.
...
--HG--
branch : develop
2017-01-27 17:41:08 +02:00
Roman Telezhynskyi
0ef10c01b0
A piece seam allowance can be controlled by formula.
...
--HG--
branch : feature
2017-01-21 15:24:40 +02:00
Roman Telezhynskyi
1882833ce7
Fixed issue #607 . Cut tools do not support operation tools.
...
--HG--
branch : develop
2017-01-04 13:38:10 +02:00
Roman Telezhynskyi
731eb9ec89
Refactoring.
...
There is no automatic disconnection when the 'receiver' is destroyed because
it's a functor with no QObject. However, since 5.2 there is an overload which
adds a "context object". When that object is destroyed, the connection is
broken (the context is also used for the thread affinity: the lambda will be
called in the thread of the event loop of the object used as context).
--HG--
branch : develop
2016-12-21 20:45:14 +02:00
Roman Telezhynskyi
5c40a91335
Remove empty statement.
...
--HG--
branch : develop
2016-12-21 17:36:38 +02:00
Roman Telezhynskyi
2d61b87256
Remove empty statement.
...
--HG--
branch : develop
2016-12-20 21:19:21 +02:00
Roman Telezhynskyi
ffab000e0f
Remove empty statement.
...
--HG--
branch : develop
2016-12-20 20:57:20 +02:00
Roman Telezhynskyi
2f46634eff
Elliptical arc is an independent scene object.
...
--HG--
branch : develop
2016-12-20 17:05:34 +02:00
Roman Telezhynskyi
f0b35ddc11
Added support elliptical arc in other tools.
...
--HG--
branch : develop
2016-12-20 13:04:56 +02:00
Valentina Zhuravska
00ab0a225e
Added VToolEllipticalArc.
...
--HG--
branch : feature
2016-12-17 03:01:40 +02:00
Roman Telezhynskyi
593bae3969
Fixed build on Windows.
...
--HG--
branch : develop
2016-10-06 19:12:25 +03:00
Roman Telezhynskyi
4a50f2e3c9
Fixed wrong include.
...
--HG--
branch : develop
2016-10-04 17:52:03 +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
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
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
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
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
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
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
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
80f00b361d
Use "Include What You Use" tool for optimizing #includes.
...
--HG--
branch : develop
2016-08-08 14:44:49 +03:00
Roman Telezhynskyi
c9cdd2cd8d
Using macros QT_WARNING_DISABLE_*.
...
--HG--
branch : develop
2016-08-06 21:42:40 +03:00
Roman Telezhynskyi
75e9e9b2ee
Fixed issues with include paths.
...
--HG--
branch : develop
2016-08-05 13:41:02 +03:00
Roman Telezhynskyi
ffb6f1fbd5
cppcheck warnings.
...
--HG--
branch : develop
2016-08-02 15:12:13 +03:00
Valentina Zhuravska
1ae8509d63
Merge with develop.
...
--HG--
branch : feature
2016-07-26 15:32:55 +03: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
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
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
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
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
Roman Telezhynskyi
79d63f49a6
GCC warnings.
...
--HG--
branch : develop
2016-06-28 09:36:12 +03: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
Roman Telezhynskyi
7eaadf1761
Resolved issue #480 . New tool: Midpoint between two points.
...
--HG--
branch : develop
2016-06-23 20:20:21 +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
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
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
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
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
0052a883a4
Better way to check suffix.
...
--HG--
branch : feature
2016-05-18 16:44:23 +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
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
970b876cf7
Show the tool visualization.
...
--HG--
branch : feature
2016-05-17 13:24:51 +03:00
Roman Telezhynskyi
18d3a297cd
VToolRotation::SetFactor.
...
--HG--
branch : feature
2016-05-17 13:02: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
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
48e411a3ce
Working with group widget.
...
--HG--
branch : feature
2016-04-07 17:57:53 +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
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
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