开发者

How to set QMainWindow title

开发者 https://www.devze.com 2023-02-01 06:42 出处:网络
How do I set the title of a QMainWindow? I tried googling and found setC开发者_StackOverflow社区aption(), but it appears it no longer works in Qt 4.The method is setWindowTitle():

How do I set the title of a QMainWindow?

I tried googling and found setC开发者_StackOverflow社区aption(), but it appears it no longer works in Qt 4.


The method is setWindowTitle():

setWindowTitle(const QString &)

http://doc.qt.io/qt-4.8/qwidget.html#windowTitle-prop

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号