Commit graph

547 commits

Author SHA1 Message Date
Roman Telezhynskyi baa2f4fd92 Resolved issue #768. New feature. Custom curve approximation scale.
--HG--
branch : develop
2017-10-11 13:51:06 +03:00
Roman Telezhynskyi 61172d46c4 Fix typo in headers.
--HG--
branch : develop
2017-10-05 12:20:01 +03:00
Roman Telezhynskyi 8eb7c413e9 Two new shortcut sequences: Ctrl+PgDown and Ctrl+PgUp to switch to next and
previous pattern piece.

ref #762.

--HG--
branch : develop
2017-10-02 19:51:15 +03:00
Roman Telezhynskyi ffe4affcbf Retrieve canonical file path if possible.
--HG--
branch : feature
2017-09-28 16:05:55 +03:00
Roman Telezhynskyi b673ec0fc7 Command line options to export final measurements.
--HG--
branch : feature
2017-09-28 16:05:04 +03:00
Roman Telezhynskyi ac96ce6b84 Export Final measurements to CSV.
--HG--
branch : feature
2017-09-27 14:47:05 +03:00
Roman Telezhynskyi 257fb2f913 Refactor export to CSV.
Preparation for export final measurements.

--HG--
branch : feature
2017-09-27 13:25:18 +03:00
Roman Telezhynskyi 4caab9a479 Fix export increments and preview calculations.
Separate both types. First write increments then preview calculations.

--HG--
branch : feature
2017-09-27 11:53:17 +03:00
Roman Telezhynskyi 661e71bad0 Refactoring use static methods VTranslateVars::TryFormula*User().
--HG--
branch : feature
2017-09-26 17:46:28 +03:00
Roman Telezhynskyi 0eb6b8b30f Dialog Final measurements.
--HG--
branch : feature
2017-09-26 17:24:02 +03:00
Roman Telezhynskyi e1075dfdf5 Fix zoom fit best current after adding new pattern piece.
--HG--
branch : develop
2017-09-25 18:28:58 +03:00
Roman Telezhynskyi bdc8840184 Resolved issue #756. New feature. Select pieces from command line.
--HG--
branch : develop
2017-09-22 19:16:16 +03:00
Roman Telezhynskyi a5c9ba6c4d Fix export bug. In command line mode Valentina ignored option "in Layout" for
all pieces.

--HG--
branch : develop
2017-09-22 15:37:03 +03:00
Roman Telezhynskyi 29972118ff Lupdate.
--HG--
branch : develop
2017-09-24 10:33:49 +03:00
Roman Telezhynskyi 795438c202 Merge with develop.
--HG--
branch : feature
2017-09-20 08:53:44 +03:00
Roman Telezhynskyi bfe327ee13 If pattern linked to individual measurements it should get customer name from
it.

--HG--
branch : develop
2017-09-19 16:07:48 +03:00
Roman Telezhynskyi e7db934fb5 Refactor tool clases to pass data in structure.
--HG--
branch : feature
2017-09-18 11:37:23 +03:00
Roman Telezhynskyi 4ca0139af0 Improve Find measurements location dialog.
When Valentina can't find a measurements file it asks if user want to point to
new location. In my pratcise usually a file is near the pattern file. In old way
Valentina ignored that fact and pointed to standard locations. From now one it
will first check if searched name is near the pattern file.

--HG--
branch : develop
2017-09-07 09:58:26 +03:00
Roman Telezhynskyi 9b7aee0e7e Resolved issue #721. Rename "Piece Path" to "Internal Path" tool.
--HG--
branch : develop
2017-08-27 09:03:46 +03:00
Roman Telezhynskyi 842dfafcd6 Fix bug. Valentina doesn't update pattern label.
--HG--
branch : develop
2017-08-23 20:54:20 +03:00
Roman Telezhynskyi af6e41d8cc Fix bug. Valentina doesn't update piece label.
--HG--
branch : develop
2017-08-23 15:26:48 +03:00
Roman Telezhynskyi 13f347dc1a Fix build on Mac OS X.
--HG--
branch : develop
2017-08-22 09:23:26 +03:00
Roman Telezhynskyi d8a6ce669e Fix Valentina crash.
--HG--
branch : develop
2017-08-21 17:29:25 +03:00
Roman Telezhynskyi 20f5cb3694 Read measurements size and height from individual measurements file to insert
data into label template.

