Commit Graph

1176 Commits

Author SHA1 Message Date
dismine
c84caa349d Clear layout paper.
--HG--
branch : feature
2015-01-22 16:23:23 +02:00
dismine
2388d8ef29 Avoid window freaze.
--HG--
branch : feature
2015-01-22 16:13:25 +02:00
dismine
ef73b351ed New options: rotatate and rotation increase.
--HG--
branch : feature
2015-01-22 16:11:50 +02:00
dismine
dd098506dd Move rotation to separate method. Preparetion for working with new setting.
--HG--
branch : feature
2015-01-22 13:47:20 +02:00
dismine
0d1725fc11 Allow user more quick stop generation.
--HG--
branch : feature
2015-01-22 13:39:04 +02:00
dismine
d538f2af73 Give program time update GUI.
--HG--
branch : feature
2015-01-22 13:35:12 +02:00
dismine
7a9447f7af Don't set information for debug if no need.
--HG--
branch : feature
2015-01-22 13:29:40 +02:00
dismine
2aa9de5f94 For rotation check only two positions 180 and 0 degree.
--HG--
branch : feature
2015-01-22 13:26:09 +02:00
dismine
9210d31c25 First realization multithreading.
--HG--
branch : feature
2015-01-21 23:49:38 +02:00
dismine
62aa898742 Refactoring. Prepare for support multithreading.
--HG--
branch : feature
2015-01-21 20:56:59 +02:00
dismine
8655460d6e Refactoring.
--HG--
branch : feature
2015-01-21 16:33:06 +02:00
dismine
dac95d00fe Combine edges not enough for all cases. Was added checking position after
rotation around point.

--HG--
branch : feature
2015-01-20 22:58:30 +02:00
dismine
7970678575 Fix for method UniteWithContour.
--HG--
branch : feature
2015-01-20 14:50:24 +02:00
dismine
2355e435a5 Fix for method Crossing.
--HG--
branch : feature
2015-01-19 20:07:32 +02:00
dismine
366519781b Fix for method InsideContour.
--HG--
branch : feature
2015-01-19 20:01:42 +02:00
dismine
120f4cf565 Speed optimization.
--HG--
branch : feature
2015-01-19 16:13:26 +02:00
dismine
3c76f32bed Alwayse first check if workpiece inside of paper sheet rect.
--HG--
branch : feature
2015-01-19 12:36:27 +02:00
dismine
dc2620e0df Need additional point on each edge for check if workpiece inside of global
contour.

--HG--
branch : feature
2015-01-19 12:14:54 +02:00
dismine
2937a9e594 Wrong rule for check true intersection.
--HG--
branch : feature
2015-01-18 22:21:20 +02:00
dismine
c191059ddd Changed Point-In-Polygon Algorithm. Additional field for saving mirror state.
--HG--
branch : feature
2015-01-18 20:56:01 +02:00
dismine
c044b334d7 Fix for method UniteWithContour.
--HG--
branch : feature
2015-01-17 22:51:17 +02:00
dismine
696aaa413b Fixes for method Mirror and debug system.
--HG--
branch : feature
2015-01-17 19:23:54 +02:00
dismine
1d1ae1acb4 Fixed creation global contour.
--HG--
branch : feature
2015-01-17 16:00:46 +02:00
dismine
56aa09a639 Don't save last options for creation a layout.
--HG--
branch : feature
2015-01-17 15:14:28 +02:00
dismine
28b2f97aaa Fixed getting seam allowence points.
--HG--
branch : feature
2015-01-16 21:35:50 +02:00
dismine
b04d1f92e7 Forgot save paper after creation.
--HG--
branch : feature
2015-01-16 21:34:37 +02:00
dismine
f849d16018 Choose first best result.
--HG--
branch : feature
2015-01-16 21:33:18 +02:00
dismine
f8d210e720 Better check more frequently if user want cancel creation layout.
--HG--
branch : feature
2015-01-16 16:45:56 +02:00
dismine
4fb5a048ca Ignore intersection in vertices of edges.
--HG--
branch : feature
2015-01-16 16:22:42 +02:00
dismine
040b9e607b Method Mirror now should work.
--HG--
branch : feature
2015-01-16 15:20:15 +02:00
dismine
ab2b894d69 Better round points if we want avoid errors. Correct way working with QMatrix in
methods translate and rotate.

