📄 loginform.h
字号:
/****************************************************************************** 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -