2018-02-05 09:32:14 -06:00
|
|
|
//////////////////////////////////////////////////////////////////////////
|
|
|
|
//
|
|
|
|
// pgAdmin 4 - PostgreSQL Tools
|
|
|
|
//
|
2019-01-02 04:24:12 -06:00
|
|
|
// Copyright (C) 2013 - 2019, The pgAdmin Development Team
|
2018-02-05 09:32:14 -06:00
|
|
|
// This software is released under the PostgreSQL Licence
|
|
|
|
//
|
|
|
|
// LogWindow.h - Log viewer window
|
|
|
|
//
|
|
|
|
//////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef LOGWINDOW_H
|
|
|
|
#define LOGWINDOW_H
|
|
|
|
|
|
|
|
#include <QDialog>
|
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class LogWindow;
|
|
|
|
}
|
|
|
|
|
|
|
|
class LogWindow : public QDialog
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
2018-12-06 04:40:49 -06:00
|
|
|
explicit LogWindow(QWidget *parent = Q_NULLPTR, QString logFile = "");
|
2018-02-05 09:32:14 -06:00
|
|
|
~LogWindow();
|
|
|
|
|
|
|
|
void ReadLog();
|
|
|
|
|
|
|
|
private slots:
|
|
|
|
void reload();
|
|
|
|
|
|
|
|
private:
|
|
|
|
Ui::LogWindow *ui;
|
|
|
|
|
|
|
|
QString m_logFile;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // LOGWINDOW_H
|