videocollection/tsrc/stubs/inc/hbpopup.h
changeset 63 4707a0db12f6
equal deleted inserted replaced
58:d2b028fd1f7d 63:4707a0db12f6
       
     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 * Description:  hbpopup stub
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef HBPOPUP_H
       
    19 #define HBPOPUP_H
       
    20 
       
    21 #include "hbwidget.h"
       
    22 
       
    23 class HbPopup : public HbWidget
       
    24 {
       
    25     Q_OBJECT
       
    26  
       
    27 public:
       
    28 
       
    29     HbPopup(QGraphicsItem *parent = 0) : HbWidget(parent){}
       
    30     
       
    31     enum Placement
       
    32     {
       
    33         TopLeftCorner,
       
    34         TopRightCorner,
       
    35         BottomLeftCorner,
       
    36         BottomRightCorner,
       
    37         TopEdgeCenter,
       
    38         RightEdgeCenter,
       
    39         BottomEdgeCenter,
       
    40         LeftEdgeCenter,
       
    41         Center
       
    42     };
       
    43         
       
    44     enum DismissPolicy
       
    45     {
       
    46         NoDismiss   = 0,
       
    47         TapInside   = 1,
       
    48         TapOutside  = 2,
       
    49         TapAnywhere = TapInside | TapOutside
       
    50     };
       
    51     enum DefaultTimeout
       
    52     {
       
    53         NoTimeout,
       
    54         ConfirmationNoteTimeout,
       
    55         StandardTimeout,
       
    56         ContextMenuTimeout,
       
    57     };
       
    58         
       
    59     
       
    60 };
       
    61 
       
    62 #endif
       
    63