loginform.h~
来自「linux下的socket通信和c++」· H~ 代码 · 共 69 行
H~
69 行
/****************************************************************************** Form interface generated from reading ui file 'loginForm.ui'**** Created by: The User Interface Compiler ($Id: qt/main.cpp 3.3.8 edited Jan 11 14:47 $)**** WARNING! All changes made in this file will be lost!****************************************************************************/#ifndef LOGINFORM_H#define LOGINFORM_H#include <qvariant.h>#include <qdialog.h>#include <qstring.h>#include <qmessagebox.h> #include "chatform.h"#include "Socket.h"class QVBoxLayout;class QHBoxLayout;class QGridLayout;class QSpacerItem;class QLabel;class QLineEdit;class QPushButton;class Socket;class chatForm;class loginForm : public QDialog{ Q_OBJECTpublic: //loginForm( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ); loginForm(Socket s,QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0); ~loginForm(); QLabel* idlable; QLabel* pswdlable; QLineEdit* idTxt; QPushButton* resetBtn; QPushButton* okBtn; QPushButton* quitBtn; QLineEdit* pswdTxt; QString id; QString pswd; Socket sock; chatForm* fchat;protected: //char* msg;protected slots: virtual void languageChange(); virtual void GetTxt(); virtual void SendId(); virtual void SendPswd(); virtual void GetSerMsg(); virtual void Quit(); signals: void toSendId(); void toSendPswd(); void toGetSerMsg(); void toRetry();};#endif // LOGINFORM_H
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?