您的位置首页生活快答 qt中如何在QGraphicsScene中添加Edit控件? Simone 发布于 2024-07-25 14:14:52 607 阅读 qt中如何在QGraphicsScene中添加Edit控件?的有关信息介绍如下:QGraphicsSimpleTextItem provides a simple text label itemQGraphicsTextItem provides an advanced text browser item这两个(反正第二个肯定可以的,第一个应该只是简单的lable),生成实例设置flag为Qt::TextEditorInteraction添加到screen就好了。