The size measurement was added as synonym of bust_arc_f.

--HG--
branch : feature
2017-08-21 14:25:27 +03:00
Roman Telezhynskyi bc037e15b5 Fix bug. Unloading multisize measurements doesn't hide size and height
comboboxes.

--HG--
branch : feature
2017-08-17 19:59:24 +03:00
Roman Telezhynskyi c368a956b8 Fix bug. Changing pattern or measurements file name do not imidiatelly update
pattern label.

--HG--
branch : feature
2017-08-17 19:57:46 +03:00
Roman Telezhynskyi d6898af23e Refactoring. Rename method.
--HG--
branch : feature
2017-08-17 19:42:48 +03:00
Roman Telezhynskyi 2137cd816d Added menu option to call the Template editor independently.
--HG--
branch : feature
2017-08-15 16:01:07 +03:00
Roman Telezhynskyi 89ed92e93f Added more placeholders.
--HG--
branch : feature
2017-08-14 15:11:14 +03:00
Roman Telezhynskyi 7fd93eff5b Fix bug with mouse cursor.
--HG--
branch : develop
2017-08-08 23:25:09 +03:00
Roman Telezhynskyi 16ec3a3ea8 User should be able to rename increments.
--HG--
branch : develop
2017-08-08 17:43:41 +03:00
Roman Telezhynskyi 3999ebd82e Fixed bug in Tape. Each Window should has own size and height values.
--HG--
branch : develop
2017-08-04 20:29:43 +03:00
Roman Telezhynskyi 349a5cade0 Fixed issue #743. Valentina doesn't update update pattern after adding item.
(grafted from 9488967913032bb6c97488a8540309db771e7728)

--HG--
branch : develop
2017-08-03 15:25:14 +03:00
Roman Telezhynskyi 0894f686ef Improve working with mouse cursors. Instead of setting global value set cursor
for each item separately.

--HG--
branch : develop
2017-08-01 14:35:48 +03:00
Roman Telezhynskyi ea4301ea3f Cppcheck warning.
(grafted from e3934b5f00ac3777865d665625ee3add0390cd99)

--HG--
branch : develop
2017-07-24 20:28:51 +03:00
Roman Telezhynskyi 2400555d05 Fixed behaviour on Windows. Valentina asks about synchronization measurements
twice.
(grafted from e60ffe31f4ba96857a59275dc069bbb67a9bbbdf)

--HG--
branch : develop
2017-07-24 20:02:55 +03:00
Roman Telezhynskyi 38cbe654f4 Lupdate.
--HG--
branch : develop
2017-07-23 17:32:02 +03:00
Roman Telezhynskyi 54eadfdb3c Export to DXF-AAMA.
--HG--
branch : feature
2017-07-16 21:10:48 +03:00
Roman Telezhynskyi bcd61305c3 Fixed issue #719. Valentina crashes when unite pieces.
(grafted from ec7218525e9754a9237465d2c0a8656c5bccb387)

