equal
deleted
inserted
replaced
1 /* |
|
2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef __IMAGEVIEW_P_H__ |
|
20 #define __IMAGEVIEW_P_H__ |
|
21 |
|
22 #include <QWidget> |
|
23 #include <QGraphicsWidget> |
|
24 #include <QAction> |
|
25 |
|
26 class QWebHistory; |
|
27 |
|
28 namespace WRT { |
|
29 |
|
30 class WrtBrowserContainer; |
|
31 class WrtPageManager; |
|
32 class FlowInterface; |
|
33 |
|
34 class ImageViewPrivate |
|
35 { |
|
36 public: // public actions available for this view |
|
37 QAction * m_actionForward; |
|
38 QAction * m_actionBack; |
|
39 QAction * m_actionOK; |
|
40 QAction * m_actionCancel; |
|
41 |
|
42 public: |
|
43 ImageViewPrivate(WrtPageManager * mgr, QWidget* parent); |
|
44 ImageViewPrivate(WrtPageManager * mgr, QGraphicsWidget* parent); |
|
45 ~ImageViewPrivate(); |
|
46 |
|
47 FlowInterface* m_flowInterface; |
|
48 QWidget * m_widgetParent; |
|
49 QGraphicsWidget * m_graphicsWidgetParent; |
|
50 |
|
51 WrtPageManager* m_pageManager; |
|
52 int m_imageIndex; |
|
53 WrtBrowserContainer* m_activePage; |
|
54 QList<QImage> m_imageList; |
|
55 |
|
56 bool m_isActive; |
|
57 |
|
58 private: |
|
59 void init(); |
|
60 |
|
61 }; |
|
62 } |
|
63 #endif // __IMAGEVIEW_P_H__ |
|