2.QLabel,QPushButton,QLineEdit,QComboBox,QCheckBox,QRadioButton,QTextEdit,QTextBrowser,QGroupBox,QSl
1.新建一个空项目(其它项目—>空QT项目):2 添加新文件(选择C++Class)MyWidget.h#ifndefMYWIDGET_H#defineMYWIDGET_H #include#includeclassMyWidget:publicQWidget{ Q_OBJECTpublic: explicitMyWidget(QWidget*parent=0); QTextEd