Commit graph

405 commits

Author SHA1 Message Date
Roman Telezhynskyi 70168ebe6c Fix support Visual Studio 2015. 2022-09-02 17:14:03 +03:00
Roman Telezhynskyi 1e344d6df0 Fix calculating an elliptical arc. 2022-08-27 16:46:25 +03:00
Roman Telezhynskyi c10279c7e1 Refactoring. 2022-08-23 16:37:58 +03:00
Roman Telezhynskyi b9a2a6715b Refactoring. 2022-08-22 16:36:01 +03:00
Roman Telezhynskyi 0939d28c41 Improve visualization for tool Point of intersection circles. 2022-08-22 10:51:24 +03:00
Roman Telezhynskyi 003c9bf33f Fix build. 2022-08-17 15:51:35 +03:00
Roman Telezhynskyi 0ab0edc654 Refactoring. 2022-08-12 18:50:22 +03:00
Roman Telezhynskyi 4e07172a6f Cppcheck warnings. 2022-08-08 15:25:14 +03:00
Roman Telezhynskyi 5a6e021cc9 Do not translate this warning message. 2022-08-02 18:27:14 +03:00
Roman Telezhynskyi 2402bfaf9e Fix typos. 2022-03-28 17:40:44 +03:00
Roman Telezhynskyi 191cf7e25f Suspend use of qt_ntfs_permission_lookup. QTBUG-101168 2022-03-17 13:35:49 +02:00
Roman Telezhynskyi 19f95c8e54 Refactoring. Use TextWidth to simplify code. 2022-02-19 21:26:30 +02:00
Roman Telezhynskyi 499ec96691 Move literals to separate header. 2022-02-18 10:36:38 +02:00
Roman Telezhynskyi b75292c341 Improve Puzzle's piece rotation handlers. 2022-02-09 15:31:34 +02:00
Roman Telezhynskyi 882f4ba0bf Cppcheck warnings. 2022-01-29 18:27:17 +02:00
Roman Telezhynskyi 1b188bf414 Compatibility issues. 2022-01-29 10:59:02 +02:00
Roman Telezhynskyi 357fd3a0ac New feature Background image. Closes #43 2022-01-28 16:54:58 +02:00
Roman Telezhynskyi b861d6a28e GCC warnings. 2021-09-25 17:18:33 +03:00
Roman Telezhynskyi 51ed05e1fa GCC warnings. 2021-09-25 12:57:15 +03:00
Roman Telezhynskyi 1b3e133309 GCC warnings. 2021-09-25 12:42:28 +03:00
Roman Telezhynskyi 2ffda9a073 Introduce *_MARK_NONFINAL_CLASS and *_MARK_NONFINAL_METHOD macroses to suppress GCC warning Wsuggest-final-types. 2021-09-25 11:43:05 +03:00
Roman Telezhynskyi 4c946d7da5 Fix build with MSVC. 2021-09-14 19:47:41 +03:00
Roman Telezhynskyi c8a9423b51 Fix build on Windows. 2021-09-14 15:16:06 +03:00
Roman Telezhynskyi eff295ccaf Cppcheck warnings. 2021-09-13 18:09:53 +03:00
Roman Telezhynskyi 3fea813b9c Watermark support. 2021-09-11 19:39:38 +03:00
Roman Telezhynskyi 84cf53f612 Fix issue in VAbstractMainWindow::CheckFilePermissions.
Don't check permissions if file doesn't exist.
2021-09-08 12:53:15 +03:00
Roman Telezhynskyi d5a02ac48c Export layout. 2021-09-06 15:31:36 +03:00
Roman Telezhynskyi 742c1c3eb3 Handle read only state. 2021-08-14 17:16:58 +03:00
Roman Telezhynskyi e5105e4eed Merge branch 'develop' into feature/manual-layout 2021-07-26 16:47:54 +03:00
Roman Telezhynskyi 7ea984f194 Fix crash. 2021-07-01 16:54:49 +03:00
Roman Telezhynskyi c867a9a56e Export the Draw mode. Closes #83 2021-06-28 20:05:19 +03:00
Roman Telezhynskyi fcc221f53a Cppcheck warning. 2021-05-21 21:41:56 +03:00
Roman Telezhynskyi 6efa26ffe3 File > Open Layout. 2021-05-21 18:08:37 +03:00
Roman Telezhynskyi d10355b400 File > Save functions. 2021-05-21 17:17:22 +03:00
Roman Telezhynskyi dc50d24439 Review class VPMainWindow.
Setup initial state for a window. User must click New or Open before starting to use the window.
2021-05-20 18:33:53 +03:00
Roman Telezhynskyi 68c6c033b4 Merge branch 'develop' into feature/manual-layout 2021-05-15 11:27:37 +03:00
Roman Telezhynskyi 6abddfd240 Standard passmarks length for all pieces. Closes #124 2021-05-10 16:39:17 +03:00
Roman Telezhynskyi 0138e5a321 Merge remote-tracking branch 'origin/develop' into feature/manual-layout 2021-02-24 16:26:11 +02:00
Roman Telezhynskyi 2bb95154cd Fix Tape crash. 2021-02-06 15:52:21 +02:00
Roman Telezhynskyi d30ca54297 Fix width of a grainline on export. 2021-01-23 18:54:07 +02:00
Roman Telezhynskyi f81babbf7b Refactoring. 2021-01-23 15:25:01 +02:00
Roman Telezhynskyi 5eb8784cd4 New warning. Grainline is not valid. 2021-01-23 15:24:44 +02:00
Roman Telezhynskyi 4c0edca64a Improve restrict dimension dialog. Disable not available combinations. 2021-01-19 12:24:56 +02:00
Roman Telezhynskyi d6e555f482 Reduce connectivity for VMainGraphicsView class.
Use a signal instead of direct read of a main window to trigger zoom fit best.
2020-12-27 16:38:40 +02:00
Roman Telezhynskyi 936011a8d6 Reduce connectivity for VMainGraphicsView class.
Use a signal instead of direct read of a main window to trigger zoom fit best.
2020-12-27 16:35:17 +02:00
Roman Telezhynskyi 3c0c624682 Don't check warnings for a legacy mac os x build. 2020-12-26 19:44:55 +02:00
Roman Telezhynskyi abe92c667d Temporary enable full output for macosx. 2020-12-25 09:40:18 +02:00
Roman Telezhynskyi a58a783aba Merge branch 'develop' into feature/manual-layout 2020-12-23 18:40:33 +02:00
Roman Telezhynskyi 58cae6f66c New option "Don't use the native file dialog". 2020-12-17 18:43:15 +02:00
Roman Telezhynskyi 453d120150 Cppcheck warnings. 2020-11-10 16:10:38 +02:00
Roman Telezhynskyi 0371905c0d Merge remote-tracking branch 'origin/develop' into feature/manual-layout 2020-11-10 16:00:01 +02:00
Roman Telezhynskyi c6e2819587 Fix Tape crash on Mac OS X. 2020-10-25 15:25:57 +02:00
Roman Telezhynskyi 1ae28a7f38 Fix building on Mac OS X. 2020-10-16 19:07:06 +03:00
Roman Telezhynskyi cebd4995c8 Cppcheck warning. 2020-10-16 15:52:38 +03:00
Roman Telezhynskyi d10f20f399 Extend placeholders list with list of measurements. 2020-10-16 13:43:54 +03:00
Roman Telezhynskyi 4cea74d63b Loading measurements in Valentina. 2020-10-15 18:05:21 +03:00
Roman Telezhynskyi 4a12c1ca74 Continue improving dialog Dimension restrictions. 2020-10-06 18:00:53 +03:00
Roman Telezhynskyi 9389cb546c Refactoring. Redesign a container reversing method. 2020-07-13 16:28:59 +03:00
Roman Telezhynskyi acac092ff3 Fix path to AppImage root folder.
Valentina relies on absolute paths to find path to components. In case of AppImage path will be mimicked, but root must be corrected to take into account tmp folder AppImage mounts data.
2020-07-13 16:28:59 +03:00
Roman Telezhynskyi 233246730c Use of QWheelEvent::orientation has been deprecated since Qt 5.15. 2020-07-08 11:44:58 +03:00
Roman Telezhynskyi 5f2bec91d9 DRY. Refactoring item move code. smart-pattern/valentina#53 2020-06-20 12:20:39 +03:00
Roman Telezhynskyi d08da56764 Improve moving items on scene smart-pattern/valentina#53.
Increase delay to 160 ms. Set static margins.
2020-06-20 12:08:59 +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 f06c85753b Merge remote-tracking branch 'origin/develop' into feature/manual-layout 2020-05-09 13:21:29 +03:00
Roman Telezhynskyi 110ac969e9 Fix build with MSVC. 2020-05-09 11:38:47 +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 c6c4edb893 Merge branch 'develop' into feature/manual-layout 2020-03-25 15:28:23 +02:00
Roman Telezhynskyi 6e0bf20bc4 Clang warnings. 2020-03-24 17:57:32 +02:00
Roman Telezhynskyi f762d81b38 Cppcheck warnings. 2020-03-24 17:41:12 +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 475bdadf9b Fix link to project repo in license header. 2020-01-31 08:02:08 +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 b3f236dbb5 Refactoring. Rename ArrowType enum class.
--HG--
branch : develop
2020-01-07 13:54:23 +02:00
Roman Telezhynskyi 45421b4d21 Fix error C2065: 'not': undeclared identifier.
--HG--
branch : develop
2019-10-29 08:26:05 +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
Roman Telezhynskyi 11fd215364 Cppcheck warning.
--HG--
branch : develop
2019-09-10 17:13:35 +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 8becb5aac4 Fix build with Clang.
--HG--
branch : develop
2019-09-09 10:21:14 +03:00
Roman Telezhynskyi 1bf37872b4 Cppcheck warning.
--HG--
branch : develop
2019-09-07 11:17:13 +03:00
Roman Telezhynskyi 93910a2130 Improve for recent files list. Show duplicate file names with unique path
section.

