Commit graph

129 commits

Author SHA1 Message Date
Emmanuel Nyachoke 6d9105729f Added initial dark mode theme using https://github.com/ColinDuquesnoy/
QDarkStyleSheet

--HG--
branch : develop
2018-10-29 15:05:49 +03:00
Roman Telezhynskyi 47e3f9f7c7 Improve message handling from threads.
Only GUI thread can show message boxes.

--HG--
branch : release
2018-09-28 21:05:42 +03:00
Roman Telezhynskyi 13a8b83a0e Flush buffer after adding a string, not before.
--HG--
branch : develop
2018-06-21 14:16:17 +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
Roman Telezhynskyi 0e3a9533af Refactoring. Use C++11 range-based loop.
--HG--
branch : develop
2018-04-03 14:36:38 +03: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 61172d46c4 Fix typo in headers.
--HG--
branch : develop
2017-10-05 12:20:01 +03:00
Roman Telezhynskyi d0cc8902f9 SonarQube warnings.
--HG--
branch : develop
2017-07-09 09:02:26 +03:00
Ronan Le Tiec f080b88cf7 issue #712 new default allowance setting taken into account in seam allowance tool dialog. StrToUnits and UnitsToStr moved from VDomDocument to def
--HG--
branch : develop
2017-07-02 13:34:36 +02:00
Roman Telezhynskyi d110dc3325 Fixed issue #706. Default unit in preferences not changing new file unit.
(grafted from f1ce177213a46538a840fc789e4e2ce3d78d98e4)

--HG--
branch : develop
2017-06-16 16:01:09 +03:00
Roman Telezhynskyi 7e064f80c5 Thrown away code for support Qt < 5.2.
--HG--
branch : develop
2017-05-30 19:52:38 +03:00
Roman Telezhynskyi 07021680a4 Little fix for translation string.
--HG--
branch : release
2017-04-21 13:11:51 +03:00
Roman Telezhynskyi a78b758226 SonarQube warnings.
--HG--
branch : release
2017-04-14 17:43:26 +03:00
Roman Telezhynskyi d696af9a33 "static" members should be accessed statically.
--HG--
branch : develop
2017-03-23 10:25:46 +02:00
Roman Telezhynskyi 2c6f1d9f64 End a switch case with an unconditional break.
--HG--
branch : develop
2017-02-22 19:34:29 +02:00
Roman Telezhynskyi 9c27e7bfed Fixed issue #624. Icon resulotion issues with some display setups.
--HG--
branch : develop
2017-02-09 15:43:17 +02:00
Roman Telezhynskyi 86f4b21879 Instead of method QLocale::system() better to use the default constructor.
Usefull in case we will deside change default locale.

--HG--
branch : develop
2017-01-03 10:46:28 +02:00
Roman Telezhynskyi 7b76dbe99d Remove redundant check.
--HG--
branch : develop
2016-12-21 18:00:56 +02:00
Roman Telezhynskyi ffab000e0f Remove empty statement.
--HG--
branch : develop
2016-12-20 20:57:20 +02:00
Roman Telezhynskyi d8874c844f Suppress all messages that contain string "Error receiving trust for a CA
certificate". ref #568.

--HG--
branch : develop
2016-09-20 21:33:33 +03:00
Roman Telezhynskyi 5fe41e8a99 Suppress message inside noisyFailureMsgHandler. ref #568.
--HG--
branch : develop
2016-09-20 21:12:19 +03:00
Roman Telezhynskyi c9cdd2cd8d Using macros QT_WARNING_DISABLE_*.
--HG--
branch : develop
2016-08-06 21:42:40 +03:00
Roman Telezhynskyi 0cdd058eb4 Fixed issue #538. QSslSocket error messages during startup in newest development
build.

--HG--
branch : develop
2016-08-03 14:54:18 +03:00
Roman Telezhynskyi ffb6f1fbd5 cppcheck warnings.
--HG--
branch : develop
2016-08-02 15:12:13 +03:00
Roman Telezhynskyi f477904ef3 Use QStringLiteral everywhere inside noisyFailureMsgHandler().
--HG--
branch : develop
2016-07-20 11:25:53 +03:00
Roman Telezhynskyi dc275dce14 Fixed search string for error "setGeometry: Unable to set geometry".
--HG--
branch : develop
2016-07-20 11:11:35 +03:00
Roman Telezhynskyi 817a5d5f56 Fixed suppression warnings in Release mode.
Used wrong macros.

