Commit graph

2254 commits

Author SHA1 Message Date
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