30 lines
678 B
C++
30 lines
678 B
C++
#ifndef PAGELOGS_H
|
|
#define PAGELOGS_H
|
|
|
|
#include "managepagebase.h"
|
|
|
|
class LogsViewModel;
|
|
class QHideEvent;
|
|
class QScrollArea;
|
|
class QShowEvent;
|
|
class QuickPageHost;
|
|
|
|
// Compatibility shell retained until ManageView itself moves to QML.
|
|
class PageLogs : public ManagePageBase {
|
|
Q_OBJECT
|
|
public:
|
|
explicit PageLogs(QEmbyCore *core, QWidget *parent = nullptr);
|
|
QScrollArea *scrollArea() const { return m_scrollArea; }
|
|
|
|
protected:
|
|
void showEvent(QShowEvent *event) override;
|
|
void hideEvent(QHideEvent *event) override;
|
|
|
|
private:
|
|
QuickPageHost *m_quickHost = nullptr;
|
|
LogsViewModel *m_viewModel = nullptr;
|
|
QScrollArea *m_scrollArea = nullptr;
|
|
};
|
|
|
|
#endif // PAGELOGS_H
|