ganeswidgets/tsrc/fute/HgWidgetTest/inc/hgselectiondialog.h
changeset 0 89c329efa980
child 5 4fa04caf0f43
equal deleted inserted replaced
-1:000000000000 0:89c329efa980
       
     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:   Multiselection dialog
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef HGSELECTIONDIALOG_H
       
    19 #define HGSELECTIONDIALOG_H
       
    20 
       
    21 #include <hbdialog.h>
       
    22 
       
    23 class HbPushButton;
       
    24 class HbLabel;
       
    25 class HgWidget;
       
    26 
       
    27 class HgSelectionDialog : public HbDialog
       
    28 {
       
    29     Q_OBJECT
       
    30     Q_DISABLE_COPY(HgSelectionDialog)
       
    31 
       
    32 public:
       
    33     HgSelectionDialog(const QString &title, const QString &primaryText, HgWidget *content, QGraphicsItem *parent=0);
       
    34     ~HgSelectionDialog();
       
    35 
       
    36 private slots:
       
    37     void updateItems();
       
    38     void selectAll();
       
    39 
       
    40 private:
       
    41     HgWidget *mHgWidget;
       
    42     HbPushButton *mSelectAll;
       
    43     HbLabel *mCountLabel;
       
    44 };
       
    45 
       
    46 #endif  //HGSELECTIONDIALOG_H