摘要:通过几天的摸索,基本发现了两个VS的槽函数的修改方法一种是UI是通过UI 设计师拖出来的,类似VB的方法,通过拖的方法,按钮的代码是系统自动生成的,在UI.h的头文件下,这个时候,实现槽函数有个固定的格式。//槽函数在Header Files文件的头文件下#include #include "ui_qt1.h"class qt1 : public QMainWindow{ Q_OBJECTpublic: qt1(QWidget *parent = 0, Qt::WFlags flags = 0); ~qt1();private slots: void on_pushBu..
阅读全文
posted @ 2013-09-04 16:53