--HG--
branch : develop
2017-07-13 12:22:24 +03:00
Ronan Le Tiec 46f70788cf issue #654 refactoring the code so that the functions and variables are called xxx multisize xxx instead of xxx standard xxx
--HG--
branch : develop
2017-07-12 20:21:48 +02:00
Roman Telezhynskyi b166ff83b2 Pieces should be positioned as on Detail mode. ref #660.
--HG--
branch : develop
2017-07-09 22:27:54 +03:00
Roman Telezhynskyi 7d205d7596 Resolved issue #660. New export: Export details without layout.
--HG--
branch : develop
2017-07-09 14:45:49 +03:00
Roman Telezhynskyi d0cc8902f9 SonarQube warnings.
--HG--
branch : develop
2017-07-09 09:02:26 +03:00
Roman Telezhynskyi c074318d65 Resolved issue #716. Command line option to create *tiled* export.
--HG--
branch : develop
2017-07-08 20:18:47 +03:00
Roman Telezhynskyi d25979f054 Merged with feature.
--HG--
branch : develop
2017-07-04 19:53:05 +03:00
Ronan Le Tiec f080b88cf7 issue #712 new default allowance setting taken into account in seam allowance tool dialog. StrToUnits and UnitsToStr moved from VDomDocument to def
--HG--
branch : develop
2017-07-02 13:34:36 +02:00
Roman Telezhynskyi f94967d02e New option Export text as paths.
--HG--
branch : feature
2017-07-01 20:32:54 +03:00
Roman Telezhynskyi 275338da4b Allow user to setup font family for piece labels.
--HG--
branch : feature
2017-07-01 14:41:46 +03:00
Roman Telezhynskyi bca2623d32 Merge with develop.
--HG--
branch : feature
2017-06-30 11:43:40 +03:00
Ronan Le Tiec c0341a086c Resolved issue #693, sort the groups, details and pattern pieces alphabeticaly und change the caption of group to details in Detail Mode
--HG--
branch : develop
2017-06-28 20:19:20 +02:00
Roman Telezhynskyi 9edc1a39db Allow user to select DXF version.
--HG--
branch : feature
2017-06-26 17:28:41 +03:00
Roman Telezhynskyi cb1b3ead0b Zoom fit best current eats some size.
--HG--
branch : develop
2017-06-23 16:19:24 +03:00
Roman Telezhynskyi cacba00e83 Zoom fit best current did not work properly because of corrupted point.
--HG--
branch : develop
2017-06-23 16:02:59 +03:00
Roman Telezhynskyi 663ab8aff1 SonarCloud warnings.
--HG--
branch : develop
2017-06-19 17:44:18 +03:00
Roman Telezhynskyi 9686d0e179 Fixed issue #623. Issue: Bug with dialog Open file.
--HG--
branch : develop
2017-06-19 16:11:44 +03:00
Roman Telezhynskyi 8e0a7250df Added new feature Zoom Fit Best Current pattern piece.
--HG--
branch : develop
2017-06-16 21:14:33 +03:00
Roman Telezhynskyi b0f867499c Resolved issue #244. New feature: Adjust line and point thickness and label
size.

--HG--
branch : develop
2017-06-16 14:53:08 +03:00
Roman Telezhynskyi debcabf1a3 Set wait cursor to inform a user that the program is busy when openning
Preferences dialog.

Because Preferences dialog reads data about installed localizations each time
a user opens it in some cases it's take some time. Especially when a hard drive
is busy.

--HG--
branch : develop
2017-06-14 11:48:51 +03:00
Roman Telezhynskyi f12e9ee4ac Fixed issue #703. Valentina warns about format rewriting for unsaved files.
(grafted from c25298f49b2401b67647213dd6543ba880ddf58d)

--HG--
branch : develop
2017-06-08 09:39:56 +03:00
Roman Telezhynskyi 8e7ea0f45f Cppcheck warning.
(grafted from 5fb12906763ccf0b28ee1e2037196556fb9297eb)

--HG--
branch : develop
2017-06-05 18:25:36 +03:00
Roman Telezhynskyi 7a9b2e34bd Changed default behaviour if path to multisize measurements or templates doesn't
exist.

If the path doesn't exist Valentina will create and return path to user
localized default folder.
(grafted from 722c37544c26fe3f406d222b7f344ddf7b3602a0)

--HG--
branch : develop
2017-06-05 17:52:42 +03:00
Roman Telezhynskyi f0bceec6ea Cppcheck warning.
--HG--
branch : develop
2017-05-30 20:09:34 +03:00
Roman Telezhynskyi 7e064f80c5 Thrown away code for support Qt < 5.2.
--HG--
branch : develop
2017-05-30 19:52:38 +03:00
Roman Telezhynskyi 39a7fcd743 Lupdate.
--HG--
branch : develop
2017-05-26 20:52:25 +03:00
Roman Telezhynskyi 7225481091 Resolved issue #682. New feature. Export increments to Excel .csv.
--HG--
branch : develop
2017-05-12 15:09:19 +03:00
Roman Telezhynskyi 7734c0564b Localization improvements.
--HG--
branch : release
2017-04-21 17:28:25 +03:00
Roman Telezhynskyi a0262e260b Coverity scan warnings.
--HG--
branch : release
2017-04-19 12:48:13 +03:00
Roman Telezhynskyi 124fd657e3 Suppress scene item context menu if a tool was activated.
A context menu is allowed only if the Arrow tool is active.

