nikonice |
2018-09-20 09:37 |
QGraphicsTextItem 无法输入中文
Qt 5.4.1下继承QGraphicsTextItem类在舞台上加入插件,无法输入中文
在网上查说需要加上 setFlags(QGraphicsItem::ItemIsSelectable | QGraphicsItem::ItemIsMovable | QGraphicsItem::ItemIsFocusable | QGraphicsItem::ItemAcceptsInputMethod);
但加入后依然无法输入中文,请问该怎么解决 [attachment=19502]
|
|