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 * |
|
15 * Description: |
|
16 * The header file of the view details list item of file manager |
|
17 */ |
|
18 |
|
19 #ifndef FMVIEWDETAILSITEM_H |
|
20 #define FMVIEWDETAILSITEM_H |
|
21 |
|
22 #include <hblistviewitem.h> |
|
23 |
|
24 class HbLabel; |
|
25 class QGraphicsLinearLayout; |
|
26 |
|
27 class FmViewDetailsItem : public HbListViewItem |
|
28 { |
|
29 Q_OBJECT |
|
30 |
|
31 public: |
|
32 FmViewDetailsItem( QGraphicsItem *parent = 0 ); |
|
33 virtual ~FmViewDetailsItem(); |
|
34 |
|
35 public: |
|
36 virtual bool canSetModelIndex( const QModelIndex &index ) const; |
|
37 virtual HbAbstractViewItem *createItem(); |
|
38 virtual void updateChildItems(); |
|
39 |
|
40 private: |
|
41 virtual void polish(HbStyleParameters& params); |
|
42 |
|
43 private: |
|
44 void init(); |
|
45 |
|
46 private: |
|
47 HbLabel *mDetailsContentLabel; |
|
48 HbLabel *mDetailsLabel; |
|
49 |
|
50 QGraphicsLinearLayout *mLayout; |
|
51 }; |
|
52 |
|
53 #endif /* FMVIEWDETAILSITEM_H */ |