--HG--
branch : release
2017-04-18 11:06:17 +03:00
Roman Telezhynskyi d354b99149 Fix crash.
Valentina crashes when a user uses a tool and select button Cancel to close a
tool dialog.

--HG--
branch : release
2017-04-17 19:24:41 +03:00
Roman Telezhynskyi c5957846b6 Refactoring. New parent class VInteractiveTool.
Helps to share info about tool dialog.

--HG--
branch : release
2017-04-15 17:39:59 +03:00
Roman Telezhynskyi e8917bd10d Fixed issue #662. Valentina closes when creating details on 64 bit systems.
--HG--
branch : release
2017-04-15 13:25:07 +03:00
Roman Telezhynskyi cade111206 Refactoring Tape's preferences dialog.
Instead of manual declaring used Qt Designer.

--HG--
branch : release
2017-04-12 15:50:48 +03:00
Roman Telezhynskyi 1ee0988f8a Refactoring Valentina's preferences dialog.
Instead of manual declaring used Qt Designer.

--HG--
branch : release
2017-04-12 13:31:11 +03:00
Roman Telezhynskyi a1caf972a9 Warn a user when need to update a file format version.
--HG--
branch : release
2017-04-12 09:49:05 +03:00
Roman Telezhynskyi fdd3e9a70c Fix a crash.
If call a visualization and then close the window Valentina will crash.

--HG--
branch : release
2017-04-11 15:02:52 +03:00
Roman Telezhynskyi 14000924e2 Improve tooltipe of operation tools.
Should help to understand how to select multiple objects.

--HG--
branch : release
2017-04-11 13:11:59 +03:00
Roman Telezhynskyi 45080b7698 Add link to forum and Wiki.
--HG--
branch : release
2017-04-11 12:03:55 +03:00
Roman Telezhynskyi c0f36dffbe Resolved issue #652. Show passmarks for builtin seam allowance.
--HG--
branch : develop
2017-04-05 13:22:33 +03:00
Roman Telezhynskyi b9f886d28d Fix building on Mac.
--HG--
branch : develop
2017-04-01 19:53:28 +03:00
Roman Telezhynskyi 38bb9c86b9 Fix building on Mac.
--HG--
branch : develop
2017-04-01 19:23:20 +03:00
Roman Telezhynskyi 9433a6b358 Refactoring. Remove unused private functions.
--HG--
branch : develop
2017-04-01 15:27:24 +03:00
Roman Telezhynskyi 330e831815 Fix multiple calling of method EndVisualization().
--HG--
branch : feature
2017-03-29 13:50:16 +03:00
Roman Telezhynskyi d696af9a33 "static" members should be accessed statically.
--HG--
branch : develop
2017-03-23 10:25:46 +02:00
Roman Telezhynskyi e4cf5980c8 Fix bug. When we switch to the Detail mode should be activated specific tool
box section.

--HG--
branch : develop
2017-03-22 12:12:17 +02:00
Roman Telezhynskyi 20ccbaae01 Create modeling items before insert new node.
--HG--
branch : feature
2017-03-21 18:00:31 +02:00
Roman Telezhynskyi 7fe86bc319 Successful build.
--HG--
branch : feature
2017-03-21 17:18:48 +02:00
Roman Telezhynskyi 86f6bb035d Code style.
--HG--
branch : feature
2017-03-21 17:03:09 +02:00
Roman Telezhynskyi 96255ef093 Dialog Insert node tool.
--HG--
branch : feature
2017-03-21 15:39:14 +02:00
Roman Telezhynskyi 699adc56bb Pin tool should select only points.
--HG--
branch : develop
2017-03-21 15:25:25 +02:00
Roman Telezhynskyi 71d10dbdcb Sync grainline and lable position after correcting to parent bounding rect.
--HG--
branch : feature
2017-03-02 09:12:48 +02:00
Roman Telezhynskyi 3bf65edaa6 Merge with develop.
--HG--
branch : feature
2017-02-22 14:48:48 +02:00
Roman Telezhynskyi 915276748c Replace deprecated function qt_mac_set_dock_menu() by method
QMenu::setAsDockMenu().

