PDA

View Full Version : QTextBlockFormat UserProperty is lost on Copy/Paste event



'milimoj
19th November 2015, 21:16
I am using QGraphicsTextItem in my text editor.
I am using QTextBlockFormat UserProperty to save one int value for each QTextBlock in document.
When I do Copy (Ctrl+c) event with selected block, and then Paste event (Ctrl+V) block is copied OK with all of its formating but UserProperty value is lost.