Commit graph

26 commits

Author SHA1 Message Date
BojanKverh 0e7b369c2e Corrected all the issues reported by Roman till 10:11 AM
--HG--
branch : feature
2016-07-22 11:56:45 +02:00
BojanKverh 312b8e458b Centered the label texts and did some refactoring, so that the label content is generated in one place
--HG--
branch : feature
2016-07-21 21:46:49 +02:00
BojanKverh c9ee648cb8 Refactored the text managing in labels
--HG--
branch : feature
2016-07-18 22:30:14 +02:00
BojanKverh 25a58421cc Added pattern size field and creation date visibility flag to pattern properties
--HG--
branch : feature
2016-07-16 01:12:51 +02:00
BojanKverh ea9cdd46b2 Fixed some code style errors and checking label position at resizing
--HG--
branch : feature
2016-07-14 02:59:42 +02:00
BojanKverh 634d8773de Labels now cannot go outside the detail bounding box with any operation (move, resize or rotate)
--HG--
branch : feature
2016-07-14 02:10:27 +02:00
BojanKverh 7c2f4e54ba Fixed cursor handling on vtextgraphicsitem
--HG--
branch : feature
2016-07-12 23:11:17 +02:00
BojanKverh e5f7c47828 Removed some compiler warnings and set the resize cursor when label is being resized
--HG--
branch : feature
2016-07-10 12:39:50 +02:00
BojanKverh 6e1dce0cd7 Fixed moving labels and added warning icon to detail dialog when detail name is empty
--HG--
branch : feature
2016-07-08 00:46:33 +02:00
BojanKverh 3a40927764 Fixed layout in detail dialog and painting of text item in rotate mode
--HG--
branch : feature
2016-07-06 22:15:32 +02:00
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 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 23a31b1fa9 Rotation of the labels. There are a couple of bugs still to fix
--HG--
branch : feature
2016-06-30 18:04:25 +02:00
BojanKverh 0f90b61235 Fixed the vtextgraphicsitem mouse events bug
--HG--
branch : feature
2016-06-29 23:52:48 +02:00
BojanKverh caa13f06ac Corrected some warnings
--HG--
branch : feature
2016-06-29 23:39:52 +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