--HG--
branch : develop
2017-02-22 08:09:33 +02:00
Roman Telezhynskyi 8f0f2399e2 Use QScopedPointer to prevent memory leaks.
--HG--
branch : develop
2017-02-18 10:43:06 +02:00
Roman Telezhynskyi 5a0d9b0e00 Merge with develop.
--HG--
branch : feature
2017-02-17 20:38:45 +02:00
Roman Telezhynskyi 2f024db547 Resolved issue #611. Improve feature: Paths preferences.
--HG--
branch : develop
2017-02-17 20:37:49 +02:00
Roman Telezhynskyi c00a1d6e94 Resolved issue #557. Enhance feature: Measurement menu enhancements.
--HG--
branch : develop
2017-02-17 14:24:55 +02:00
Roman Telezhynskyi 71ac49a221 Merge with develop.
--HG--
branch : feature
2017-02-13 15:29:37 +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 7d78a0f63f Resolved issue #619. Non writable directory prevents opening.
--HG--
branch : develop
2017-02-04 13:28:47 +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 d17dda3f9f Clang warning.
--HG--
branch : develop
2017-01-27 14:49:20 +02:00
Roman Telezhynskyi 26c76bbc71 Replace VDetail by VPiece.
--HG--
branch : feature
2017-01-21 19:12:57 +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 24d5aa0f53 The error message should display the translated measurement name.
--HG--
branch : feature
2017-01-21 15:49:43 +02:00
Roman Telezhynskyi c48dc6b4a2 Update scene size after full parse.
--HG--
branch : feature
2017-01-14 11:52:39 +02:00
Roman Telezhynskyi 5a95ce9c8a Merge with develop.
--HG--
branch : feature
2017-01-11 14:05:06 +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 e777c788b4 Cppcheck warning.
--HG--
branch : develop
2016-12-23 10:51:05 +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 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 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
Valentina Zhuravska aa24976f9a Added elliptical arc tool to MainWindow.
--HG--
branch : feature
2016-12-17 03:17:29 +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 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 82d9fcba3f Connect MainWindow with VToolPiecePath.
--HG--
branch : feature
2016-11-25 16:36:56 +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 6b89f43e87 Tool button connected to tool dialog.
--HG--
branch : feature
2016-11-22 14:33:08 +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 8601b2ae2a Returned undocommand "Move piece".
--HG--
branch : feature
2016-11-09 13:06:05 +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 4a41840ae7 New class VToolSeamAllowance.
--HG--
branch : feature
2016-11-08 12:57:01 +02:00
Roman Telezhynskyi bf306f6101 The visualization connected to tool dialog.
--HG--
branch : feature
2016-11-05 12:49:20 +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 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 0817264a84 New feature. Valentina will highlight a detail selected in the Group list.
--HG--
branch : develop
2016-10-12 14:43:08 +03:00
Roman Telezhynskyi abce5439a5 Resolved issue #573. New tool: 'Move Point'.
--HG--
branch : develop
2016-10-04 17:34:37 +03:00
Roman Telezhynskyi 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 4bd615cda4 Fixed typo.
--HG--
branch : develop
2016-09-27 13:00:56 +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 74bc4179ef New tool Flipping by axis.
--HG--
branch : feature
2016-09-17 12:10:03 +03:00
Roman Telezhynskyi 9bb88afaa5 New tool Flipping by line.
--HG--
branch : feature
2016-09-13 11:27:44 +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 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 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
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
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
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
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
Roman Telezhynskyi da4bf27c75 New test localization (checking punctuation).
--HG--
branch : develop
2016-08-12 15:21:55 +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 c9cdd2cd8d Using macros QT_WARNING_DISABLE_*.
--HG--
branch : develop
2016-08-06 21:42:40 +03:00
Roman Telezhynskyi 75e9e9b2ee Fixed issues with include paths.
--HG--
branch : develop
2016-08-05 13:41:02 +03:00
Valentina Zhuravska 1ae8509d63 Merge with develop.
--HG--
branch : feature
2016-07-26 15:32:55 +03:00
Roman Telezhynskyi 524419e53f Fixed build on OS X.
--HG--
branch : develop
2016-07-23 12:56:22 +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 ce50203d57 Better code look.
--HG--
branch : develop
2016-07-19 20:51:12 +03:00
Roman Telezhynskyi 7cabc7df18 Fixed loading recent files in main window.
--HG--
branch : develop
2016-07-18 22:55:18 +03: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
Valentina Zhuravska 2cf2275365 Added ToolTip for editing simple curve.
--HG--
branch : feature
2016-07-13 14:05:37 +03: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 d94b3dad14 Fixed build on Mac OS X.
--HG--
branch : develop
2016-07-07 18:15:28 +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
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
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
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 1608599795 Added list "Details in layout".
--HG--
branch : feature
2016-06-26 14:36:12 +03:00
Roman Telezhynskyi 39c84aa2c2 Refactoring. Use C++11 lambdas.
--HG--
branch : feature
2016-06-25 17:16:20 +03: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
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 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 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
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 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
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 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 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
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 8651bcadd4 GCC warning.
--HG--
branch : develop
2016-04-26 15:38:49 +03:00
Roman Telezhynskyi be062fff7d Better tooltipe.
--HG--
branch : feature
2016-04-07 19:48:20 +03:00
Roman Telezhynskyi 48e411a3ce Working with group widget.
--HG--
branch : feature
2016-04-07 17:57:53 +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
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
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 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
Roman Telezhynskyi 19265e1f93 Succesful build.
--HG--
branch : feature
2016-03-18 23:11:14 +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 53250a4dc4 Simple curve which uses point as control handle.
--HG--
branch : feature
2016-03-10 15:55:04 +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 791d874c9a Little refactoring.
--HG--
branch : feature
2016-02-12 15:49:59 +02:00
Roman Telezhynskyi 9eac04654c Refactoring. Always use AddTool method.
--HG--
branch : develop
2016-02-10 12:13:34 +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 5ec4f51601 Grab user attention if measurements was changed. Related to issue #440.
--HG--
branch : develop
2016-02-02 12:05:33 +02:00
Roman Telezhynskyi e67b6b5805 Refactoring. Removed unneeded method.
--HG--
branch : develop
2016-02-01 21:58:11 +02:00
Roman Telezhynskyi de4267c3c3 Switching pattern pieces do not require lite parse enough will be to set
current data set.

