ladybird/Ladybird/BrowserWindow.h

27 lines
497 B
C
Raw Normal View History

2022-07-05 04:53:11 +00:00
#include <QIcon>
#include <QLineEdit>
#include <QMainWindow>
#include <QToolBar>
#pragma once
class WebView;
class BrowserWindow : public QMainWindow {
Q_OBJECT
public:
BrowserWindow();
WebView& view() { return *m_view; }
public slots:
void location_edit_return_pressed();
void page_title_changed(QString);
2022-07-05 04:53:11 +00:00
void page_favicon_changed(QIcon);
private:
QToolBar* m_toolbar { nullptr };
QLineEdit* m_location_edit { nullptr };
WebView* m_view { nullptr };
};