#ifndef CLIENTMAINWINDOW_H
|
#define CLIENTMAINWINDOW_H
|
|
#include <QMainWindow>
|
#include "logquery.h"
|
#include "common.h"
|
#include <QTcpSocket>
|
#pragma execution_character_set("utf-8")
|
|
namespace Ui {
|
class ClientMainWindow;
|
}
|
|
class ClientMainWindow : public QMainWindow
|
{
|
Q_OBJECT
|
|
public:
|
explicit ClientMainWindow(QWidget *parent = 0);
|
~ClientMainWindow();
|
|
void initUi();
|
|
signals:
|
void queryResSignal(LogQueryRes *);//日志查询响应信号
|
private slots:
|
void myRead();
|
private:
|
Ui::ClientMainWindow *ui;
|
LogQuery *m_logSer;
|
QTcpSocket *m_client;
|
};
|
|
#endif // CLIENTMAINWINDOW_H
|