Give labels in Qt Forms
How can I set a label in Qt Ui forms.
Just click in the mainwindow.ui. Then in the Display widget label is present drag the label and placed it on the mainwindow.ui. Using the properties and change label according to your needs.
Use the QLabel class. In Qt Creator you will find it in the display widgets.
精彩评论