Commit Graph

2553 Commits

Author SHA1 Message Date
Roman Telezhynskyi
81caed8f5f Added new function VAbstractApplication::ClearMessage.
It will help clear messages from unneeded '"' at the start and at the end.
qWarning and others adds them.

--HG--
branch : develop
2018-05-25 17:54:21 +03:00
Roman Telezhynskyi
c6e38932dc Update minimal requirements for Qt on Mac OS X.
--HG--
branch : develop
2018-05-22 19:22:11 +03:00
Roman Telezhynskyi
f67af27c06 Fix language changing at runtime.
All two preferences dialogs have this issue.

--HG--
branch : develop
2018-05-18 13:51:35 +03:00
Roman Telezhynskyi
e1276dde99 Fix typo.
--HG--
branch : develop
2018-05-15 14:01:26 +03:00
Roman Telezhynskyi
d21cc1d43f String optimization.
--HG--
branch : develop
2018-05-11 12:42:52 +03:00
Roman Telezhynskyi
2ee75fdbab Tab with options to control Scrolling settings. ref #831.
Empiric settings do not work for all.

--HG--
branch : develop
2018-05-11 12:42:20 +03:00
Roman Telezhynskyi
1e0b777bd6 New option to control calling zoom current pattern piece by mouse double click.
--HG--
branch : develop
2018-05-10 14:12:41 +03:00
Roman Telezhynskyi
1158b06425 Collect garbage only after successfully parse. This way wrongly accused items
have one more time to restore a reference.

--HG--
branch : develop
2018-05-09 18:09:40 +03:00
Roman Telezhynskyi
4b859a897e If a user made a layout, returned to drawing, made some changes and returned to
layout again, Valentina will open the Layout settings dialog automatically.

--HG--
branch : develop
2018-05-08 11:40:21 +03:00
Roman Telezhynskyi
fc3f8df5b0 Fix bug with caching removed items.
--HG--
branch : develop
2018-05-08 11:32:27 +03:00
Roman Telezhynskyi
a7eeaebb4a Fix pattern to avoid confusion.
--HG--
branch : develop
2018-05-08 11:08:10 +03:00
Roman Telezhynskyi
ccda742aa8 Refactoring. Specifying the "pointer" part outside of auto.
--HG--
branch : develop
2018-05-07 14:32:17 +03:00
Roman Telezhynskyi
3b4007a40c Backed out changeset: 87f0955a62ad ref #841.
--HG--
branch : develop
2018-05-07 14:23:47 +03:00
Roman Telezhynskyi
ee6ffab480 Bug QTBUG-43344 was fixed in Qt 5.11.1.
--HG--
branch : develop
2018-04-27 16:32:26 +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
58a2f42703 Working with progressbar very expensive. Trigger changing of status less
frequent.

--HG--
branch : develop
2018-04-22 19:33:09 +03:00
Roman Telezhynskyi
ab59a76bbb String optimization. Replace string " " with signe QChar.
--HG--
branch : develop
2018-04-22 18:39:56 +03:00
Roman Telezhynskyi
c92182464b We don't have Wiki anymore.
--HG--
branch : develop
2018-04-22 09:23:17 +03:00
Roman Telezhynskyi
72399472a1 Do zoom fit best current pattern piece only in Draw mode.
--HG--
branch : develop
2018-04-20 09:35:13 +03:00
Roman Telezhynskyi
678792ca5c Improve sentences.
--HG--
branch : develop
2018-04-18 11:58:03 +03:00
Roman Telezhynskyi
2d5f84b4bf Refactoring. Don't use old slot style in QTimer::singleShot.
--HG--
branch : develop
2018-04-18 11:15:53 +03:00
Roman Telezhynskyi
be2a706cc0 Mouse double click zoom fit best current pattern piece.
--HG--
branch : develop
2018-04-17 09:56:41 +03:00
Roman Telezhynskyi
e7ca9294cf Refactoring. Use QChar instead of QString where possible.
Point and comma.

