Roman Telezhynskyi
dd9cfb39f5
More deprecation warnings.
2020-07-07 19:15:43 +03:00
Roman Telezhynskyi
e2669b4e2b
Fix build on Linux.
2020-07-07 18:55:31 +03:00
Roman Telezhynskyi
c3e935029e
More deprecation warnings.
2020-07-07 17:48:26 +03:00
Roman Telezhynskyi
3383df193b
More deprecation warnings.
2020-07-07 10:51:00 +03:00
Roman Telezhynskyi
2da8f70f86
Optimize tool box position for big screen resolutions. Closes smart-pattern/valentina#45 .
...
Instead of forcing users to one possible choice add an option to control size policy for the tool box.
2020-06-01 12:21:09 +03:00
Roman Telezhynskyi
7b1449f11e
Redesign settings.
...
All apps settings classes moved to binaries. Use common part to get access from static libraries. Fixed issues with VMainGraphicsView class.
2020-05-10 18:32:26 +03:00
Roman Telezhynskyi
a009e25004
Fix (de)serialize enums into QDataStream.
...
It is very important to use exactly the same way across all Qt versions we need to support. Otherwise, it will break interchange between Valentina versions built on different Qt versions.
2020-05-09 12:36:03 +03:00
Roman Telezhynskyi
3a675f0552
New default folder Manual layouts.
2020-04-21 18:57:11 +03:00
Roman Telezhynskyi
51e0694f36
Merge branch 'develop' into feature/manual-layout.
2020-04-11 10:38:14 +03:00
Roman Telezhynskyi
952298a477
Fix invalid header.
2020-03-29 20:52:26 +03:00
Roman Telezhynskyi
c6c4edb893
Merge branch 'develop' into feature/manual-layout
2020-03-25 15:28:23 +02:00
Roman Telezhynskyi
c1453f1715
Organization of groups - groups categories. Closes smart-pattern/valentina#15 .
2020-03-24 17:31:32 +02:00
Roman Telezhynskyi
49828889e2
New layout generator option: Prefer one sheet solution.
2020-03-22 16:22:03 +02:00
Roman Telezhynskyi
c8526f2eb0
Setting scale factor for export and print.
2020-03-21 18:15:29 +02:00
Roman Telezhynskyi
4ce51e2662
Refactoring. Add additional constructor for class QSettings.
2020-03-07 10:58:18 +02:00
Roman Telezhynskyi
5a10bd7f63
Puzzle application class.
2020-02-16 19:18:39 +02:00
Roman Telezhynskyi
fa97850b0f
Suppress warning inside of qvector.h.
2020-01-31 17:49:06 +02:00
Roman Telezhynskyi
93fb90153f
Fix finding the latest tag distance.
...
Switch to git.
2020-01-31 09:00:40 +02:00
Roman Telezhynskyi
475bdadf9b
Fix link to project repo in license header.
2020-01-31 08:02:08 +02:00
Roman Telezhynskyi
acfd1ac01d
Fix build.
...
--HG--
branch : develop
2020-01-20 14:03:57 +02:00
Roman Telezhynskyi
61edf4d91a
Fix build.
...
--HG--
branch : develop
2020-01-20 13:51:56 +02:00
Roman Telezhynskyi
f64a33fb98
Resolved issue #992 . QXcbConnection: XCB Error.
...
--HG--
branch : develop
2020-01-20 10:14:44 +02:00
Roman Telezhynskyi
716192e520
Refactoring. Hide compatibility layer behind a function.
...
constLast(), move(), append().
--HG--
branch : develop
2020-01-17 15:14:00 +02:00
Roman Telezhynskyi
ad45daddeb
Fix build.
...
--HG--
branch : develop
2020-01-17 14:44:25 +02:00
Roman Telezhynskyi
7998687b03
Refactoring. Hide compatibility layer behind a function.
...
fromList().
--HG--
branch : develop
2020-01-16 19:46:05 +02:00
Roman Telezhynskyi
658eafc3d3
Refactoring. Hide compatibility layer behind a function.
...
toVector().
--HG--
branch : develop
2020-01-16 19:20:55 +02:00
Roman Telezhynskyi
7e3c7e0f88
Refactoring. Hide compatibility layer behind a function.
...
toSet(), toList(), swapItemsAt().
--HG--
branch : develop
2020-01-16 19:09:23 +02:00
Roman Telezhynskyi
98a88ed529
Refactoring. Hide compatibility layer behind a function.
...
QLineF::intersects.
--HG--
branch : develop
2020-01-16 17:34:08 +02:00
Roman Telezhynskyi
24e50455b0
Improve conversion for dxf file export.
...
We never checked if it really works. And it doesn't in many cases. Not always
Qt recognizes standard ANSI_* names as valid aliases for codepages. Because
codec itself can have many aliases we will test them one by one until one will
fit.
--HG--
branch : develop
2020-01-16 14:10:49 +02:00
Roman Telezhynskyi
74218e82bc
Try another way to fix build.
...
--HG--
branch : develop
2020-01-12 13:25:35 +02:00
Roman Telezhynskyi
f63e3ff1ad
Fix build.
...
--HG--
branch : develop
2020-01-12 12:34:12 +02:00
Roman Telezhynskyi
5658e0b0d5
Fix copy paste error.
...
--HG--
branch : develop
2020-01-07 14:21:47 +02:00
Roman Telezhynskyi
cf1e383d7b
Don't use 'char' as a type of enum class.
...
QDataStream doesn't support serialization for this type.
--HG--
branch : develop
2020-01-07 12:54:01 +02:00
Roman Telezhynskyi
5177057be1
Since Qt 5.14 enumerations can be serialized through QDataStream without the
...
need of manually defining streaming operators. Enum classes are
serialized using the declared size.
--HG--
branch : develop
2020-01-07 09:45:26 +02:00
Roman Telezhynskyi
15852ed2cd
Add missing icon in Windows icon theme.
...
--HG--
branch : develop
2019-12-28 18:06:06 +02:00
Roman Telezhynskyi
1d7667df61
Export tiled PDF with watermark.
...
--HG--
branch : develop
2019-12-13 10:51:29 +02:00
Roman Telezhynskyi
037ca99280
Refactoring. Move the code that gets path to exe file to separate module. DRY.
...
--HG--
branch : develop
2019-11-29 14:40:00 +02:00
Roman Telezhynskyi
18284289a0
Forgot to add a correction.
...
--HG--
branch : develop
2019-11-29 12:24:00 +02:00
Roman Telezhynskyi
7624b27409
BinReloc to get path to exe directory.
...
--HG--
branch : develop
2019-11-29 11:40:00 +02:00
Roman Telezhynskyi
df79ea7395
Test idea that Qt classes internally use ICU.
...
--HG--
branch : develop
2019-11-29 08:49:32 +02:00
Roman Telezhynskyi
1d28dd5be9
u_setDataDirectory expects const * char.
...
--HG--
branch : develop
2019-11-29 08:15:29 +02:00
Roman Telezhynskyi
50b929ea48
u_setDataDirectory to define path to ICU data.
...
--HG--
branch : develop
2019-11-28 16:42:06 +02:00
Roman Telezhynskyi
866a801f38
Auto refresh the list with each parse.
...
--HG--
branch : develop
2019-11-28 15:17:27 +02:00
Roman Telezhynskyi
0c78511cfc
Set environment variable ICU_DATA on runtime.
...
This time before QApplication and manually getting the application dir path.
--HG--
branch : develop
2019-11-26 19:56:40 +02:00
Roman Telezhynskyi
f81d814bb2
QCoreApplication::applicationDirPath returns empty string until we do not init
...
QApplication instance.
--HG--
branch : develop
2019-11-26 16:44:52 +02:00
Roman Telezhynskyi
a59f4d7923
Fix crash when QTextCodec::codecForMib returns null.
...
--HG--
branch : develop
2019-11-25 11:34:17 +02:00
Roman Telezhynskyi
9e25e6de24
Introducing vRound function.
...
Shortcut to round double to X points decimal.
--HG--
branch : develop
2019-11-19 15:46:11 +02:00
Roman Telezhynskyi
36e839ed5d
Move to top and include qt_windows.h.
...
--HG--
branch : develop
2019-11-15 09:51:31 +02:00
Roman Telezhynskyi
8f6ae65224
New feature Pattern Messages.
...
Added special field to show pattern warnings instead of warning dialogs.
Fixed issue with tabified dockwidgets.
--HG--
branch : develop
2019-10-28 17:44:31 +02:00
Andrey Ushakov
ea75af2f46
New command line option --cropWidth. Helps to crop unused width of paper.
...
--HG--
branch : develop
2019-10-16 11:16:16 +03: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
366e76a642
Improve piece node context menu. Added options to control passmark angle type
...
and passmark mark type.
--HG--
branch : develop
2019-09-05 11:29:20 +03:00
Roman Telezhynskyi
01798ee422
Cppcheck warning.
...
--HG--
branch : develop
2019-08-22 17:47:48 +03:00
Roman Telezhynskyi
4d54c0c44c
Fix typo in Valentina manpage.
...
Some cyrillic characters were used instead of latin.
--HG--
branch : develop
2019-07-25 08:10:08 +03:00
Roman Telezhynskyi
8e481d6fea
Fix error: 'find' is deprecated: Use bool find(const QString &, QPixmap *)
...
instead.
--HG--
branch : develop
2019-07-24 15:10:13 +03:00
Roman Telezhynskyi
09bd14f382
Rethink feature. Instead of hiding show main path.
...
--HG--
branch : develop
2019-07-23 16:01:39 +03:00
Roman Telezhynskyi
5c84c80039
Refactoring. Reduce modules dependency.
...
--HG--
branch : develop
2019-07-22 17:06:30 +03:00
Roman Telezhynskyi
44345085c2
New option --manualPriority.
...
Helps to disable following manual priority without need to change settings for
each piece.
--HG--
branch : develop
2019-07-21 16:26:21 +03:00
Roman Telezhynskyi
1ab19c05a3
Refactoring. Move VFuzzyComparePoints to VGeometry static library.
...
--HG--
branch : develop
2019-07-21 15:04:08 +03:00
Roman Telezhynskyi
a3e643b5dd
New feature "Hide piece's main path".
...
In some cases users want to hide main path and work with "real" pattern pieces.
This new option allows to quickly disable main path for all pieces without need
to make manual adjustment for each piece. Do not ovveride piece options.
--HG--
branch : develop
2019-07-18 20:18:48 +03:00
Roman Telezhynskyi
2ac4267dd3
Fix locking file after double save as.
...
(grafted from 4828cd4acfa596166fe4c8a32f505045b86cab9c)
--HG--
branch : develop
2019-07-04 17:13:33 +03:00
Roman Telezhynskyi
e8804c90bb
New layout option --nestQuantity.
...
--HG--
branch : develop
2019-07-04 14:33:45 +03:00
Roman Telezhynskyi
9042cd000c
Refactoring.
...
--HG--
branch : develop
2019-07-01 18:24:46 +03:00
Roman Telezhynskyi
efa1bc6f27
Missed return statement.
...
--HG--
branch : develop
2019-07-01 18:18:54 +03:00
Roman Telezhynskyi
fc73ace034
Fix access to private member.
...
--HG--
branch : develop
2019-07-01 18:13:46 +03:00
Roman Telezhynskyi
4bd9cf381e
QDataStream streaming operator for QFlags added only since Qt 5.9.
...
--HG--
branch : develop
2019-07-01 17:58:46 +03:00
Roman Telezhynskyi
03b8758781
All classes which work with QDataStream must provide a header.
...
--HG--
branch : develop
2019-07-01 13:25:03 +03:00
Roman Telezhynskyi
c536c40628
Refactor AboutToQuit.
...
--HG--
branch : develop
2019-07-01 12:47:06 +03:00
Roman Telezhynskyi
35eb1cecff
Refactoring.
...
--HG--
branch : develop
2019-07-01 12:11:18 +03:00
Roman Telezhynskyi
0658d92688
New marcos Q_DISABLE_ASSIGN.
...
--HG--
branch : develop
2019-07-01 11:33:29 +03:00
Roman Telezhynskyi
9030cfd52e
Backport QScopeGuard class.
...
--HG--
branch : develop
2019-06-12 08:30:32 +03:00
Roman Telezhynskyi
a62c2bfb55
Fix function VFuzzyComparePoints.
...
--HG--
branch : develop
2019-06-08 08:40:56 +03:00
Roman Telezhynskyi
5c55778d66
Since Q5.12 available support for C++17.
...
--HG--
branch : develop
2019-05-28 17:41:15 +03:00
Roman Telezhynskyi
bcc2eab0fb
Fixing error: 'auto' return without trailing return type; deduced return types
...
are a C++14 extension.
--HG--
branch : develop
2019-05-28 17:25:42 +03:00
Roman Telezhynskyi
d5a1f96bdd
constFirst() introduced since Qt 5.6.
...
--HG--
branch : develop
2019-05-28 16:21:52 +03:00
Roman Telezhynskyi
e9d77c747b
Refactoring.
...
--HG--
branch : develop
2019-05-28 16:20:53 +03:00
Roman Telezhynskyi
1cf3e6dda1
Raise the minimum value for curve approximation to 0.2.
...
With 0.1 Valentina produces visible errors.
--HG--
branch : develop
2019-05-27 18:51:55 +03:00
Roman Telezhynskyi
5838537033
Resolved issue #725 . Improve labels on drawing.
...
--HG--
branch : develop
2019-05-08 19:22:55 +03:00
Roman Telezhynskyi
2c58263df1
Two new passmark types: U and Box.
...
--HG--
branch : develop
2019-04-23 20:56:11 +03:00
Roman Telezhynskyi
0987428a93
Increase required Qt version up to 5.4.
...
--HG--
branch : develop
2019-04-05 15:42:22 +03:00
Roman Telezhynskyi
3b2b51fa74
Update man.
...
--HG--
branch : feature
2019-03-30 11:48:20 +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
a214a78006
Continue replacing custom *_FALLTHROUGH macroses with Q_FALLTHROUGH().
...
--HG--
branch : develop
2019-03-27 13:31:02 +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
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
c4d07125dc
Refactoring define new type for id value.
...
--HG--
branch : develop
2019-03-26 17:15:03 +02:00
Roman Telezhynskyi
9b1cdb1848
Improve localization of modifier keys.
...
--HG--
branch : develop
2019-02-14 13:18:16 +02:00
Roman Telezhynskyi
864d3568c0
Resolved issue #932 . 2nd version V passmarks.
...
--HG--
branch : develop
2019-01-24 09:26:57 +02:00
Roman Telezhynskyi
e91c92d4a9
Resolved issue #929 . New variable type: Separator.
...
--HG--
branch : develop
2019-01-16 16:24:41 +02:00
Roman Telezhynskyi
77cb644f90
Refactoring. Fixing static analyzers warnings.
...
--HG--
branch : develop
2019-01-14 17:56:05 +02:00
Roman Telezhynskyi
7e89a13476
Refactoring. Fixing static analyzers warnings.
...
--HG--
branch : develop
2019-01-06 13:46:22 +02:00
Wren Turkal
71f7f40875
Add ability to search measurements by regex.
...
You do this by prepending "/r/" to the front of the search string.
This makes it much easier to find measurements when one has a lot of
measurements for a given individual.
I also refactored that common table search code to consolidate this
functionality and make it easier to add other search methods in the
future.
--HG--
branch : develop
2019-01-06 01:25:12 -08:00
Wren Turkal
42b00c5c58
Fix the tape app importing of measurments from a pattern
...
When importing measurements from a pattern in the tape app, it
defaulted to the templates directory instead of the patterns
directory. The patterns directory was set as a setting in the
valentina settings (VSettings) instead of the common settings
(VCommonSettings). I refactored the the setting into the
VCommonSettings and made the tape app use the setting. I was
able to confirm that setting a new pattern directory resulted
in the same pattern directory being used in both Valentina and
tape.
--HG--
branch : develop
2019-01-05 16:46:31 -08:00
Roman Telezhynskyi
e108a1378f
New command line option --landscapeOrientation.
...
--HG--
branch : develop
2018-12-27 16:37:47 +02:00
Roman Telezhynskyi
6016308d58
Resolved issue #651 . Improve feature: Layout orientation according to grainline.
...
--HG--
branch : develop
2018-12-27 15:54:29 +02:00
Roman Telezhynskyi
7218098165
Fixing error: invalid use of incomplete type class QMarginsF.
...
--HG--
branch : develop
2018-12-23 21:02:59 +02:00
Roman Telezhynskyi
cbd991a8b0
Refactoring. Use relaxed constexpr for ToPixel, FromPixel, UnitConvertor and
...
VFuzzyComparePossibleNulls.
--HG--
branch : develop
2018-12-23 20:09:57 +02:00
Roman Telezhynskyi
6403941406
Fixed issue #914 . Filtering custom seam allowance paths prevent including more
...
than one.
(grafted from 07fec74fad050330a1161776e27bb6c877354a59)
--HG--
branch : develop
2018-12-21 13:01:32 +02:00