Commit graph

172 commits

Author SHA1 Message Date
Roman Telezhynskyi 58cae6f66c New option "Don't use the native file dialog". 2020-12-17 18:43:15 +02:00
Roman Telezhynskyi 0ab76dd6b9 New warning. Warn about empty measurements dimension value when preparing placeholders. 2020-12-17 17:42:47 +02:00
Roman Telezhynskyi 25a5a564b5 Lupdate. 2020-10-30 13:23:11 +02:00
Roman Telezhynskyi 34e1391ecb Remove translation for label placeholders. 2020-10-16 13:55:51 +03:00
Roman Telezhynskyi d10f20f399 Extend placeholders list with list of measurements. 2020-10-16 13:43:54 +03:00
Roman Telezhynskyi 1b2343e537 Extend list of placeholders.
Added customer email and birth date, all dimensions.
2020-10-16 11:37:49 +03:00
Roman Telezhynskyi 0eaf15f09d Show a measurement special units in description. 2020-10-16 09:47:27 +03:00
Roman Telezhynskyi 4cea74d63b Loading measurements in Valentina. 2020-10-15 18:05:21 +03:00
Roman Telezhynskyi 4970254607 Fix issue. Elide a variable description in the formula wizard.
(cherry picked from commit 56ec62580c)
2020-05-08 19:41:42 +03:00
Roman Telezhynskyi ad87577ec8 Translation functions descriptions. 2020-02-27 17:26:32 +02:00
Roman Telezhynskyi 475bdadf9b Fix link to project repo in license header. 2020-01-31 08:02:08 +02:00
Roman Telezhynskyi 1c6ff72b23 Removed hard coded font value. Kept only its bold status.
--HG--
branch : develop
2019-12-07 08:58:12 +02:00
Roman Telezhynskyi 34c49f3323 Clazy warning.
--HG--
branch : develop
2019-12-07 08:55:52 +02:00
Roman Telezhynskyi c802df2b73 Lupdate warnings.
Lupdate lacks of some features to support all C++ valid declarations.

--HG--
branch : develop
2019-09-10 16:57:31 +03:00
Roman Telezhynskyi 26578c0fba Select formula text in Formula Wizard to help user quickly override it.
--HG--
branch : develop
2019-02-12 12:36:12 +02:00
Roman Telezhynskyi 0c3cce5122 Refactoring tool dialogs.
--HG--
branch : develop
2019-02-11 13:25:27 +02:00
Roman Telezhynskyi 194aac3813 Fixing Wclazy-qstring-allocations warning.
--HG--
branch : develop
2019-01-15 16:39:58 +02:00
Roman Telezhynskyi 4e8ceb6c1e Improve UI. Make placeholder menu scrollable.
--HG--
branch : develop
2018-11-30 17:32:36 +02:00
Roman Telezhynskyi 60b323cf8e Fixed issue #882. VContainer class doesn't support multi document mode.
--HG--
branch : release
2018-09-18 16:38:16 +03:00
Roman Telezhynskyi 63b1eb8068 Cppcheck warning 'missingOverride'.
--HG--
branch : develop
2018-06-26 15:53:48 +03:00
Roman Telezhynskyi 09e8c81d6f Refactoring. Rename GetPPath() to GetPatternPath().
--HG--
branch : develop
2018-06-19 09:18:38 +03:00
Roman Telezhynskyi 3b4007a40c Backed out changeset: 87f0955a62ad ref #841.
--HG--
branch : develop
2018-05-07 14:23:47 +03:00
Roman Telezhynskyi fd446a7c1f Fixed issue #841. Variables Table won't open again when closed with Esc.
--HG--
branch : develop
2018-04-23 10:13:19 +03:00
Roman Telezhynskyi 0281b5508c Additional controls for Label template editor. ref #824.
--HG--
branch : develop
2018-04-09 10:20:38 +03:00
Roman Telezhynskyi d8c3a0ac81 Use native dialog on all platforms except Linux.
We have a bug with native dialog on Linux that's why we cannot use it.

--HG--
branch : develop
2018-04-04 08:34:48 +03:00
Roman Telezhynskyi 0e3a9533af Refactoring. Use C++11 range-based loop.
--HG--
branch : develop
2018-04-03 14:36:38 +03:00
Roman Telezhynskyi 6a7405b4d4 Refactoring. Use QString default constructor instead of empty string.
--HG--
branch : develop
2018-03-14 16:01:24 +02:00
Roman Telezhynskyi c1cea4c441 Clazy warnings.
--HG--
branch : develop
2018-03-14 15:39:15 +02:00
Roman Telezhynskyi a2c54fc7f3 Some dialogs should behave like windows on mac.
--HG--
branch : develop
2018-03-12 12:42:43 +02:00
Roman Telezhynskyi 3ae5b3d99a Fix compilation.
--HG--
branch : develop
2018-01-24 22:20:31 +02:00
Roman Telezhynskyi 615decb625 Improve Formula Wizard.
Improve support for multi line expressions.

