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: Dialog class to display some useful message. |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef DIALOGMSG_H_ |
|
19 #define DIALOGMSG_H_ |
|
20 |
|
21 #include <qdialog.h> |
|
22 |
|
23 class QPushButton; |
|
24 class QLabel; |
|
25 class QWidget; |
|
26 |
|
27 class DialogMsg : public QDialog |
|
28 { |
|
29 Q_OBJECT |
|
30 |
|
31 public: |
|
32 DialogMsg(QWidget* parent = 0); |
|
33 virtual ~DialogMsg(); |
|
34 |
|
35 public slots: |
|
36 void showMsg(const QString); |
|
37 |
|
38 private: |
|
39 void createControls(); |
|
40 void setLayout(); |
|
41 void setupEventHandler(); |
|
42 |
|
43 private: |
|
44 QPushButton* btnOk; |
|
45 QLabel* lableMsg; |
|
46 }; |
|
47 |
|
48 #endif /* DIALOGMSG_H_ */ |