Commit Graph

2609 Commits

Author SHA1 Message Date
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
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
b6d0aa1a1f Tool seam allowance add support for elliptical arc.
--HG--
branch : feature
2016-12-20 17:50:39 +02:00
Roman Telezhynskyi
0882313f1e Merge with develop.
--HG--
branch : feature
2016-12-20 17:42:51 +02:00
Roman Telezhynskyi
1fb0ab4d75 Added VNodeEllipticalArc.
--HG--
branch : develop
2016-12-20 16:51:58 +02:00
Roman Telezhynskyi
81eb33fe63 Merge with develop.
--HG--
branch : feature
2016-12-20 14:39:05 +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
243e9c2894 Clang warning.
--HG--
branch : develop
2016-12-19 16:47:43 +02:00
Roman Telezhynskyi
469d6ffe02 Small fixes for UI.
--HG--
branch : feature
2016-12-19 14:31:49 +02:00
Roman Telezhynskyi
2d55423e8e Check pointer instead of QSharedPointer object.
--HG--
branch : feature
2016-12-19 14:25:00 +02:00
Roman Telezhynskyi
2b9a50bf3a Better history record for an elliptical arc.
--HG--
branch : feature
2016-12-19 14:22:25 +02:00
Roman Telezhynskyi
6f4d1b5ed9 Complete working with the property browser.
--HG--
branch : feature
2016-12-19 14:18:32 +02:00
Valentina Zhuravska
947f4eb97c Added ShowOptionsToolEllipticalArc method.
--HG--
branch : feature
2016-12-17 03:57:01 +02:00
Valentina Zhuravska
a8a3487996 Added new schema v0.3.9.
--HG--
branch : feature
2016-12-17 03:53:47 +02:00
Valentina Zhuravska
aa24976f9a Added elliptical arc tool to MainWindow.
--HG--
branch : feature
2016-12-17 03:17:29 +02:00
Roman Telezhynskyi
bd49df3d50 Merge with develop.
--HG--
branch : feature
2016-12-10 19:54:13 +02:00
Roman Telezhynskyi
0b407792d7 Fixed issue #594. Broken export on Mac.
--HG--
branch : develop
2016-12-10 18:47:33 +02:00
Roman Telezhynskyi
39a8165bd5 Update details list after each full parse.
--HG--
branch : feature
2016-12-04 18:29:12 +02:00
Roman Telezhynskyi
f2e0974158 Update details list after each full parse.
--HG--
branch : develop
2016-12-04 18:29:12 +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
251a717c6f Broken seam allowance. Fix wrong curve.
--HG--
branch : feature
2016-12-04 18:14:43 +02:00
Roman Telezhynskyi
35f54c5cc7 Added Internal path.
--HG--
branch : feature
2016-12-03 18:01:39 +02:00
Roman Telezhynskyi
64c2026e6a Merge with develop.
--HG--
branch : feature
2016-12-03 12:43:19 +02:00
Roman Telezhynskyi
fa67634f38 Call waitForStarted() before each waitForFinished().
--HG--
branch : develop
2016-12-03 10:40:23 +02:00
Roman Telezhynskyi
939644692d Convert all mx and my values to local seam allowance.
--HG--
branch : feature
2016-12-01 20:47:15 +02:00
Roman Telezhynskyi
e2579c231c Fix pointer to current scene. Show piece path visualization if the tool dialog
was opened.

--HG--
branch : feature
2016-11-29 19:39:40 +02:00
Roman Telezhynskyi
5156e0cf25 Read/write piece path include type.
--HG--
branch : feature
2016-11-28 14:52:31 +02:00
Roman Telezhynskyi
f56ea24810 Custom Path will work in two modes. The first extend automatic seam allowance,
the second show custom deam allowance. In this case a path must have options
for controling seam allowance.

--HG--
branch : feature
2016-11-28 11:58:44 +02:00
Roman Telezhynskyi
ecdb53b7d0 Save VPiecePath name.
--HG--
branch : feature
2016-11-28 10:42:37 +02:00
Roman Telezhynskyi
82d9fcba3f Connect MainWindow with VToolPiecePath.
--HG--
branch : feature
2016-11-25 16:36:56 +02:00
Roman Telezhynskyi
6424a92559 Read/write custom seam allowance record.
--HG--
branch : feature
2016-11-25 14:19:44 +02:00
Roman Telezhynskyi
39b27e4b24 New class VToolPiecePath.
--HG--
branch : feature
2016-11-24 21:35:54 +02:00
Roman Telezhynskyi
0e78efc714 Move tag strings from VToolSeamAllowance class to VAbstractPattern class. The
same strings use also VToolPiecePath class.

--HG--
branch : feature
2016-11-24 21:35:07 +02:00
Roman Telezhynskyi
422fb60dcc Each path should know its type.
--HG--
branch : feature
2016-11-24 21:26:51 +02:00
Roman Telezhynskyi
8a5c4a1a37 Check if a path is valid. Should contains at least one object.
--HG--
branch : feature
2016-11-23 18:50:52 +02:00
Roman Telezhynskyi
524e98d372 Get active pattern piece list of pieces.
--HG--
branch : feature
2016-11-23 18:41:01 +02:00
Roman Telezhynskyi
965e588a9d New piece attribute "united".
--HG--
branch : feature
2016-11-23 18:40:27 +02:00
Roman Telezhynskyi
5d5e677e2c Added class VPiecePath.
--HG--
branch : feature
2016-11-23 12:54:46 +02:00
Roman Telezhynskyi
6b89f43e87 Tool button connected to tool dialog.
--HG--
branch : feature
2016-11-22 14:33:08 +02:00
Roman Telezhynskyi
c21aedc541 A seam allowance node angle. Read, write and set in the dialog. Not handled in
seam allowance itself.

--HG--
branch : feature
2016-11-19 13:44:12 +02:00
Roman Telezhynskyi
726d8614dc Unit tests for testing seam allowance.
--HG--
branch : feature
2016-11-18 12:58:47 +02:00
Roman Telezhynskyi
3d835a1a2a Merge with develop
--HG--
branch : feature
2016-11-14 20:35:22 +02:00
Roman Telezhynskyi
e881547999 Alwayse show locale "en_US" in the language list.
--HG--
branch : develop
2016-11-14 19:35:26 +02:00
Roman Telezhynskyi
d0b0f55d19 Read and write local seam allowance width (before and after).
--HG--
branch : feature
2016-11-12 13:18:16 +02:00
Roman Telezhynskyi
a5fc19d7ec Returned storing and reading base seam allowance values: width and
enable/disable.

--HG--
branch : feature
2016-11-10 12:53:02 +02:00
Roman Telezhynskyi
df20415e9e Returned "Forbid flipping" feature.
--HG--
branch : feature
2016-11-10 11:56:40 +02:00
Roman Telezhynskyi
836df6e309 Zoom fit best for details scene again working.
--HG--
branch : feature
2016-11-09 16:29:28 +02:00
Roman Telezhynskyi
a6a492c8d3 Better to give a piece default name.
--HG--
branch : feature
2016-11-09 16:27:17 +02:00
Roman Telezhynskyi
39d2ea41ac Returned undocommand "Toggle piece in layout".
--HG--
branch : feature
2016-11-09 15:53:22 +02:00
Roman Telezhynskyi
8601b2ae2a Returned undocommand "Move piece".
--HG--
branch : feature
2016-11-09 13:06:05 +02:00
Roman Telezhynskyi
6c0e4348e7 The app again parse tag "detail".
--HG--
branch : feature
2016-11-08 17:54:26 +02:00
Roman Telezhynskyi
2eea6482de From no one we should check count of VPiece.
--HG--
branch : feature
2016-11-08 17:53:38 +02:00
Roman Telezhynskyi
bf847bac7b Dialog Detail need pointer to scene Details.
--HG--
branch : feature
2016-11-08 14:04:23 +02:00
Roman Telezhynskyi
c5e8a6a529 Refactor templates SetToolButton and SetToolButtonWithApply.
These templates do almost the same. Uniting them looks like a good idea.

--HG--
branch : feature
2016-11-08 13:39:27 +02:00
Roman Telezhynskyi
731456f714 Merge with develop
--HG--
branch : feature
2016-11-08 12:57:19 +02:00
Roman Telezhynskyi
4a41840ae7 New class VToolSeamAllowance.
--HG--
branch : feature
2016-11-08 12:57:01 +02:00
Roman Telezhynskyi
2f1524d0db Move url to user manual outside of translated string.
--HG--
branch : develop
2016-11-07 13:10:53 +02:00
Roman Telezhynskyi
bf306f6101 The visualization connected to tool dialog.
--HG--
branch : feature
2016-11-05 12:49:20 +02:00
Roman Telezhynskyi
f40bf977c8 Enable internal move in the list. Helps user quickly make reorder.
--HG--
branch : feature
2016-11-04 17:34:15 +02:00
Roman Telezhynskyi
f58f840488 Merge with develop
--HG--
branch : feature
2016-11-04 16:28:38 +02:00
Roman Telezhynskyi
1dd86e66fb New dialog connected to tool button.
--HG--
branch : feature
2016-11-04 16:16:11 +02:00
Roman Telezhynskyi
e6c85fa47a Calling constructor of Preference dialog take some time. Because of this user
have time to call the dialog twice.

--HG--
branch : develop
2016-11-04 13:29:59 +02:00
Roman Telezhynskyi
595a7dcaff Enable attribute Qt::AA_EnableHighDpiScaling for support HighDpi displays.
--HG--
branch : develop
2016-11-04 12:47:10 +02:00
Roman Telezhynskyi
c978caa7ba Fixed url to page UserManual:Crash reports.
--HG--
branch : develop
2016-11-04 11:41:16 +02:00
Roman Telezhynskyi
0599583923 Fix issue in context menu details list. QUndoStack endMacro() did not match
beginMacro().

