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
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
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
7e064f80c5
Thrown away code for support Qt < 5.2.
...
--HG--
branch : develop
2017-05-30 19:52:38 +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
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
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
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
d355b4dce8
Cppcheck warnings.
...
--HG--
branch : develop
2017-04-06 15:50:15 +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
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
c20f94e5f0
Optimize searching special shoulder point.
...
--HG--
branch : develop
2017-03-27 10:30:31 +03: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
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