Commit Graph

5874 Commits

Author SHA1 Message Date
Roman Telezhynskyi
4d75ca0fe3 Refactoring. More appropriate name for a method.
--HG--
branch : feature
2019-03-30 11:16:54 +02:00
Roman Telezhynskyi
4565a47b91 Fix bug in VLayoutPieceData class.
--HG--
branch : feature
2019-03-30 11:15:14 +02:00
Roman Telezhynskyi
69340a4ff2 Show Efficiency coefficient in percentage and as float number.
--HG--
branch : feature
2019-03-30 11:14:32 +02:00
Roman Telezhynskyi
4f6735808b Fix default time.
--HG--
branch : feature
2019-03-30 11:13:53 +02:00
Roman Telezhynskyi
46bf68521e Nesting with timeout.
--HG--
branch : feature
2019-03-29 19:52:37 +02:00
Roman Telezhynskyi
290676a2a6 Refactoring. Return value or default.
--HG--
branch : feature
2019-03-29 19:50:17 +02:00
Roman Telezhynskyi
248b0e3eeb Refactoring. Use std::initializer_list.
--HG--
branch : feature
2019-03-29 11:38:46 +02:00
Roman Telezhynskyi
47bcfd74ab Changes for dialog.
--HG--
branch : feature
2019-03-29 11:31:17 +02:00
Roman Telezhynskyi
0616dc5540 Fix regression. Setup command line parser before checking UI mode state.
--HG--
branch : develop
2019-03-28 07:47:14 +02:00
Roman Telezhynskyi
2f9d591929 Fix tool tooltip.
--HG--
branch : develop
2019-03-27 22:16:38 +02:00
Roman Telezhynskyi
a214a78006 Continue replacing custom *_FALLTHROUGH macroses with Q_FALLTHROUGH().
--HG--
branch : develop
2019-03-27 13:31:02 +02:00
Roman Telezhynskyi
91925c2618 Cppcheck warning.
--HG--
branch : develop
2019-03-27 11:45:25 +02:00
Roman Telezhynskyi
fc5b991174 Use Q_FALLTHROUGH instead of V_FALLTHROUGH.
--HG--
branch : develop
2019-03-16 12:22:09 +02:00
Roman Telezhynskyi
c2672b4b69 Shows global contour.
For debugging purposes.
* * *
Show nodes on global contour.

--HG--
branch : develop
2019-03-27 10:29:59 +02:00
Roman Telezhynskyi
715389d35d Use Qt's Q_DECL_UNUSED instead of internal V_UNUSED.
--HG--
branch : develop
2019-03-16 12:02:00 +02:00
Roman Telezhynskyi
635922faec Instead of squares compare depth position.
--HG--
branch : develop
2019-03-27 10:22:00 +02:00
Roman Telezhynskyi
39f24d2dcc When append whole piece don't miss piece edge.
This will potentially create less reserved space.

--HG--
branch : develop
2019-03-15 16:36:37 +02:00
Roman Telezhynskyi
762ee18026 Extend layout sheet paper size to cover coner cases.
--HG--
branch : develop
2019-03-15 15:33:30 +02:00
Roman Telezhynskyi
5ed2134a29 Refactoring. Move pointer to mouse position label to "no GUI" class.
* * *
Fix crash. Access to null pointer.

--HG--
branch : develop
2019-03-27 10:15:24 +02:00
Roman Telezhynskyi
37a113abd6 Fix spacer in dialog Layout settings.
--HG--
branch : develop
2019-03-27 10:08:43 +02:00
Roman Telezhynskyi
1f25b81f88 Fix bug in Add increment tool button.
--HG--
branch : develop
2019-03-13 10:23:44 +02:00
Roman Telezhynskyi
1393be669b Fix auto cropping.
--HG--
branch : develop
2019-03-12 19:45:27 +02:00
Roman Telezhynskyi
0f226d6cdf Fix wrong use of SetAttributeOrRemoveIf(). The remove condition must be
calculated not hardcoded.

--HG--
branch : develop
2019-03-27 09:46:33 +02:00
Roman Telezhynskyi
3b1d753360 Update for pattern format.
--HG--
branch : develop
2019-03-27 09:46:08 +02:00
Roman Telezhynskyi
08415eb4ef Refactoring. Move best square result in separate struct.
--HG--
branch : develop
2019-03-27 09:31:02 +02:00
Roman Telezhynskyi
63ea3bf2f9 If user selects SaveLength option add fake contour edge.
* * *
Fixing issue with pieces on edge.