--HG--
branch : feature
2015-01-16 14:54:37 +02:00
dismine
3d1100bc3d Send arranged count of workpieces.
--HG--
branch : feature
2015-01-16 14:53:14 +02:00
dismine
ce67acc6ff Dialog must do not allow values smaller than 1 pixel.
--HG--
branch : feature
2015-01-15 19:31:42 +02:00
dismine
00e42b4368 Fixed broken seam allowence.
--HG--
branch : feature
2015-01-15 16:24:37 +02:00
dismine
79325fe91f Changes for table widows. All prepare for begin testing.
--HG--
branch : feature
2015-01-15 15:10:05 +02:00
dismine
f6380cf739 Dialog for showing progress of creation.
--HG--
branch : feature
2015-01-14 19:52:16 +02:00
dismine
a121845407 Dialog layout settings.
--HG--
branch : feature
2015-01-14 16:14:51 +02:00
dismine
3ed87757c4 Return QGraphicsItems with sheet and all details for show on scene.
--HG--
branch : feature
2015-01-13 12:38:51 +02:00
dismine
166f2fbcdb Save each frame to png file for debuging creation layout.
--HG--
branch : feature
2015-01-12 22:35:32 +02:00
dismine
789dcea6bc Standard way arrange first detail on paper not always allow find position. For
such cases best way is rotate detail around vertex.

--HG--
branch : feature
2015-01-12 17:59:15 +02:00
dismine
8dec59ef00 Also check shift for each edge.
--HG--
branch : feature
2015-01-12 17:23:25 +02:00
dismine
98d5dde2e1 Class that drive all process, also speak with outside world.
--HG--
branch : feature
2015-01-12 14:12:15 +02:00
dismine
b53d32225a Class that handle choose next detail.
--HG--
branch : feature
2015-01-11 15:11:56 +02:00
dismine
007bc1466f Layout paper. Main algorithm.
--HG--
branch : feature
2015-01-10 15:47:46 +02:00
dismine
9effd8af02 Layout detail.
--HG--
branch : feature
2015-01-07 18:54:43 +02:00
dismine
0b80c2b9f8 We alwayse need information about “the current parent of the working directory”.
--HG--
branch : develop
2015-01-04 18:11:00 +02:00
dismine
06e945d8a3 Detail must return contour points and seam allowence points yourself.
--HG--
branch : feature
2015-01-03 14:22:55 +02:00
dismine
4ba488d0c0 VAbstractDetail parent class for VDetail.
--HG--
branch : feature
2015-01-02 19:02:07 +02:00
dismine
112dbd7f4e Class for abstract detail.
--HG--
branch : feature
2015-01-02 18:32:26 +02:00
dismine
67c93e2b5b Initial commit for class VLayoutDetail.
--HG--
branch : feature
2015-01-02 16:14:28 +02:00
dismine
44372c7e6b Initial commit for static library VLayout.
--HG--
branch : feature
2015-01-02 15:53:36 +02:00
dismine
7d6f22d01b Better use method here.
--HG--
branch : develop
2015-01-02 13:13:14 +02:00
dismine
4bb5930cad Default value for seam allowence is 1 cm. But pattern have different units, so
just set 1 in dialog not enough.

--HG--
branch : develop
2015-01-02 13:08:24 +02:00
dismine
1a59396196 Method CheckLoops return wrong list of points if points less then 4.
--HG--
branch : develop
2015-01-02 13:00:20 +02:00
dismine
d59bfb8a56 Url to user manual for unstable builds.
--HG--
branch : develop
2015-01-01 14:00:17 +02:00
dismine
eb2e3ea799 By default on Windows font point size 8 points we need 11 like on Linux.
--HG--
branch : develop
2014-12-31 16:54:11 +02:00
dismine
6221833f45 Version 0.2.9.
--HG--
branch : develop
2014-12-31 15:55:41 +02:00
dismine
db3b35af46 Url to user manual for stable release.
--HG--
branch : develop
2014-12-31 15:48:43 +02:00
dismine
a72e1459e8 Updated translations.
--HG--
branch : develop
2014-12-31 14:28:08 +02:00
dismine
2efc995496 Fixed broken build on Windows.
--HG--
branch : develop
2014-12-31 13:28:55 +02:00
dismine
8bbfacabb4 Since Qt 5.4.0 the source code location is recorded only in debug builds.
We need this information also in release builds. For this need define
QT_MESSAGELOGCONTEXT.

