Hello all,
I have managed to do a lot of work on the application I am working on after an initial ramp-up period and I have run into a confusing problem.
I have as QTableView class that allows the user to type in text into a QDelegate'ed QTableWidgetItem. There is a SIGNAL/SLOT combo that calls QGraphicsTextItem::setPlainText() directly onto a QGraphicsTextItem control I have created.
The QGraphicsTextItem control is a child object to another QGraphicsItem, and both have been registered with the scene that is attached to the primary widget in the application.
The problem is that when I make the QGraphicsTextItem::setPlainText() call with some new text, all of the text in the item disappears.
I found a potential solution here: http://stackoverflow.com/questions/3...on-text-change
However that actually made the entire control disappear rather than make the text go away. I can select the empty control but I can no longer double-click in it and set the text that way like I could before the call.
Any ideas?
Cheers!
-Caolan.
Bookmarks