--HG--
branch : develop
2016-11-03 15:39:48 +02:00
Roman Telezhynskyi
d134e8b367 Clang warnings.
--HG--
branch : develop
2016-11-01 10:42:32 +02:00
Roman Telezhynskyi
b644209406 Resolved issue #580. Extend the list of heights.
--HG--
branch : develop
2016-10-26 14:49:09 +03:00
Bojan Kverh
f5ab3d80c3 Merged develop into feature
--HG--
branch : feature
2016-10-25 23:01:41 +02:00
BojanKverh
96cfc52202 At least one arrow has to be present on a grainline
--HG--
branch : feature
2016-10-25 23:00:42 +02:00
Roman Telezhynskyi
be10c88b7e Added new language Greek (Greece).
--HG--
branch : develop
2016-10-25 21:29:54 +03:00
Roman Telezhynskyi
6ca4abd8fd Fix typo.
--HG--
branch : develop
2016-10-25 19:12:06 +03:00
BojanKverh
21cd56463c User can now turn on/off grainline arrows
--HG--
branch : feature
2016-10-25 00:53:01 +02:00
BojanKverh
568ecc01a6 Fixed exception catching when reading grainline formulas
--HG--
branch : feature
2016-10-23 22:04:14 +02:00
BojanKverh
22d2f2275e Fixed exception catching when reading grainline formulas
--HG--
branch : feature
2016-10-23 21:57:55 +02:00
BojanKverh
ddb040901b Fixed default values for grainline formulas
--HG--
branch : feature
2016-10-23 21:51:22 +02:00
BojanKverh
1f67e327c4 Fixed exception catching when reading grainline formulas
--HG--
branch : feature
2016-10-23 21:45:11 +02:00
BojanKverh
5862264a1d Fixed saving grainline formulas when grainline is set to not visible
--HG--
branch : feature
2016-10-23 21:24:16 +02:00
BojanKverh
e82f65fc6a Fixed the grainline tab icon in details dialog
--HG--
branch : feature
2016-10-23 20:59:38 +02:00
Bojan Kverh
01c068ddd0 Merged develop into feature
--HG--
branch : feature
2016-10-23 15:28:40 +02:00
Ronan Le Tiec
ae9da263ab issue #570 tiled pdf case when margin smaller than min
--HG--
branch : feature
2016-10-23 11:11:00 +02:00
Roman Telezhynskyi
5c821e331d Refactoring function MapDiagrams(). ref #576.
--HG--
branch : develop
2016-10-17 16:55:58 +03:00
Bojan Kverh
128924eb28 Merged develop into feature
--HG--
branch : feature
2016-10-16 15:03:16 +02:00
Roman Telezhynskyi
4a326d3b6b Allow MAC OS X to find library inside a bundle.
(grafted from 483fd5c402708b828382a691e0f21305b2b2b9df)

--HG--
branch : develop
2016-10-16 12:48:06 +03:00
Roman Telezhynskyi
67d20696a7 Fixed Mac OS X deployment target.
(grafted from 8bd98d7d0a42ca97d7608b084b5f2ddbf228117e)

--HG--
branch : develop
2016-10-16 12:47:47 +03:00
BojanKverh
46eb6dfaa3 Added grainline to layout
--HG--
branch : feature
2016-10-16 11:38:08 +02:00
Roman Telezhynskyi
ac85c37de7 Allow MAC OS X to find library inside a bundle. 2016-10-16 12:08:30 +03:00
Roman Telezhynskyi
ed53077203 Fixed Mac OS X deployment target. 2016-10-16 12:03:19 +03:00
Roman Telezhynskyi
c08e007bc8 Merge with release. Release 0.4.5. 2016-10-15 14:56:19 +03:00
Bojan Kverh
e1a4eeb4e4 Merged develop into feature
--HG--
branch : feature
2016-10-15 11:50:17 +02:00
Roman Telezhynskyi
29664e118a Added new option "Invert selection" to context menu tool Detail.
--HG--
branch : develop
2016-10-14 23:25:10 +03:00
Roman Telezhynskyi
972c70e608 Selected detail is also selected in the list.
--HG--
branch : develop
2016-10-14 21:33:12 +03:00
Roman Telezhynskyi
d38e81cecb Added new option "In layout" to context menu tool Detail.
--HG--
branch : develop
2016-10-14 20:41:37 +03:00
Roman Telezhynskyi
710558812a Improved performans commands Select all/Select none in the list of details in
layout.

--HG--
branch : develop
2016-10-14 17:11:15 +03:00
Bojan Kverh
39afb81321 Merged develop into feature
--HG--
branch : feature
2016-10-13 19:53:49 +02:00
Roman Telezhynskyi
0817264a84 New feature. Valentina will highlight a detail selected in the Group list.
--HG--
branch : develop
2016-10-12 14:43:08 +03:00
Bojan Kverh
bc345231ea Merged develop into feature
--HG--
branch : feature
2016-10-10 22:43:00 +02:00
Roman Telezhynskyi
b393d284c8 Case where margins bigger than min values. ref #570.
--HG--
branch : develop
2016-10-08 17:53:53 +03:00
Roman Telezhynskyi
fce190db74 Set default page size for tiled print. ref #570.
--HG--
branch : develop
2016-10-08 13:18:21 +03:00
Roman Telezhynskyi
b6c7f6e76e Resolved issue #575. Prefence: forbid flipping do not work.
--HG--
branch : develop
2016-10-08 13:14:14 +03:00
Bojan Kverh
520995a90c Merged develop into feature
--HG--
branch : feature
2016-10-06 20:39:55 +02:00
Roman Telezhynskyi
8d455952f8 The warning is accessible only if build with Qt 5.3. ref #570.
--HG--
branch : develop
2016-10-06 19:42:13 +03:00
Roman Telezhynskyi
27767e46e2 Warn about invalid margins. ref #570.
--HG--
branch : develop
2016-10-06 19:28:58 +03:00
Roman Telezhynskyi
9da0b5cab5 Refactoring methods GetMinPrinterFields and GetPrinterFields.
--HG--
branch : develop
2016-10-06 19:13:06 +03:00
BojanKverh
b755762aec Merged develop into feature
--HG--
branch : feature
2016-10-05 20:27:57 +02:00
Roman Telezhynskyi
abce5439a5 Resolved issue #573. New tool: 'Move Point'.
--HG--
branch : develop
2016-10-04 17:34:37 +03:00
Bojan Kverh
f99693ae55 Merged develop into feature
--HG--
branch : feature
2016-10-01 10:28:50 +02:00
Roman Telezhynskyi
723d68b245 Resolved issue #570. Error: Tiled PDF : field values not taken into account if
one of them is smaller than 0,3.

--HG--
branch : develop
2016-09-30 19:33:10 +03:00
BojanKverh
744acbcd3b Merged with develop
--HG--
branch : feature
2016-09-27 22:00:02 +02:00
Roman Telezhynskyi
bf1e4aeb0c Fixed issue #539. Infinite alert loop "Gradation doesn't support inches" when
loading standard table.
(grafted from 9e1dee53ca8fb5d116359f9aff4b62220a10bb39)

--HG--
branch : develop
2016-09-27 14:18:08 +03:00
Roman Telezhynskyi
14a6d07b59 Fixed issue #539. Infinite alert loop "Gradation doesn't support inches" when
loading standard table.

--HG--
branch : release
2016-09-27 14:17:01 +03:00
Roman Telezhynskyi
4bd615cda4 Fixed typo.
--HG--
branch : develop
2016-09-27 13:00:56 +03:00
Roman Telezhynskyi
aefdd21ac7 Try avoid translators errors. Translate only parts of filters that really
should be translated.

--HG--
branch : develop
2016-09-27 12:37:41 +03:00
Roman Telezhynskyi
de1c7cd9f3 Resolved issue #569. Tape app. Options that open new file open new instance
even if a user doesn't want this.
(grafted from a74c6d9fac8dd6920d7d0914e68770b893920380)

--HG--
branch : develop
2016-09-27 12:27:52 +03:00
Roman Telezhynskyi
e69bae1578 Resolved issue #569. Tape app. Options that open new file open new instance
even if a user doesn't want this.

--HG--
branch : release
2016-09-27 12:26:48 +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
2b26b986bc Fix recalculation scene after creating new PP.
--HG--
branch : develop
2016-09-24 15:05:17 +03:00
Roman Telezhynskyi
378ec5f4b7 Add two news files to the collection.
--HG--
branch : develop
2016-09-23 19:17:25 +03:00
Roman Telezhynskyi
d8874c844f Suppress all messages that contain string "Error receiving trust for a CA
certificate". ref #568.

--HG--
branch : develop
2016-09-20 21:33:33 +03:00
Roman Telezhynskyi
5fe41e8a99 Suppress message inside noisyFailureMsgHandler. ref #568.
--HG--
branch : develop
2016-09-20 21:12:19 +03:00
BojanKverh
5f1d7a357a Merged develop into feature, removing the conflicts
--HG--
branch : feature
2016-09-20 19:29:49 +02:00
Roman Telezhynskyi
33298c3361 GCC warnings.
--HG--
branch : develop
2016-09-17 12:42:05 +03:00
Roman Telezhynskyi
74bc4179ef New tool Flipping by axis.
--HG--
branch : feature
2016-09-17 12:10:03 +03:00
Bojan Kverh
eff3e0c733 Merged develop into feature
--HG--
branch : feature
2016-09-15 09:10:00 +02:00
Roman Telezhynskyi
34338cc275 Merge with develop.
--HG--
branch : feature
2016-09-14 19:26:26 +03:00
Roman Telezhynskyi
1d909ee4ac Added new file to collection.
--HG--
branch : develop
2016-09-14 16:23:48 +03:00
Roman Telezhynskyi
2024f4d19b Added new file with bug example.
--HG--
branch : develop
2016-09-14 16:13:00 +03:00
Roman Telezhynskyi
9bb88afaa5 New tool Flipping by line.
--HG--
branch : feature
2016-09-13 11:27:44 +03:00
BojanKverh
2dc19732a0 Prepated detail dialog for formula editing in case of grainline length and rotation
--HG--
branch : feature
2016-09-08 22:35:32 +02:00
BojanKverh
287f8fc41e Added VGrainlineGeometry class to hold grainline parameters and methods to save, load and edit it
--HG--
branch : feature
2016-09-06 23:50:46 +02:00
Roman Telezhynskyi
0d35033275 Added global option "Forbid Flipping". ref #560.
--HG--
branch : develop
2016-09-06 17:05:54 +03:00
Roman Telezhynskyi
038863fbdf Resolved issue #560. Flipped pattern pieces in Layout.
--HG--
branch : develop
2016-09-06 13:24:52 +03:00
Valentina Zhuravska
4283cc8ef2 Used QUndoStack::beginMacro and QUndoStack::endMacro.
--HG--
branch : feature
2016-09-06 12:37:20 +03:00
Valentina Zhuravska
a067b19d8f Added "All/None" menu in detail list area for easier handling of many parts.
--HG--
branch : feature
2016-08-31 16:18:34 +03:00
Roman Telezhynskyi
34beaed2b2 Tape app. Show tooltip in table.
--HG--
branch : develop
2016-08-26 18:57:39 +03:00
Roman Telezhynskyi
6baa623be3 Disable buttons Find Next and Find Previous if the search field is empty.
--HG--
branch : develop
2016-08-26 16:16:06 +03:00
Roman Telezhynskyi
ddc34803a0 Fix issue with Config dialog Apply button.
In some cases the Apply or OK buttons will not save settings because of section
that was active in the moment of applying. For example made change in one
section, change to another and click Apply. The change will not be applied.

