hello.h

来自「基于qt的hello world 程序,在arm 的开发板上运行,」· C头文件 代码 · 共 40 行

H
40
字号
/****************************************************************************** Form interface generated from reading ui file 'hello.ui'**** Created: Fri Jun 25 16:29:29 2004**      by:  The User Interface Compiler (uic)**** WARNING! All changes made in this file will be lost!****************************************************************************/#ifndef HELLO_H#define HELLO_H#include <qvariant.h>#include <qwidget.h>class QVBoxLayout; class QHBoxLayout; class QGridLayout; class Hello : public QWidget{     Q_OBJECTpublic:    Hello( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );     ~Hello();//下面是手动添加的代码signals:    void clicked();protected:    void mouseReleaseEvent( QMouseEvent * );    void paintEvent( QPaintEvent * );private slots:    void animate();private:    QString t;    int     b;};#endif // HELLO_H

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?