Commit Graph

1344 Commits

Author SHA1 Message Date
Roman Telezhynskyi
44b01e8f1b Calculate allowance value according to resolution value.
--HG--
branch : develop
2015-04-19 13:59:19 +03:00
Roman Telezhynskyi
fc693a94e9 Bug with transparent fields in png file. Image was little bit less than scene
with paper shadow.

--HG--
branch : release
2015-04-19 13:54:42 +03:00
Roman Telezhynskyi
84243b096f Bug with transparent fields in png file. Image was little bit less than scene
with paper shadow.

--HG--
branch : develop
2015-04-19 13:54:42 +03:00
Roman Telezhynskyi
fb39798b3c Use QPageSetupDialog dialog for "Print to pdf" mode.
--HG--
branch : develop
2015-04-19 13:40:44 +03:00
Roman Telezhynskyi
c326a4cd75 We can't setMinMax() method now.
--HG--
branch : develop
2015-04-19 13:16:16 +03:00
Roman Telezhynskyi
3f801298e1 Handle the fromPage(), toPage(), supportsMultipleCopies(), and numCopies()
values from QPrinter.

--HG--
branch : develop
2015-04-19 12:33:30 +03:00
Roman Telezhynskyi
21ef36bb12 Tooltip that layout width will be multiplied by two.
--HG--
branch : release
2015-04-17 20:43:20 +03:00
Roman Telezhynskyi
e2df375595 Tooltip that layout width will be multiplied by two.
--HG--
branch : develop
2015-04-17 20:43:20 +03:00
Roman Telezhynskyi
ded7591e65 We are waiting not empty string.
--HG--
branch : develop
2015-04-17 11:51:43 +03:00
Roman Telezhynskyi
58f17fec13 Unit test for checking removing loops.
--HG--
branch : develop
2015-04-16 16:54:40 +03:00
Roman Telezhynskyi
9e50028b20 Check for loops need only do after we create equdistant path.
--HG--
branch : release
2015-04-16 15:43:40 +03:00
Roman Telezhynskyi
8616ef8b9b Check for loops need only do after we create equdistant path.
--HG--
branch : develop
2015-04-16 15:43:40 +03:00
Roman Telezhynskyi
cc35816108 Result is not floating-point. Coverity scan.
--HG--
branch : release
2015-04-16 13:19:23 +03:00
Roman Telezhynskyi
0c83c86e27 Result is not floating-point. Coverity scan.
--HG--
branch : develop
2015-04-16 13:19:23 +03:00
Roman Telezhynskyi
ac862320f7 Resource leaks. Coverity scan.
--HG--
branch : release
2015-04-16 13:10:44 +03:00
Roman Telezhynskyi
e1e4804503 Resource leaks. Coverity scan.
--HG--
branch : develop
2015-04-16 13:10:44 +03:00
Roman Telezhynskyi
c4d4f472ab Missed header.
--HG--
branch : develop
2015-04-16 13:04:46 +03:00
Roman Telezhynskyi
d3dd53eaa1 Change name for Valentina's test binary.
--HG--
branch : develop
2015-04-15 21:41:29 +03:00
Roman Telezhynskyi
89f13a0016 fatal error: QtMath: No such file or directory.
--HG--
branch : develop
2015-04-15 20:41:23 +03:00
Roman Telezhynskyi
78f1e89f08 Cppcheck.
--HG--
branch : develop
2015-04-15 15:44:57 +03:00
Roman Telezhynskyi
806a1c41d9 Delete test template class.
--HG--
branch : develop
2015-04-15 15:13:19 +03:00
Roman Telezhynskyi
edaafb7c6a VPoster tests.
--HG--
branch : develop
2015-04-15 15:11:13 +03:00
Roman Telezhynskyi
8bfc9d1ca3 Don't show bottom border if only one page need to print.
--HG--
branch : develop
2015-04-15 12:10:35 +03:00
Roman Telezhynskyi
d7d1c0b78a Don't show left border and top border if page margin is 0.
--HG--
branch : develop
2015-04-15 11:36:08 +03:00
Roman Telezhynskyi
41b2617110 Spelling mistake.
--HG--
branch : release
2015-04-11 21:22:34 +03:00
Roman Telezhynskyi
f45875134b Spelling mistake.
--HG--
branch : develop
2015-04-11 21:22:34 +03:00
Roman Telezhynskyi
9466da601c GUI experts say that just use tool button icons not very good choise. This way
good only for standard icons. I added option show text under icon.

