QT 字符换行
遇到显示过长的字符需要换行时,在合适的位置加入\n 就可以实现换行
这是没有添加换行
这是添加换行之后
QMessageBox::information(this, tr("Hit"), tr("So if I need to wrap a line here and add \n that's what's next on the line"), QMessageBox::Ok);
版权声明:本文为qq_26416495原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。