--HG--
branch : develop
2018-01-24 22:09:45 +02:00
Roman Telezhynskyi 54d3ae7561 Improve parsing formulas.
Enable subexpressions. Allow user to define local variables.

--HG--
branch : develop
2018-01-24 22:08:53 +02:00
Roman Telezhynskyi 9b5b8dde04 Improve Formula Wizard. Disable data types not available in certain cases.
--HG--
branch : develop
2018-01-24 19:10:29 +02:00
Roman Telezhynskyi 2aaffd0e0d Fix bug in Formula Wizard. It did not show description for preview calculations.
--HG--
branch : develop
2018-01-22 20:51:17 +02:00
Roman Telezhynskyi 7bdc10419c Speed optimization translating internal variables.
--HG--
branch : develop
2018-01-21 16:00:53 +02:00
Roman Telezhynskyi f8b673d5eb Fixed issue #798. Formula Wizard crashes with translated increments.
--HG--
branch : develop
2018-01-15 19:53:17 +02:00
Roman Telezhynskyi 6e0584e848 Fix bug in Label template editor.
User material placeholders were wrong in combobox.

--HG--
branch : develop
2018-01-13 10:52:01 +02:00
Roman Telezhynskyi 5c8c940f32 Refactoring. Backport QOverload template.
--HG--
branch : develop
2018-01-12 15:25:20 +02:00
Roman Telezhynskyi 925e74af9c Fix file filter.
--HG--
branch : develop
2017-11-29 15:59:50 +02:00
Roman Telezhynskyi 5f0d4ea586 Resolved issue #774. New feature. Matching Parentheses.
--HG--
branch : develop
2017-11-14 13:46:28 +02:00
Roman Telezhynskyi 61172d46c4 Fix typo in headers.
--HG--
branch : develop
2017-10-05 12:20:01 +03:00
Roman Telezhynskyi 5551b853b9 Extend number of user material placeholders up to 20.
--HG--
branch : develop
2017-09-28 17:45:57 +03:00
Roman Telezhynskyi 29972118ff Lupdate.
--HG--
branch : develop
2017-09-24 10:33:49 +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 39aa43fe8f SonarQube warnings.
--HG--
branch : develop
2017-09-13 11:52:41 +03:00
Roman Telezhynskyi d820191e8a User "home" folder now supports label templates.
--HG--
branch : develop
2017-09-12 11:50:23 +03:00
Roman Telezhynskyi fd2f977e44 Improve Formula Wizard. Added additional radio button to separate increments
and preview calculations. ref #731.

--HG--
branch : develop
2017-09-02 15:25:53 +03:00
Roman Telezhynskyi c33b178e3c Template recognizes new placeholders.
--HG--
branch : feature
2017-08-30 09:32:39 +03:00
Roman Telezhynskyi 54dec078da Clang warning.
--HG--
branch : develop
2017-08-21 21:12:24 +03:00
Roman Telezhynskyi ae870b8b2e Fix conflict of names.
--HG--
branch : develop
2017-08-21 17:10:55 +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 acf429518d Added more additional Piece label fields.
--HG--
branch : feature
2017-08-21 13:16:43 +03:00
Roman Telezhynskyi 6d06370f4f Use user define date/time format.
--HG--
branch : feature
2017-08-19 19:37:14 +03:00
Roman Telezhynskyi db6de640ce Fix crash.
--HG--
branch : feature
2017-08-18 14:56:31 +03:00
Roman Telezhynskyi 09c67a099a UI changes for piece label.
--HG--
branch : feature
2017-08-17 19:18:03 +03:00
Roman Telezhynskyi 6d967cddf8 Fix bug. Tags should contain only file base name.
--HG--
branch : feature
2017-08-17 16:04:52 +03:00
Roman Telezhynskyi 4d58e05f3e New option Font size increment.
Add value to point size of base font.

