Qt用qt开发界面 Web Service是用C语言开发,需要搭建服务器才可以运行
代码片段和文件信息
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 714283 2010-05-25 12:13 1qtwebserv1qtwebserv
文件 325 2010-05-25 12:13 1qtwebserv1qtwebserv.pro
文件 4879 2010-05-25 18:42 1qtwebservform1.cpp
文件 4879 2010-05-25 18:42 1qtwebservform1.cpp~
文件 1255 2010-05-24 20:04 1qtwebservform1.h
文件 1255 2010-05-24 00:58 1qtwebservform1.h~
文件 361328 2010-05-25 12:13 1qtwebservform1.o
文件 57 2010-05-15 20:39 1qtwebservhello.cgi
文件 110 2010-05-24 15:04 1qtwebservlog.txt
文件 55 2010-05-24 11:26 1qtwebservlog.txt~
文件 4130 2010-05-25 23:59 1qtwebservlogfile.txt
文件 207 2010-05-23 11:32 1qtwebservmain.cpp
文件 207 2010-05-23 11:29 1qtwebservmain.cpp~
文件 301808 2010-05-25 12:06 1qtwebservmain.o
文件 3105 2010-05-25 12:13 1qtwebservMakefile
文件 3053 2010-05-24 21:18 1qtwebservmoc_form1.cpp
文件 316820 2010-05-24 21:18 1qtwebservmoc_form1.o
文件 36 2010-05-20 11:43 1qtwebservmyqmake
文件 12995 2010-05-25 12:20 1qtwebserv webserv.cpp
文件 12995 2010-05-25 12:20 1qtwebserv webserv.cpp~
文件 400 2010-05-25 12:05 1qtwebserv webserv.h
文件 400 2010-05-25 12:05 1qtwebserv webserv.h~
文件 342596 2010-05-25 12:06 1qtwebserv webserv.o
目录 0 2010-05-26 04:04 1qtwebserv
文件 783872 2010-05-26 03:33 张永贵论文.doc
----------- --------- ---------- ----- ----
2871050 25
/****************************************************************************
** Form implementation generated from reading ui file ‘form1.ui‘
**
** Created: 日 5月 23 14:49:39 2010
** by: The User Interface Compiler ($Id: qt/main.cpp 3.1.1 edited Nov 21 17:40 $)
**
** WARNING! All changes made in this file will be lost!
****************************************************************************/
#include “form1.h“
#include “twebserv.h“
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
/*
* Constructs a Form1 as a child of ‘parent‘ with the
* name ‘name‘ and widget flags set to ‘f‘.
*
* The dialog will by default be modeless unless you set ‘modal‘ to
* TRUE to construct a modal dialog.
*/
Form1::Form1( QWidget* parent const char* name bool modal WFlags fl )
: QDialog( parent name modal fl )
{
if ( !name )
setName( “Form1“ );
setPaletteForegroundColor( QColor( 0 0 0 ) );
setPaletteBackgroundColor( QColor( 146 200 118 ) );
textLabel1 = new QLabel( this “textLabel1“ );
textLabel1->setGeometry( QRect( 130 20 251 51 ) );
textLabel1_2_2 = new QLabel( this “textLabel1_2_2“ );
textLabel1_2_2->setGeometry( QRect( 330 60 80 31 ) );
textLabel1_2 = new QLabel( this “textLabel1_2“ );
textLabel1_2->setGeometry( QRect( 40 60 80 31 ) );
pushButton2 = new QPushButton( this “pushButton2“ );
pushButton2->setGeometry( QRect( 400 190 80 30 ) );
pushButton3 = new QPushButton( this “pushButton3“ );
pushButton3->setGeometry( QRect( 400 240 80 30 ) );
pushButton1 = new QPushButton( this “pushButton1“ );
pushButton1->setGeometry( QRect( 400 140 80 30 ) );
textEdit1 = new QTextEdit( this “textEdit1“ );
textEdit1->setGeometry( QRect( 20 140 360 180 ) );
lineEdit4 = new QLineEdit( this “lineEdit4“ );
lineEdit4->setGeometry( QRect( 340 90 81 31 ) );
lineEdit3 = new QLineEdit( this “lineEdit3“ );
lineEdit3->setGeometry( QRect( 190 90 81 31 ) );
lineEdit2 = new QLineEdit( this “lineEdit2“ );
lineEdit2->setGeometry( QRect( 40 90 81 31 ) );
languageChange();
resize( QSize(491 347).expandedTo(minimumSizeHint()) );
// signals and slots connections
connect( lineEdit2 SIGNAL( textChanged (const QString & )) this SLOT( readcmd() ) );
connect( lineEdit3 SIGNAL( textChanged (const QString & )) this SLOT( readcmd() ) );
connect( lineEdit4 SIGNAL( textChanged (const QString & )) this SLOT( readcmd() ) );
connect( pushButton1 SIGNAL( clicked() ) this SLOT( run() ) );
connect( pushButton2 SIGNAL( clicked() ) this SLOT( readfile() ) );
connect( pushButton3 SIGNAL( clicked() ) this SLOT( close() ) );
}
/*
* Destroys the object and frees any allocate
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 714283 2010-05-25 12:13 1qtwebserv1qtwebserv
文件 325 2010-05-25 12:13 1qtwebserv1qtwebserv.pro
文件 4879 2010-05-25 18:42 1qtwebservform1.cpp
文件 4879 2010-05-25 18:42 1qtwebservform1.cpp~
文件 1255 2010-05-24 20:04 1qtwebservform1.h
文件 1255 2010-05-24 00:58 1qtwebservform1.h~
文件 361328 2010-05-25 12:13 1qtwebservform1.o
文件 57 2010-05-15 20:39 1qtwebservhello.cgi
文件 110 2010-05-24 15:04 1qtwebservlog.txt
文件 55 2010-05-24 11:26 1qtwebservlog.txt~
文件 4130 2010-05-25 23:59 1qtwebservlogfile.txt
文件 207 2010-05-23 11:32 1qtwebservmain.cpp
文件 207 2010-05-23 11:29 1qtwebservmain.cpp~
文件 301808 2010-05-25 12:06 1qtwebservmain.o
文件 3105 2010-05-25 12:13 1qtwebservMakefile
文件 3053 2010-05-24 21:18 1qtwebservmoc_form1.cpp
文件 316820 2010-05-24 21:18 1qtwebservmoc_form1.o
文件 36 2010-05-20 11:43 1qtwebservmyqmake
文件 12995 2010-05-25 12:20 1qtwebserv webserv.cpp
文件 12995 2010-05-25 12:20 1qtwebserv webserv.cpp~
文件 400 2010-05-25 12:05 1qtwebserv webserv.h
文件 400 2010-05-25 12:05 1qtwebserv webserv.h~
文件 342596 2010-05-25 12:06 1qtwebserv webserv.o
目录 0 2010-05-26 04:04 1qtwebserv
文件 783872 2010-05-26 03:33 张永贵论文.doc
----------- --------- ---------- ----- ----
2871050 25
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。
评论列表(条)