Commit Graph

2543 Commits

Author SHA1 Message Date
Roman Telezhynskyi
8a1eaa7292 Improve Option dialogs. Make them resizable as possible.
--HG--
branch : develop
2018-10-29 19:37:34 +02:00
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
2989466c52 Fixed issue #891. Valentina claims that file was incorrectly saved when used
Save as option.
(grafted from 1d7f8c80ceb1d7a320eb81d2a7bd726a018e0e05)

--HG--
branch : develop
2018-10-22 12:16:48 +03:00
Roman Telezhynskyi
84bb44943f Fixed issue #890. Menu Windows->Close pattern doesn't clear "Group of
visibility" list.
(grafted from 36be0b8fc57d31b2cf949adc86c713e85bfd0cb3)

--HG--
branch : develop
2018-10-22 11:42:04 +03:00
Roman Telezhynskyi
c89755b2a5 Define variables if not defined when include <windows.h>.
(grafted from d21cb1805ca0aa448f9aec0b8cdd30c0b67a5b12)

--HG--
branch : develop
2018-10-12 21:47:18 +03:00
Roman Telezhynskyi
db478562ee Fixed issue #885. Regression. Broken support for multi size measurements.
(grafted from 1a0becf32c00518f126cd0e7325c0eb2bbdcc18e)

--HG--
branch : develop
2018-10-12 13:06:03 +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
10a20b08b8 Be pendantic about notch errors.
--HG--
branch : release
2018-09-28 14:29:10 +03:00
Roman Telezhynskyi
81f7993f43 Use $$system_path() to improve support MSYS environment.
--HG--
branch : release
2018-09-21 13:35:57 +03:00
Roman Telezhynskyi
60b323cf8e Fixed issue #882. VContainer class doesn't support multi document mode.
--HG--
branch : release
2018-09-18 16:38:16 +03:00
Roman Telezhynskyi
3fe7709c40 Fixed issue #883. Fix right angle seam allowance angle type.
--HG--
branch : release
2018-09-13 16:46:04 +03:00
Roman Telezhynskyi
8a3d50520f Added status check for settings read/write operations.
--HG--
branch : release
2018-09-09 12:39:19 +03:00
Roman Telezhynskyi
05a5101115 Fixed issue #808. Fix broken seam allowance angle type.
--HG--
branch : release
2018-09-01 18:56:43 +03:00
Roman Telezhynskyi
eabfd48b50 Fix bug with watcher. It watches wrong path.
--HG--
branch : release
2018-08-31 15:22:59 +03:00
Roman Telezhynskyi
cb6c2eb8eb Fix warning option '-Wmissing-prototypes' is valid for C/ObjC but not for C++.
--HG--
branch : develop
2018-08-06 20:47:24 +03:00
Roman Telezhynskyi
9e80bc186d Refactoring. Move methods to class MainWindowsNoGUI.
--HG--
branch : develop
2018-08-06 19:38:23 +03:00
Roman Telezhynskyi
ed5ac37256 Fix potential crash.
--HG--
branch : develop
2018-08-02 15:03:15 +03:00
Roman Telezhynskyi
e1cfe78077 Fix memory leak.
--HG--
branch : develop
2018-08-02 13:48:48 +03:00
Roman Telezhynskyi
2453758735 Fix mistake in name.
--HG--
branch : develop
2018-08-01 19:25:36 +03:00
Roman Telezhynskyi
d8f6734451 Refactoring. Use macros FORMAT_VERSION to avoid human mistakes.
--HG--
branch : develop
2018-07-26 21:21:08 +03:00
Roman Telezhynskyi
8a29755a36 Resolved issue #868. New feature. Connect internal path with cutting contour.
--HG--
branch : develop
2018-07-26 20:00:24 +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
a0e09d3fe7 Fix crash on Windows.
Cancelling Piece Path dialog crashes Valentina.

--HG--
branch : develop
2018-07-24 14:57:41 +03:00
Roman Telezhynskyi
1ae08d6020 Resolved issue #867. Visibility control for place labels.
--HG--
branch : develop
2018-07-20 10:30:05 +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
9da4cbb329 Resolved issue #864. Valentina crashes on Mac OS X after closing Variables
Table dialog.

--HG--
branch : develop
2018-07-18 18:03:38 +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
24796e7f2d Cppcheck warning. Virtual function 'CleanLayout' is called from destructor
'~MainWindow()'.

--HG--
branch : develop
2018-07-09 14:19:07 +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
126658f03f Cppcheck warning. Virtual function 'setValue' is called from constructor
'VFormulaProperty(const QString&name)'.

--HG--
branch : develop
2018-07-09 10:25:34 +03:00
Roman Telezhynskyi
627aa6dd70 Resolved issue #838. Qt GUI theme on Windows looks old-fashioned.
--HG--
branch : develop
2018-06-26 23:47:51 +03:00
Roman Telezhynskyi
63b1eb8068 Cppcheck warning 'missingOverride'.
--HG--
branch : develop
2018-06-26 15:53:48 +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
0ef32da1d8 Refactoring. Rename GetPPath() to GetPatternPath(). Changes for Mac.
--HG--
branch : develop
2018-06-19 12:22:47 +03:00
Roman Telezhynskyi
09e8c81d6f Refactoring. Rename GetPPath() to GetPatternPath().
--HG--
branch : develop
2018-06-19 09:18:38 +03:00
Roman Telezhynskyi
40f8c5f5f0 Link with library uxtheme to enable new style since WindowsXP or later.
--HG--
branch : develop
2018-06-11 11:54:44 +03:00
Roman Telezhynskyi
fe2ced590c Improve logging.
--HG--
branch : develop
2018-06-05 12:22:46 +03:00
Roman Telezhynskyi
4cab5b0dc9 Enable the version checker on Mac.
--HG--
branch : develop
2018-06-04 12:00:36 +03:00
Roman Telezhynskyi
6869eab05a Fixed issue #853. Valentina doesn't translate user material placeholder.
--HG--
branch : develop
2018-05-29 17:55:16 +03:00
Roman Telezhynskyi
4109848349 Class QDesktopWidget is obsolete.
Missed two more usages.

--HG--
branch : develop
2018-05-27 12:08:02 +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
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