Commit Graph

2197 Commits

Author SHA1 Message Date
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
86f6bb035d Code style.
--HG--
branch : feature
2017-03-21 17:03:09 +02:00
Roman Telezhynskyi
96255ef093 Dialog Insert node tool.
--HG--
branch : feature
2017-03-21 15:39:14 +02:00
Roman Telezhynskyi
699adc56bb Pin tool should select only points.
--HG--
branch : develop
2017-03-21 15:25:25 +02:00
Roman Telezhynskyi
e56d3440d2 Fixed issue #642. Detail's main path is cutted.
--HG--
branch : develop
2017-03-20 08:16:35 +02:00
Roman Telezhynskyi
7aa2b169b7 Fix tool's fields name in Tool Options container.
--HG--
branch : develop
2017-03-19 17:20:35 +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
b146b72963 Remove redundant field Formula Value.
--HG--
branch : develop
2017-03-18 15:50:27 +02:00
Roman Telezhynskyi
6802c6f154 Write/read label center pin point.
--HG--
branch : feature
2017-03-13 16:10:25 +02:00
Roman Telezhynskyi
1ab541236d Successful build.
--HG--
branch : feature
2017-03-13 14:27:29 +02:00
Roman Telezhynskyi
fa50c1f4f7 Merge with develop.
--HG--
branch : feature
2017-03-10 18:56:18 +02:00
Roman Telezhynskyi
11a2302b94 Code style.
--HG--
branch : feature
2017-03-10 11:39:28 +02:00
Murloc
506ca0612c Add 200 in heights
--HG--
branch : feature
2017-03-09 21:41:48 +01:00
Roman Telezhynskyi
fb402f84b7 Dialog get/set grainline center pin point.
--HG--
branch : feature
2017-03-09 13:10:46 +02:00
Roman Telezhynskyi
d2057aa8ae Fixed issue #633. Valentina crashes when check for updates on Mac.
This is temporary solution. We just disabled checking in release mode. User
still can crash program if go to About Valentina/Tape dialog anf click on button
Check update. Such a decidion will left us chance get more bug reports from
users.

--HG--
branch : develop
2017-03-06 11:38:27 +02:00
Roman Telezhynskyi
d2904b567b Since Qt 5.8 minimal supported OSX version is 10.9.
--HG--
branch : develop
2017-03-02 19:04:59 +02:00
Roman Telezhynskyi
71d10dbdcb Sync grainline and lable position after correcting to parent bounding rect.
--HG--
branch : feature
2017-03-02 09:12:48 +02:00
Roman Telezhynskyi
5f4760f06f Read/write info about pin points.
--HG--
branch : feature
2017-02-23 16:49:20 +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
2c6f1d9f64 End a switch case with an unconditional break.
--HG--
branch : develop
2017-02-22 19:34:29 +02:00
Roman Telezhynskyi
3bf65edaa6 Merge with develop.
--HG--
branch : feature
2017-02-22 14:48:48 +02:00
Roman Telezhynskyi
a4fd71f68c Refactoring. Merging identical cases.
--HG--
branch : develop
2017-02-22 14:15:16 +02:00
Roman Telezhynskyi
915276748c Replace deprecated function qt_mac_set_dock_menu() by method
QMenu::setAsDockMenu().

--HG--
branch : develop
2017-02-22 08:09:33 +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
b31a8d4c6b Extend max size to 72 cm.
Request from a user. See
http://forum.valentina-project.org/t/extension-of-standard-measurements/957

--HG--
branch : develop
2017-02-22 07:54:42 +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
7b23e89237 Check pointer to prevent memory leak.
--HG--
branch : develop
2017-02-18 09:03:24 +02:00
Roman Telezhynskyi
5a0d9b0e00 Merge with develop.
--HG--
branch : feature
2017-02-17 20:38:45 +02:00
Roman Telezhynskyi
2f024db547 Resolved issue #611. Improve feature: Paths preferences.
--HG--
branch : develop
2017-02-17 20:37:49 +02:00
Roman Telezhynskyi
c00a1d6e94 Resolved issue #557. Enhance feature: Measurement menu enhancements.
--HG--
branch : develop
2017-02-17 14:24:55 +02:00
Roman Telezhynskyi
1867c0a82b Merge with develop.
--HG--
branch : feature
2017-02-16 15:40:49 +02:00
Roman Telezhynskyi
1b0bd37621 Resolved issue #556. Enhance feature: Move 'Pattern Properties' from Pattern
Piece menu to File menu.

