Commit Graph

5775 Commits

Author SHA1 Message Date
dd9cfb39f5 More deprecation warnings. 2020-07-07 19:15:43 +03:00
e2669b4e2b Fix build on Linux. 2020-07-07 18:55:31 +03:00
c3e935029e More deprecation warnings. 2020-07-07 17:48:26 +03:00
3383df193b More deprecation warnings. 2020-07-07 10:51:00 +03:00
2c7456ccd3 Try another approach. 2020-07-06 16:35:54 +03:00
43db94f4b0 Fix conditions. 2020-07-06 15:37:41 +03:00
8bf4c85e6e Fix deprecation warnings. 2020-07-06 09:41:08 +03:00
a887fcb3df New warning. Error calculating segment of curve. 2020-07-04 15:13:45 +03:00
2cc3c93dea Sheet orientation and piece transform 2020-06-25 16:59:48 +02:00
4ad2c854b2 VPPiece now inherits form VLayoutPiece 2020-06-25 14:17:31 +02:00
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
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
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
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