--HG--
branch : develop
2016-07-20 11:10:23 +03:00
Roman Telezhynskyi 47f12c80f8 Refactoring. Use lambda for small slots. Move slots declaration in appropriate
place.

--HG--
branch : develop
2016-07-18 18:09:15 +03:00
Roman Telezhynskyi b7b1ea3db7 Hide an error message "setGeometryDp: Unable to set geometry" for release
builds.

--HG--
branch : develop
2016-05-24 13:06:51 +03:00
Roman Telezhynskyi b820d5a6ea Fixed issue #491. Valentina doesn't update fractional separator.
(grafted from c658843945e37cd7f1d3e4e0ca4967d7a01b1c4d)

--HG--
branch : develop
2016-05-23 18:23:39 +03:00
Roman Telezhynskyi 5f7c250415 Qt's but QTBUG-42846 "QNSView mouseDragged: Internal mouse button tracking
invalid (missing Qt::LeftButton)" was fixed. No need to hide the warning message
anymore.

--HG--
branch : develop
2016-05-04 16:40:15 +03:00
Roman Telezhynskyi c661e04cb3 We have been running Tape in two different cases.
The first inside own bundle where info.plist is works fine, but the second,
when we run inside Valentina's bundle, require direct setting the icon.
(grafted from 911feb13c2c0d9b632fcdb35770d74d5a551d9c0)

--HG--
branch : develop
2016-01-15 18:02:14 +02:00
Roman Telezhynskyi d227ce68c2 Show dialog "Fix broken formula" only in GUI mode.
--HG--
branch : develop
2015-12-22 20:12:09 +02:00
Roman Telezhynskyi 830c43a89d Mac OS proxy icon.
--HG--
branch : develop
2015-12-05 16:16:29 +02:00
Roman Telezhynskyi 61eec32420 Always show Tape's window on Mac OS when the app starts, even when is empty.
--HG--
branch : develop
2015-12-02 21:57:16 +02:00
Roman Telezhynskyi 85bb6141ab Clang warnings.
--HG--
branch : develop
2015-11-30 12:55:39 +02:00
Roman Telezhynskyi ccca5c84f3 Improved Tape's description options.
--HG--
branch : develop
2015-11-21 15:51:29 +02:00
Roman Telezhynskyi 33bf03994e Handling "Open With" from Finder in Mac OS X.
--HG--
branch : develop
2015-11-19 17:17:25 +02:00
Roman Telezhynskyi ba19d4e88e Try hide very annoying, Qt related, warnings in Mac OS X.
--HG--
branch : develop
2015-11-18 14:54:53 +02:00
Roman Telezhynskyi e38dc9d866 For avoiding error "dyld: Library not loaded" in Mac OS X we should create app
bundle for Tape. I think if create bundle then make it full, not half made.
The bundle also will be very usefull for testing Tape in Mac and in case if
someone will want to use Tape like independent application. The main bundle
still will have Tape inside.

--HG--
branch : develop
2015-11-18 14:42:25 +02:00
Roman Telezhynskyi cdec047f58 Very often case in Mac OS is to have translations inside an app bundle. And
searching these files require iterate through subdirectories.

