QLabel启用复制功能

实现方式 ui->label_showFilePath->setTextInteractionFl […]

实现方式

ui->label_showFilePath->setTextInteractionFlags(Qt::TextSelectableByMouse);ui->label_showFilePath->setTextInteractionFlags(Qt::TextSelectableByMouse);

 

版权声明
文章标题:QLabel启用复制功能
文章链接:https://blog.chiyuba.com/houduanjishu/qt/144.html
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布,转载或引用请注明出处。
温馨提示:本文最后更新于 2021年7月14日,部分内容可能存在时效性,请注意甄别。

相关推荐

更多教程

评论