summaryrefslogtreecommitdiffstats
path: root/Widget.h
blob: 40079e257a4ac4cb78b108844cddfed8d4d3dc82 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#ifndef WIDGET_H
#define WIDGET_H

#include <QWidget>
#include <QUrl>
class QWebView;
class QLineEdit;
class QPushButton;

class Widget : public QWidget
{
	Q_OBJECT

public:
	Widget(QWidget *parent = 0);

private:
	QWebView *m_webView;
	QLineEdit *m_entry;
	QPushButton *m_stopReload;
	bool m_reloadButtonOn;

private slots:
	void navigate();
	void navigated(const QUrl &url);
	void doStopReload();
	void setReloadOn();
	void setReloadOff();
};

#endif // WIDGET_H