还是上次的hello qt!这次增加一个自定义的槽函数,用来改变QDlabel的内容. 改后的hello.h #ifndef _HELLO_H_ #define _HELLO_H_ #include<QtGui/QtGui> #include<QDialog> class hello:
hello每次都是伴随之我们学习语言入门的,这个是我学Qt的第一个程序。这个的源代码文件有三个,分别是hello.h,hello.cpp,mian.cpp. hello.h #ifndef _HELLO_H_ #define _HELLO_H_ #include<QtGui/QtGui> #include<QDialog>
Copyright © 2005-2025 51CTO.COM 版权所有 京ICP证060544号