form1.h

来自「vod 项目软件源代码」· C头文件 代码 · 共 61 行

H
61
字号
/****************************************************************************** Form interface generated from reading ui file 'form1.ui'**** Created: 一 10月 9 17:59:45 2006**      by: The User Interface Compiler ($Id: qt/main.cpp   3.3.4   edited Nov 24 2003 $)**** WARNING! All changes made in this file will be lost!****************************************************************************/#ifndef FORM1_H#define FORM1_H#define PORT "5555" /* the port client will be connecting to */#define MAXDATASIZE 1024 /* max number of bytes we can get at once */#include <qvariant.h>#include <qwidget.h>#include <qsocketdevice.h>#include <string.h>#include <iostream.h>class QVBoxLayout;class QHBoxLayout;class QGridLayout;class QSpacerItem;class QLineEdit;class QPushButton;class QListBox;class QListBoxItem;class Form1 : public QWidget{    Q_OBJECTpublic:    Form1( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );    ~Form1();    QLineEdit* lineEdit1;    QPushButton* pushButton1;    QListBox* listBox1;    QPushButton* pushButton2;    QPushButton* pushButton3;public slots:    virtual void onConnect();    virtual void onPlay();protected:protected slots:    virtual void languageChange();private:    char buf[MAXDATASIZE] ;    QSocketDevice *MUReceiveSocket;    QHostAddress their_addr;};#endif // FORM1_H

⌨️ 快捷键说明

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