equal
deleted
inserted
replaced
1 /**************************************************************************** |
1 /**************************************************************************** |
2 ** |
2 ** |
3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). |
3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). |
4 ** All rights reserved. |
4 ** All rights reserved. |
5 ** Contact: Nokia Corporation (qt-info@nokia.com) |
5 ** Contact: Nokia Corporation (qt-info@nokia.com) |
6 ** |
6 ** |
7 ** This file is part of the demos of the Qt Toolkit. |
7 ** This file is part of the demos of the Qt Toolkit. |
8 ** |
8 ** |
47 |
47 |
48 class QUrl; |
48 class QUrl; |
49 class QWebView; |
49 class QWebView; |
50 class TitleBar; |
50 class TitleBar; |
51 class ControlStrip; |
51 class ControlStrip; |
|
52 class WebView; |
52 class ZoomStrip; |
53 class ZoomStrip; |
53 |
54 |
54 class BrowserView : public QWidget |
55 class BrowserView : public QWidget |
55 { |
56 { |
56 Q_OBJECT |
57 Q_OBJECT |
79 protected: |
80 protected: |
80 void resizeEvent(QResizeEvent *event); |
81 void resizeEvent(QResizeEvent *event); |
81 |
82 |
82 private: |
83 private: |
83 TitleBar *m_titleBar; |
84 TitleBar *m_titleBar; |
84 QWebView *m_webView; |
85 WebView *m_webView; |
85 ZoomStrip *m_zoomStrip; |
86 ZoomStrip *m_zoomStrip; |
86 ControlStrip *m_controlStrip; |
87 ControlStrip *m_controlStrip; |
87 int m_progress; |
88 int m_progress; |
88 int m_currentZoom; |
89 int m_currentZoom; |
89 QVector<int> m_zoomLevels; |
90 QVector<int> m_zoomLevels; |
90 }; |
91 }; |
91 |
92 |
92 #endif // BROWSERVIEW_H |
93 #endif // BROWSERVIEW_H |
|
94 |