Commit graph

51 commits

Author SHA1 Message Date
BojanKverh aa1d1f8ce1 Label cannot be moved outside of parent bounding box. Moving cursor is on when moving label. Name of detail moved to Pattern Piece Data tab. Hopefully all warnings removed
--HG--
branch : feature
2016-07-06 20:49:36 +02:00
BojanKverh cdd3e03e53 Merged develop into feature
--HG--
branch : feature
2016-07-06 17:58:17 +02:00
Roman Telezhynskyi 15e840f49a Small refactoring VToolDetail class.
--HG--
branch : develop
2016-07-06 13:34:39 +03:00
BojanKverh 5e3daf416c Fixed initial positioning of the labels
--HG--
branch : feature
2016-07-03 10:17:59 +02:00
BojanKverh 74a49662f6 Fixed rotation
--HG--
branch : feature
2016-07-02 11:15:41 +02:00
BojanKverh f52f97740d Moved pattern info geometry into VDetail class
--HG--
branch : feature
2016-07-02 01:49:38 +02:00
BojanKverh 6effc2b5cd Rotation bugs fixed
--HG--
branch : feature
2016-07-01 01:45:16 +02:00
BojanKverh 2b7f056566 Fixed schema and undo bug
--HG--
branch : feature
2016-06-27 20:51:29 +02:00
BojanKverh 6577d82771 Added new schema to accomodate for new parameters and did some other minor changes. There is a bug with Undo on details label, will check that later
--HG--
branch : feature
2016-06-27 17:18:43 +02:00
BojanKverh 80fcf30776 Moving, resizing and editing both labels now works
--HG--
branch : feature
2016-06-27 11:06:51 +02:00
BojanKverh fa105537d2 Moving and resizing pattern info label (has few bugs still, probably just XML parsing)
--HG--
branch : feature
2016-06-27 01:17:27 +02:00
BojanKverh e68fa3a0f3 Fixed few bugs: label position is preserved after editing detail, buttons for add/update/remove MCP are handled correcty. Added style to VTextGraphicsItem lines
--HG--
branch : feature
2016-06-26 14:21:06 +02:00
BojanKverh 21debaf249 Reimplemented QTextGraphicsItem class
--HG--
branch : feature
2016-06-25 17:19:44 +02:00
BojanKverh caa6b425b9 Tried QGraphicsTextItem::boundingBox approach
--HG--
branch : feature
2016-06-24 17:57:08 +02:00
BojanKverh 6fbffd2834 Position, size and font size of the text label are now saved into VDetail DOM tree. Undo/Redo for moving and resizing the label works.
--HG--
branch : feature
2016-06-23 22:35:32 +02:00
BojanKverh fc0b1dce9c Added label containing pattern piece information to vtooldetail, which can be moved/resized
--HG--
branch : feature
2016-06-23 00:59:45 +02:00
BojanKverh b14a3c9551 Fixed the SaveDetailOption::undo method and few code style issues
--HG--
branch : feature
2016-06-21 19:53:15 +02:00
Bojan Kverh 553f8dc2d2 Merged develop into feature
--HG--
branch : feature
2016-06-21 18:29:08 +02:00
BojanKverh c05c51e078 Finished the detail dialog
--HG--
branch : feature
2016-06-21 00:49:22 +02:00
BojanKverh 8140647242 Updated detail dialog with pattern piece data editing
--HG--
branch : feature
2016-06-18 22:14:35 +02:00
BojanKverh 1899abc39e Added pattern piece data dialog, which can be accessed with right mouse click in Detail mode
--HG--
branch : feature
2016-06-18 16:00:01 +02:00
Roman Telezhynskyi 76d1c02423 Call details context menu through label.
--HG--
branch : develop
2016-06-17 16:13:49 +03:00
Roman Telezhynskyi d13937fb40 Clicking on notselectable object do not clean previous selections.
--HG--
branch : develop
2016-05-24 12:43:30 +03:00
Roman Telezhynskyi b05da647fe Moving labels and curves did not call resizing scene.
--HG--
branch : develop
2016-05-20 15:20:08 +03:00
Roman Telezhynskyi ac49d298f8 Refactoring. Use tag names from class VAbstractPattern.
--HG--
branch : feature
2016-05-16 20:59:04 +03:00
Roman Telezhynskyi 7dbba35919 Parse the tool in a file.
--HG--
branch : feature
2016-05-16 20:27:51 +03:00
Roman Telezhynskyi 49bee0cada Delete key did not work.
--HG--
branch : develop
2016-05-08 18:04:18 +03:00
Roman Telezhynskyi cb67249b54 New undo command Add Group.
--HG--
branch : feature
2016-04-06 12:03:34 +03:00
Roman Telezhynskyi 351f01e0e3 Disable hover and selection when work with a tool.
--HG--
branch : feature
2016-03-31 17:01:41 +03:00
Roman Telezhynskyi 0d4c6c2208 By default user can select only labels by rubber band.
--HG--
branch : develop
2016-03-28 17:10:19 +03:00
Roman Telezhynskyi ff667c8602 The tool Detail now supports Cubic Bezier Path curve.
--HG--
branch : develop
2016-03-22 17:33:05 +02:00
Roman Telezhynskyi 2d69e1a46f The tool Detail now supports Cubic Bezier curve.
--HG--
branch : feature
2016-03-10 19:08:37 +02:00
Roman Telezhynskyi 40436a5c57 Successfull build, bugs was not fixed.
--HG--
branch : feature
2016-03-04 18:08:29 +02:00
Roman Telezhynskyi 8683b69f13 Select an item inside mousePressEvent() instead mouseReleaseEvent().
--HG--
branch : feature
2016-02-11 13:05:08 +02:00
Roman Telezhynskyi 85f5df4b21 Removing objects before each FullParse. NodeArc, NodeSpline, NodeSplinePath are
not part of a scene anymore.

--HG--
branch : develop
2016-02-10 18:45:49 +02:00
Roman Telezhynskyi 9eac04654c Refactoring. Always use AddTool method.
--HG--
branch : develop
2016-02-10 12:13:34 +02:00
Roman Telezhynskyi 7982e48e4e If item's rect is bigger than view's rect ensureVisible works very unstable.
(grafted from d807a6fc7a9c1abc588dfda621ac7b70f90b401b)

--HG--
branch : develop
2016-01-15 14:57:47 +02:00
Roman Telezhynskyi 6a28f464b9 Fix recalculation the scene when move detail.
(grafted from 2a58800bc48bc82057c7bec08d007eb133849b5b)

--HG--
branch : develop
2016-01-15 14:56:33 +02:00
Roman Telezhynskyi 3d6f8e0caa Brush detail.
--HG--
branch : develop
2016-01-10 15:31:43 +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
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 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
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 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
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
Valentina Zhuravska dfa46dc1cd Added mousePressEvent and changed QApplication::setOverrideCursor to SetOverrideCursor
--HG--
branch : feature
2015-12-02 23:07:23 +02:00
Valentina Zhuravska 75a4acaea7 Resolved Issue #272. Show that user can move workpiece.
--HG--
branch : feature
2015-12-02 21:33:42 +02:00
Roman Telezhynskyi 345b0e5c7f Fixed crash after undo creating a pattern piece.
--HG--
branch : develop
2015-11-02 18:25:29 +02:00
Roman Telezhynskyi 88324a11f2 Static Code Analysis.
--HG--
branch : develop
2015-10-28 16:22:36 +02:00