--HG--
branch : develop
2019-09-06 22:18:18 +03:00
Roman Telezhynskyi 2563cd8161 Fix error: 'combinedMatrix' is deprecated: Use combinedTransform() instead.
--HG--
branch : develop
2019-07-24 15:54:02 +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 4ad06e28b2 Clazy warning.
--HG--
branch : develop
2019-07-24 13:43:12 +03:00
Roman Telezhynskyi 4a4351b73d Fix error: 'width' is deprecated: Use QFontMetrics::horizontalAdvance.
--HG--
branch : develop
2019-07-24 13:42:22 +03:00
Roman Telezhynskyi 185e228853 Allow scrolling hand dragging for non interactive scenes.
--HG--
branch : develop
2019-07-21 12:27:58 +03:00
Roman Telezhynskyi 0330869796 Serialization/deserialization for class VLayoutPiece.
--HG--
branch : develop
2019-07-01 11:02:09 +03:00
Roman Telezhynskyi c9fb50e9a3 Make piece labels transparent.
50% opacity.

--HG--
branch : develop
2019-06-03 11:37:02 +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 d07c27a96c Allow setting destination point.
Destination point is anchor to which connected a label.

--HG--
branch : develop
2019-05-11 18:37:08 +03:00
Roman Telezhynskyi 7d9be40e85 Cppcheck warning.
--HG--
branch : develop
2019-05-08 19:35:19 +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 3b51ccb31d Refactoring. Move drawing passmarks to separate class.
--HG--
branch : develop
2019-05-08 15:19:03 +03:00
Roman Telezhynskyi 4192af8117 Refactoring.
--HG--
branch : develop
2019-05-08 15:17:34 +03:00
Roman Telezhynskyi 218ef45d1e Resolved issue #969. Fix length to label after soom.
--HG--
branch : develop
2019-05-05 17:31:45 +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 263b99ff19 Improve API for class VNoBrushScalePathItem. Added method SetWidth().
--HG--
branch : develop
2019-03-26 17:26:15 +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 d538816e42 Refactoring.
--HG--
branch : develop
2019-02-11 13:35:09 +02:00
Roman Telezhynskyi 3f403e411a Fix potential crash.
--HG--
branch : develop
2019-02-11 13:32:36 +02:00
Roman Telezhynskyi 7caf42cf48 Since Q5.4 available support C++14. Some libraries still missed use.
--HG--
branch : develop
2018-12-23 20:27:24 +02:00