Commit Graph

2289 Commits

Author SHA1 Message Date
Roman Telezhynskyi
77dcb78e80 We have been running Tape in two different cases.
The first inside own bundle where info.plist is works fine, but the second,
when we run inside Valentina's bundle, require direct setting the icon.

--HG--
branch : release
2016-01-15 07:36:55 -08:00
Roman Telezhynskyi
0fac22badb If item's rect is bigger than view's rect ensureVisible works very unstable.
--HG--
branch : release
2016-01-15 14:09:52 +02:00
Roman Telezhynskyi
69354bd28c Showing/hiding control points require recalculation scene size.
--HG--
branch : release
2016-01-15 12:16:04 +02:00
Roman Telezhynskyi
b2d498b78c Call ensureVisible() only in mouseMoveEvent() method. Alwayse update size of
scene.

--HG--
branch : release
2016-01-15 12:05:56 +02:00
Roman Telezhynskyi
f5c85a73a1 Ensure cursor visibility when move curve.
--HG--
branch : release
2016-01-14 17:04:36 +02:00
Roman Telezhynskyi
68b723148c Fix recalculation the scene when move detail.
--HG--
branch : release
2016-01-14 15:48:21 +02:00
Roman Telezhynskyi
7695361b0f Release candidate.
--HG--
branch : release
2016-01-14 11:45:41 +02:00
Roman Telezhynskyi
908dc5b975 Work only with visible items.
--HG--
branch : release
2016-01-13 17:15:53 +02:00
Roman Telezhynskyi
8745a78c67 Calculate items bounding rect without hidden items.
--HG--
branch : develop
2016-01-13 15:47:38 +02:00
Valentina Zhuravska
bc1664a275 Better way to do table not editable
--HG--
branch : develop
2016-01-13 11:22:39 +02:00
Valentina Zhuravska
48bf54dfd9 All table should not be editable
--HG--
branch : develop
2016-01-13 10:55:10 +02:00
Roman Telezhinskyi
2ecc8b944e Merged in nauck/valentina/feature (pull request #95)
Make 'V' in "Valentina" upper case on osx

--HG--
branch : develop
2016-01-12 01:21:46 +02:00
Benjamin Nauck
de12d75606 Make 'V' in "Valentina" upper case on osx
This will change:
 * the filename of the application to "Valentina.app",
 * the name in the menubar to "Valentina", and
 * the about item so it says "About Valentina" instead of "About valentina"

Almost every application on OS X capitalizes their name. The only exceptions on my computer are apple's i-products (but there the second letter is upper case instead)

--HG--
branch : feature
2016-01-12 00:16:48 +01:00
Roman Telezhynskyi
b304ef7d3b Lupdate.
--HG--
branch : develop
2016-01-11 21:45:57 +02:00
Roman Telezhinskyi
62b47197f7 Merged in ValentinaZhuravska/valentina/feature (pull request #92)
Retranslate

--HG--
branch : develop
2016-01-11 15:16:57 +02:00
Valentina Zhuravska
96add2113c Retranslate all variables inside tables
--HG--
branch : feature
2016-01-11 15:11:33 +02:00
Valentina Zhuravska
3caee4a8df We need to call LoadTranslation when langChanged or systemChanged
--HG--
branch : feature
2016-01-11 14:28:26 +02:00
Valentina Zhuravska
c7696c9d2a Set translation in the helpLabel to "Changes applied".
--HG--
branch : feature
2016-01-11 14:17:41 +02:00
Valentina Zhuravska
c81724d42b Restore selected row after retranslate
--HG--
branch : feature
2016-01-11 13:41:34 +02:00
Roman Telezhynskyi
afe36d69d5 New file in the collection.
--HG--
branch : develop
2016-01-11 13:31:19 +02:00
Roman Telezhynskyi
6be6eb80b0 Parse expression also in the attribute radius.
--HG--
branch : develop
2016-01-11 13:28:48 +02:00
Roman Telezhynskyi
4977604106 Correct disabling line to the label.
--HG--
branch : develop
2016-01-11 13:24:37 +02:00
Roman Telezhynskyi
ac5c8d8201 Do not remove a loop created by intersection point when it is the first or
the last point of lines that intersect.

--HG--
branch : develop
2016-01-10 21:41:46 +02:00
Roman Telezhynskyi
f240a3d599 Fix failed tests
--HG--
branch : develop
2016-01-10 17:43:48 +02:00
Roman Telezhynskyi
50dbe9471f Merge
--HG--
branch : develop
2016-01-10 17:03:12 +02:00
Roman Telezhynskyi
7ef6ed4726 New files in collection.
--HG--
branch : develop
2016-01-10 17:02:44 +02:00
Roman Telezhynskyi
3d6f8e0caa Brush detail.
--HG--
branch : develop
2016-01-10 15:31:43 +02:00
Roman Telezhynskyi
a97ce04ca5 Fixed issue #434. Select multiple modes.
--HG--
branch : develop
2016-01-10 11:14:23 +02:00
Roman Telezhynskyi
c2976614ba Correct removing loop if a path contains them several. Seek and remove the last.
In this way we will correct remove them all.

--HG--
branch : develop
2016-01-09 23:53:17 +02:00
Roman Telezhynskyi
975a528560 New test. Check correct seam allowance in the file jacketМ6_30-110.val.
--HG--
branch : develop
2016-01-09 18:16:03 +02:00
Valentina Zhuravska
982a0172c5 Retranslate pattern making system
--HG--
branch : feature
2016-01-09 14:52:28 +02:00
Valentina Zhuravska
a4e1db90e8 Change pattern making system in Valentina settings
--HG--
branch : feature
2016-01-09 14:38:26 +02:00
Roman Telezhynskyi
13fbc0b8b9 New files in collection.
--HG--
branch : develop
2016-01-09 12:29:50 +02:00
Roman Telezhynskyi
b9f8e19236 Test issue with method IsPointOnLineSegment.
--HG--
branch : develop
2016-01-09 11:42:06 +02:00
Roman Telezhynskyi
1c92165467 Have found case where the program returns wrong curve segment.
--HG--
branch : develop
2016-01-08 17:59:51 +02:00
Valentina Zhuravska
e2cfd3f3f7 Fix names according to code style conventions
--HG--
branch : feature
2016-01-08 14:14:56 +02:00
Valentina Zhuravska
4bb731a825 Retranslate tables of variables
--HG--
branch : feature
2016-01-08 14:06:38 +02:00
Valentina Zhuravska
b283fb2a76 Retranslate history
--HG--
branch : feature
2016-01-08 13:55:37 +02:00
Roman Telezhynskyi
7be1690e39 Fix. Don't change state of a pattern if click on the button OK.
--HG--
branch : develop
2016-01-08 13:22:48 +02:00
Roman Telezhynskyi
39e7b2df89 Delay for correct the first fitbest zoom.
--HG--
branch : develop
2016-01-08 13:08:54 +02:00
Roman Telezhynskyi
45454a8955 Fix tool UnionDetails. Always left last poit of detail, save children ids,
save in correct section.

--HG--
branch : develop
2016-01-07 18:43:08 +02:00
Valentina Zhuravska
31582e06da Fixed alignment
--HG--
branch : feature
2016-01-06 17:28:46 +02:00
Valentina Zhuravska
b6466547e8 Retranslate patternPieceLabel
--HG--
branch : feature
2016-01-06 09:34:03 +02:00
Valentina Zhuravska
be3e6e5498 Retranslate helpLabel
--HG--
branch : feature
2016-01-06 09:11:44 +02:00
Valentina Zhuravska
772836b516 Retranslate undo and redo buttons
--HG--
branch : feature
2016-01-06 09:03:40 +02:00
Valentina Zhuravska
0575f40a2a We need to fixate size of the contentsWidget, because we don't need to change it during the retranslation
--HG--
branch : feature
2016-01-06 08:49:44 +02:00
Valentina Zhuravska
eabbcb2e2b Little fix: correct retranslate osOptionCheck
--HG--
branch : feature
2016-01-06 08:11:51 +02:00
Valentina Zhuravska
31aee635e4 Little optimization: change 'cansel' to 'cancel'
--HG--
branch : feature
2016-01-06 08:05:41 +02:00
Valentina Zhuravska
c4fe05df11 Retranslate patternpage.
--HG--
branch : feature
2016-01-06 07:59:01 +02:00
Valentina Zhuravska
aa3197fbd3 Retranslate pathpage.
--HG--
branch : feature
2016-01-06 07:55:51 +02:00
Valentina Zhuravska
ac899a4cf1 Retranslate configurationpage.
--HG--
branch : feature
2016-01-06 07:55:05 +02:00
Valentina Zhuravska
b9f3e664dc Retranslate communitypage.
--HG--
branch : feature
2016-01-06 07:40:34 +02:00
Valentina Zhuravska
4e12484725 Retranslate configdialog.
--HG--
branch : feature
2016-01-06 07:34:30 +02:00
Valentina Zhuravska
2623af8881 Retranslate mainwindow ui.
--HG--
branch : feature
2016-01-06 07:02:41 +02:00
Roman Telezhynskyi
65bf17fcf9 Fixed broken feature 'Default height and size'.
--HG--
branch : develop
2016-01-03 15:21:30 +02:00
Roman Telezhinskyi
b0e484c6f7 Merged in nauck/valentina/feature (pull request #91)
Unify title and tool bar on osx

--HG--
branch : develop
2016-01-03 14:02:02 +02:00
Roman Telezhynskyi
fa410de76d Fixed issue #432. Cannot switch between pattern pieces on latest develop (osx).
--HG--
branch : develop
2016-01-03 11:52:22 +02:00
Roman Telezhinskyi
e90db08842 Merged in nauck/valentina/feature (pull request #90)
Fix issue #431

--HG--
branch : develop
2016-01-03 10:28:57 +02:00
Benjamin Nauck
e03db7f738 Use unified title and tool bar on mac
--HG--
branch : feature
2016-01-03 04:11:11 +01:00
Benjamin Nauck
000bbd454e Use same icon on cursor as it is on the tool button for the arc intersect axis tool
--HG--
branch : feature
2016-01-02 23:57:26 +01:00
Benjamin Nauck
e89f730b38 Move and refactor tool cursor generation script
--HG--
branch : feature
2016-01-02 23:38:02 +01:00
Benjamin Nauck
6ffa9d0055 Move set attribute to vabstractapplication
--HG--
branch : feature
2016-01-02 17:06:19 +01:00
Benjamin Nauck
9d3257ef1c Adjust code to code convention
--HG--
branch : feature
2016-01-02 17:01:00 +01:00
Benjamin Nauck
15b5c4534d Add new tool cursors
--HG--
branch : feature
2016-01-02 15:59:19 +01:00
Benjamin Nauck
99cf5496ea Add missing svg file "triangle.svg"
--HG--
branch : feature
2016-01-02 15:57:13 +01:00
Benjamin Nauck
43ffbbe3c0 Add tool for generating SVG tool icon cursors
The resulting files might need some adjusting but it's a good start

--HG--
branch : feature
2016-01-02 15:55:26 +01:00
Benjamin Nauck
1be3c90cd3 Add support for HiDPI cursors
--HG--
branch : feature
2016-01-02 15:52:42 +01:00
Benjamin Nauck
8be71c1ecb Create new triangle tool icon
--HG--
branch : feature
2016-01-02 14:03:54 +01:00
Benjamin Nauck
31a00ab6fe Fix icon export res misstake
--HG--
branch : feature
2016-01-02 05:19:09 +01:00
Benjamin Nauck
1254de52d5 Update toolbar icons and add HiDPI versions
--HG--
branch : feature
2016-01-02 03:14:54 +01:00
Benjamin Nauck
4bc766295e Add @2x versions of toolbar tab icons (excluding detail and layout)
--HG--
branch : feature
2016-01-02 02:45:29 +01:00
Benjamin Nauck
c57201fe82 Add support for high dpi bitmap resources
--HG--
branch : feature
2016-01-02 02:40:33 +01:00
Valentina Zhuravska
9fd6f18426 Resolved issue #423. Deny moving several labels at one time.
--HG--
branch : feature
2015-12-28 10:00:10 +02:00
Roman Telezhynskyi
d6de99babb Fixed test build fail.
--HG--
branch : develop
2015-12-26 20:04:26 +02:00
Roman Telezhynskyi
37e799ce71 Fixed issue with deleting detail (after union details) and blocked objects.
--HG--
branch : feature
2015-12-26 19:10:02 +02:00
Roman Telezhynskyi
1aa2263686 Improved question message.
--HG--
branch : feature
2015-12-26 18:01:32 +02:00
Roman Telezhynskyi
a11b3c3203 Check if setted detail is valid.
--HG--
branch : feature
2015-12-26 15:18:58 +02:00
Roman Telezhynskyi
00b8aae5a7 Fixed issue with deleting detail and blocked objects. Part about tool union
still is not fixed.

--HG--
branch : feature
2015-12-26 15:08:41 +02:00
Roman Telezhynskyi
4d3aeaca08 Allow user to ignore warning "This file already opened in another window".
--HG--
branch : develop
2015-12-23 15:26:29 +02:00
Roman Telezhynskyi
d227ce68c2 Show dialog "Fix broken formula" only in GUI mode.
--HG--
branch : develop
2015-12-22 20:12:09 +02:00
Roman Telezhynskyi
8b7602e223 In restore list clear all files that do not exist.
--HG--
branch : develop
2015-12-22 17:39:04 +02:00
Roman Telezhynskyi
fbd3c05b92 Resolved issue #93. Create test set of patterns.
--HG--
branch : develop
2015-12-22 16:42:00 +02:00
Roman Telezhynskyi
6e394a20f2 Resolved issue #256. Crash if open pattern with wrong measurements file.
--HG--
branch : develop
2015-12-22 15:29:16 +02:00
Valentina Zhuravska
1dce05b239 Show openHand cursor only if we can move the detail
--HG--
branch : feature
2015-12-20 21:55:27 +02:00
Valentina Zhuravska
73c544c45d Resolved issue #271. Deny move workpieces when tool union is active.
--HG--
branch : feature
2015-12-20 21:53:59 +02:00
Valentina Zhuravska
fd658631b3 We don't need to move nodePoints
--HG--
branch : feature
2015-12-20 21:51:14 +02:00
Roman Telezhynskyi
95772bf0db Fixed "Build failed".
--HG--
branch : develop
2015-12-19 22:15:42 +02:00
Roman Telezhynskyi
40bf125fdf Resolved issue #422. Date of birth: German data format.
--HG--
branch : develop
2015-12-19 21:26:05 +02:00
Roman Telezhynskyi
a0b785ffd8 Resolved issue #402. After Crash .val is empty.
--HG--
branch : develop
2015-12-19 21:02:38 +02:00
Roman Telezhynskyi
90dac31a2e Discard vmargins.h. Build backport files if only need.
--HG--
branch : develop
2015-12-19 16:38:24 +02:00
Roman Telezhynskyi
1e5def1361 Instead of indexes save and set string values.
--HG--
branch : develop
2015-12-19 15:56:09 +02:00
Roman Telezhynskyi
0c3fcfb14e Merge.
--HG--
branch : develop
2015-12-19 10:09:25 +02:00
Roman Telezhynskyi
2fdd441a1c Fixed issue #420. Crash, not able to to open Standard measurements tables.
--HG--
branch : develop
2015-12-19 10:09:03 +02:00
Valentina Zhuravska
662ae70919 Resolved issue #417. Valentina don't change cursor to arrow when we change the mode
--HG--
branch : develop
2015-12-19 03:20:15 +02:00
Roman Telezhynskyi
af5a74badd Fixed issue #419. Message in footer obsolete.
--HG--
branch : develop
2015-12-18 14:01:13 +02:00
Roman Telezhynskyi
b2ec130d7e Fixed issue #167. Window modified indication disappears even we have unsaved
change.

--HG--
branch : develop
2015-12-18 13:57:03 +02:00
Roman Telezhynskyi
3beb8a8b7c Refactoring. Smooth scrolling.
--HG--
branch : develop
2015-12-17 21:13:07 +02:00
Roman Telezhynskyi
6ba9bb8b28 Little optimization.
--HG--
branch : develop
2015-12-17 21:01:06 +02:00
Roman Telezhynskyi
949f4be2c6 Merge.
--HG--
branch : develop
2015-12-17 13:13:11 +02:00
Roman Telezhynskyi
4bdb788c50 New tests of localizations. Lupdate.
--HG--
branch : develop
2015-12-17 12:52:10 +02:00
Valentina Zhuravska
550816a958 Resolved issue #270. Selection point by clicking on label in tools seam allowance and union.
--HG--
branch : feature
2015-12-17 12:03:44 +02:00
Roman Telezhynskyi
24c6eed4a7 Refactoring. More optimized run a test.
--HG--
branch : develop
2015-12-16 14:52:00 +02:00
Roman Telezhynskyi
e39d42146c Lupdate. Fixed typos.
--HG--
branch : develop
2015-12-15 16:39:26 +02:00
Roman Telezhynskyi
2409b1cc8b Refactoring tests.
--HG--
branch : develop
2015-12-15 16:38:37 +02:00
Roman Telezhynskyi
717772c339 Main workpiece's path also can contains loops. This cause wrong seam allowances.
--HG--
branch : develop
2015-12-15 13:16:37 +02:00
Roman Telezhynskyi
05ad1605e0 Fix size dialog about Tape.
--HG--
branch : develop
2015-12-14 21:58:40 +02:00
Roman Telezhynskyi
7bc0399134 New contributor.
--HG--
branch : develop
2015-12-14 21:32:11 +02:00
Roman Telezhynskyi
afaaffd52f Updated test TST_TSTranslation.
--HG--
branch : develop
2015-12-14 18:05:09 +02:00
Roman Telezhynskyi
88d22ee3dd Fixed incorrect string place markers.
--HG--
branch : develop
2015-12-14 13:06:04 +02:00
Roman Telezhynskyi
45ee787a3f New test check if string contain correct place markers, i.e., %1, %2, ..., %99.
--HG--
branch : develop
2015-12-14 12:49:48 +02:00
Roman Telezhynskyi
0cb4447230 Refactoring test methods.
--HG--
branch : develop
2015-12-14 11:56:21 +02:00
Roman Telezhynskyi
812c09ba83 Removed '...' from localization.
--HG--
branch : develop
2015-12-14 09:42:09 +02:00
Roman Telezhynskyi
bceb18d4a5 New test that help find and remove '...' string inside localization.
--HG--
branch : develop
2015-12-14 09:41:42 +02:00
Roman Telezhynskyi
7ef2c22c47 Fixed bug with setting default height and size. Relative to the issue #418.
--HG--
branch : develop
2015-12-14 09:39:57 +02:00
Roman Telezhynskyi
f7814ed6ba Lupdate. Fixed issue in English string.
--HG--
branch : develop
2015-12-13 19:30:25 +02:00
Roman Telezhynskyi
b56849e33c Fixed bug in the test.
--HG--
branch : develop
2015-12-13 19:29:39 +02:00
Roman Telezhynskyi
5343e4e68d Test that allow to fix issues in English localization.
--HG--
branch : develop
2015-12-13 18:33:00 +02:00
Roman Telezhynskyi
90bdb6b561 XSD validation base height and size values.
--HG--
branch : develop
2015-12-12 17:35:57 +02:00
Roman Telezhynskyi
a5bfb2af35 Resore height and size after load new measurements data.
--HG--
branch : develop
2015-12-12 16:36:00 +02:00
Roman Telezhynskyi
abb7147bc8 Return 0 if default height/size is not custom.
--HG--
branch : develop
2015-12-12 13:15:29 +02:00
Roman Telezhynskyi
e8a93ddc2b New setting "Default height and size".
--HG--
branch : develop
2015-12-12 13:11:39 +02:00
Roman Telezhynskyi
3aa1ccaea4 Optimization. Call creation toolbar only if was not uploaded any measurements.
--HG--
branch : develop
2015-12-11 17:06:20 +02:00
Roman Telezhynskyi
f600a00db8 Merge
--HG--
branch : develop
2015-12-11 16:23:20 +02:00
Roman Telezhinskyi
eb69008e07 Merged in ValentinaZhuravska/valentina/feature (pull request #83)
Fixed issue #415.

--HG--
branch : develop
2015-12-11 16:22:52 +02:00
Valentina Zhuravska
10c0ad2c5c Define class VGraphicsSimpleTextItem instead of #include "../vwidgets/vgraphicssimpletextitem.h"
--HG--
branch : feature
2015-12-11 16:20:32 +02:00
Roman Telezhynskyi
93a52bd889 Allow user to set default size and height for a pattern.
--HG--
branch : develop
2015-12-11 16:19:11 +02:00
Valentina Zhuravska
5a22c6baf6 Use SCASSERT for point, namePoint and lineName
--HG--
branch : feature
2015-12-11 15:07:05 +02:00
Valentina Zhuravska
a1417fc127 We don't need to change pen inside RefreshLine method
--HG--
branch : feature
2015-12-11 13:35:48 +02:00
Valentina Zhuravska
0869c7fed4 We don't need to change the radius, so we can make it const
--HG--
branch : feature
2015-12-11 11:33:12 +02:00
Valentina Zhuravska
ece2c42e5f We need one method RefreshLine in VAbstractTool instead of two similar methods in VNodePoint and VToolSinglePoint
--HG--
branch : feature
2015-12-11 11:31:21 +02:00
Roman Telezhynskyi
3ebac9ce59 Test limited gradation list.
--HG--
branch : develop
2015-12-10 12:19:31 +02:00
Roman Telezhynskyi
0c731ea406 Do not update the recent files list in export/test mode.
--HG--
branch : develop
2015-12-09 13:37:38 +02:00
Roman Telezhynskyi
ca24b201e1 Refactor the method name.
--HG--
branch : develop
2015-12-09 13:31:33 +02:00
Roman Telezhynskyi
da827ad952 QComboBox clear button in property browser.
--HG--
branch : develop
2015-12-09 13:13:34 +02:00
Roman Telezhynskyi
6f1dcb7592 Resolved build issue on OpenSuse. The method setClearButtonEnable is available
only since Qt 5.2.

--HG--
branch : develop
2015-12-09 12:40:43 +02:00
Roman Telezhynskyi
589bf173ae Improved calculation arc points.
--HG--
branch : develop
2015-12-07 23:33:11 +02:00
Roman Telezhynskyi
75701f8cad New test. Testing arc points.
--HG--
branch : develop
2015-12-07 18:35:55 +02:00
Valentina Zhuravska
d057d336f7 Fixed issue #415. Line appears between the point and mark in the detail mode
--HG--
branch : feature
2015-12-07 07:48:51 +02:00
Roman Telezhynskyi
0e60b20ace Merge.
--HG--
branch : develop
2015-12-06 18:47:44 +02:00
Roman Telezhynskyi
36f586ec58 End file opening if error occurred.
--HG--
branch : develop
2015-12-06 18:47:19 +02:00
Roman Telezhinskyi
b5dfbae5a1 Merged in ValentinaZhuravska/valentina/feature (pull request #82)
Resolved Issue #272.

--HG--
branch : develop
2015-12-06 18:45:46 +02:00
Valentina Zhuravska
178419742a Added hoverMoveEvent. The cursor should not be changed to arrow until we leave the detail area
--HG--
branch : feature
2015-12-06 18:20:37 +02:00
Roman Telezhynskyi
a820b20fc2 The program crashes if scene is not connected to view.
--HG--
branch : develop
2015-12-05 18:27:38 +02:00
Roman Telezhynskyi
830c43a89d Mac OS proxy icon.
--HG--
branch : develop
2015-12-05 16:16:29 +02:00
Roman Telezhynskyi
7054714114 Fixed dock menu on Mac OS.
--HG--
branch : develop
2015-12-05 11:50:32 +02:00
Roman Telezhynskyi
e781b8252d Cut less scene rect size for showing axis.
--HG--
branch : develop
2015-12-04 22:21:07 +02:00
Roman Telezhynskyi
6de8a44314 Try to fix flowing of drawing.
--HG--
branch : develop
2015-12-04 21:49:00 +02:00
Roman Telezhynskyi
dc25101d78 Refactoring. Call parent's method.
--HG--
branch : develop
2015-12-04 21:47:44 +02:00
Roman Telezhynskyi
2b0e358cdd Saving position of the base point should be handled in ItemPositionChange
section.

--HG--
branch : develop
2015-12-04 21:46:52 +02:00
Roman Telezhynskyi
6d566c2715 Make fictive scene bigger in all cases.
--HG--
branch : develop
2015-12-04 10:04:43 +02:00