Commit graph

99 commits

Author SHA1 Message Date
Roman Telezhynskyi a5bf891d43 Increased requirement for minimal Qt version. 2023-08-12 12:03:28 +03:00
Roman Telezhynskyi e60ba5bedb Support for dark theme for custom icons. 2023-08-05 17:52:34 +03:00
Roman Telezhynskyi ec8a22cc84 Improve support for dark theme.
Custom dark theme updated. Added support for native dark mode. Added new icon themes. Scene still needs improvement.
2023-07-24 13:41:42 +03:00
Roman Telezhynskyi eaf9d65339 System to collect usage statistic. 2023-06-27 14:15:21 +03:00
Roman Telezhynskyi 81141acf6d Support for single-line fonts. 2023-06-22 18:30:43 +03:00
Roman Telezhynskyi b5779ca3e8 Refactoring.
Code style.
2023-06-08 13:20:20 +03:00
Roman Telezhynskyi 03630fb273 Refactoring. 2023-05-03 14:07:08 +03:00
Roman Telezhynskyi 16b67644b0 freopen_s() is not available for mingw. 2023-03-09 08:13:20 +02:00
Roman Telezhynskyi 37541b600e Fix MSVC warnings. 2023-03-08 18:45:42 +02:00
Roman Telezhynskyi 9f6697ab63 Add path to translation when run an app from install root. 2023-02-16 21:24:09 +02:00
Roman Telezhynskyi 787cfcfc16 Use QStringConverter to replace QTextCodec. 2023-02-13 19:47:51 +02:00
Roman Telezhynskyi 88a793319e QLibraryInfo::location is deprecated since 6.0. 2023-02-10 17:51:22 +02:00
Roman Telezhynskyi f952368fa1 HiDPI is now enabled by default in Qt6. 2023-02-10 17:51:21 +02:00
Roman Telezhynskyi 6e499b7245 Remove missing in Qt6 headers. 2023-02-09 17:24:02 +02:00
Roman Telezhynskyi 7b755b6130 windeployqt combines all translations into one file. 2023-01-18 14:57:38 +02:00
Roman Telezhynskyi db2b6b865b Suppress annoying PNG warning. 2022-12-26 15:35:53 +02:00
Roman Telezhynskyi 704d9caf08 Detect russian language. 2022-10-04 14:52:09 +03:00
Roman Telezhynskyi b21fefba3f Prevent loading russian translation. 2022-09-29 11:59:00 +03:00
Roman Telezhynskyi 4e07172a6f Cppcheck warnings. 2022-08-08 15:25:14 +03:00
Roman Telezhynskyi 36180a7c38 Check system locale. 2022-08-03 12:17:04 +03:00
Roman Telezhynskyi 7c1c6deeae Fix crash when default locale is ru.
Additionally fix a common antipattern when loading translations in Qt.
2022-04-22 12:42:46 +03:00
Roman Telezhynskyi 6d77f3ebc0 Remove support for russian language. 2022-03-18 12:28:55 +02:00
Roman Telezhynskyi 5d22771428 Improve logging.
Suppress useless warnings.
2022-03-14 17:38:32 +02:00
Roman Telezhynskyi e5105e4eed Merge branch 'develop' into feature/manual-layout 2021-07-26 16:47:54 +03:00
Roman Telezhynskyi f5a5fadc52 Optimize calls. 2021-06-23 15:58:43 +03:00
Roman Telezhynskyi a9711316ec Refactoring. 2021-05-21 21:33:17 +03:00
Roman Telezhynskyi c8f12690bc Clean pattern messages.
Replace \" with ".
2021-02-17 19:07:55 +02:00
Roman Telezhynskyi 2bb95154cd Fix Tape crash. 2021-02-06 15:52:21 +02:00
Roman Telezhynskyi 58cae6f66c New option "Don't use the native file dialog". 2020-12-17 18:43:15 +02:00
Roman Telezhynskyi 80d9fbc107 New function Warning. 2020-11-20 13:18:38 +02:00
Roman Telezhynskyi 4cea74d63b Loading measurements in Valentina. 2020-10-15 18:05:21 +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 cc506e96ea Fix hardcoded path to package data directory. It should be controlled over prefix. #56 2020-07-11 10:52:53 +03:00
Roman Telezhynskyi 475bdadf9b Fix link to project repo in license header. 2020-01-31 08:02:08 +02:00
Roman Telezhynskyi f64a33fb98 Resolved issue #992. QXcbConnection: XCB Error.
--HG--
branch : develop
2020-01-20 10:14:44 +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 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 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 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 c536c40628 Refactor AboutToQuit.
--HG--
branch : develop
2019-07-01 12:47:06 +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 fe9dc90dc7 Bug in undocommands. We should return to pattern piece only if in Calculation
mode. If do it in Details mode Valentina may not switch pattern piece back when
a user returns to Calculation mode. This breaks a work and no new object can be
added to pattern.

--HG--
branch : develop
2018-07-25 11:26:09 +03:00
Roman Telezhynskyi 2c7b21b98d Resolved issue #865. New feature. Dynamic Way to define Material in piece label.
--HG--
branch : develop
2018-07-18 20:18:30 +03:00
Roman Telezhynskyi fd85efacd9 Resolved issue #862. Force Valentina to immediately terminate if a pattern
contains a parsing warning.

--HG--
branch : develop
2018-07-13 16:18:04 +03:00
Roman Telezhynskyi 2235a5d3d8 Cppcheck warning. Virtual function 'OpenSettings' is called from constructor
'VApplication(int&argc,char**argv)'.

--HG--
branch : develop
2018-07-09 10:45:23 +03:00
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