utilityapps/filebrowser/ui/inc/fbpropertiesdialog.h
changeset 55 2d9cac8919d3
equal deleted inserted replaced
53:819e59dfc032 55:2d9cac8919d3
       
     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 FBPROPERTIESDIALOG_H_
       
    19 #define FBPROPERTIESDIALOG_H_
       
    20 
       
    21 #include <HbDialog>
       
    22 #include <QVector>
       
    23 #include <QPair>
       
    24 
       
    25 // forward declarations
       
    26 class HbMarqueeItem;
       
    27 class QString;
       
    28 class QGraphicsItem;
       
    29 class QGraphicsGridLayout;
       
    30 
       
    31 class FbPropertiesDialog : public HbDialog
       
    32 {
       
    33     Q_OBJECT
       
    34 
       
    35 public:
       
    36     explicit FbPropertiesDialog(QGraphicsItem *parent = 0);
       
    37     virtual ~FbPropertiesDialog();
       
    38 
       
    39     void setTitle(const QString &);
       
    40     void setProperties(const QVector<QPair<QString, QString> > &);
       
    41 
       
    42 private:
       
    43     void createHeading();
       
    44     void createContentWidget();
       
    45     void createToolBar();
       
    46 private:
       
    47     HbMarqueeItem *mTitle;
       
    48     QGraphicsGridLayout *mGridLayout;
       
    49 };
       
    50 
       
    51 #endif // FBPROPERTIESDIALOG_H_