equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2010 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: Another view for test application. |
|
15 * |
|
16 */ |
|
17 #ifndef HGTESTVIEW_H_ |
|
18 #define HGTESTVIEW_H_ |
|
19 |
|
20 #include <hbview.h> |
|
21 |
|
22 class HbAction; |
|
23 class HbLabel; |
|
24 |
|
25 class HgTestView : public HbView |
|
26 { |
|
27 Q_OBJECT |
|
28 |
|
29 public: |
|
30 HgTestView(const QString &title1, const QString &title2, const QPixmap &pixmap, QGraphicsItem *parent=0); |
|
31 |
|
32 private slots: |
|
33 void closeView(); |
|
34 |
|
35 private: |
|
36 void resizeEvent(QGraphicsSceneResizeEvent *event); |
|
37 |
|
38 private: |
|
39 HbAction *mBackAction; |
|
40 HbLabel *mIconLabel; |
|
41 QPixmap mPixmap; |
|
42 }; |
|
43 |
|
44 #endif /* HGTESTVIEW_H_ */ |