--HG--
branch : develop
2016-01-29 17:29:23 +02:00
Roman Telezhynskyi a693f9e57d Fixed issue #438. Broken switching pattern pieces.
(grafted from 6448ff0d78086ccb1182cf981c95239f36d22e83)

--HG--
branch : develop
2016-01-29 16:30:57 +02:00
Roman Telezhynskyi 11aae952cb Show 'read only' in title of window if a pattern file in read only state.
--HG--
branch : feature
2016-01-25 11:13:41 +02:00
Roman Telezhynskyi 1f624ec69b Enable actionSave even file was not saved before.
--HG--
branch : feature
2016-01-25 11:04:42 +02:00
Roman Telezhynskyi 4bb612e20e Show origins when add first pattern piece.
--HG--
branch : feature
2016-01-24 19:04:22 +02:00
Roman Telezhynskyi ea0000fea6 First successful build. Tool working was not tested!
--HG--
branch : feature
2016-01-24 18:15:08 +02:00
Roman Telezhynskyi 0d34320e7d The lock file already helps to prevent rewriting current opened pattern file.
--HG--
branch : develop
2016-01-22 12:54:19 +02:00
Roman Telezhynskyi 8b050eee31 Resolved issue #265. Add 'Read only' attribute.
--HG--
branch : develop
2016-01-22 12:45:18 +02:00
Roman Telezhynskyi d466e53e5d Fixed typos.
(grafted from 5212bd0c72b44da2d16dab9e1592c2843ab0ff1e)