--HG--
branch : develop
2016-08-26 13:36:51 +03:00
Roman Telezhynskyi
f22eccf91e Update search after using the qlineedit clear button.
--HG--
branch : develop
2016-08-26 13:27:14 +03:00
Roman Telezhynskyi
758f1caa1b Refresh search after retranslating the table.
--HG--
branch : develop
2016-08-26 13:23:50 +03:00
Roman Telezhynskyi
32df298cc3 The field Created was useless. Moved data about date of creation to a checkbox.
--HG--
branch : develop
2016-08-26 12:48:55 +03:00
Roman Telezhynskyi
23d9898154 Use QLocale::c() instead of QLocale(QLocale::C).
--HG--
branch : develop
2016-08-26 12:38:23 +03:00
Roman Telezhynskyi
707712befd TMainWindow. Comboboxes on the tab Information looked ugly.
--HG--
branch : develop
2016-08-25 20:26:59 +03:00
Roman Telezhynskyi
88d2919a9b TMainWindow will show decimal point according to locale.
--HG--
branch : develop
2016-08-25 20:00:03 +03:00
Roman Telezhynskyi
ed122a11c2 Fixed issue #553. Tape.exe crash. Issue with the Search field.
--HG--
branch : release
2016-08-25 19:32:04 +03:00
Roman Telezhynskyi
89ce8afe77 Localize numeric keyboard's dot key according to locale and user preferences.
--HG--
branch : develop
2016-08-23 21:24:14 +03:00
Roman Telezhynskyi
209d2c46b6 Save as tiled pdf should produce only A4 page size output.
--HG--
branch : develop
2016-08-23 15:43:52 +03:00
Roman Telezhynskyi
ea2c601850 Lupdate.
--HG--
branch : develop
2016-08-23 15:14:56 +03:00
Roman Telezhynskyi
6281f46a8e Rewrite describing placeholders %size% and %height%. New way will help avoid
translation mistake.

