mmsharing/livecommsui/lcui/tsrc/ut_lcui/hbstubs/hblabel.h
branchRCL_3
changeset 33 bc78a40cd63c
parent 32 73a1feb507fb
child 35 6c57ef9392d2
equal deleted inserted replaced
32:73a1feb507fb 33:bc78a40cd63c
     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: Orbit stubs for Live Comms UI unit tests
       
    15 *
       
    16 */
       
    17 #ifndef HBLABEL_H
       
    18 #define HBLABEL_H
       
    19 
       
    20 #include <hbglobal.h>
       
    21 #include <hbnamespace.h>
       
    22 #include <hbwidget.h>
       
    23 
       
    24 class QGraphicsItem;
       
    25 
       
    26 
       
    27 class HbLabel : public HbWidget 
       
    28 {
       
    29 public:
       
    30     explicit HbLabel (QGraphicsItem *parent = 0);
       
    31     explicit HbLabel (const QString &displayText, QGraphicsItem *parent = 0);
       
    32     ~HbLabel ();
       
    33 
       
    34     virtual void setGeometry(const QRectF &rect);
       
    35     enum { Type = Hb::ItemType_Label };
       
    36 
       
    37     void setIcon( const HbIcon &icon );
       
    38     void clear();
       
    39 
       
    40 public slots:
       
    41     void setPlainText(const QString &text);
       
    42 };
       
    43 
       
    44 #endif // HBLABEL_H