--HG--
branch : develop
2014-12-31 13:25:22 +02:00
dismine
eb17d6b37e Command for taking build revision number now work on Windows.
--HG--
branch : develop
2014-12-30 23:21:59 +02:00
dismine
7da26995c3 Patrick in list of contributors.
--HG--
branch : develop
2014-12-30 21:42:58 +02:00
dismine
08f8fc70e1 Same lenght to point label for draw and detail.
--HG--
branch : develop
2014-12-29 20:19:23 +02:00
dismine
56653c7943 Changes in version policy. Major.Minor.Debug.Distance.
Also now we save build revision number.

--HG--
branch : develop
2014-12-29 18:06:09 +02:00
dismine
3febdd31fb Check if log file empty.
--HG--
branch : develop
2014-12-27 21:12:45 +02:00
dismine
4e6b5a8f24 Return support for pattern format version 0.1.0.
--HG--
branch : develop
2014-12-27 13:15:34 +02:00
dismine
541d3d2eac Fixed issue #214.
--HG--
branch : develop
2014-12-26 15:56:07 +02:00
dismine
64f0d13449 Fixed issue #213.
--HG--
branch : develop
2014-12-26 13:17:11 +02:00
dismine
8563234dae More log information.
--HG--
branch : develop
2014-12-25 21:29:04 +02:00
dismine
13f87b66f4 More log information.
--HG--
branch : develop
2014-12-25 21:04:10 +02:00
dismine
ccd06caef9 Fix for line to label.
--HG--
branch : develop
2014-12-25 19:19:31 +02:00
dismine
141ec30b8c Make visiable amied axis.
--HG--
branch : develop
2014-12-25 18:22:32 +02:00
dismine
e431388be8 Don't scale points.
--HG--
branch : develop
2014-12-25 18:21:56 +02:00
dismine
a49606a0de Fixed issue #211.
--HG--
branch : develop
2014-12-25 18:21:01 +02:00
dismine
163200a8c5 Better don't be silent.
--HG--
branch : develop
2014-12-25 17:50:46 +02:00
dismine
100857ab21 Don't use scaling factor for circle.
--HG--
branch : develop
2014-12-25 16:06:50 +02:00
dismine
44b3064290 Undo moving label.
--HG--
branch : develop
2014-12-25 13:33:27 +02:00
dismine
c978a8c090 Set undo stack clean after each document save.
--HG--
branch : develop
2014-12-25 12:28:42 +02:00
dismine
45aebc627e Delete previous file name from restore list after save as action.
--HG--
branch : develop
2014-12-24 16:39:44 +02:00
dismine
a1bb140bb5 Hide objects before they need.
--HG--
branch : develop
2014-12-24 15:13:13 +02:00
dismine
4fe796f508 Crash. Forgot check event type.
--HG--
branch : develop
2014-12-24 14:11:47 +02:00
dismine
586b541aec Lite parse each time was changed active pattern piece.
--HG--
branch : develop
2014-12-24 14:08:08 +02:00
dismine
955b0148e9 Disable SCASSERT function if debugging is not set.
--HG--
branch : develop
2014-12-24 11:54:56 +02:00
dismine
2beb229f9c Some systems use special name for lrelease. For example opensuse 13.2 has
lrelease-qt5.

--HG--
branch : develop
2014-12-23 14:00:29 +02:00
dismine
a706f2fb58 Set to prefix (/usr) if library prefix (/usr/lib) is empty and not just to
default prefix.