--HG--
branch : feature
2017-08-15 18:10:15 +03:00
Roman Telezhynskyi b9bd1b60e4 Method SetTemplate.
--HG--
branch : feature
2017-08-14 20:00:19 +03:00
Roman Telezhynskyi d5c2b1b50d GetTemplate after editing.
--HG--
branch : feature
2017-08-14 19:34:33 +03:00
Roman Telezhynskyi 0b3342fe3d Translation from/to user text.
--HG--
branch : feature
2017-08-14 15:48:14 +03:00
Roman Telezhynskyi 89ed92e93f Added more placeholders.
--HG--
branch : feature
2017-08-14 15:11:14 +03:00
Roman Telezhynskyi 4aa002f510 Added Preview tab.
--HG--
branch : feature
2017-08-12 13:19:13 +03:00
Roman Telezhynskyi 0c13d610eb Еext in QLineEdit selected on edit start.
--HG--
branch : feature
2017-08-12 11:57:46 +03:00
Roman Telezhynskyi d81be4f778 Added placeholders list.
--HG--
branch : feature
2017-08-12 11:40:58 +03:00
Roman Telezhynskyi 9202418d7c Fix bug. Values "0" and "1" mean for us the same.
--HG--
branch : feature
2017-08-10 19:36:31 +03:00
Roman Telezhynskyi c989cdf048 Added import the template.
--HG--
branch : feature
2017-08-10 19:32:05 +03:00
Roman Telezhynskyi b4c0651de4 Added export the template.
--HG--
branch : feature
2017-08-10 17:14:39 +03:00
Roman Telezhynskyi 209a281cdc New standard path for label templates.
--HG--
branch : feature
2017-08-10 14:51:17 +03:00
Roman Telezhynskyi 7f570106db Finished basic functions.
--HG--
branch : feature
2017-08-10 14:47:56 +03:00
Roman Telezhynskyi 7b13020e4e Button to call Label editor.
--HG--
branch : feature
2017-08-09 19:32:14 +03:00
Roman Telezhynskyi 80f6a5a7d1 Redesign. The Label editor should be in separate dialog window.
--HG--
branch : feature
2017-08-09 17:33:20 +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 d0cc8902f9 SonarQube warnings.
--HG--
branch : develop
2017-07-09 09:02:26 +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 53502e3dd9 Refactoring. Remove code dependency.
--HG--
branch : feature
2017-07-01 14:43:16 +03:00
Roman Telezhynskyi 61dcc52965 Remember Formula Wizard dialog size.
--HG--
branch : develop
2017-06-16 17:05:35 +03:00
Roman Telezhynskyi 46d845f7e1 Improve the Formula Wizard dialog. Set a pointing hand cursor for variables
table.

--HG--
branch : develop
2017-06-16 15:11:25 +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 b506b1d177 Refactoring. "Remove" call to the overridable "CheckState" method.
--HG--
branch : develop
2017-03-31 11:54:05 +03:00
Roman Telezhynskyi 38abf5c9a0 Removed redundant forward declaration.
--HG--
branch : develop
2017-02-18 11:22:59 +02:00
Roman Telezhynskyi c49f97d695 MSVC warning.
--HG--
branch : develop
2017-01-27 11:15:24 +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 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 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 ffab000e0f Remove empty statement.
--HG--
branch : develop
2016-12-20 20:57:20 +02:00
Roman Telezhynskyi fd02a71c14 Fix building with Qt 5.1.
--HG--
branch : develop
2016-11-14 19:41:12 +02:00
Roman Telezhynskyi c4b9346021 Fixed issue #586. Valentina crashes if clear input filter string.
--HG--
branch : develop
2016-11-10 11:15:52 +02:00
Roman Telezhynskyi 91d43c4b26 Added missed signal. Little refactoring. ref #581.
--HG--
branch : develop
2016-11-10 08:53:44 +02:00
Raina 88130f1084 Resolves #581. User can now filter input lists by keyword in function wizard.
--HG--
branch : feature
2016-11-09 18:25:52 -08: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 23d9898154 Use QLocale::c() instead of QLocale(QLocale::C).
--HG--
branch : develop
2016-08-26 12:38:23 +03:00
Valentina Zhuravska 00649770e3 Little fixes.
--HG--
branch : feature
2016-08-17 23:13:54 +03:00
Valentina Zhuravska 09a9ec2855 Resolved Issue #424. Improve Formula Wizard dialog.
--HG--
branch : feature
2016-08-16 23:13:34 +03:00
Roman Telezhynskyi 7585db6a58 Fix build on Qt\5.3\msvc2013_64_opengl.
--HG--
branch : develop
2016-08-09 16:55:46 +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 47f12c80f8 Refactoring. Use lambda for small slots. Move slots declaration in appropriate
place.

--HG--
branch : develop
2016-07-18 18:09:15 +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
Valentina Zhuravska 6e7b77b9de Added toolTip.
--HG--
branch : feature
2016-05-17 13:18:38 +03:00