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: |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef DATAPOPUP_H |
|
19 #define DATAPOPUP_H |
|
20 |
|
21 #include <HbDeviceDialog> |
|
22 #include <QFont> |
|
23 |
|
24 class EngineWrapper; |
|
25 |
|
26 class DataPopup : public HbDeviceDialog |
|
27 { |
|
28 Q_OBJECT |
|
29 |
|
30 public: |
|
31 DataPopup(EngineWrapper &engine); |
|
32 |
|
33 public slots: |
|
34 void show(); |
|
35 void hide(); |
|
36 void updateSamples(); |
|
37 void updateSettings(); |
|
38 void updateVisibility(bool foreground); |
|
39 |
|
40 signals: |
|
41 void clicked(); |
|
42 |
|
43 private slots: |
|
44 void triggerAction(QVariantMap data); |
|
45 |
|
46 private: |
|
47 QVariantMap collectParams() const; |
|
48 void updateData(); |
|
49 |
|
50 private: |
|
51 EngineWrapper &mEngine; |
|
52 |
|
53 bool mPopupCreated; |
|
54 |
|
55 bool mPopupVisible; |
|
56 }; |
|
57 |
|
58 #endif // DATAPOPUP_H |