Closed GoogleCodeExporter closed 8 years ago
Added the code to translate model to GraphicsView items [svn r13]. Not much more
completed yet - mainly due to lack of time yesterday. Will work on more today
as I
have time.
Original comment by josiahbryan@gmail.com
on 9 Sep 2009 at 1:24
Reverted old corner item functionality today in r17. Added a *simple* toolbar
(one
button - "new" - adds a new text item.) Next steps is to create a TextBox item
(e.g.
wrap text to contentsrect) and a picture item. After that, create a viewer and
work
out how those two should "sync." Once that's done, we can close this milestone
and
move to Milestone D. See Wiki for Milestone D, till we add it here.
Original comment by josiahbryan@gmail.com
on 10 Sep 2009 at 3:08
*Still* on this issue. Totally blew the target out of the water :-) - mainly
due to
real-life time constraints. Also, the fact that the "TextBox" item (now in
items/TextBoxContent.cpp) was incredibly more complex and difficult to
implement than
expected. (I thought I'd just set some word wrap flags, turn off scaling, and
voila!
- no, of course not! I had to write my own wrapping code. Crikey.
Okay, now on to the rest of this - Template Model (ehhh..maybe this issue. Maybe
next.) Basic editor - got the toolbar. Need more "stuff" on the toolbar now.
Now we
have two working "items" - textbox and text. Need a photo item and a line - then
we're good. Those *should* (cross fingers) be really quick to do.
Then the "viewer" ...hmmm...that brings with it the "how to share" / "how to
update"
issues...need to think on that. (Ties in with the last item - editor publish
update.)
Alright, updating and will work on it more this afternoon/tomorrow sometime.
Original comment by josiahbryan@gmail.com
on 15 Sep 2009 at 3:48
Havn't finished anything from Comment 3, above (e.g. the part from "template
model"
and on.) See svn r25 for the work completed today - mainly focused on
finalizing the
document layout/text wrapping code in TextBoxItem.cpp so I can move on to the
rest of
the code. Also re-vamped the scaling code in CornerItem.cpp. Tomorrow I hope to
move
on to finalizing the BoxItem and adding a LineItem, CircleItem, and ImageItem,
each
with a toolbar button to add it and property pages to config stuff like fill,
line, etc.
Speaking of which - maybe I should add a generic "fill" and "line" attributes
to the
AbstractVisualItem model. Yes, I know QGraphicsItem handles them as Pen and
Brush -
but they are general enough they should be stored in a generic manner for all
visual
items. Items that dont need them can just ignore them. Yes, I think I will. Next
revision probably. Cheers!
Original comment by josiahbryan@gmail.com
on 16 Sep 2009 at 2:29
Closing due to the fact that we are...ohhh...300 revisions past this!
Original comment by josiahbryan@gmail.com
on 12 Nov 2009 at 7:03
Original issue reported on code.google.com by
josiahbryan@gmail.com
on 8 Sep 2009 at 2:20