--HG--
branch : develop
2016-01-21 16:21:58 +02:00
Roman Telezhynskyi 40b4779a04 Work only with visible items.
--HG--
branch : develop
2016-01-13 17:15:53 +02:00
Roman Telezhinskyi 62b47197f7 Merged in ValentinaZhuravska/valentina/feature (pull request #92)
Retranslate

--HG--
branch : develop
2016-01-11 15:16:57 +02:00
Valentina Zhuravska c7696c9d2a Set translation in the helpLabel to "Changes applied".
--HG--
branch : feature
2016-01-11 14:17:41 +02:00
Roman Telezhynskyi 50dbe9471f Merge
--HG--
branch : develop
2016-01-10 17:03:12 +02:00
Roman Telezhynskyi a97ce04ca5 Fixed issue #434. Select multiple modes.
--HG--
branch : develop
2016-01-10 11:14:23 +02:00
Valentina Zhuravska b283fb2a76 Retranslate history
--HG--
branch : feature
2016-01-08 13:55:37 +02:00
Roman Telezhynskyi 39e7b2df89 Delay for correct the first fitbest zoom.
--HG--
branch : develop
2016-01-08 13:08:54 +02:00
Valentina Zhuravska b6466547e8 Retranslate patternPieceLabel
--HG--
branch : feature
2016-01-06 09:34:03 +02:00
Valentina Zhuravska be3e6e5498 Retranslate helpLabel
--HG--
branch : feature
2016-01-06 09:11:44 +02:00
Valentina Zhuravska 772836b516 Retranslate undo and redo buttons
--HG--
branch : feature
2016-01-06 09:03:40 +02:00
Valentina Zhuravska 2623af8881 Retranslate mainwindow ui.
--HG--
branch : feature
2016-01-06 07:02:41 +02:00
Roman Telezhynskyi 65bf17fcf9 Fixed broken feature 'Default height and size'.
--HG--
branch : develop
2016-01-03 15:21:30 +02:00
Roman Telezhinskyi b0e484c6f7 Merged in nauck/valentina/feature (pull request #91)
Unify title and tool bar on osx

--HG--
branch : develop
2016-01-03 14:02:02 +02:00
Roman Telezhynskyi fa410de76d Fixed issue #432. Cannot switch between pattern pieces on latest develop (osx).
--HG--
branch : develop
2016-01-03 11:52:22 +02:00
Roman Telezhinskyi e90db08842 Merged in nauck/valentina/feature (pull request #90)
Fix issue #431

--HG--
branch : develop
2016-01-03 10:28:57 +02:00
Benjamin Nauck e03db7f738 Use unified title and tool bar on mac
--HG--
branch : feature
2016-01-03 04:11:11 +01:00
Benjamin Nauck 000bbd454e Use same icon on cursor as it is on the tool button for the arc intersect axis tool
--HG--
branch : feature
2016-01-02 23:57:26 +01:00
Benjamin Nauck 9d3257ef1c Adjust code to code convention
--HG--
branch : feature
2016-01-02 17:01:00 +01:00
Benjamin Nauck 1be3c90cd3 Add support for HiDPI cursors
--HG--
branch : feature
2016-01-02 15:52:42 +01:00
Roman Telezhynskyi 00b8aae5a7 Fixed issue with deleting detail and blocked objects. Part about tool union
still is not fixed.

--HG--
branch : feature
2015-12-26 15:08:41 +02:00
Roman Telezhynskyi 4d3aeaca08 Allow user to ignore warning "This file already opened in another window".
--HG--
branch : develop
2015-12-23 15:26:29 +02:00
Roman Telezhynskyi 8b7602e223 In restore list clear all files that do not exist.
--HG--
branch : develop
2015-12-22 17:39:04 +02:00
Roman Telezhynskyi 1e5def1361 Instead of indexes save and set string values.
--HG--
branch : develop
2015-12-19 15:56:09 +02:00