--HG--
branch : develop
2015-11-17 16:20:36 +02:00
Roman Telezhynskyi 345b0e5c7f Fixed crash after undo creating a pattern piece.
--HG--
branch : develop
2015-11-02 18:25:29 +02:00
Roman Telezhynskyi 88324a11f2 Static Code Analysis.
--HG--
branch : develop
2015-10-28 16:22:36 +02:00
Roman Telezhynskyi 467ffbd132 ICC warnings.
--HG--
branch : develop
2015-10-20 17:32:01 +03:00
Roman Telezhynskyi 4d90589f01 Clang warnings.
--HG--
branch : develop
2015-10-19 16:21:06 +03:00
Roman Telezhynskyi 03b6ce08cc Coverity scan.
--HG--
branch : develop
2015-10-19 09:10:39 +03:00
Roman Telezhynskyi 65d2213ef9 Coverity scan missing includes.
--HG--
branch : develop
2015-10-18 22:30:51 +03:00
Roman Telezhynskyi be398bae93 cppcheck.
--HG--
branch : develop
2015-10-12 14:52:48 +03:00
Roman Telezhynskyi 14f1b84bc3 Typo.
--HG--
branch : develop
2015-10-11 21:42:13 +03:00
Roman Telezhynskyi a4b2bb905f Fixed crash on Windows.
--HG--
branch : develop
2015-10-11 12:06:14 +03:00
Roman Telezhynskyi 026804bc37 Fix for build on drone.io.
--HG--
branch : develop
2015-10-08 21:11:50 +03:00
Roman Telezhynskyi 951f6f2f4e First check if key was setted.
--HG--
branch : develop
2015-10-07 20:59:52 +03:00
Roman Telezhynskyi 719598b97b Refactoring validating size and height value.
--HG--
branch : develop
2015-10-07 19:34:46 +03:00
Roman Telezhynskyi f310c6a479 Test mode for Valentina.exe.
--HG--
branch : develop
2015-10-03 20:27:27 +03:00
Roman Telezhynskyi 693dd7a06e Fixed Tape client/server work. Disable client/server work in test mode.
--HG--
branch : develop
2015-10-03 17:16:28 +03:00
Roman Telezhynskyi ac32dbc143 Use correct an exit code.
--HG--
branch : develop
2015-10-03 14:10:58 +03:00
Roman Telezhynskyi 0b57b8821a Show error message box only through message handler.
--HG--
branch : develop
2015-10-01 17:59:01 +03:00
Roman Telezhynskyi 31af1687a6 Improve handling error messages in console mode.
--HG--
branch : develop
2015-09-28 21:54:41 +03:00
Roman Telezhynskyi 77dd8f0c77 by default for console version use system locale.
--HG--
branch : develop
2015-09-28 18:34:29 +03:00
Roman Telezhynskyi e236757d57 Test openning measurement files.
--HG--
branch : develop
2015-09-28 13:42:26 +03:00
Roman Telezhynskyi 274cbb3aad notify() for MApplication.
--HG--
branch : develop
2015-09-19 23:08:03 +03:00
Roman Telezhynskyi b5c6bf8260 Command option for setting a locale.
--HG--
branch : develop
2015-09-19 22:58:32 +03:00
Roman Telezhynskyi b3f2869975 Fixed debug output.
--HG--
branch : develop
2015-09-16 09:21:34 +03:00
Roman Telezhynskyi 7718b0748e Show a message box with an error. Release a lock file after error.
--HG--
branch : develop
2015-09-15 21:21:51 +03:00
Roman Telezhynskyi fa6329c2eb Support single options.
--HG--
branch : develop
2015-09-08 12:10:28 +03:00
Roman Telezhynskyi 0c8b8514e4 Fixed issue #350.
--HG--
branch : develop
2015-09-08 10:22:09 +03:00
Roman Telezhynskyi 219d27632c Fixed issue #344. Error while building 20150828 #2.
--HG--
branch : develop
2015-08-29 12:48:03 +03:00
Roman Telezhynskyi 00cd073fad Send for the server correct command line string.
--HG--
branch : feature
2015-08-20 13:56:55 +03:00
Roman Telezhynskyi ed38ffef38 Retranslate GUI.
--HG--
branch : feature
2015-08-08 17:33:37 +03:00
Roman Telezhynskyi 1dece1e9e5 make install. Corrected paths to translations.
--HG--
branch : feature
2015-08-08 11:22:51 +03:00
Roman Telezhynskyi 65c09f7547 Translation file for mapping pattern making systems.
--HG--
branch : feature
2015-08-02 20:39:29 +03:00
Roman Telezhynskyi e8577487b1 Dialog Preferences.
--HG--
branch : feature
2015-08-02 18:27:18 +03:00
Roman Telezhynskyi 78329af822 Show measurement database.
--HG--
branch : feature
2015-08-01 16:56:37 +03:00
Roman Telezhynskyi e5c74c7866 Database window.
--HG--
branch : feature
2015-08-01 12:39:32 +03:00
Roman Telezhynskyi 5fa0badfc1 Calling dialog for creation an expression.
--HG--
branch : feature
2015-07-24 15:06:53 +03:00
Roman Telezhynskyi a9edee47e5 Creation empty file.
--HG--
branch : feature
2015-07-16 12:38:54 +03:00
Roman Telezhynskyi 58d1cf5fdd Open new window if file was created.
--HG--
branch : feature
2015-07-15 10:16:59 +03:00
Roman Telezhynskyi ad285ec4c9 Icons for tabs.
--HG--
branch : feature
2015-07-12 17:19:53 +03:00
Roman Telezhynskyi 9228e417b2 Class MApplication.
--HG--
branch : feature
2015-07-10 14:14:55 +03:00