Qt编程
文章平均质量分 80
Sunrise0929
这个作者很懒,什么都没留下…
展开
-
Qt精彩实例(3)
实例8.进程条 这个必须要在.pro文件下加入:QT += testlib 这样才能解决这样的bug。error: collect2: ld returned 1 exit status progress.h #ifndef PROGRESS_H #define PROGRESS_H #include class Progress:public QDialog {原创 2013-08-13 10:57:27 · 555 阅读 · 0 评论 -
Qt精彩实例(4)& 自己实现的软件管家界面
实例12.qq用户资料修改 layoutdlg.h #ifndef LAYOUTDLG_H #define LAYOUTDLG_H #include class layoutdlg:public QDialog { //Q_OBJECT public: layoutdlg(QWidget *parent=0, Qt::WindowFlags f原创 2013-08-13 10:57:32 · 910 阅读 · 0 评论 -
Qt精彩实例(2)
实例5.各种消息框 dialog.h #ifndef DIALOG_H #define DIALOG_H #include #include #include namespace Ui { class Dialog; } class Dialog : public QDialog { Q_OBJECT pub原创 2013-08-13 10:57:25 · 547 阅读 · 0 评论 -
Qt精彩实例(1)
实例1.helloworld hello.cpp #include #include int main(int argc,char *argv[]) { QApplication app(argc, argv); QPushButton b("hello world"); b.show(); QObject::connec原创 2013-08-13 10:57:23 · 797 阅读 · 0 评论