--HG--
branch : develop
2018-04-13 09:14:55 +03:00
Roman Telezhynskyi
e26fcb05b8 Fix typo.
--HG--
branch : develop
2018-04-13 08:43:44 +03:00
Roman Telezhynskyi
3970bbdbc0 Refactoring. Use QChar instead of QString where possible.
--HG--
branch : develop
2018-04-12 13:13:19 +03:00
Roman Telezhynskyi
64029c249a Refactoring. Added special section for string literals.
--HG--
branch : develop
2018-04-08 19:45:23 +03:00
Roman Telezhynskyi
b3c86748f4 Fix bug in deploy. ref #832.
--HG--
branch : develop
2018-04-07 22:11:27 +03:00
Roman Telezhynskyi
cc4768ff77 Fixed issue #836. Change Detail Name - Update List of Details.
--HG--
branch : develop
2018-04-07 14:11:44 +03:00
Ronan Le Tiec
2f4d699cb6 merge with incoming
--HG--
branch : develop
2018-04-06 23:11:20 +02:00
Ronan Le Tiec
f09adc22ab resolves #826 code refactoring and corrections
--HG--
branch : develop
2018-04-06 23:08:09 +02:00
Ronan Le Tiec
a56c41589c Merged dismine/valentina into develop
--HG--
branch : develop
2018-04-06 21:58:09 +02: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
911a85d79b Fix property editor on Mac OS.
--HG--
branch : develop
2018-04-03 18:08:11 +03:00
Roman Telezhynskyi
c6e7590034 Fix MacOS regression QWidget::closeEvent called twice.
--HG--
branch : develop
2018-04-03 17:41:39 +03:00
Roman Telezhynskyi
e880d5f0a3 Clang warning.
--HG--
branch : develop
2018-04-03 16:32:53 +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
6b6a2632a9 Refactoring. Replacing all Q_FOREACH/foreach loops with the c++ range-based
loops.

--HG--
branch : develop
2018-04-03 11:15:58 +03:00
Roman Telezhynskyi
3252130f36 Refactoring. Use C++11 range-based loop.
--HG--
branch : develop
2018-04-02 20:38:56 +03:00
Roman Telezhynskyi
fe5a58beef Fix unused lambda capture.
--HG--
branch : develop
2018-04-02 16:43:02 +03:00
Ronan Le Tiec
84bab5386b issue 826 clear selection when adding an item to a group. changelog and list of contributor
--HG--
branch : feature
2018-04-02 11:52:42 +02:00
Ronan Le Tiec
d3da522ac4 issue 826 undo and redo adding or removing item from group finished
--HG--
branch : feature
2018-04-01 23:36:54 +02:00
Ronan Le Tiec
1526d77612 issue 826 - workind on undo redo command
--HG--
branch : feature
2018-04-01 17:19:10 +02:00
Ronan Le Tiec
6ce7ac1248 issue 826 sort group names in alphabetical case insensitive order
--HG--
branch : feature
2018-03-25 18:21:55 +02:00
Ronan Le Tiec
e3f48b797f merge issue826 into feature
--HG--
branch : feature
2018-03-25 16:56:16 +02:00
Ronan Le Tiec
032783581a issue826 allow empty groups, schema version 0.7.8, update group list when adding or removing item
--HG--
branch : issue826
2018-03-25 16:43:28 +02:00
Roman Telezhynskyi
ec170328e2 QFileInfo::created is deprecated in Qt 5.10.
--HG--
branch : develop
2018-03-24 07:31:46 +02:00
Roman Telezhynskyi
2cb7c4c603 Utilize macro QT_DEPRECATED_WARNINGS.
--HG--
branch : develop
2018-03-22 19:57:56 +02:00
Roman Telezhynskyi
f1ef60e441 Fixed issue #823. SVG Export - seam and cutting line of one piece missing.
(grafted from 56c6ae623ed101a1e3276bc4a0ab5f6102ebae41)