--HG--
branch : develop
2017-02-16 15:16:52 +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
71ac49a221 Merge with develop.
--HG--
branch : feature
2017-02-13 15:29:37 +02:00
Roman Telezhynskyi
424f661112 Fix export to dxf.
--HG--
branch : develop
2017-02-12 21:13:03 +02:00
Roman Telezhynskyi
33cdac0db1 Fixed issue #627. Seam allowance artifacts
--HG--
branch : develop
2017-02-12 17:29:54 +02:00
Roman Telezhynskyi
a800a01308 Fixed issue #626. Seam allowance bug on curves.
--HG--
branch : develop
2017-02-10 20:10:30 +02:00
Roman Telezhynskyi
9c27e7bfed Fixed issue #624. Icon resulotion issues with some display setups.
--HG--
branch : develop
2017-02-09 15:43:17 +02:00
Roman Telezhynskyi
2b7851f354 Enable Save button only if document is modified.
--HG--
branch : develop
2017-02-08 12:12:10 +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
ac6969d64f Resolved issue #620. Detail path not correct. Previous curve also should cut
segment.

--HG--
branch : develop
2017-02-06 17:19:59 +02:00
Roman Telezhynskyi
7d78a0f63f Resolved issue #619. Non writable directory prevents opening.
--HG--
branch : develop
2017-02-04 13:28:47 +02:00
Roman Telezhynskyi
ad403850bc Save pin inside a piece.
--HG--
branch : feature
2017-01-31 18:09:18 +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
d08282218b Optimized png files.
--HG--
branch : develop
2017-01-28 16:58:07 +02:00
Roman Telezhynskyi
b26eca13eb Optimized png files.
--HG--
branch : feature
2017-01-28 16:58:07 +02:00
Roman Telezhynskyi
d6c68a4df8 MSVC warning.
--HG--
branch : develop
2017-01-27 17:41:08 +02:00
Roman Telezhynskyi
d17dda3f9f Clang warning.
--HG--
branch : develop
2017-01-27 14:49:20 +02:00
Roman Telezhynskyi
01a04fdb09 Clang warning.
--HG--
branch : develop
2017-01-27 14:07:12 +02:00
Roman Telezhynskyi
af5bbf02f6 Fix tests.
--HG--
branch : feature
2017-01-25 15:45:17 +02:00
Roman Telezhynskyi
2c795281dd Merge with develop.
--HG--
branch : feature
2017-01-25 13:29:03 +02:00
Roman Telezhynskyi
8322c8d0ab Fix bug with point on curve.
--HG--
branch : feature
2017-01-25 13:21:23 +02:00
Roman Telezhynskyi
49167c0c3c Fix conversion to new seam allowance.
--HG--
branch : feature
2017-01-25 11:32:52 +02:00
Roman Telezhynskyi
e74a3f5cb2 Fixed typo.
--HG--
branch : develop
2017-01-24 16:20:39 +02:00
Roman Telezhynskyi
f982bea7ba Add OpenSSL library to bundle to prevent error "QSslSocket error when SSL is
NOT used".

Try to prevent crashes on Windows because OpenSSL library is not installed or
installed very old version. Also will help suppress annoying messages.

--HG--
branch : develop
2017-01-24 16:12:43 +02:00
Roman Telezhynskyi
1014cc86ca Resolved issue #612. Valentina crashes when network is disabled on Linux.
--HG--
branch : develop
2017-01-24 15:47:25 +02:00
Roman Telezhynskyi
10a13a499d Rename class VLayoutDetail.
--HG--
branch : feature
2017-01-22 11:02:02 +02:00
Roman Telezhynskyi
8fb6c9c508 Code that converts VPiece to VLayoutDetail moved to static function.
--HG--
branch : feature
2017-01-22 10:32:01 +02:00
Roman Telezhynskyi
26c76bbc71 Replace VDetail by VPiece.
--HG--
branch : feature
2017-01-21 19:12:57 +02:00
Roman Telezhynskyi
8b1e9e24d4 Tool path and piece now bring formulas, should cover this fact.
--HG--
branch : feature
2017-01-21 17:32:08 +02:00
Roman Telezhynskyi
ef9411cf5a Actually we check measurements in two palces. Forgot about this.
--HG--
branch : feature
2017-01-21 16:37:37 +02:00
Roman Telezhynskyi
669d295804 Class VToolDetail removed.
--HG--
branch : feature
2017-01-21 16:30:14 +02:00
Roman Telezhynskyi
e15d4d9c05 Fix possible memory leak.
--HG--
branch : feature
2017-01-21 15:50:17 +02:00
Roman Telezhynskyi
24d5aa0f53 The error message should display the translated measurement name.
--HG--
branch : feature
2017-01-21 15:49:43 +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
8eba46ade1 The tool redesign was finnised. Code is not tested.
--HG--
branch : feature
2017-01-16 17:37:15 +02:00
Roman Telezhynskyi
6faa0bc318 First successful build. The redesign is not finished.
--HG--
branch : feature
2017-01-16 12:08:13 +02:00
Roman Telezhynskyi
5442eb40b9 Move methods to class VAbstractPattern to be able to use them for tool Unite
Details.

