Commit Graph

1344 Commits

Author SHA1 Message Date
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
e4c90a0809 Fix warning "Explicitly capture the required scope variables".
--HG--
branch : develop
2016-12-21 20:08:02 +02:00
Roman Telezhynskyi
6fe96ca4d0 Remove empty statement.
--HG--
branch : develop
2016-12-21 18:12:49 +02:00
Roman Telezhynskyi
074620fe77 Refactor to avoid "break" after "return".
--HG--
branch : develop
2016-12-21 17:56:52 +02:00
Roman Telezhynskyi
7551cfda87 Remove the code after "return".
--HG--
branch : develop
2016-12-21 17:38:27 +02:00
Roman Telezhynskyi
5c40a91335 Remove empty statement.
--HG--
branch : develop
2016-12-21 17:36:38 +02:00
Roman Telezhynskyi
36c8e96bab Disable MSVC security warnings for library vdxf.
--HG--
branch : develop
2016-12-21 17:30:40 +02:00
Roman Telezhynskyi
ffc1bae39c Remove redundant declaration.
--HG--
branch : develop
2016-12-21 15:22:44 +02:00
Roman Telezhynskyi
a2cfecd2f1 Cppcheck warning.
--HG--
branch : develop
2016-12-21 14:20:42 +02:00
Roman Telezhynskyi
5153e997d1 Fix warning "using-directive shall not be used.".
--HG--
branch : develop
2016-12-21 14:02:55 +02:00
Roman Telezhynskyi
bba88c108f Fix possible use of uninitialized value.
--HG--
branch : develop
2016-12-21 12:32:38 +02:00
Roman Telezhynskyi
049a72ff20 "C3861: 'snprintf': identifier not found" with VS2013 and prior.
--HG--
branch : develop
2016-12-20 22:55:40 +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
86330282be Fix potential vulnerabilities.
--HG--
branch : develop
2016-12-20 20:18:36 +02:00
Roman Telezhynskyi
0ec53b6499 Operation tools should control an elliptical arc.
--HG--
branch : develop
2016-12-20 17:08:28 +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
f613a3a28f Refactoring. Use QScopedPointer class.
--HG--
branch : develop
2016-12-20 16:58:00 +02:00
Roman Telezhynskyi
1fb0ab4d75 Added VNodeEllipticalArc.
--HG--
branch : develop
2016-12-20 16:51:58 +02:00
Roman Telezhynskyi
f0b35ddc11 Added support elliptical arc in other tools.
--HG--
branch : develop
2016-12-20 13:04:56 +02:00
Roman Telezhynskyi
6ea0a12da0 GCC warnings.
--HG--
branch : feature
2016-12-19 16:00:49 +02:00
Roman Telezhynskyi
551dd29ec0 If start and finish angle equal user should see a circle and an ellipse.
--HG--
branch : feature
2016-12-19 15:42:52 +02:00
Roman Telezhynskyi
1c9360ff1c Complete conversion to v0.3.9.
--HG--
branch : feature
2016-12-19 15:14:13 +02:00
Roman Telezhynskyi
24970440b7 Elliptic arc bring new formulas that we should also cover.
--HG--
branch : feature
2016-12-19 14:56:39 +02:00
Roman Telezhynskyi
b729f4dacb Fix schema.qrc.
--HG--
branch : feature
2016-12-19 14:35:57 +02:00
Valentina Zhuravska
a8a3487996 Added new schema v0.3.9.
--HG--
branch : feature
2016-12-17 03:53:47 +02:00
Valentina Zhuravska
51b21bc99c Added formulaRotationAngle to VEllipticalArc.
--HG--
branch : feature
2016-12-17 03:41:33 +02:00
Valentina Zhuravska
50f6418f10 Added AddEllipticalArc method to VContainer.
--HG--
branch : feature
2016-12-17 03:40:17 +02:00
Valentina Zhuravska
9e3fd67eb6 Added VEllipticalArcRadius.
--HG--
branch : feature
2016-12-17 03:34:12 +02:00
Valentina Zhuravska
aa24976f9a Added elliptical arc tool to MainWindow.
--HG--
branch : feature
2016-12-17 03:17:29 +02:00
Valentina Zhuravska
a5f504a710 Added DialogEllipticalArc.
--HG--
branch : feature
2016-12-17 03:10:05 +02:00
Valentina Zhuravska
33a42e3b9b Added VisToolEllipticalArc.
--HG--
branch : feature
2016-12-17 03:06:20 +02:00
Valentina Zhuravska
00ab0a225e Added VToolEllipticalArc.
--HG--
branch : feature
2016-12-17 03:01:40 +02:00
Roman Telezhynskyi
d45a04feb0 Correct label size according to parent's bounding rect.
--HG--
branch : feature
2016-12-15 09:33:01 +02:00
Roman Telezhynskyi
b16ee3a4d1 Minore changes for VTextGraphicsItem.
Clearing code. Changed size for control objects.

--HG--
branch : feature
2016-12-15 08:54:52 +02:00
Roman Telezhynskyi
a3f7b9f60f Fix drawing artifacts.
--HG--
branch : feature
2016-12-15 08:52:23 +02:00
Roman Telezhynskyi
227e4f0ba0 Better way to find maximally suitable font size.
--HG--
branch : feature
2016-12-15 08:50:25 +02:00
Roman Telezhynskyi
97d76957e3 Use font's height.
--HG--
branch : feature
2016-12-15 08:46:45 +02:00
Roman Telezhynskyi
8d526d2ebc Set min font size to 5.
--HG--
branch : feature
2016-12-14 12:09:59 +02:00
Roman Telezhynskyi
4eb9b2da83 Cleaning code.
--HG--
branch : feature
2016-12-14 11:59:21 +02:00
Roman Telezhynskyi
62d3d5283a Cppcheck warning.
--HG--
branch : feature
2016-12-14 11:32:22 +02:00
Bojan Kverh
e86777d728 Merged develop into feature
--HG--
branch : feature
2016-12-14 00:57:25 +01:00
BojanKverh
f6122ea8be Fixed font size calculation, so that the app does not get stuck
--HG--
branch : feature
2016-12-14 00:56:30 +01:00
Bojan Kverh
9690d47df4 Merged develop into feature
--HG--
branch : feature
2016-12-13 19:01:20 +01:00
Roman Telezhynskyi
ad48858f3d Math parser should allow apostrophe in variable name.
Apostrophe is actively used in French language.

--HG--
branch : develop
2016-12-12 16:45:24 +02:00
Roman Telezhynskyi
9b679d7c3e Resolved issue #595. GapWidth affecting to the margins.
--HG--
branch : develop
2016-12-10 18:38:34 +02:00
Roman Telezhynskyi
67a6b67afc Fix broken test on Windows.
--HG--
branch : develop
2016-12-08 13:56:17 +02:00
Roman Telezhynskyi
9cdf222467 New test case. Zigzag in main path.
--HG--
branch : develop
2016-12-07 18:55:01 +02:00
Roman Telezhynskyi
2377373a89 Fixed issue #591. Control scene max and min scale factor.
--HG--
branch : develop
2016-12-06 16:18:40 +02:00
Bojan Kverh
5cdd5687bf Merged develop into feature
--HG--
branch : feature
2016-12-04 17:16:25 +01:00