Roman Telezhynskyi
6af9d104cd
Fix build on Qt 5.15: missed include in vlayoutdef header.
2020-06-13 11:25:54 +03:00
Roman Telezhynskyi
11d9c9be28
Update .travis.yml.
2020-06-04 19:03:09 +03:00
Roman Telezhynskyi
20b797b2c5
Merge branch 'develop' into feature/manual-layout.
2020-06-04 13:45:32 +03:00
Roman Telezhynskyi
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
Roman Telezhynskyi
db007ac301
Improve checking allowance validity.
2020-06-03 13:18:43 +03:00
Roman Telezhynskyi
ca3c5c8532
Do not enable checking ntfs permissions for checking read only status.
2020-06-03 11:44:38 +03:00
Roman Telezhynskyi
63c40f3ad0
Mark missed string for translation.
2020-06-03 11:41:56 +03:00
Roman Telezhynskyi
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
Roman Telezhynskyi
c263060fd0
Invalid name of arc in modeling mode. Closes smart-pattern/valentina#40 .
2020-06-02 18:11:52 +03:00
Roman Telezhynskyi
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
Roman Telezhynskyi
31db32b2b1
Fix generating a seam allowance. Closes smart-pattern/valentina#36 .
2020-06-02 13:49:44 +03:00
Roman Telezhynskyi
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
Roman Telezhynskyi
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
Roman Telezhynskyi
813e100bca
Fix missed initialization for visibility categories for tool Visibility group. Closes smart-pattern/valentina#39 .
2020-05-30 18:39:44 +03:00
Roman Telezhynskyi
42ed025afa
Fix validation of Curved path tool. Closes smart-pattern/valentina#41 .
2020-05-30 18:14:50 +03:00
Ronan Le Tiec
af40b52988
Refactoring Piece carrousel part 2
2020-05-24 19:53:51 +02:00
Ronan Le Tiec
f00168e59b
Refactoring Piece carrousel
2020-05-24 14:55:03 +02:00
Ronan Le Tiec
b4b77c4cdf
Introducing VPSheet and refactoring part 3
2020-05-23 17:51:00 +02:00
Ronan Le Tiec
61a2e17a78
Introducing VPSheet and refactoring part 2
2020-05-23 17:47:04 +02:00
Ronan Le Tiec
803a7b6caa
Introducing VPSheet and refactoring
2020-05-23 17:46:46 +02:00
Ronan Le Tiec
22a5e2094c
Refactoring VPuzzleSettings
2020-05-23 15:44:44 +02:00
Ronan Le Tiec
83666c090f
Refactoring VPuzzlePiece
2020-05-23 15:42:51 +02:00
Ronan Le Tiec
6079d69c93
Refactoring VPuzzleMimeDataPiece
2020-05-23 15:38:59 +02:00
Ronan Le Tiec
2accd83d6b
Refactoring VPuzzleMainGraphicsView
2020-05-23 15:36:46 +02:00
Ronan Le Tiec
5e785bfa79
Refactoring VPuzzleLayout
2020-05-23 15:34:11 +02:00
Ronan Le Tiec
34b67cc6e3
Refactoring VPuzzleLayer
2020-05-23 15:29:57 +02:00
Ronan Le Tiec
45be7271bb
Refactoring VPuzzleGraphicsPiece
2020-05-23 14:50:22 +02:00
Ronan Le Tiec
e43f970ea8
Refactoring VPuzzleGraphicsLayout
2020-05-23 14:48:31 +02:00
Ronan Le Tiec
9e532edc1a
Refactoring VPuzzleCommandLine
2020-05-23 14:43:57 +02:00
Ronan Le Tiec
fb78189d29
Refactoring VPieceCarrouselPiecePreview
2020-05-23 14:39:31 +02:00
Ronan Le Tiec
510d1bd931
Refactoring VPieceCarrouselPiece
2020-05-23 14:36:35 +02:00
Ronan Le Tiec
8ca77baef0
Refactoring VPieceCarrouselLayer
2020-05-23 14:33:02 +02:00
Ronan Le Tiec
690606b4e5
Refactoring VPieceCarrousel
2020-05-23 14:29:18 +02:00
Ronan Le Tiec
74112a43ac
Refactoring stable
2020-05-23 14:19:12 +02:00
Ronan Le Tiec
1079ef2add
Refactoring PuzzleMainWindow
2020-05-23 14:17:20 +02:00
Ronan Le Tiec
e816e4d5a1
Refactoring puzzlecommands
2020-05-23 14:12:07 +02:00
Ronan Le Tiec
5bd695b646
Refactoring PuzzleApplication
2020-05-23 14:10:05 +02:00
Ronan Le Tiec
04e97b6e74
Refactoring class comments
2020-05-23 14:04:39 +02:00
Ronan Le Tiec
13c060f2fc
Refactoring VPuzzleLayoutFileWriter
2020-05-23 14:02:39 +02:00
Ronan Le Tiec
d9e3a08eac
Refactoring VPuzzleLayoutFileReader
2020-05-23 14:01:03 +02:00
Ronan Le Tiec
63d5ac0158
refactoring layoutliterals
2020-05-23 13:51:57 +02:00
Ronan Le Tiec
213863ae98
refactoring dialog about
2020-05-23 13:49:38 +02:00
Ronan Le Tiec
e2cfe7d0cc
Merge remote-tracking branch 'upstream/feature/manual-layout' into feature/manual-layout
2020-05-23 13:11:06 +02:00
Ronan Le Tiec
ed3022ae51
isEmpty test of graphic piece
2020-05-23 13:10:25 +02:00
Roman Telezhynskyi
beaedae7b5
Improve the property browser. Show full arc name.
...
(cherry picked from commit 590e0089da
)
2020-05-13 17:53:08 +03:00
Roman Telezhynskyi
590e0089da
Improve the property browser. Show full arc name.
2020-05-13 17:52:43 +03:00
Roman Telezhynskyi
f1057de239
Redesign. Move initialization in ui file. Use QListWidget instead of a custom solution. Basic functions do not work yet.
2020-05-11 17:48:08 +03:00
Roman Telezhynskyi
5fc927b32a
Since we store a dockwidget size no need to handle size manually.
2020-05-11 17:46:25 +03:00
Roman Telezhynskyi
56ec768777
GCC warning.
2020-05-11 17:44:53 +03:00
Roman Telezhynskyi
21dd764d53
Code style.
2020-05-11 17:44:30 +03:00