--HG--
branch : develop
2014-12-23 00:13:25 +02:00
dismine
9bfe1f3cd9 Minimal Qt version 5.2.0.
--HG--
branch : develop
2014-12-22 21:46:36 +02:00
dismine
42275e32b0 First try create rpm package.
--HG--
branch : develop
2014-12-22 19:06:24 +02:00
dismine
5d12cf5e99 Coverity Scan warnings.
--HG--
branch : develop
2014-12-21 22:33:31 +02:00
dismine
d8dfa651ff Cppcheck warnings.
--HG--
branch : develop
2014-12-21 13:35:12 +02:00
dismine
bd6cf95340 GCC warnings.
--HG--
branch : develop
2014-12-21 12:56:31 +02:00
dismine
f62b78bd9b Compile debug build with gcc's Address Sanitizer.
--HG--
branch : develop
2014-12-20 20:18:00 +02:00
dismine
a94d7b4066 Fixed issue #200.
--HG--
branch : develop
2014-12-19 09:19:26 +02:00
dismine
dfd1b35562 Windows build.
--HG--
branch : develop
2014-12-18 13:34:32 +02:00
dismine
934ccce310 Added translation for library vobj.
--HG--
branch : develop
2014-12-18 12:52:39 +02:00
dismine
0e6188d847 Application crash.
--HG--
branch : feature
2014-12-17 14:57:17 +02:00
dismine
d6c78ca1a1 All points in detail should go clockwise. This mean in some cases need reverse
curves that go anticlockwise. Old method reversing curves doesn't work
correct in all cases. I don't see now way automatically handle this. That's
why now user can choose himself need reverse points for this curve or not.

Also this mean increment in format version to 0.1.2.

--HG--
branch : feature
2014-12-17 14:56:14 +02:00
dismine
fa9a1d7807 Cutting too long an acute angle.
--HG--
branch : feature
2014-12-17 12:02:45 +02:00
dismine
8fac8f87ae Fixed disappearing curve in detail if path counterclockwise.
--HG--
branch : feature
2014-12-16 15:33:00 +02:00
dismine
ad96323e29 Preparation for new changes in pattern format.
--HG--
branch : feature
2014-12-16 09:42:24 +02:00
dismine
9621904b97 By default seam allowence for the detail is 1 pattern's units.
--HG--
branch : feature
2014-12-15 16:28:03 +02:00
dismine
aed090aed3 New better way select objects for creation a detail.
Now the detail cutting points and use only cutted part for creation paths.

--HG--
branch : feature
2014-12-15 16:25:40 +02:00
dismine
30d1fad26f Static library for export a layout to Wavefront OBJ file.
--HG--
branch : develop
2014-12-12 16:08:31 +02:00
dismine
0efbe1745c Fixed issue #198.
--HG--
branch : develop
2014-12-12 14:35:54 +02:00
dismine
8c2a06e63f If not get all list of details user will not show all details for creation a
layout. For this change mode from Draw to Details and than prepare details.

--HG--
branch : develop
2014-12-12 12:30:02 +02:00
dismine
3293916d50 Don't open new window if user canceled opening file.
--HG--
branch : develop
2014-12-12 11:56:26 +02:00
dismine
dd0d3faae6 Rules for creation version.
--HG--
branch : develop
2014-12-12 11:47:12 +02:00
dismine
3ebb56a40c Add conversion when openning pattern.
--HG--
branch : feature
2014-12-11 22:56:59 +02:00
dismine
1d1b3e3670 Method Convert.
--HG--
branch : feature
2014-12-11 22:54:33 +02:00
dismine
1d9fd7109d Validate file by using xsd schema for this version.
--HG--
branch : feature
2014-12-11 22:19:17 +02:00
dismine
941b43b5b5 Path to file version sxd schema.
--HG--
branch : feature
2014-12-11 22:16:03 +02:00
dismine
1c4af06343 Check version number.
--HG--
branch : feature
2014-12-11 21:44:48 +02:00
dismine
fb8849f798 Convert version string to number.
--HG--
branch : feature
2014-12-11 20:40:26 +02:00
dismine
71f070a509 Validation version.
--HG--
branch : feature
2014-12-11 18:14:02 +02:00
dismine
51b89a5497 Get version information.
--HG--
branch : feature
2014-12-11 17:51:24 +02:00
dismine
fb405d5754 Move XSD files to library.
--HG--
branch : feature
2014-12-11 17:12:16 +02:00
dismine
21d1a781fd Converter inherits class VDomDocument.
--HG--
branch : feature
2014-12-10 20:33:20 +02:00
dismine
394d54e9c1 Convertor need throw exceptions.
--HG--
branch : feature
2014-12-10 20:01:33 +02:00
dismine
c97668d3d3 Initial commit for new static library IFC (internal format converter).
--HG--
branch : feature
2014-12-10 19:18:22 +02:00
dismine
2ccb7ca797 First attempt fix issue #197.
--HG--
branch : develop
2014-12-07 13:31:34 +02:00
dismine
360aee82be Keep all flags icons in the separate resource file.
--HG--
branch : develop
2014-12-05 14:52:24 +02:00
dismine
fbf849fffe Added translation for Indonesian language.
--HG--
branch : develop
2014-12-05 14:39:27 +02:00
dismine
daaece92c9 Updated translations. From now one strings for translation also available for
whole project: binary and libraries.

