-
Notifications
You must be signed in to change notification settings - Fork 0
/
hutclient.h
47 lines (39 loc) · 903 Bytes
/
hutclient.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#ifndef HUTCLIENT_H
#define HUTCLIENT_H
#include <QMainWindow>
#include <QDockWidget>
#include <QLabel>
#include <QStatusBar>
#include "logindlg.h"
#include "controlpanel.h"
#include "datawidget.h"
#include "student.h"
namespace Ui {
class HutClient;
}
class HutClient : public QMainWindow
{
Q_OBJECT
public:
explicit HutClient(QWidget *parent = 0);
~HutClient();
void initMainWidget();
void initMainAction();
void initConnection();
public:
ControlPanel *controlPanel;
DataWidget *dataWidget;
QDockWidget *dock;
Student *stu;
LoginDlg *login;
private slots:
void callControlPanel(); /* 控制面板的显隐 */
void launchStudent(); /* 生成学生个人信息窗口 */
void setLabelStatus(QString &str);
void showAuthorMsg();
private:
Ui::HutClient *ui;
QLabel *label;
QAction *addTableRow, *subTableRow;
};
#endif // HUTCLIENT_H