Commit Graph

7610 Commits

Author SHA1 Message Date
5f2bec91d9 DRY. Refactoring item move code. smart-pattern/valentina#53 2020-06-20 12:20:39 +03:00
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
0efb32d475 Fix issue with package xpdf on Ubuntu 20.04. [ci skip]
xpdf never provided a binary we needed. All this time we needed poppler-utils package. Everything worked because xpdf suggested it.
2020-06-13 17:52:42 +03:00
e419ccfece Fix build on Qt 5.15: missed include in vlayoutdef header.
(cherry picked from commit 6af9d104cd)
2020-06-13 11:26:20 +03:00
6af9d104cd Fix build on Qt 5.15: missed include in vlayoutdef header. 2020-06-13 11:25:54 +03:00
11d9c9be28 Update .travis.yml. 2020-06-04 19:03:09 +03:00
20b797b2c5 Merge branch 'develop' into feature/manual-layout. 2020-06-04 13:45:32 +03:00
54482b7c75 Fix label alignment.
Alignment type 0 (no alignment, same as left) was incorrectly handled for layout piece. Code for the layout piece label is separate and did not handle this case. Valid value 0 was handled as right alignment.
2020-06-03 14:47:37 +03:00
db007ac301 Improve checking allowance validity. 2020-06-03 13:18:43 +03:00
ca3c5c8532 Do not enable checking ntfs permissions for checking read only status. 2020-06-03 11:44:38 +03:00
63c40f3ad0 Mark missed string for translation. 2020-06-03 11:41:56 +03:00
55c9103ef1 Merge branch 'feature/manual-layout' into 'feature/manual-layout'
Feature/manual layout Puzzle Refactoring

See merge request smart-pattern/valentina!8
2020-06-03 07:42:59 +00:00
c263060fd0 Invalid name of arc in modeling mode. Closes smart-pattern/valentina#40. 2020-06-02 18:11:52 +03:00
8d68cde576 Don't show null lines. smart-pattern/valentina#32.
If both points, start and end, of a line are equal such a line is invalid. To avoid incorrect representation do not draw it.
2020-06-02 16:35:40 +03:00
31db32b2b1 Fix generating a seam allowance. Closes smart-pattern/valentina#36. 2020-06-02 13:49:44 +03:00
bdceb76316 Fix matching new line character at the end of label. Closes smart-pattern/valentina#46.
Because Perl returns a string with a newline at the end when reading a line from a file, Perl’s regex engine matches $ at the position before the line break at the end of the string even when multi-line mode is turned off. Perl also matches $ at the very end of the string, regardless of whether that character is a line break. So ^\d+$ matches 123 whether the subject string is 123 or 123\n.

Most modern regex flavors have copied this behavior. That includes .NET, Java, PCRE, Delphi, PHP, and Python. This behavior is independent of any settings such as “multi-line mode”.

In all these flavors except Python, \Z also matches before the final line break. If you only want a match at the absolute very end of the string, use \z (lowercase z instead of uppercase Z). \A\d+\z does not match 123\n. \z matches after the line break, which is not matched by the shorthand character class.
2020-06-01 17:42:20 +03:00
2da8f70f86 Optimize tool box position for big screen resolutions. Closes smart-pattern/valentina#45.
Instead of forcing users to one possible choice add an option to control size policy for the tool box.
2020-06-01 12:21:09 +03:00
813e100bca Fix missed initialization for visibility categories for tool Visibility group. Closes smart-pattern/valentina#39. 2020-05-30 18:39:44 +03:00
42ed025afa Fix validation of Curved path tool. Closes smart-pattern/valentina#41. 2020-05-30 18:14:50 +03:00
af40b52988 Refactoring Piece carrousel part 2 2020-05-24 19:53:51 +02:00
f00168e59b Refactoring Piece carrousel 2020-05-24 14:55:03 +02:00
b4b77c4cdf Introducing VPSheet and refactoring part 3 2020-05-23 17:51:00 +02:00
61a2e17a78 Introducing VPSheet and refactoring part 2 2020-05-23 17:47:04 +02:00
803a7b6caa Introducing VPSheet and refactoring 2020-05-23 17:46:46 +02:00
22a5e2094c Refactoring VPuzzleSettings 2020-05-23 15:44:44 +02:00
83666c090f Refactoring VPuzzlePiece 2020-05-23 15:42:51 +02:00
6079d69c93 Refactoring VPuzzleMimeDataPiece 2020-05-23 15:38:59 +02:00
2accd83d6b Refactoring VPuzzleMainGraphicsView 2020-05-23 15:36:46 +02:00
5e785bfa79 Refactoring VPuzzleLayout 2020-05-23 15:34:11 +02:00
34b67cc6e3 Refactoring VPuzzleLayer 2020-05-23 15:29:57 +02:00
45be7271bb Refactoring VPuzzleGraphicsPiece 2020-05-23 14:50:22 +02:00
e43f970ea8 Refactoring VPuzzleGraphicsLayout 2020-05-23 14:48:31 +02:00
9e532edc1a Refactoring VPuzzleCommandLine 2020-05-23 14:43:57 +02:00
fb78189d29 Refactoring VPieceCarrouselPiecePreview 2020-05-23 14:39:31 +02:00
510d1bd931 Refactoring VPieceCarrouselPiece 2020-05-23 14:36:35 +02:00
8ca77baef0 Refactoring VPieceCarrouselLayer 2020-05-23 14:33:02 +02:00
690606b4e5 Refactoring VPieceCarrousel 2020-05-23 14:29:18 +02:00
74112a43ac Refactoring stable 2020-05-23 14:19:12 +02:00
1079ef2add Refactoring PuzzleMainWindow 2020-05-23 14:17:20 +02:00
e816e4d5a1 Refactoring puzzlecommands 2020-05-23 14:12:07 +02:00
5bd695b646 Refactoring PuzzleApplication 2020-05-23 14:10:05 +02:00
04e97b6e74 Refactoring class comments 2020-05-23 14:04:39 +02:00
13c060f2fc Refactoring VPuzzleLayoutFileWriter 2020-05-23 14:02:39 +02:00
d9e3a08eac Refactoring VPuzzleLayoutFileReader 2020-05-23 14:01:03 +02:00
63d5ac0158 refactoring layoutliterals 2020-05-23 13:51:57 +02:00
213863ae98 refactoring dialog about 2020-05-23 13:49:38 +02:00
e2cfe7d0cc Merge remote-tracking branch 'upstream/feature/manual-layout' into feature/manual-layout 2020-05-23 13:11:06 +02:00
ed3022ae51 isEmpty test of graphic piece 2020-05-23 13:10:25 +02:00
beaedae7b5 Improve the property browser. Show full arc name.
(cherry picked from commit 590e0089da)
2020-05-13 17:53:08 +03:00
590e0089da Improve the property browser. Show full arc name. 2020-05-13 17:52:43 +03:00