--HG--
branch : develop
2016-08-23 14:02:09 +03:00
Roman Telezhynskyi
872fcc5217 Added Timo Virtaneva to the list of contributors.
--HG--
branch : develop
2016-08-22 20:04:50 +03:00
Roman Telezhynskyi
fa7afbfc39 Don't ignore margins when export to PDF.
--HG--
branch : develop
2016-08-22 20:00:42 +03:00
Roman Telezhynskyi
55b93e0d87 Fixed issue #549. Printing fields ignored in paper length.
--HG--
branch : develop
2016-08-22 19:48:16 +03:00
Roman Telezhynskyi
e54e1e4f11 Allow to select printer in Layout Settings dialog.
--HG--
branch : develop
2016-08-22 19:43:22 +03:00
Roman Telezhynskyi
7dd88da82d Merged in BojanKverh/valentina-issue24a/feature (pull request #138)
Improvements for feature "New feature: Label on detail" ref #24.

--HG--
branch : develop
2016-08-22 11:33:22 +03:00
Roman Telezhynskyi
134d683c72 Fixed issue #549. Printing fields ignored in paper length.
--HG--
branch : develop
2016-08-22 11:25:06 +03:00
Roman Telezhynskyi
50e3e4e9d7 Try to make output less noisy.
--HG--
branch : develop
2016-08-21 20:01:07 +03:00
Roman Telezhynskyi
fb5a9c64b2 Cppcheck warnings.
--HG--
branch : develop
2016-08-21 19:45:16 +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
BojanKverh
ff6d3c7155 Fixed user defined materials
--HG--
branch : feature
2016-08-21 10:27:39 +02:00
Bojan Kverh
19c69c691a Merged develop into feature
--HG--
branch : feature
2016-08-21 00:01:35 +02:00
Roman Telezhynskyi
d2791a1a6b Fixed Valentina.exe bug in command line mode.
Not all errors were correctly catched in comsole mode. This caused method
LoadPattern return successes where in reality was an error. Also this bug made
regression tests less useful.
(grafted from fbf1dfae06b21d88189d771f2b2e45eeb84a02ce)

--HG--
branch : develop
2016-08-20 20:47:39 +03:00
Roman Telezhynskyi
12b4f8d77f Fixed Valentina.exe bug in command line mode.
Not all errors were correctly catched in comsole mode. This caused method
LoadPattern return successes where in reality was an error. Also this bug made
regression tests less useful.

--HG--
branch : release
2016-08-20 20:08:34 +03:00
BojanKverh
1cfa97497c Fixed translations after language change
--HG--
branch : feature
2016-08-17 21:38:39 +02:00
Bojan Kverh
10f2d83edd Merged develop into feature
--HG--
branch : feature
2016-08-17 18:00:56 +02: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
dde8f9638e Cppcheck warnings.
--HG--
branch : release
2016-08-15 21:06:04 +03:00
BojanKverh
92ec78e6b3 Made sure that labels stay inside the detail after changing size or height
--HG--
branch : feature
2016-08-15 17:19:21 +02:00
Bojan Kverh
a5f16ab738 Merged develop into feature
--HG--
branch : feature
2016-08-15 15:38:51 +02:00
Roman Telezhynskyi
ba36ab3c71 Fixed bug with path to destination folder. Now the app will check each change
of path. If path after closing the dialog doesn't exist the app will try to
create a path.

--HG--
branch : release
2016-08-15 16:37:44 +03:00
Roman Telezhynskyi
1a56b2721a Several changes related to layout export.
Added tool button "Layout export" in section Layout. Should speed up calling
this feature.
Redesign dialog "Layout export". Changes in layout. Now user can change dialog
width.
Fixed bug with path to destination folder. Now the app will check each change
of path. If path after closing the dialog doesn't exist the app will try to
create a path.

--HG--
branch : develop
2016-08-15 15:03:10 +03:00
BojanKverh
fb326d4f39 Added %size% and %height% placeholders to display pattern size and height in the Pattern size line edit
--HG--
branch : feature
2016-08-15 13:03:59 +02:00
Bojan Kverh
37b683f125 Merged develop into feature
--HG--
branch : feature
2016-08-15 11:06:42 +02:00
Roman Telezhynskyi
da4bf27c75 New test localization (checking punctuation).
--HG--
branch : develop
2016-08-12 15:21:55 +03:00
BojanKverh
86f24bf0e5 User defined materials are now remembered and can also be deleted in preferences dialog
--HG--
branch : feature
2016-08-12 01:22:23 +02:00
BojanKverh
b0532e6fb9 Removed userDef attributes from DOM tree, where they are not necessary. Fixed some translations. Refactored finding the selected material in detail dialog
--HG--
branch : feature
2016-08-11 22:44:53 +02:00
Valentina Zhuravska
e226e3ce24 Fixed issue #537. Valentina crashes when use undo command.
--HG--
branch : feature
2016-08-11 21:40:38 +03:00
Roman Telezhynskyi
a890ec47dd Fixed issue #537. Valentina crashes when use undo command.
(grafted from b9726acb2bb6b7bd606d6ecc96e6498f093c1861)

--HG--
branch : develop
2016-08-12 17:38:01 +03:00
Roman Telezhynskyi
41308f1468 Fixed bug case when after first creating a layout a list of details was cleared.
--HG--
branch : develop
2016-08-09 20:53:38 +03:00
Roman Telezhynskyi
9035382238 Cppcheck warnings.
--HG--
branch : develop
2016-08-09 14:18:49 +03:00
Roman Telezhynskyi
31fa9785b9 Fixed several mistakes in original strings.
--HG--
branch : develop
2016-08-09 13:50:37 +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
1c987b919b Use gcc’s Address Sanitizer only in Debug mode.
--HG--
branch : develop
2016-08-06 19:23:42 +03:00
Roman Telezhynskyi
69e0ff74e6 MSVC warnings.
--HG--
branch : develop
2016-08-06 15:59:30 +03:00
Roman Telezhynskyi
2af9c0e65a Fixed issues with include paths.
--HG--
branch : develop
2016-08-05 13:48:23 +03:00
Roman Telezhynskyi
483e56866d Added MSVC warnings.
--HG--
branch : develop
2016-07-29 21:04:53 +03:00
Roman Telezhynskyi
75e9e9b2ee Fixed issues with include paths.
--HG--
branch : develop
2016-08-05 13:41:02 +03:00
Roman Telezhynskyi
0cdd058eb4 Fixed issue #538. QSslSocket error messages during startup in newest development
build.

--HG--
branch : develop
2016-08-03 14:54:18 +03:00
Roman Telezhynskyi
ffb6f1fbd5 cppcheck warnings.
--HG--
branch : develop
2016-08-02 15:12:13 +03:00
Roman Telezhynskyi
e7504c0ea1 Resolved issue #24. New feature: Label on detail.
--HG--
branch : develop
2016-07-30 20:03:37 +03:00
Roman Telezhynskyi
35dee8dafb Refactoring. Treat waitForFinished more carefully. Use QScopedPointer for
pointer to QProcess.

--HG--
branch : develop
2016-07-30 18:17:43 +03:00
BojanKverh
a1c905381b Fixed label update on clicking OK in pattern properties dialog and the label is hidden when there is no text on it
--HG--
branch : feature
2016-07-30 13:21:03 +02:00
Bojan Kverh
c5f38207fd Merged develop into feature
--HG--
branch : feature
2016-07-29 21:47:49 +02:00
Roman Telezhynskyi
c7cddbfb28 Specify correct name for lrelease on Windows.
--HG--
branch : develop
2016-07-28 15:15:31 +03:00
Valentina Zhuravska
6081a5f9d7 Little fix.
--HG--
branch : feature
2016-07-26 16:16:09 +03:00
Valentina Zhuravska
1ae8509d63 Merge with develop.
--HG--
branch : feature
2016-07-26 15:32:55 +03:00
Valentina Zhuravska
f9c9cedfac We don't need DialogTool::ShowVisToolTip slot anymore.
--HG--
branch : feature
2016-07-26 13:45:17 +03:00
BojanKverh
88055db170 Show measurements option is now disabled and not hidden, if there are no measurements associated with the current pattern. Finished pattern converter and refactored measurement file extraction in text manager class
--HG--
branch : feature
2016-07-25 19:10:13 +02:00
Valentina Zhuravska
d248c4f18a Added VAbstractMainWindow class.
--HG--
branch : feature
2016-07-25 19:23:00 +03:00
BojanKverh
85db8f84e6 Added hiding Show measurement option and showing just a filename without path in detail and layout mode. Also fixed a wrong comment
--HG--
branch : feature
2016-07-24 19:07:38 +02:00
BojanKverh
a6e38b54d0 Added the optional measurements line to the pattern info label
--HG--
branch : feature
2016-07-24 12:30:10 +02:00
Bojan Kverh
b19f45e90a Merged develop into feature
--HG--
branch : feature
2016-07-23 14:11:22 +02:00
Roman Telezhynskyi
524419e53f Fixed build on OS X.
--HG--
branch : develop
2016-07-23 12:56:22 +03:00
Roman Telezhynskyi
dfb8c387b6 Added checking which minimal OSX version supports current Qt version.
From time to time Qt change minimal supported OS X version. This checking will
help build Valentina on older Qt version without fixing .pro files.

--HG--
branch : develop
2016-07-23 12:54:00 +03:00
BojanKverh
0e7b369c2e Corrected all the issues reported by Roman till 10:11 AM
--HG--
branch : feature
2016-07-22 11:56:45 +02:00
BojanKverh
28af32f027 Removed unnecessary method call
--HG--
branch : feature
2016-07-22 10:07:16 +02:00
BojanKverh
312b8e458b Centered the label texts and did some refactoring, so that the label content is generated in one place
--HG--
branch : feature
2016-07-21 21:46:49 +02:00
BojanKverh
5ba40aad8c Fixed alignments
--HG--
branch : feature
2016-07-21 16:49:26 +02:00
BojanKverh
d6341b50e4 Fixed alignment
--HG--
branch : feature
2016-07-21 08:38:10 +02:00
Bojan Kverh
4138d30fb6 Merged develop into feature
--HG--
branch : feature
2016-07-21 08:30:51 +02:00
Roman Telezhynskyi
9375e0319d As part of testing make all compiler warnings treat as errors.
Added new CONFIG option "checkWarnings".

--HG--
branch : develop
2016-07-20 15:40:33 +03:00
Roman Telezhynskyi
1bffa92127 Using QLatin1String instead of QLatin1Literal.
QLatin1Literal is just a typedef of QLatin1String lefter for compatibility with
Qt 4.x.

--HG--
branch : develop
2016-07-20 11:39:15 +03:00
Roman Telezhynskyi
f477904ef3 Use QStringLiteral everywhere inside noisyFailureMsgHandler().
--HG--
branch : develop
2016-07-20 11:25:53 +03:00
Roman Telezhynskyi
dc275dce14 Fixed search string for error "setGeometry: Unable to set geometry".
--HG--
branch : develop
2016-07-20 11:11:35 +03:00
Roman Telezhynskyi
817a5d5f56 Fixed suppression warnings in Release mode.
Used wrong macros.

--HG--
branch : develop
2016-07-20 11:10:23 +03:00
Bojan Kverh
608b566006 Merged develop into feature
--HG--
branch : feature
2016-07-19 23:00:37 +02:00
BojanKverh
948102e74e Current date is always used to show the pattern creation date
--HG--
branch : feature
2016-07-19 22:59:14 +02:00
Roman Telezhynskyi
ce50203d57 Better code look.
--HG--
branch : develop
2016-07-19 20:51:12 +03:00
BojanKverh
1759d4314f Labels with pattern info are now displayed in the Layout mode as well. Maybe needs a little bit of refactoring (the label styles and texts are now set up in two different places (VToolDetail and VLayoutDetail), I think this should be unified
--HG--
branch : feature
2016-07-19 13:47:21 +02:00
BojanKverh
6516fb3204 Made the labels text in Layout mode look better
--HG--
branch : feature
2016-07-19 09:06:29 +02:00
Bojan Kverh
cb6b967a40 Merged develop into feature
--HG--
branch : feature
2016-07-19 02:28:45 +02:00
BojanKverh
9368978039 Added detail texts to layout mode
--HG--
branch : feature
2016-07-19 02:26:50 +02:00
Roman Telezhynskyi
8b438daa6c Slot OpenRecentFile in Tape replaced by lambda.
--HG--
branch : develop
2016-07-18 22:58:14 +03:00
Roman Telezhynskyi
7cabc7df18 Fixed loading recent files in main window.
--HG--
branch : develop
2016-07-18 22:55:18 +03:00
BojanKverh
363714985c Merging
--HG--
branch : feature
2016-07-18 21:02:02 +02:00
BojanKverh
9943fa7c8b Merging
--HG--
branch : feature
2016-07-18 20:56:05 +02:00
Roman Telezhynskyi
18e0f6750a Refactoring. Fixed wrong using method tr().
--HG--
branch : develop
2016-07-18 19:29:34 +03:00
Roman Telezhynskyi
47f12c80f8 Refactoring. Use lambda for small slots. Move slots declaration in appropriate
place.

--HG--
branch : develop
2016-07-18 18:09:15 +03:00
BojanKverh
fed323fc25 Labels are now shown on the layout, however I still need to figure out how to paste text into the labels
--HG--
branch : feature
2016-07-17 22:52:53 +02:00
BojanKverh
25a58421cc Added pattern size field and creation date visibility flag to pattern properties
--HG--
branch : feature
2016-07-16 01:12:51 +02:00
Bojan Kverh
37425be026 Merged develop into feature
--HG--
branch : feature
2016-07-15 23:06:50 +02:00
Roman Telezhynskyi
faae90363e Show button "Check For Updates" in dialogs about Valentina and Tape. Move
settings to common file.

--HG--
branch : feature
2016-07-15 13:14:48 +03:00
Roman Telezhynskyi
a94daf6834 First implementation of Update Notification.
--HG--
branch : feature
2016-07-15 12:00:00 +03:00
BojanKverh
ea9cdd46b2 Fixed some code style errors and checking label position at resizing
--HG--
branch : feature
2016-07-14 02:59:42 +02:00
Bojan Kverh
f7ebda3c6e Merged develop into feature
--HG--
branch : feature
2016-07-13 23:11:49 +02:00
Valentina Zhuravska
e080d845f3 We need to connect ToolTip signal from splines that already exists to ShowToolTip slot.
--HG--
branch : feature
2016-07-13 22:50:55 +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
Valentina Zhuravska
2cf2275365 Added ToolTip for editing simple curve.
--HG--
branch : feature
2016-07-13 14:05:37 +03:00
Bojan Kverh
e93f2c117b Merged develop into feature
--HG--
branch : feature
2016-07-12 22:09:47 +02:00
Roman Telezhynskyi
f56f2a0209 Fixed issue #526. Dialog Detail is not on top after selection second object on
Mac.
(grafted from acde5cf1164d8227d71e7ff41ce03b45cbe7c9dd)

--HG--
branch : develop
2016-07-09 13:57:37 +03:00
Roman Telezhynskyi
b91c0027b5 Fixed issue #526. Dialog Detail is not on top after selection second object on
Mac.

--HG--
branch : release
2016-07-09 13:55:51 +03:00
Bojan Kverh
5aa75f2aff Merged develop into feature
--HG--
branch : feature
2016-07-07 20:47:16 +02:00
Roman Telezhynskyi
d94b3dad14 Fixed build on Mac OS X.
--HG--
branch : develop
2016-07-07 18:15:28 +03:00
Roman Telezhynskyi
a2acb032a2 Use static assert to check if minimal version is high enough to delete code that
needed for backward compatibility.

--HG--
branch : develop
2016-07-07 18:04:26 +03:00
Roman Telezhynskyi
a78a516ce9 Remove zoom original from toolbar.
Rare used feature as i see it.

--HG--
branch : develop
2016-07-07 16:47:52 +03:00
Roman Telezhynskyi
628fdd4217 Call Lite Parse each time when add object inside of file.
--HG--
branch : develop
2016-07-07 14:55:01 +03:00
BojanKverh
192c4d33a7 Added possibility to hide both labels for each detail individually
--HG--
branch : feature
2016-07-06 21:56:52 +02:00
BojanKverh
aa1d1f8ce1 Label cannot be moved outside of parent bounding box. Moving cursor is on when moving label. Name of detail moved to Pattern Piece Data tab. Hopefully all warnings removed
--HG--
branch : feature
2016-07-06 20:49:36 +02:00
BojanKverh
cdd3e03e53 Merged develop into feature
--HG--
branch : feature
2016-07-06 17:58:17 +02:00
Roman Telezhynskyi
f0a84471b3 Toolbar is only for frequently used features. "Config pattern piece" is not one
of them.

--HG--
branch : develop
2016-07-06 15:39:16 +03:00
Roman Telezhynskyi
c97fa6a1e8 We don't need anymore button Stop Tool. Arrow Tool does this function.
--HG--
branch : develop
2016-07-06 15:28:36 +03:00
BojanKverh
4829b28d25 Fixed saving documents that were created before 0.3.3 schema. This change sets a new version right after the DOM tree from loaded document is created.
--HG--
branch : feature
2016-07-03 11:41:48 +02:00
BojanKverh
180e1ddc90 Merged
--HG--
branch : feature
2016-07-03 10:24:25 +02:00
Valentina Zhuravska
9d19ac14c5 Resoved issue #522. Error: Crash in new file after clicking 'OK' in Point From
Distance And Angle tool.

--HG--
branch : develop
2016-07-02 08:10:09 +03:00
BojanKverh
f52f97740d Moved pattern info geometry into VDetail class
--HG--
branch : feature
2016-07-02 01:49:38 +02:00
BojanKverh
6effc2b5cd Rotation bugs fixed
--HG--
branch : feature
2016-07-01 01:45:16 +02:00
Roman Telezhynskyi
0e1155d63e Resolved issue #483. File lost.
Fixed crash after redo Unite tool. Caused by wrong position of modeling objects.
(grafted from 671b55b4fb9d5c12f980e2c5bc91b75208cac6a9)

--HG--
branch : release
2016-06-30 19:09:40 +03:00
Bojan Kverh
d5a3289ef7 Merged develop into feature
--HG--
branch : feature
2016-06-30 18:01:27 +02:00
Roman Telezhynskyi
6bf31f2846 Resolved issue #483. File lost.
Fixed crash after redo Unite tool. Caused by wrong position of modeling objects.

--HG--
branch : develop
2016-06-30 18:32:08 +03:00
Bojan Kverh
83ec6e219a Merged develop into feature
--HG--
branch : feature
2016-06-29 23:19:24 +02:00
Roman Telezhynskyi
750fe98ea4 Following "Clean all/qmake/Build all" did not refresh all data properly.
QM files inside /share/translations/ were not cleaned after call clean all.

--HG--
branch : develop
2016-06-28 22:08:58 +03:00
Roman Telezhynskyi
002619ad83 Moves the arrow tool from the toolbar to all the tabs in the toolbox as
discussed in https://groups.google.com/forum/#!topic/valentina-project-list/6RvYFlJLmMM

Thanks Benjamin Nauck for idea and the patch.

--HG--
branch : develop
2016-06-28 20:42:04 +03:00
Roman Telezhynskyi
0744359337 Run with pngcrush 1.8.1.
--HG--
branch : develop
2016-06-27 19:08:18 +03:00
Roman Telezhynskyi
ba98e64217 These files also were broken by pngcrush.
--HG--
branch : develop
2016-06-27 19:01:31 +03:00
Roman Telezhynskyi
39f7727088 Used pngcrush key "brute".
--HG--
branch : develop
2016-06-27 18:42:31 +03:00
BojanKverh
6577d82771 Added new schema to accomodate for new parameters and did some other minor changes. There is a bug with Undo on details label, will check that later
--HG--
branch : feature
2016-06-27 17:18:43 +02:00
BojanKverh
80fcf30776 Moving, resizing and editing both labels now works
--HG--
branch : feature
2016-06-27 11:06:51 +02:00
Bojan Kverh
1c7c962dc3 Merged develop into feature
--HG--
branch : feature
2016-06-27 10:16:48 +02:00
BojanKverh
fa105537d2 Moving and resizing pattern info label (has few bugs still, probably just XML parsing)
--HG--
branch : feature
2016-06-27 01:17:27 +02:00
Roman Telezhynskyi
643fafcbc9 Resolved issue #517. MAC version incorrect sRGB profile.
libpng warning: iCCP: known incorrect sRGB profile.

--HG--
branch : develop
2016-06-26 21:27:04 +03:00
BojanKverh
28c4eddbd7 Merged
--HG--
branch : feature
2016-06-26 19:35:21 +02:00
BojanKverh
065621f8c2 Added general info parameters to VPattern and updated pattern properties dialog accordingly
--HG--
branch : feature
2016-06-26 16:49:51 +02:00
Roman Telezhynskyi
1a218b5edb Set cell with icon in table non-editable.
--HG--
branch : develop
2016-06-26 15:45:31 +03:00
Roman Telezhynskyi
e0c22b6809 Detect when group name in the list was changed.
--HG--
branch : develop
2016-06-26 15:42:54 +03:00
Roman Telezhynskyi
7450ddf790 Set the item non-editable (view only), and non-selectable
--HG--
branch : feature
2016-06-26 14:38:44 +03:00
Roman Telezhynskyi
1608599795 Added list "Details in layout".
--HG--
branch : feature
2016-06-26 14:36:12 +03:00
Roman Telezhynskyi
93836ddf35 Refactoring MainWindowsNoGUI::PrepareDetailsForLayout. Use const iterator.
--HG--
branch : feature
2016-06-26 14:33:34 +03:00
Roman Telezhynskyi
39c84aa2c2 Refactoring. Use C++11 lambdas.
--HG--
branch : feature
2016-06-25 17:16:20 +03:00
Roman Telezhynskyi
31ed3d526c Fixed code style.
--HG--
branch : feature
2016-06-25 16:17:50 +03:00
BojanKverh
33e1a12a67 Merged heads
--HG--
branch : feature
2016-06-24 18:05:31 +02:00
Bojan Kverh
3480f33922 Merged develop into feature
--HG--
branch : feature
2016-06-24 17:57:52 +02:00
BojanKverh
caa6b425b9 Tried QGraphicsTextItem::boundingBox approach
--HG--
branch : feature
2016-06-24 17:57:08 +02:00
BojanKverh
6fbffd2834 Position, size and font size of the text label are now saved into VDetail DOM tree. Undo/Redo for moving and resizing the label works.
--HG--
branch : feature
2016-06-23 22:35:32 +02:00
Roman Telezhynskyi
e7455cdabc Option "Use last tool" worked incorrect in case of tool "Arc intersect axis".
--HG--
branch : develop
2016-06-23 20:45:45 +03:00
Bojan Kverh
cef47f89fc Merged develop into feature
--HG--
branch : feature
2016-06-23 19:36:00 +02:00
Roman Telezhynskyi
7eaadf1761 Resolved issue #480. New tool: Midpoint between two points.
--HG--
branch : develop
2016-06-23 20:20:21 +03:00
Roman Telezhynskyi
82c5c048bf Refactoring, removed unused code.
(grafted from 47cdd2849e84f9c1a4897d032259af6216e14e7e)

--HG--
branch : release
2016-06-22 21:14:09 +03:00
Roman Telezhynskyi
94cfe7c5d3 Fixed error in Tape app.
Editing values of standard table was incorrect.
(grafted from 416f3dddecb4d54024cc412cde89013d8f5cc1a6)

--HG--
branch : release
2016-06-22 21:14:00 +03:00
Roman Telezhynskyi
d42fb238df Fixed not enought decimals.
(grafted from e14e15187b021ede6c77fcd0d3fa12b83ef38f60)

--HG--
branch : release
2016-06-22 21:13:50 +03:00
Roman Telezhynskyi
10d29af2a2 Refactoring, removed unused code.
--HG--
branch : develop
2016-06-22 21:09:00 +03:00
Roman Telezhynskyi
94a2de1f75 Fixed error in Tape app.
Editing values of standard table was incorrect.

--HG--
branch : develop
2016-06-22 21:07:06 +03:00
Roman Telezhynskyi
decb74f99e Fixed not enought decimals.
--HG--
branch : develop
2016-06-22 19:56:44 +03:00
Roman Telezhynskyi
d57cddd84b Fixed issue #497. Printed document size as info.
--HG--
branch : develop
2016-06-22 16:23:05 +03:00
Roman Telezhynskyi
8a02129e24 Fixed path to Inno Setup.
--HG--
branch : develop
2016-06-22 14:10:40 +03:00
BojanKverh
b14a3c9551 Fixed the SaveDetailOption::undo method and few code style issues
--HG--
branch : feature
2016-06-21 19:53:15 +02:00
Bojan Kverh
553f8dc2d2 Merged develop into feature
--HG--
branch : feature
2016-06-21 18:29:08 +02:00
Roman Telezhynskyi
aaab56fe00 Fixed typos.
--HG--
branch : develop
2016-06-21 16:04:24 +03:00
Roman Telezhynskyi
2d25702c97 Restore correct pattern piece if no details were found for switching to Detail
mode.

--HG--
branch : develop
2016-06-21 14:58:43 +03:00
Roman Telezhynskyi
e1d87b0414 Fixed bug editing height increase value.
(grafted from 0358b83a446ec083693b50eb93525edfe5535f17)

--HG--
branch : release
2016-06-21 14:15:48 +03:00
Roman Telezhynskyi
cdb51f2dfe Set single step depend on measurement unit.
(grafted from 46c591321c41be7925fb0a0f2e4829ddbe9bed12)

--HG--
branch : release
2016-06-21 14:15:36 +03:00
Roman Telezhynskyi
8c63b44e65 Fixed bug editing height increase value.
--HG--
branch : develop
2016-06-21 14:13:14 +03:00
Roman Telezhynskyi
b7d62d3dbe Set single step depend on measurement unit.
--HG--
branch : develop
2016-06-21 13:53:33 +03:00
BojanKverh
c05c51e078 Finished the detail dialog
--HG--
branch : feature
2016-06-21 00:49:22 +02:00
Roman Telezhynskyi
ed6c72bda9 Fixed Tape crash.
(grafted from 47b3aaf84786a338bc7c31284bef0bd5017a0c67)

--HG--
branch : develop
2016-06-19 20:31:24 +03:00
Roman Telezhynskyi
cfb836a573 Fixed Tape crash.
--HG--
branch : release
2016-06-19 20:26:45 +03:00
Roman Telezhynskyi
458d7be6b2 Show appropriate button text when file is read only.
--HG--
branch : develop
2016-06-18 18:09:18 +03:00
Roman Telezhynskyi
174b1fbfd6 Fixed issue #514. Read only setting not working properly.
--HG--
branch : develop
2016-06-18 17:37:06 +03:00
BojanKverh
1899abc39e Added pattern piece data dialog, which can be accessed with right mouse click in Detail mode
--HG--
branch : feature
2016-06-18 16:00:01 +02:00
Roman Telezhynskyi
7b40bc3667 Show path to pattern file in a graphical shell.
--HG--
branch : develop
2016-06-18 16:57:07 +03:00
Roman Telezhynskyi
d4abab1029 Explorer on Mac OS X has own name Finder.
--HG--
branch : develop
2016-06-18 16:09:04 +03:00
Roman Telezhynskyi
cdf3d76930 Fixed issue #494. Printing is not working.
--HG--
branch : release
2016-06-17 17:56:15 +03:00
BojanKverh
05b094deec Added a class to hold pattern piece data
--HG--
branch : feature
2016-06-17 16:42:38 +02:00
Roman Telezhynskyi
0be2cd2b17 Close #513. Trousers pattern.
The pattern added to collection.

--HG--
branch : develop
2016-06-17 15:54:37 +03:00
Roman Telezhynskyi
3c5d6aa500 Fixed issue #515. Seam allowance wrong way.
--HG--
branch : develop
2016-06-17 15:39:54 +03:00
Roman Telezhynskyi
4bf082bbe5 Fixed failed tests.
--HG--
branch : develop
2016-06-16 18:06:07 +03:00
Roman Telezhynskyi
972dd36fcf Redesign printing system. ref #494. Printing is not working.
Made complete redesign of printing code. Now the code check printer's dpi and
calculate  scale factor. Instead of printing with QImage buffer the code print
directly on printer. Help avoid limitations of QImage class.

Also removed menu option "Save as PDF". The option duplicate option "Export As"
and also mislead a user about purpose of option "Print preview".

--HG--
branch : develop
2016-06-15 13:55:43 +03:00
Holger Pandel
80f396d636 Merge with develop
--HG--
branch : feature
2016-06-13 12:47:27 +02:00
Holger Pandel
1d87a046f0 Changed the way the setup compiler exe is searched for.
--HG--
branch : feature
2016-06-13 12:37:44 +02:00
Valentina Zhuravska
45f9737fba Used Lambda expressions for slots in TMainWindow and DialogIncrements.
--HG--
branch : develop
2016-06-11 19:50:20 +03:00
Valentina Zhuravska
1ca5b4dfa6 Resolved issue #180. Search field in tape app and dialog Increments.
--HG--
branch : develop
2016-06-11 15:51:48 +03:00
BojanKverh
24a7294a38 Made the preferences dialog in Tape look a bit better with resizeable left column
--HG--
branch : feature
2016-06-10 21:57:47 +02:00
BojanKverh
96b2d28604 Fixed issue #479. Improve feature: The Preferences dialog box in Valentina and Tape should be expandable.
--HG--
branch : feature
2016-06-10 21:34:21 +02:00
Holger Pandel
74d47b5a4f Resolved issue #505. New installer script based on Inno Setup 5.
--HG--
branch : feature
2016-06-10 16:56:35 +02:00
BojanKverh
98b232930f Fixed issue #479. Improve feature: The Preferences dialog box should be expandable.
--HG--
branch : feature
2016-06-09 13:16:04 +02:00
BojanKverh
ee49f9a0ee Fixed the code style 2016-06-09 09:55:06 +02:00
BojanKverh
884a59ff0a Made Preferences dialog extendable 2016-06-09 09:48:45 +02:00
Roman Telezhynskyi
8f46a9666a Fixed issue #501. Rename Window->Close Window to Window->Close pattern.
(grafted from 3831b343e88f7b875ba191f467a056a247d50db2)

--HG--
branch : develop
2016-06-07 11:51:41 +03:00
Roman Telezhynskyi
fbeb56c959 Fixed issue #501. Rename Window->Close Window to Window->Close pattern.
--HG--
branch : release
2016-06-07 11:49:06 +03:00
Roman Telezhynskyi
b2f3affb34 Fixed issue #468. Tape 'Save As' should save a file without read only state.
--HG--
branch : release
2016-06-07 09:28:59 +03:00
Valentina Zhuravska
20ffdc607d Tape 'Save As' should save a file without read only state.
--HG--
branch : develop
2016-06-06 21:27:38 +03:00
Valentina Zhuravska
9b48867ee6 Merged dismine/valentina into develop
--HG--
branch : develop
2016-06-06 01:29:54 +03:00
Roman Telezhynskyi
17bc0c3ff0 New test case. Male shirt.
--HG--
branch : develop
2016-06-05 16:54:39 +03:00
Valentina Zhuravska
0b36836f00 Fixed issue #468. Tape 'Save As' should set 'Read Only' to false.
--HG--
branch : develop
2016-06-05 05:45:50 +03:00
Roman Telezhynskyi
805e04ace6 Scale page rect according to printer's dpi. Issue #494.
--HG--
branch : develop
2016-06-02 21:28:44 +03:00
Roman Telezhynskyi
c36f19aba9 According to documentation "The origin of the QPainter's coordinate system will
coincide with the top-left corner of the page rectangle, and painting operations
will be clipped to the bounds of the drawable part of the page".

--HG--
branch : develop
2016-06-02 21:00:23 +03:00
Roman Telezhynskyi
342095408a Show message "Pages will be cropped because they do not fit printer paper size."
--HG--
branch : develop
2016-06-02 16:51:37 +03:00
Roman Telezhynskyi
6c6edf3728 Second try. Issue #494.
--HG--
branch : develop
2016-06-02 13:25:34 +03:00
Roman Telezhynskyi
080da6d3e1 Try to fix issue #494. Seems like default constructor on mac creates non-native
printer by default or default printer can't be found.

--HG--
branch : develop
2016-06-01 21:55:27 +03:00
Roman Telezhynskyi
282a5da24a Show menu "Export to CSV" in Mac OS X.
--HG--
branch : develop
2016-06-01 19:58:46 +03:00
Roman Telezhynskyi
e0bf6f11d1 Export to CSV. Added button "Restore Defaults".
--HG--
branch : develop
2016-06-01 17:21:03 +03:00
Roman Telezhynskyi
32d391c587 Resolved issue #409. New feature: Export measurement file to Excel .csv.
--HG--
branch : develop
2016-06-01 16:37:42 +03:00
Roman Telezhynskyi
8e3f3a4cd8 Fixed crash with dialog History.
--HG--
branch : develop
2016-05-28 13:16:27 +03:00
Roman Telezhynskyi
ce720450f0 Fixed issue #493. Error in seam allowance drawing.
(grafted from 776b5b71c7e5aa6b9755c280f3f4e20e159c8150)

--HG--
branch : develop
2016-05-26 11:26:54 +03:00
Roman Telezhynskyi
780700829b Fixed issue #493. Error in seam allowance drawing.
--HG--
branch : release
2016-05-26 11:26:14 +03:00
Roman Telezhynskyi
73ad3a8376 Fixed issue with method IsPointOnLineSegment.
--HG--
branch : develop
2016-05-25 13:55:15 +03:00
Roman Telezhynskyi
6b8e354661 Click on VSimpleCurve did not call a visualization.
--HG--
branch : develop
2016-05-25 11:46:57 +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
b7b1ea3db7 Hide an error message "setGeometryDp: Unable to set geometry" for release
builds.

--HG--
branch : develop
2016-05-24 13:06:51 +03:00
Roman Telezhynskyi
823b29d907 Fixed issue #492. Valentina crashes when add an increment.
(grafted from 5d4057b6c1b14fbc6f8ff2be39c2066a14412d4e)

--HG--
branch : develop
2016-05-23 21:16:43 +03:00
Roman Telezhynskyi
b3bef6655d Fixed issue #492. Valentina crashes when add an increment.
--HG--
branch : release
2016-05-23 21:13: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
643c60cc70 Fixed issue #491. Valentina doesn't update fractional separator.
--HG--
branch : release
2016-05-23 18:18:16 +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
efb852a63e Call the property browser to update state each time a user call undo/redo
command.

--HG--
branch : feature
2016-05-18 19:34:34 +03:00
Roman Telezhynskyi
19df01be2e Correct selection and hovering. Line can't be selected.
--HG--
branch : feature
2016-05-18 19:07:43 +03:00
Roman Telezhynskyi
0052a883a4 Better way to check suffix.
--HG--
branch : feature
2016-05-18 16:44:23 +03:00
Roman Telezhynskyi
180903b807 Automatically generate suffix.
--HG--
branch : feature
2016-05-18 15:35:07 +03:00
Roman Telezhynskyi
291c19d5a2 Property browser for tool Rotation.
--HG--
branch : feature
2016-05-18 14:32:51 +03:00
Roman Telezhynskyi
970b876cf7 Show the tool visualization.
--HG--
branch : feature
2016-05-17 13:24:51 +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
6187f16c6a Refactoring. Use conversion operator for conversion VPointF to QPointF.
--HG--
branch : feature
2016-05-14 22:28:09 +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
e5a84ccd14 Fixed issue #488. Error: Measurements File Sync dialog box never returns. Win10,
MSVC.

--HG--
branch : develop
2016-05-08 19:25:51 +03:00
Roman Telezhynskyi
e93e8dff93 Resolved issue #435. Valentina doesn't change the cursor.
--HG--
branch : release
2016-05-07 11:52:38 +03:00
Roman Telezhynskyi
bf58fb4486 Qt's but QTBUG-42846 "QNSView mouseDragged: Internal mouse button tracking
invalid (missing Qt::LeftButton)" was fixed. No need to hide the warning message
anymore.
(grafted from 465d6259962d52d03eca629bc059be1e594e9dd4)

--HG--
branch : release
2016-05-07 11:44:47 +03:00
Roman Telezhynskyi
95b1627771 Resolved issue #473. Tape 'Preferences' cause loss of focus
(grafted from e72978060a109d22c241f64324f30b7a149e091b)

--HG--
branch : release
2016-05-07 11:44:23 +03:00
Roman Telezhynskyi
840520c5f8 Fix problem with updating localization.
(grafted from cf937fc12d098c36ad5493692981ee73950d5f8b)

--HG--
branch : release
2016-05-07 11:44:08 +03:00
Roman Telezhynskyi
57e2e02aed Hide Qt's warning related to the bug 'Assertion when reading an icns file'.
(grafted from f3c81ec3f1a0a9a5cc886c44a0bcd7f913f9b34b)

--HG--
branch : release
2016-05-07 11:42:09 +03:00
Roman Telezhynskyi
1f1800f8df Fixed build on Mac OS X with Qt 5.6. Minimally supported target is now 10.7.
(grafted from 718faed502e839b091cce027d963fc81a5f73f50)

--HG--
branch : release
2016-05-07 11:41:42 +03:00
Valentina Zhuravska
3914f11bab Resolved issue #435. Valentina doesn't change the cursor
--HG--
branch : develop
2016-05-05 18:01:05 +03:00
Roman Telezhynskyi
5f7c250415 Qt's but QTBUG-42846 "QNSView mouseDragged: Internal mouse button tracking
invalid (missing Qt::LeftButton)" was fixed. No need to hide the warning message
anymore.

--HG--
branch : develop
2016-05-04 16:40:15 +03:00
Valentina Zhuravska
cd9c6c99ae Resolved issue #473. Tape 'Preferences' cause loss of focus
--HG--
branch : develop
2016-05-03 23:16:57 +03:00
Roman Telezhynskyi
cc84b6e7d6 Fix problem with updating localization.
--HG--
branch : develop
2016-05-03 20:13:17 +03:00
Roman Telezhynskyi
6f56b46d26 Fixed Clang warnings.
--HG--
branch : develop
2016-05-03 19:50:37 +03:00
Roman Telezhynskyi
acb8b57b24 Merge
--HG--
branch : develop
2016-05-02 20:49:43 +03:00
Roman Telezhynskyi
95bb0c054d Hide Qt's warning related to the bug 'Assertion when reading an icns file'.
--HG--
branch : develop
2016-05-02 19:45:36 +03:00
Roman Telezhynskyi
613fa5d6da Fixed build on Mac OS X with Qt 5.6. Minimally supported target is now 10.7.
--HG--
branch : develop
2016-05-02 19:41:23 +03:00
Valentina Zhuravska
afb3c20820 Resolved issue #478
--HG--
branch : develop
2016-05-02 03:44:33 +03:00
Roman Telezhynskyi
a23de6ab41 Merge
--HG--
branch : develop
2016-04-26 15:40:02 +03:00
Roman Telezhynskyi
8651bcadd4 GCC warning.
--HG--
branch : develop
2016-04-26 15:38:49 +03:00
Valentina Zhuravska
86de5ba274 Resolved Issue #471. Add a 'Show/Hide' button for measurement diagram in Tape
--HG--
branch : develop
2016-04-25 20:00:03 +03:00
Roman Telezhynskyi
a34d9ebde1 Updated measurement templates with all measurements. Added new template
Aldrich/Women measurements.
(grafted from 0c8e7ce25a9601d144397ebf1445b02feb189a9e)

--HG--
branch : develop
2016-04-08 13:21:26 +03:00
Roman Telezhynskyi
f83c016c54 Updated description measurements N06 and N07. Add new measurements A23 and J10.
(grafted from cf140cecff83698ca48fcf563a5e8a857466f531)

--HG--
branch : develop
2016-04-08 13:21:18 +03:00
Roman Telezhynskyi
f723021952 Updated measurement templates with all measurements. Added new template
Aldrich/Women measurements.

--HG--
branch : release
2016-04-08 13:19:50 +03:00
Roman Telezhynskyi
c734ade831 Updated description measurements N06 and N07. Add new measurements A23 and J10.
--HG--
branch : release
2016-04-08 13:11:34 +03:00
Roman Telezhynskyi
526363a84c Better look of group name.
--HG--
branch : feature
2016-04-07 19:56:06 +03:00
Roman Telezhynskyi
be062fff7d Better tooltipe.
--HG--
branch : feature
2016-04-07 19:48:20 +03:00
Roman Telezhynskyi
a0842b0f48 Merge with develop.
--HG--
branch : feature
2016-04-07 17:59:07 +03:00
Roman Telezhynskyi
48e411a3ce Working with group widget.
--HG--
branch : feature
2016-04-07 17:57:53 +03:00
Roman Telezhynskyi
85c45960e5 Removed button, added tooltipe.
--HG--
branch : develop
2016-04-07 13:11:21 +03:00
Roman Telezhynskyi
0759dba4ac GCC warnings.
--HG--
branch : develop
2016-04-07 12:33:34 +03:00
Roman Telezhinskyi
0b9562a3bd Merged in ValentinaZhuravska/valentina/feature (pull request #107)
We can add image to file.val

--HG--
branch : develop
2016-04-07 12:03:40 +03:00
Valentina Zhuravska
d42a39de10 Disable save, show and delete actions when we have no image
--HG--
branch : feature
2016-04-07 03:20:15 +03:00
Valentina Zhuravska
5d38b188c4 Better looks if we have just one button "change image"
--HG--
branch : feature
2016-04-07 02:51:11 +03:00
Roman Telezhynskyi
fe3bd88c17 Remember docks settings.
--HG--
branch : feature
2016-04-06 14:40:44 +03:00
Roman Telezhynskyi
cb67249b54 New undo command Add Group.
--HG--
branch : feature
2016-04-06 12:03:34 +03:00
Valentina Zhuravska
9eeeb7baa8 Optimization
--HG--
branch : feature
2016-04-06 04:11:14 +03:00
Roman Telezhynskyi
d73256f119 The method CreateGroup.
--HG--
branch : feature
2016-04-05 20:53:49 +03:00
Roman Telezhynskyi
ada64305c0 Dialog Group.
--HG--
branch : feature
2016-04-05 20:14:12 +03:00
Valentina Zhuravska
c002aec49a Little fixes
--HG--
branch : feature
2016-04-04 20:57:36 +03:00
Roman Telezhynskyi
844d3764c2 Group button.
--HG--
branch : feature
2016-04-04 18:03:40 +03:00
Roman Telezhynskyi
b57354792c Fixed GUI issue. After full parse some widgets was incorrectly reseted.
(grafted from 49bad435c9e9a940fb91e6142cc0d9a951536f6a)

--HG--
branch : develop
2016-04-03 20:01:37 +03:00
Roman Telezhynskyi
297b32d5d9 Fixed issue #464. Crash. Issue with modeling node objects.
(grafted from 291ce7d161d51618e7164f6f7addb929e27ee8ac)

--HG--
branch : develop
2016-04-03 19:52:53 +03:00
Roman Telezhynskyi
c2fad3cde4 Fixed GUI issue. After full parse some widgets was incorrectly reseted.
--HG--
branch : release
2016-04-03 19:29:52 +03:00
Roman Telezhynskyi
e8eaac4064 Fixed issue #464. Crash. Issue with modeling node objects.
--HG--
branch : release
2016-04-02 22:36:41 +03:00
Valentina Zhuravska
ebab22d6ca Little fixes
--HG--
branch : feature
2016-04-02 03:00:00 +03:00
Roman Telezhynskyi
d1480132a0 Don't separate data about spline and arc length and angles.
--HG--
branch : develop
2016-04-01 22:34:57 +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
Valentina Zhuravska
55a2da02cc Little optimization
--HG--
branch : feature
2016-03-29 01:08:07 +03:00
Roman Telezhynskyi
43660ce425 Fixed toolbar name.
--HG--
branch : develop
2016-03-28 23:24:33 +03:00
Roman Telezhynskyi
e52fb734f0 Changed default layout settings.
--HG--
branch : develop
2016-03-28 17:19:29 +03:00
Valentina Zhuravska
bb98eeb54b Little fixes
--HG--
branch : feature
2016-03-28 13:08:20 +03:00
Roman Telezhynskyi
c4ca41aa83 Fixed issue #463. Wrong export to DXF format.
(grafted from a2df4c627d50fcd0225cc63d924c065063af326f)

--HG--
branch : develop
2016-03-27 19:00:08 +03:00
Roman Telezhynskyi
9fdc18ca27 Fixed issue #463. Wrong export to DXF format.
--HG--
branch : release
2016-03-27 18:51:13 +03:00
Valentina Zhuravska
b22c5b656a Fixed little bug when we try to save image
--HG--
branch : feature
2016-03-27 14:51:36 +03:00
Valentina Zhuravska
e838ae811e Little fixes
--HG--
branch : feature
2016-03-27 14:39:52 +03:00
Valentina Zhuravska
5fda012b86 Added showImage to context menu
--HG--
branch : feature
2016-03-27 14:22:16 +03:00
Valentina Zhuravska
ae53e505c4 Save image with correct extension
--HG--
branch : feature
2016-03-25 01:58:00 +02:00
Roman Telezhynskyi
70fd0be830 Use Q_REQUIRED_RESULT where it make sense.
--HG--
branch : develop
2016-03-23 17:27:17 +02:00
Valentina Zhuravska
ecfdafddfc Little optimization
--HG--
branch : feature
2016-03-22 20:46:17 +02:00
Roman Telezhynskyi
ff667c8602 The tool Detail now supports Cubic Bezier Path curve.
--HG--
branch : develop
2016-03-22 17:33:05 +02:00
Valentina Zhuravska
1d959cb747 Now we can use PNG, JPG, JPEG and BMP images
--HG--
branch : feature
2016-03-22 12:18:05 +02:00
Roman Telezhynskyi
30ece7e856 Unfortunately we can't throw template. QGrapthisItem class is not reachable in
this case.

--HG--
branch : feature
2016-03-19 10:38:29 +02:00
Valentina Zhuravska
2efe06f444 Added tr for all strings
--HG--
branch : feature
2016-03-19 10:36:16 +02:00
Roman Telezhynskyi
19265e1f93 Succesful build.
--HG--
branch : feature
2016-03-18 23:11:14 +02:00
Valentina Zhuravska
7d8a959c56 Fixed size of imageLabel
--HG--
branch : feature
2016-03-18 20:23:42 +02:00
Valentina Zhuravska
a2619d8584 Added saveImage button to context menu
--HG--
branch : feature
2016-03-18 20:23:19 +02:00
Roman Telezhynskyi
f61bd5f42a Skip history for Detail's mode tools.
--HG--
branch : feature
2016-03-18 12:27:20 +02:00
Roman Telezhynskyi
56496aaa59 Refactoring. More switch tests. Added tool button for tool Cubic bezier path.
--HG--
branch : feature
2016-03-17 20:12:48 +02:00
Roman Telezhynskyi
54294f1a71 Updated icon for tool Cubic Bezier curve.
--HG--
branch : feature
2016-03-17 16:35:14 +02:00
Valentina Zhuravska
58b1e84917 Added context menu
--HG--
branch : feature
2016-03-17 16:34:40 +02:00
Valentina Zhuravska
d2e0c7822f Added delete button
--HG--
branch : feature
2016-03-15 20:32:52 +02:00
Roman Telezhynskyi
74c60d6008 Icons for tool Cubic Bezier Path.
--HG--
branch : feature
2016-03-13 16:51:25 +02:00
Roman Telezhynskyi
a91112faee Refactoring.
--HG--
branch : develop
2016-03-13 16:22:15 +02:00
Roman Telezhynskyi
2201ca9ec0 This check helps to find missed tools in the switch.
--HG--
branch : develop
2016-03-13 16:16:49 +02:00
Roman Telezhynskyi
5befd6770b Use new connect syntax everywhere where is possible.
--HG--
branch : develop
2016-03-13 15:02:11 +02:00
Roman Telezhynskyi
2d69e1a46f The tool Detail now supports Cubic Bezier curve.
--HG--
branch : feature
2016-03-10 19:08:37 +02:00
Roman Telezhynskyi
53250a4dc4 Simple curve which uses point as control handle.
--HG--
branch : feature
2016-03-10 15:55:04 +02:00
Roman Telezhynskyi
7ec2e6d988 Fixed bug case where an open equidistant point is too far from a main path.
(grafted from cd63aeaa6228a84e977e06e9d006705103eb6c35)

--HG--
branch : develop
2016-03-10 09:42:09 +02:00
Roman Telezhynskyi
b49f1b934d Fixed bug case where an open equidistant point is too far from a main path.
--HG--
branch : release
2016-03-10 09:40:06 +02:00
Valentina Zhuravska
821bafbdee Now we can add image to file.val
--HG--
branch : feature
2016-03-09 21:01:37 +02:00
Roman Telezhynskyi
c65a320c45 Added new language Portuguese (Brazil).
--HG--
branch : develop
2016-03-08 20:27:25 +02:00
Roman Telezhynskyi
3828d10bce Fixed issue #454. Crash: using CRTL+Z while using line tool.
(grafted from 574b96a0b75cf276766eef61d2bb16ea79a604de)

--HG--
branch : develop
2016-03-06 14:04:01 +02:00
Roman Telezhynskyi
e2a53028de Resolved issue #421. Warning: unable to set geometry.
(grafted from 23e4638a28750016995eb44de649fcde69095bbd)

--HG--
branch : develop
2016-03-06 14:03:34 +02:00
Roman Telezhynskyi
2f07549c99 Fixed issue #456. Crash: broken formula + clicking on the f(x) symbol.
The method FormulaFromUser throw an exception. In many places we don't catch the
exception and i think this is wrong. New method TryFormulaFromUser was
introduced for fixing situation.
(grafted from a1a7dab0f21e7698812f44d50d7389fd36060eeb)

--HG--
branch : release
2016-03-06 13:51:31 +02:00
Roman Telezhynskyi
86acf37482 Fixed issue #454. Crash: using CRTL+Z while using line tool.
--HG--
branch : release
2016-03-06 13:08:27 +02:00
Roman Telezhynskyi
504a334717 The method FormulaFromUser throw an exception. In many places we don't catch the
exception and i think this is wrong. New method TryFormulaFromUser was
introduced for fixing situation.

--HG--
branch : feature
2016-03-05 17:27:07 +02:00
Roman Telezhynskyi
e948a0ba27 Refactoring ValFormulaChanged. Continue fix bugs in the dialog spline path.
--HG--
branch : feature
2016-03-05 14:30:18 +02:00
Roman Telezhynskyi
40436a5c57 Successfull build, bugs was not fixed.
--HG--
branch : feature
2016-03-04 18:08:29 +02:00
Valentina Zhuravska
3f67f77658 Resolved issue #421. Warning: unable to set geometry.
--HG--
branch : release
2016-03-02 02:46:25 +02:00
Roman Telezhynskyi
9bec10f580 Fixed broken saving pattern description.
(grafted from 5aa7bf5c81c9c525ada2c7875de3a702379fb5e3)

--HG--
branch : develop
2016-02-29 14:46:24 +02:00
Roman Telezhynskyi
944edb8735 Fixed broken saving pattern description.
--HG--
branch : release
2016-02-29 14:26:50 +02:00
Roman Telezhynskyi
738b7c499a Typos.
--HG--
branch : develop
2016-02-29 11:57:30 +02:00
Roman Telezhynskyi
8d628404df Curve factor was removed.
--HG--
branch : feature
2016-02-27 16:49:10 +02:00
Roman Telezhynskyi
a2561bc7da Updated property dialog for tool Spline.
--HG--
branch : feature
2016-02-27 12:28:15 +02:00
Roman Telezhynskyi
a9112a29cb Create, save, open and edit simple curve by dialog. Editing by mouse still not
prepared.

--HG--
branch : feature
2016-02-26 16:38:42 +02:00
Roman Telezhynskyi
7024df4ab2 Using QGraphicsScene instead of VMainGraphicsScene caused a crash.
(grafted from 32c7acbe1384dc3a8d284c938a8093d178095f87)

--HG--
branch : develop
2016-02-23 16:59:05 +02:00
Roman Telezhynskyi
ce88024313 Using QGraphicsScene instead of VMainGraphicsScene caused a crash.
--HG--
branch : release
2016-02-23 16:58:22 +02:00
Roman Telezhynskyi
595e5b0bf5 Resolved issue #306. Layout generator optimization. Divide into strips.
--HG--
branch : develop
2016-02-23 14:13:10 +02:00
Roman Telezhynskyi
48d58de871 CONFIG key to disable setting custom rpath option.
--HG--
branch : develop
2016-02-19 17:21:51 +02:00
Roman Telezhynskyi
122827f74a New file in the collection.
--HG--
branch : develop
2016-02-19 16:55:03 +02:00
Roman Telezhynskyi
3419476ee1 Fixed failed build.
--HG--
branch : develop
2016-02-19 16:50:20 +02:00
Roman Telezhinskyi
ac95ecb271 Merged in thomas_hocedez/valentina/feature (pull request #103)
Resolved #385: Add 'Open Recent' option in Tape.exe, 'File' dropdown menu.

--HG--
branch : develop
2016-02-19 16:40:09 +02:00
Roman Telezhynskyi
936a7fef07 Fixed issue #405. Crash after deleting first pattern piece in the list.
--HG--
branch : develop
2016-02-19 16:34:32 +02:00
Roman Telezhynskyi
e2bd5c51f2 Build and install only selected localizations. Use in Gentoo.
--HG--
branch : develop
2016-02-18 20:14:57 +02:00
Thomas HOCEDEZ
2070559250 tmainwindow.cpp édité en ligne via Bitbucket
--HG--
branch : feature
2016-02-18 11:23:00 +00:00
Thomas HOCEDEZ
b449e16b81 #385 : final version
--HG--
branch : feature
2016-02-18 12:18:14 +01:00
Roman Telezhynskyi
b42710f8d0 Measurement Diagram is not shown on Mac OS X.
(grafted from 34490ebbc73d0f9c0360883903cd010fb6bea8f8)

--HG--
branch : develop
2016-02-17 10:11:36 +02:00
Roman Telezhynskyi
82e6d271bb Measurement Diagram is not shown on Mac OS X.
--HG--
branch : release
2016-02-17 00:04:43 -08:00
Roman Telezhynskyi
39c88a812e Correct path to NSIS on Win x64.
--HG--
branch : develop
2016-02-16 20:55:52 +02:00
Roman Telezhynskyi
0846d3c282 Read and save a spline path attribute 'duplicate'.
--HG--
branch : feature
2016-02-16 15:37:01 +02:00
Roman Telezhynskyi
c80fe9c61b Show name in a property browser.
--HG--
branch : feature
2016-02-16 15:04:21 +02:00
Roman Telezhynskyi
be3fc296f4 Untested changes for the tool Spline.
--HG--
branch : feature
2016-02-15 16:30:48 +02:00
Roman Telezhynskyi
f264206aab Refactoring DialogSpline.
--HG--
branch : feature
2016-02-15 11:02:55 +02:00
Roman Telezhynskyi
0f747ede7e The first implementation for tool Spline.
--HG--
branch : feature
2016-02-12 20:10:01 +02:00
Roman Telezhynskyi
791d874c9a Little refactoring.
--HG--
branch : feature
2016-02-12 15:49:59 +02:00
Roman Telezhynskyi
85f5df4b21 Removing objects before each FullParse. NodeArc, NodeSpline, NodeSplinePath are
not part of a scene anymore.

--HG--
branch : develop
2016-02-10 18:45:49 +02:00
Roman Telezhynskyi
9eac04654c Refactoring. Always use AddTool method.
--HG--
branch : develop
2016-02-10 12:13:34 +02:00
Roman Telezhynskyi
be24d6f503 New file in the collection.
--HG--
branch : develop
2016-02-09 17:48:59 +02:00
Roman Telezhynskyi
61adfbaef5 Handle all tools when creating the history records.
--HG--
branch : develop
2016-02-09 17:26:59 +02:00
Roman Telezhynskyi
7deed94604 Fixed broken path to measurements after using Save As option.
(grafted from 2e63a19d717ad4ef5d6f38da7ed3b1ed6d7311a6)

--HG--
branch : develop
2016-02-09 17:19:19 +02:00
Roman Telezhynskyi
30adc76bce Fixed broken path to measurements after using Save As option.
--HG--
branch : release
2016-02-09 16:16:04 +02:00
Roman Telezhynskyi
78799d3d83 Resolved issue #441. Broken reference incrementation for tool "True Dart point".
(grafted from 0c13c14f9829e53dbbbe850053947b646bd800bd)

--HG--
branch : develop
2016-02-02 15:38:30 +02:00
Roman Telezhynskyi
eb9f8f4b60 Resolved issue #441. Broken reference incrementation for tool "True Dart point".
--HG--
branch : release
2016-02-02 15:34:29 +02:00
Roman Telezhynskyi
5ec4f51601 Grab user attention if measurements was changed. Related to issue #440.
--HG--
branch : develop
2016-02-02 12:05:33 +02:00