QGraphicsTextItem , how to check my QGraphicsTextItem is in editing mode currently (the cursor in blinking)
-
QGraphicsTextItem , how to check my QGraphicsTextItem is in editing mode currently (the cursor in blinking). or not ?
@DonCoder
Did you check whether textCursor() returns a "null" cursor, might work?This property represents the visible text cursor in an editable text item.
By default, if the item's text has not been set, this property contains a null text cursor; otherwise it contains a text cursor placed at the start of the item's document.
-
@DonCoder
Did you check whether textCursor() returns a "null" cursor, might work?This property represents the visible text cursor in an editable text item.
By default, if the item's text has not been set, this property contains a null text cursor; otherwise it contains a text cursor placed at the start of the item's document.
-
D DonCoder has marked this topic as solved on