--HG--
branch : develop
2019-03-27 09:03:19 +02:00
Roman Telezhynskyi
ed23a4ee71 Refactoring. Define default values.
--HG--
branch : develop
2019-03-26 19:14:05 +02:00
Roman Telezhynskyi
e7bd65bde9 Refactoring. Move code in functions.
--HG--
branch : develop
2019-03-26 19:10:13 +02:00
Roman Telezhynskyi
1f462586cd Convert to implicitly shared object.
--HG--
branch : develop
2019-03-26 19:02:12 +02:00
Roman Telezhynskyi
81cda14c06 Refactoring. Pass position data as struct.
--HG--
branch : develop
2019-03-26 18:54:59 +02:00
Roman Telezhynskyi
93334c7f7d Show error when preparing pieces fails.
--HG--
branch : develop
2019-03-26 18:21:31 +02:00
Roman Telezhynskyi
6b6d124cbb Refactoring.
--HG--
branch : develop
2019-03-26 17:47:27 +02:00
Roman Telezhynskyi
335d4e2b81 Fix typo.
--HG--
branch : develop
2019-03-26 17:30:25 +02:00
Roman Telezhynskyi
263b99ff19 Improve API for class VNoBrushScalePathItem. Added method SetWidth().
--HG--
branch : develop
2019-03-26 17:26:15 +02:00
Roman Telezhynskyi
c4d07125dc Refactoring define new type for id value.
--HG--
branch : develop
2019-03-26 17:15:03 +02:00
Roman Telezhynskyi
d0f738c0f0 Cleaning. Remove commented section.
--HG--
branch : develop
2019-03-26 17:13:44 +02:00
Roman Telezhynskyi
657ef52ab3 Lupdate.
--HG--
branch : develop
2019-03-25 14:14:52 +02:00
Roman Telezhynskyi
7588a7f402 Extend Label language to support Czech alphabet.
--HG--
branch : develop
2019-03-25 13:56:50 +02:00
Roman Telezhynskyi
98fcfbbb56 Create command line parser after loading translations to show localized version.
--HG--
branch : develop
2019-03-25 13:49:23 +02:00
Roman Telezhynskyi
2c8539a30d Fixed issue #956. Setting pattern unit doesn't change combobox value in Tape
app.
(grafted from 591df5032a71d33d0f17242bebc2d128f9e27d99)

--HG--
branch : develop
2019-03-14 11:53:08 +02:00
Roman Telezhynskyi
5008c2c248 Fix warning: catching polymorphic type 'class VExceptionBadId' by value
[-Wcatch-value=].

--HG--
branch : develop
2019-03-05 11:42:38 +02:00
Roman Telezhynskyi
c8a5b4a618 Collect garbage only in gui mode.
--HG--
branch : develop
2019-03-04 15:00:59 +02:00
Roman Telezhynskyi
6e60171bf7 Speed up loading pattern file by delaying garbage collecting.
--HG--
branch : develop
2019-03-04 14:58:27 +02:00
Roman Telezhynskyi
d291051dfb Collect garbage only after successfully parse. This way wrongly accused items
have one more time to restore a reference.

--HG--
branch : develop
2019-03-04 14:55:40 +02:00
Roman Telezhynskyi
add6d9facf Don't use Q_UNUSED if we can just skip argument.
--HG--
branch : develop
2019-03-04 14:42:42 +02:00
Roman Telezhynskyi
504e617686 Fixed issue #955. Valentina corrupts file.
(grafted from 8e9fc213aa8018ebcf889cc9baa3f08a31b4e423)

--HG--
branch : develop
2019-03-04 14:40:58 +02:00
Roman Telezhynskyi
33d83cedea Improve VPiece::IsSeamAllowanceValid. If called for piece without seam
allowance return true.

--HG--
branch : develop
2019-03-01 17:20:21 +02:00
Roman Telezhynskyi
2c19640089 Don't use Qt OpenGL module since Q5.4.
(grafted from 82e62ea2d785e093af68089e509b224f3f4f843f)

--HG--
branch : develop
2019-03-01 14:02:19 +02:00
Roman Telezhynskyi
a479f3cb40 Improve checking allowance validity.
--HG--
branch : develop
2019-02-27 20:33:59 +02:00
Roman Telezhynskyi
782b257c04 Fixed issue #954. Valentina produces empty rotation operation.
(grafted from 0108ef767e2447e5b5f39378bcf245e25947a25d)

--HG--
branch : develop
2019-02-24 17:29:12 +02:00