Commit Graph

2238 Commits

Author SHA1 Message Date
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