|
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 HGMEDIAWALL_P_H |
|
19 #define HGMEDIAWALL_P_H |
|
20 |
|
21 #include <hgwidgets/hgmediawall.h> |
|
22 #include "hgwidgets_p.h" |
|
23 |
|
24 class HgCoverflowContainer; |
|
25 |
|
26 class HgMediawallPrivate : public HgWidgetPrivate |
|
27 { |
|
28 Q_DECLARE_PUBLIC(HgMediawall) |
|
29 |
|
30 public: |
|
31 |
|
32 HgMediawallPrivate(); |
|
33 virtual ~HgMediawallPrivate(); |
|
34 |
|
35 void init(); |
|
36 |
|
37 void setTitlePosition(HgMediawall::LabelPosition position); |
|
38 HgMediawall::LabelPosition titlePosition() const; |
|
39 void setDescriptionPosition(HgMediawall::LabelPosition position); |
|
40 HgMediawall::LabelPosition descriptionPosition() const; |
|
41 void setTitleFontSpec(const HbFontSpec &fontSpec); |
|
42 HbFontSpec titleFontSpec() const; |
|
43 void setDescriptionFontSpec(const HbFontSpec &fontSpec); |
|
44 HbFontSpec descriptionFontSpec() const; |
|
45 |
|
46 private: |
|
47 HgCoverflowContainer *container(); |
|
48 const HgCoverflowContainer *container() const; |
|
49 }; |
|
50 |
|
51 #endif //HGMEDIAWALL_P_H |
|
52 |