--HG--
branch : develop
2018-03-22 16:32:20 +02: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
a68da11776 Inform a user about options those require restart to take effect.
--HG--
branch : develop
2018-03-12 11:56:47 +02:00
Roman Telezhynskyi
368c3a871a Resolved issue #819. Use OpenGL as render for view.
--HG--
branch : develop
2018-03-10 16:39:37 +02:00
Roman Telezhynskyi
3d377bcbfd Do not build an app bundle in debug mode.
--HG--
branch : develop
2018-03-10 17:09:36 +02:00
Roman Telezhynskyi
5bb90ab92d Force repain to fix paint artifacts on Mac OS X.
--HG--
branch : develop
2018-03-10 17:24:16 +02:00
Roman Telezhynskyi
337b247816 Fix max point size for better look.
--HG--
branch : develop
2018-03-10 17:25:10 +02:00
Roman Telezhynskyi
d5987fa5c4 Fix form layout to better suit mac os.
--HG--
branch : develop
2018-03-10 16:33:48 +02:00
Roman Telezhynskyi
4fdfcfc11e Improve description field. It should be flexible.
--HG--
branch : develop
2018-03-04 13:34:32 +02:00
Roman Telezhynskyi
3bd958629f Fixed issuse #816. Formula Wizard in Final measurements doesn't update formula
in details.

--HG--
branch : develop
2018-02-27 10:47:17 +02:00
Roman Telezhynskyi
5f3ee65501 Fix bug in tool property browser. Too strict check makes impossible to fix
formula value.

--HG--
branch : develop
2018-02-22 14:59:39 +02:00
Roman Telezhynskyi
543042004a Imported file must not contain the same name twice. ref #804.
--HG--
branch : develop
2018-02-07 11:00:25 +02:00
Roman Telezhynskyi
6c438f92e0 Resolved issue #808. New feature. Global line width option.
--HG--
branch : develop
2018-02-06 19:30:27 +02:00
Roman Telezhynskyi
7fedd20319 Fix some bugs and add preview table. ref #804.
--HG--
branch : develop
2018-02-06 15:46:20 +02:00
Roman Telezhynskyi
c56992407e Resolved issue #667. Check for updates - Test version.
--HG--
branch : develop
2018-02-06 13:38:05 +02:00
Roman Telezhynskyi
e56423905d Ignore full name and description for known measurements. ref #804.
--HG--
branch : develop
2018-02-05 11:10:55 +02:00
Roman Telezhynskyi
28559870bc Lupdate.
--HG--
branch : develop
2018-02-04 23:03:28 +02:00
Roman Telezhynskyi
a9652077d1 Fix bug Final measurements. Cursor in description field always returns to the
end of string.

--HG--
branch : develop
2018-02-04 22:14:27 +02:00
Roman Telezhynskyi
55abe25287 Fix piece position after flipping. ref #783.
--HG--
branch : develop
2018-02-04 18:23:07 +02:00
Roman Telezhynskyi
be8207d46b Improve flipping control. Fix bug with export in DXF AAMA. ref #783.
--HG--
branch : develop
2018-02-04 10:08:18 +02:00
Roman Telezhynskyi
f26087350d Resolved issue #414. Add features from Qt Windows Extras.
--HG--
branch : develop
2018-02-03 20:21:08 +02:00
Roman Telezhynskyi
14d5cf25ad Improve flipping control. Export from Details mode also should obey this rule.
ref #783.

--HG--
branch : develop
2018-02-03 15:29:23 +02:00
Roman Telezhynskyi
8b7494fb08 Show Forbid flipping and Force flipping options in piece context menu.
--HG--
branch : develop
2018-02-03 14:18:32 +02:00
Roman Telezhynskyi
28044ff4c6 Improve search in Tape app. Provide search not only in selected measurement
description, but in all descriptions. ref #732.

--HG--
branch : develop
2018-02-03 12:45:16 +02:00
Roman Telezhynskyi
34ffa5ab51 Fixed issue #805. Invalid regular expression for validation layout output
filename mask.
(grafted from eca61caae23937baffec715a2dff88e915dcc302)