--HG--
branch : feature
2017-01-16 11:59:02 +02:00
Roman Telezhynskyi
c48dc6b4a2 Update scene size after full parse.
--HG--
branch : feature
2017-01-14 11:52:39 +02:00
Roman Telezhynskyi
e7adac78ba Parse grainline and labels data tool Seam allowance.
--HG--
branch : feature
2017-01-12 16:08:27 +02:00
Roman Telezhynskyi
1b8ecdcb27 Refactoring names.
--HG--
branch : feature
2017-01-12 15:58:45 +02:00
Roman Telezhynskyi
5a95ce9c8a Merge with develop.
--HG--
branch : feature
2017-01-11 14:05:06 +02:00
Roman Telezhynskyi
ff03f67663 Fix infinite loop in method VAbstractDetail::CheckLoops().
--HG--
branch : develop
2017-01-11 13:54:06 +02:00
Roman Telezhynskyi
e952260a9f Fixed issue #609. Bug in CheckLoops method. Better handling internal and
external loops.

--HG--
branch : develop
2017-01-09 18:25:13 +02:00
Roman Telezhynskyi
a842e2c2d1 Fixed issue #604. Seams allowances gets "weird" and turns inward when changing
measurment file.

--HG--
branch : develop
2017-01-05 17:16:36 +02:00
Roman Telezhynskyi
f4a2d64497 Completely remove unsupported XML editor.
--HG--
branch : develop
2017-01-03 20:16:04 +02:00
Roman Telezhynskyi
b4c4a22a4c Merge with develop.
--HG--
branch : feature
2017-01-03 11:48:22 +02:00
Roman Telezhynskyi
86f4b21879 Instead of method QLocale::system() better to use the default constructor.
Usefull in case we will deside change default locale.

--HG--
branch : develop
2017-01-03 10:46:28 +02:00
Roman Telezhynskyi
0419f60e0b Merge with develop.
--HG--
branch : feature
2016-12-23 12:58:17 +02:00
Roman Telezhynskyi
4d277f392e Fix switching to Layout page when enable Layout mode.
--HG--
branch : develop
2016-12-23 11:11:00 +02:00
Roman Telezhynskyi
c9e9fb57d5 Fixed issue #603. Wrong layout caused by wrong seam allowance.
--HG--
branch : develop
2016-12-23 10:25:45 +02:00
Roman Telezhynskyi
e777c788b4 Cppcheck warning.
--HG--
branch : develop
2016-12-23 10:51:05 +02:00
Roman Telezhynskyi
a6a8ef29b0 Refactoring. Merge similar switch cases together.
--HG--
branch : develop
2016-12-21 21:35:07 +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
e4c90a0809 Fix warning "Explicitly capture the required scope variables".
--HG--
branch : develop
2016-12-21 20:08:02 +02:00
Roman Telezhynskyi
d247823d22 Refactoring. Merge similar switch cases together.
--HG--
branch : develop
2016-12-21 19:07:57 +02:00
Roman Telezhynskyi
7b76dbe99d Remove redundant check.
--HG--
branch : develop
2016-12-21 18:00:56 +02:00
Roman Telezhynskyi
d10026bd9d Remove empty statement.
--HG--
branch : develop
2016-12-21 17:58:18 +02:00
Roman Telezhynskyi
f3b900902b Fix memory leak.
--HG--
branch : develop
2016-12-21 17:47:07 +02:00
Roman Telezhynskyi
7551cfda87 Remove the code after "return".
--HG--
branch : develop
2016-12-21 17:38:27 +02:00
Roman Telezhynskyi
4cf9c59056 Remove redundant check.
--HG--
branch : develop
2016-12-21 17:19:12 +02:00
Roman Telezhynskyi
5153e997d1 Fix warning "using-directive shall not be used.".
--HG--
branch : develop
2016-12-21 14:02:55 +02:00