Commit Graph

34 Commits

Author SHA1 Message Date
Roman Telezhynskyi
b2ed7d9db4 Refactoring. Add a move assignment operator to all classes that use
QSharedDataPointer class to keep data.

--HG--
branch : release
2017-04-19 13:27:17 +03:00
Roman Telezhynskyi
e3d6b32aec Do not use "volatile" to sync threads.
--HG--
branch : develop
2017-02-22 14:04:47 +02:00
Roman Telezhynskyi
38abf5c9a0 Removed redundant forward declaration.
--HG--
branch : develop
2017-02-18 11:22:59 +02:00
Roman Telezhynskyi
10a13a499d Rename class VLayoutDetail.
--HG--
branch : feature
2017-01-22 11:02:02 +02:00
Roman Telezhynskyi
9b679d7c3e Resolved issue #595. GapWidth affecting to the margins.
--HG--
branch : develop
2016-12-10 18:38:34 +02:00
Roman Telezhynskyi
80f00b361d Use "Include What You Use" tool for optimizing #includes.
--HG--
branch : develop
2016-08-08 14:44:49 +03:00
Roman Telezhynskyi
70fd0be830 Use Q_REQUIRED_RESULT where it make sense.
--HG--
branch : develop
2016-03-23 17:27:17 +02:00
Roman Telezhynskyi
595e5b0bf5 Resolved issue #306. Layout generator optimization. Divide into strips.
--HG--
branch : develop
2016-02-23 14:13:10 +02:00
Roman Telezhynskyi
f0691d7c9f Mark implicitly shared classes as a movable type. This can improve performance
and memory efficiency when using Qt's container classes.

--HG--
branch : develop
2015-11-25 20:56:17 +02:00
Roman Telezhynskyi
d1f18dc9a0 Use quint32 instead unsigned int.
--HG--
branch : develop
2015-10-26 10:36:07 +02:00
Roman Telezhynskyi
d4e13bfe34 Use Q_DECL_OVERRIDE.
--HG--
branch : develop
2015-07-03 16:36:54 +03:00
Roman Telezhynskyi
56c027686d New Layout setting "Save length of the sheet".
--HG--
branch : develop
2015-05-08 13:10:56 +03:00
Roman Telezhynskyi
44ef0936d9 Much more correct work with QThreadPool.
Use "volatile" keyword. Don't use method waitForDone() anymore.

--HG--
branch : develop
2015-05-06 17:09:58 +03:00
Roman Telezhynskyi
5766523733 Resolved issue #290. Add paper type 'Roll - 36" & 'Roll - 44" to 'Create Layout'
paper size.

--HG--
branch : develop
2015-05-02 19:21:47 +03:00
Roman Telezhynskyi
850d51adac cppcheck.
--HG--
branch : release
2015-03-02 19:54:33 +02:00
Roman Telezhynskyi
629a2a7579 Copyright dates.
--HG--
branch : develop
2015-02-27 12:27:48 +02:00
dismine
4a9e69d32f Saving the layout paper sheets.
--HG--
branch : feature
2015-01-23 12:07:58 +02:00
dismine
c84caa349d Clear layout paper.
--HG--
branch : feature
2015-01-22 16:23:23 +02:00
dismine
ef73b351ed New options: rotatate and rotation increase.
--HG--
branch : feature
2015-01-22 16:11:50 +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
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
c191059ddd Changed Point-In-Polygon Algorithm. Additional field for saving mirror state.
--HG--
branch : feature
2015-01-18 20:56:01 +02:00
dismine
1d1ae1acb4 Fixed creation global contour.
--HG--
branch : feature
2015-01-17 16:00:46 +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
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
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
007bc1466f Layout paper. Main algorithm.
--HG--
branch : feature
2015-01-10 15:47:46 +02:00