سؤال

How do I set the title of a QMainWindow?

I tried googling and found setCaption(), but it appears it no longer works in Qt 4.

هل كانت مفيدة؟

المحلول

What, setWindowTitle() isn't obvious enough?

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

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top