--HG--
branch : develop
2015-04-11 21:20:37 +03:00
Roman Telezhynskyi
3c96dfddcb Action print to pdf.
--HG--
branch : feature
2015-04-11 18:33:43 +03:00
Roman Telezhynskyi
e97cceb65b Actions print.
--HG--
branch : feature
2015-04-11 18:16:30 +03:00
Roman Telezhynskyi
fc54866019 Action print preview.
--HG--
branch : feature
2015-04-11 17:30:49 +03:00
Roman Telezhynskyi
130063d690 Menu bar. Theme icons for actions print and print preview.
--HG--
branch : feature
2015-04-11 14:22:50 +03:00
Roman Telezhynskyi
c144c149e6 Class VPoster.
--HG--
branch : feature
2015-04-11 14:01:25 +03:00
Roman Telezhynskyi
36990d6531 Dependies for class QLockFile make it impossible easy backport this class to
Qt 5.0.0. I decided don't do this. And just disable using the class if
Qt version < Qt 5.1. It will open some issues, but for Unit testing this reason
not important.

--HG--
branch : develop
2015-04-05 16:31:28 +02:00
Пользователь@pc2009
93eb3d692c Backporting QlockFile. Successful build on Windows.
--HG--
branch : develop
2015-04-04 18:47:25 +04:00
Roman Telezhynskyi
94e2fe8c5a Disable installation tests.
--HG--
branch : develop
2015-04-02 20:43:33 +03:00
Roman Telezhynskyi
7de628f79a undefined reference to `QLoggingCategory::~QLoggingCategory()'.
--HG--
branch : develop
2015-04-02 20:09:57 +03:00
Roman Telezhynskyi
f59625f56f Removed strange expression Q_FUNC_QT_VERSION < 0x053000INFO.
--HG--
branch : develop
2015-04-02 19:13:29 +03:00
Roman Telezhynskyi
1de5ba3411 fatal error: qlockfile.h: No such file or directory.
--HG--
branch : develop
2015-04-02 18:38:34 +03:00
Roman Telezhynskyi
c952b54122 Files from Qt 5.2.0.
--HG--
branch : develop
2015-04-02 18:25:19 +03:00
Roman Telezhynskyi
0c023a9db9 Files from Qt 5.4.1.
--HG--
branch : develop
2015-04-02 17:56:17 +03:00
Roman Telezhynskyi
fb879c7ae1 Qt < 5.2 didn't feature categorized logging.
--HG--
branch : develop
2015-04-02 17:01:05 +03:00
Roman Telezhynskyi
49ffd7a77d QLockFile was introduced in Qt 5.1.
--HG--
branch : develop
2015-04-02 15:54:35 +03:00
Roman Telezhynskyi
4d171184bd Forgot change methods.
--HG--
branch : develop
2015-04-02 14:53:42 +03:00
Roman Telezhynskyi
ab3c60fe03 travis.yml. Added support for "make check", run tests.
--HG--
branch : develop
2015-04-02 14:31:23 +03:00
Roman Telezhynskyi
7e49c3524f QCombobox::currentData was introduced since Qt 5.2.
--HG--
branch : develop
2015-04-02 12:51:27 +03:00
Roman Telezhynskyi
07ec5aacf8 QVector::removeLast() was introduced only in Qt 5.1.
--HG--
branch : develop
2015-04-01 21:38:42 +03:00
Roman Telezhynskyi
6dea77276c QtMath apperas only since Qt 5.1.
--HG--
branch : develop
2015-04-01 21:21:24 +03:00
Roman Telezhynskyi
ff44834417 GCC warning “ISO C99 requires rest arguments to be used”.
For fixing use printf style.

--HG--
branch : develop
2015-04-01 20:08:35 +03:00
Roman Telezhynskyi
30f6aea194 Hide warnings, minimal requirements for build is Qt 5.0.0.
--HG--
branch : develop
2015-04-01 15:51:54 +03:00
Roman Telezhynskyi
e1e995abe7 Test template for future test system.
--HG--
branch : develop
2015-03-31 17:48:58 +03:00
Roman Telezhynskyi
b14e98fea3 Show appers only after user change format.
--HG--
branch : develop
2015-03-31 16:38:59 +03:00
Roman Telezhynskyi
8d497c68eb Increase version qmuparser.
--HG--
branch : develop
2015-03-31 16:35:01 +03:00
Roman Telezhynskyi
0cabe83e10 Fix for ParserTokenReader::ExtractOperatorToken incorrectly uses
ValidInfixOprtChars().

--HG--
branch : develop
2015-03-31 16:13:41 +03:00
Roman Telezhynskyi
aef39533c8 Bugfix for Bulkmode: Expressions with like "a=b, b*10" did not compute properly.
--HG--
branch : develop
2015-03-31 16:08:44 +03:00
Roman Telezhynskyi
99bb3f8962 Fixed issue #267. Error in the creation of obj files.
--HG--
branch : develop
2015-03-31 14:14:08 +03:00
Roman Telezhynskyi
74e4761634 Refactoring.
--HG--
branch : develop
2015-03-31 13:46:47 +03:00
Roman Telezhynskyi
478dbe13dd Fixed issue #263. Regression. Union tool doesn't work.
--HG--
branch : develop
2015-03-31 13:39:10 +03:00
Roman Telezhynskyi
8c5ea079d7 Additional checkings.
--HG--
branch : develop
2015-03-30 21:04:44 +03:00
Roman Telezhynskyi
d9a9df14f6 Don't allow selection details with less than 2 points and less than three
objects.

--HG--
branch : develop
2015-03-30 17:27:45 +03:00
Roman Telezhynskyi
a38448623c When we unite two detalis don't skip a point of a second detail if edges length
don't equal.

--HG--
branch : develop
2015-03-30 15:43:30 +03:00
Roman Telezhynskyi
b104f0dfa5 Fixed crash. If we have no points in the seam allowence path just don't show
him.

--HG--
branch : develop
2015-03-28 14:26:49 +02:00
Roman Telezhynskyi
f97a077dcd For tool Curve intersect axis fixed wrong calculation point in case with too
small scene rect size. No code always use the biggest possible rect.

--HG--
branch : develop
2015-03-28 12:59:37 +02:00
Roman Telezhynskyi
2cab9b4f90 Fixed missed attribute in XML schema.
--HG--
branch : develop
2015-03-28 11:08:11 +02:00
Roman Telezhynskyi
91a0966271 New token.
--HG--
branch : release
2015-03-23 15:03:12 +02:00
Roman Telezhynskyi
40e786c348 New language Finnish.
--HG--
branch : release
2015-03-23 14:37:53 +02:00
Roman Telezhynskyi
6b8cb0bf69 Improving for layout debug mode.
--HG--
branch : release
2015-03-23 14:13:44 +02:00
Roman Telezhynskyi
1f74e30d39 New version v0.3.0.
--HG--
branch : release
2015-03-19 17:46:45 +02:00
Roman Telezhynskyi
0f33cb6352 Fixed bug with circle intersection. Case with one real and one theoretical
intersection.

--HG--
branch : release
2015-03-19 16:20:25 +02:00
Roman Telezhynskyi
37dbe31050 Allow user add points in list by clicking on label.
--HG--
branch : release
2015-03-19 15:02:39 +02:00
Roman Telezhynskyi
7fccb9eb63 Set checked Detail mode button after close Layout Editor window.
--HG--
branch : release
2015-03-19 14:44:57 +02:00
Roman Telezhynskyi
c4d7b03905 Hide tool options before switch to Details mode.
--HG--
branch : release
2015-03-19 14:40:54 +02:00
Roman Telezhynskyi
f1b7726646 Block moving point label if tool is active.
--HG--
branch : release
2015-03-19 13:13:13 +02:00
Roman Telezhynskyi
c77b165cf0 Can't defeat PATH variable on Mac OS.
--HG--
branch : release
2015-03-16 18:31:27 +02:00
Roman Telezhynskyi
1f0ac82547 Hide warning about not available pdftops. Seek tool pdftops in app bundle on
mac os, near exe on Windows and in standard path on linux.

--HG--
branch : release
2015-03-16 16:49:51 +02:00
Roman Telezhynskyi
7555c67c3e Clang warnings.
--HG--
branch : release
2015-03-16 14:23:02 +02:00
Roman Telezhynskyi
cabac6f3d0 GCC warnings.
--HG--
branch : release
2015-03-16 12:33:37 +02:00
Roman Telezhynskyi
ef0a2e206b Don't use set specific index number. If user don't have pdftops application it
will make combobox empty.

--HG--
branch : release
2015-03-15 19:12:30 +02:00
Roman Telezhynskyi
2b711c5f8f Bad API in class LayoutDetail. Fixed checking seam allowence points.
--HG--
branch : release
2015-03-14 14:38:44 +02:00
Roman Telezhynskyi
d287e63790 Seam allowence width can't be <= 0.
--HG--
branch : release
2015-03-14 12:39:09 +02:00
Roman Telezhynskyi
365248f7e2 Separate file name from page number.
--HG--
branch : release
2015-03-10 18:01:33 +02:00
Roman Telezhynskyi
de9534b6d5 Fixed crash DialogUndo. After canceling fixing formula user will see again
DialogUndo and can try again. Button cancel make pattern broken, but left
posibility undo operation.

--HG--
branch : release
2015-03-03 17:47:31 +02:00
Roman Telezhynskyi
8f0e5fbd78 Error message about broken formula show twice if set current pattern piece after
deletion.

--HG--
branch : release
2015-03-03 17:31:18 +02:00
Roman Telezhynskyi
c466fc40b4 GCC warnings.
--HG--
branch : release
2015-03-03 17:29:33 +02:00
Roman Telezhynskyi
8b0de7504f Coverity Scan.
--HG--
branch : release
2015-03-02 21:20:09 +02:00
Roman Telezhynskyi
850d51adac cppcheck.
--HG--
branch : release
2015-03-02 19:54:33 +02:00
Roman Telezhynskyi
22055ab684 Vera++.
--HG--
branch : release
2015-03-02 19:11:43 +02:00
Roman Telezhynskyi
bb74ed2da6 Updated contributors list.
--HG--
branch : develop
2015-02-27 15:07:43 +02:00
Roman Telezhynskyi
629a2a7579 Copyright dates.
--HG--
branch : develop
2015-02-27 12:27:48 +02:00
Roman Telezhynskyi
bfbe2a5fc2 Fixed copyright notice for library qmuparser.
--HG--
branch : develop
2015-02-27 12:21:09 +02:00
Felix Ulber
139d4d26f0 merge fix
--HG--
branch : develop
2015-02-26 23:27:33 +01:00
Felix Ulber
f3eb68c2db resolve merge conflict
--HG--
branch : develop
2015-02-26 23:16:38 +01:00
Felix Ulber
12c66e873f Corrections on license text
--HG--
branch : develop
2015-02-26 22:48:52 +01:00
Felix Ulber
6ad6eda04a Some code corrections on fix of issue #235
--HG--
branch : develop
2015-02-26 22:34:33 +01:00
Roman Telezhynskyi
018fae459a Build on Mac OS.
--HG--
branch : develop
2015-02-26 22:18:52 +02:00
Felix Ulber
1f0027fd22 Merged dismine/valentina into develop
--HG--
branch : develop
2015-02-26 18:45:37 +01:00
Roman Telezhynskyi
13dcebb082 Fixed unable setting AboutValentina dialog size on Windows.
--HG--
branch : develop
2015-02-26 17:06:19 +02:00
Roman Telezhynskyi
47a61dcbc7 Prevent deletion uninitialized pointer.
--HG--
branch : develop
2015-02-26 16:29:32 +02:00
Roman Telezhynskyi
fbe84b74f4 Updated translations. New language Spanish.
--HG--
branch : develop
2015-02-26 16:10:01 +02:00
Roman Telezhynskyi
326a790044 Fixed issue #253. Add description, id, size base and height base to Table of
Variables.

--HG--
branch : develop
2015-02-26 11:26:43 +02:00
Felix Ulber
7a30a08ba5 Merged dismine/valentina into develop
--HG--
branch : develop
2015-02-25 23:27:57 +01:00