mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2024-11-27 11:10:19 -06:00
41 lines
732 B
C++
41 lines
732 B
C++
//////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// pgAdmin 4 - PostgreSQL Tools
|
|
//
|
|
// Copyright (C) 2013 - 2019, The pgAdmin Development Team
|
|
// 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:
|
|
explicit LogWindow(QWidget *parent = Q_NULLPTR, QString logFile = "");
|
|
~LogWindow();
|
|
|
|
void ReadLog();
|
|
|
|
private slots:
|
|
void reload();
|
|
|
|
private:
|
|
Ui::LogWindow *ui;
|
|
|
|
QString m_logFile;
|
|
};
|
|
|
|
#endif // LOGWINDOW_H
|