您的位置:首页 > 编程语言 > Qt开发

Qt状态栏

2016-02-19 13:57 489 查看
版权声明:本文为博主原创文章,遵循 CC 4.0 by-sa 版权协议,转载请附上原文出处链接和本声明。 本文链接:https://blog.csdn.net/lotushaiwei/article/details/50697499
 
ui->statusBar->showMessage(tr("欢迎访问"));
QLabel *permanent = new QLabel(this);
permanent->setFrameStyle(QFrame::Box|QFrame::Sunken);
permanent->setText(
tr("<a href=\"http://lotushai.lofter.com\">lihaiwei</a>"));
permanent->setTextFormat(Qt::RichText);
permanent->setOpenExternalLinks(true);
ui->statusBar->addPermanentWidget(permanent);
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: