Details
-
Bug
-
Resolution: Unresolved
-
P4: Low
-
None
-
6.3.2
-
None
Description
If I type
QGraphicsSimpleTextItem *test_simple_text = new QGraphicsSimpleTextItem(QStringLiteral("test simple text")); qDebug() << "*** QGraphicsSimpleTextItem:" << test_simple_text;
it shows
*** QGraphicsSimpleTextItem: QGraphicsItem(0x562fda1f7250, pos=0,0)
I would expect it to display
** *QGraphicsSimpleTextItem: QGraphicsSimpleTextItem(0x562fda1f7250, pos=0,0, flags=(ItemUsesExtendedStyleOption))
Thats's said, it works as expected with QGraphicsTextItem.
QGraphicsTextItem *test_text = new QGraphicsTextItem("test text"); qDebug() << "*** QGraphicsTextItem:" << test_text;
it displays
*** QGraphicsTextItem: QGraphicsTextItem(0x562fda57e950, pos=0,0, flags=(ItemUsesExtendedStyleOption))