--HG--
branch : develop
2014-12-05 14:00:18 +02:00
dismine
44ce1b4e83 Mark that we made some little changes and added class QmuTranslation.
--HG--
branch : develop
2014-12-04 19:57:22 +02:00
dismine
952d5e7a26 QmuParser library now have similar class for translation. Better delete
VTranslation and use QmuTranslation instead.

--HG--
branch : develop
2014-12-04 19:55:49 +02:00
dismine
91bc32b71f Use little trick for translation error strings from math parser.
--HG--
branch : develop
2014-12-04 19:28:47 +02:00
dismine
79958f4cfd Don't compress qm files. This make some translations unavailable.
--HG--
branch : develop
2014-12-04 18:05:47 +02:00
dismine
81c5e8f659 Don't need translate string "...".
--HG--
branch : develop
2014-12-04 13:35:59 +02:00
dismine
e0c38e217a Translate parser error message.
--HG--
branch : develop
2014-12-04 13:35:29 +02:00
dismine
2aaf530e85 Translation will not work for class that inherits VProperty if class doesn't
containe macross Q_OBJECT.

--HG--
branch : develop
2014-12-04 13:34:48 +02:00
dismine
ff9ba9601c Correction tooltipe for curved path.
--HG--
branch : develop
2014-12-04 13:23:40 +02:00
dismine
b4eb1e7ae0 Wrong string for translation.
--HG--
branch : develop
2014-12-04 13:22:50 +02:00
dismine
7e86dcc97f One TS file for whole project.
Main reason make posible translate strings from qmuparser library.

--HG--
branch : develop
2014-12-03 16:11:57 +02:00
dismine
75428cd07c Link to User Manual.
--HG--
branch : develop
2014-12-01 14:11:25 +02:00
dismine
05a9c000ce Enabling ccache causes errors when building in osx in release mode.
--HG--
branch : develop
2014-11-30 17:47:37 +02:00
dismine
412d81fc3a Merge
--HG--
branch : develop
2014-11-30 17:43:14 +02:00
dismine
1056f063b6 Gather logs for sending or collecting.
--HG--
branch : develop
2014-11-30 17:30:47 +02:00
dismine
a25fe5dc2b Fix for method VGObject::BuildRay. Correct way make rect bigger.
--HG--
branch : develop
2014-11-30 13:34:27 +02:00
dismine
6ded3d1c2b Delete local reports older than 30 days.
--HG--
branch : develop
2014-11-29 14:12:43 +02:00
MitSchoko
023f85afc3 made disabling cchache optional for macosx
--HG--
branch : develop
2014-11-28 20:15:35 +01:00
dismine
eee931def0 Forgot to add const.
--HG--
branch : develop
2014-11-28 20:41:46 +02:00
MitSchoko
2697bdeef7 Added missing includes.
Also added extra line in app.pro to fix library copy error when building on macosx

--HG--
branch : develop
2014-11-28 19:33:28 +01:00
dismine
eff6143f97 Allow user try open file twice from menu.
--HG--
branch : develop
2014-11-28 19:55:27 +02:00
dismine
e25dfbada9 Do not open file if already opened in another window.
--HG--
branch : develop
2014-11-28 19:15:23 +02:00
dismine
818cf7747c Lock pattern file. Filter list files for restore.
--HG--
branch : develop
2014-11-28 18:50:22 +02:00
dismine
95373a0d4a Handle path to file with spaces on Windows. Second try.
--HG--
branch : develop
2014-11-28 17:16:39 +02:00
dismine
b5f119558d Each Valentina's process have own log file.
--HG--
branch : develop
2014-11-28 15:49:06 +02:00
MitSchoko
b48f9032f9 removed newline
--HG--
branch : develop
2014-11-27 00:28:46 +01:00
MitSchoko
35ddb14011 Merge
--HG--
branch : develop
2014-11-27 00:08:30 +01:00
dismine
2f74c280ac Handle path to file with spaces on Windows.
--HG--
branch : develop
2014-11-26 20:34:43 +02:00