repoindex/gui/mainwindow.h

36 lines
593 B
C
Raw Normal View History

2016-02-27 21:00:58 +01:00
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
2019-06-10 15:39:56 +02:00
#include "./gui/webviewdefs.h"
#include "./gui/webviewincludes.h"
2016-02-27 21:00:58 +01:00
#include <QMainWindow>
namespace RepoIndex {
2016-02-28 02:33:25 +01:00
class Manager;
2016-02-27 21:00:58 +01:00
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
2016-02-28 02:33:25 +01:00
MainWindow(const QString &webdir, Manager *manager);
2016-02-27 21:00:58 +01:00
protected:
bool event(QEvent *event);
2020-03-08 14:12:22 +01:00
private Q_SLOTS:
2016-02-27 21:00:58 +01:00
void showInfoWebViewContextMenu(const QPoint &);
void copyInfoWebViewSelection();
private:
2016-02-28 02:33:25 +01:00
Manager *m_manager;
2019-06-10 15:39:56 +02:00
REPOINDEX_WEB_VIEW m_webView;
2016-02-28 02:33:25 +01:00
QMenu *m_contextMenu;
QAction *m_copyAction;
2016-02-27 21:00:58 +01:00
};
}
#endif // MAINWINDOW_H