--HG--
branch : develop
2018-02-01 19:31:25 +02:00
Roman Telezhynskyi
cd1ebf434a Resolved issue #804. New feature. Import measurements from CSV file in Tape app.
--HG--
branch : develop
2018-01-31 14:34:50 +02:00
Roman Telezhynskyi
90fe5d379e Fix Export to CSV bug. Header have wrong title.
--HG--
branch : develop
2018-01-31 14:31:34 +02:00
Roman Telezhynskyi
79ef15c54c Clear code.
--HG--
branch : develop
2018-01-30 10:55:16 +02:00
Roman Telezhynskyi
509955f2c6 When Valentina proposes measurement file it should select it in dialog.
--HG--
branch : develop
2018-01-30 10:54:19 +02:00
Roman Telezhynskyi
d5843ceb6d Speed optimization for parsing piece internals.
--HG--
branch : develop
2018-01-25 23:53:53 +02:00
Roman Telezhynskyi
f64f511287 Fix build on MSVC.
--HG--
branch : develop
2018-01-25 15:39:50 +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
114bdfe9dd Speed optimization for method VPattern::ElementsToParse().
--HG--
branch : develop
2018-01-24 14:06:21 +02:00
Roman Telezhynskyi
a91b1a3816 Speed optimization for method VAbstractPattern::ListMeasurements().
--HG--
branch : develop
2018-01-24 13:16:29 +02:00
Roman Telezhynskyi
0cc551b786 Resolved issue #732. Tape app. Improve Database dialog.
--HG--
branch : develop
2018-01-23 13:08:20 +02:00
Roman Telezhynskyi
27af6ac833 Resolved issue #392. Improve feature: Show progress bar while opening pattern
file.

--HG--
branch : develop
2018-01-22 14:26:53 +02:00
Roman Telezhynskyi
d3df063160 Fix crash.
--HG--
branch : develop
2018-01-21 14:43:45 +02:00
Roman Telezhynskyi
99d6ea5152 Speed optimization for class VFormula.
--HG--
branch : develop
2018-01-20 15:37:15 +02:00
Roman Telezhynskyi
d03cd7be06 Speed optmization for method VContainer::ClearVariables().
--HG--
branch : develop
2018-01-20 14:01:35 +02:00
Roman Telezhynskyi
7f84a09342 Optimization. Avoid expensive exception calls.
--HG--
branch : develop
2018-01-20 12:31:12 +02:00
Roman Telezhynskyi
751820a39b Fix crash. Valentina crashes when scale scene after creating new pattern due to
uninitialized toolbar.

--HG--
branch : develop
2018-01-20 09:25:08 +02:00
Roman Telezhynskyi
502882ec70 Refactoring.
--HG--
branch : develop
2018-01-16 19:32:38 +02:00
Roman Telezhynskyi
5c8c940f32 Refactoring. Backport QOverload template.
--HG--
branch : develop
2018-01-12 15:25:20 +02:00
Roman Telezhynskyi
352912d12f Try to fix backward compatibility with Qt 5.2.
--HG--
branch : develop
2018-01-09 21:02:08 +02:00
Roman Telezhynskyi
910ac6864c Resolved issue #794. Better control over scale value.
--HG--
branch : develop
2018-01-09 20:13:30 +02:00
Roman Telezhynskyi
231780d35e Fix crash when use Windows/Close option.
--HG--
branch : develop
2018-01-06 12:09:06 +02:00
Roman Telezhynskyi
f52b690827 Resolved issue #792. New feature. Visibility trigger for internal path.
--HG--
branch : develop
2018-01-03 19:31:50 +02:00
Roman Telezhynskyi
34d1b91225 New hack to restore mouse cursor.
--HG--
branch : develop
2018-01-01 16:16:50 +02:00
Roman Telezhynskyi
c853b67f63 Fix wrong tooltip for tool box widget.
--HG--
branch : develop
2017-12-17 15:12:57 +02:00
Roman Telezhynskyi
88844ec33f Resolved issue #783. Flipping control.
--HG--
branch : develop
2017-12-17 15:06:46 +02:00