摘要: 先在头文件中包含要引用的头文件在类中定义成员数据和成员函数#include<QPushButton>private: QPushButton *button;在源文件中使用button1.创建QPushButton控件 button = new QPushButton(this);2.给控件付属性 阅读全文
posted @ 2016-02-01 20:28 空想代码中 阅读(5959) 评论(0) 推荐(0) 编辑