mmsharing/livecommsui/lcui/inc/lcvideowidget.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:
       
    15 *
       
    16 */
       
    17 #ifndef LCVIDEOWIDGET_H
       
    18 #define LCVIDEOWIDGET_H
       
    19 
       
    20 #include <hbtransparentwindow.h>
       
    21 
       
    22 
       
    23 class LcVideoWidget : public HbTransparentWindow
       
    24 {
       
    25     Q_OBJECT
       
    26 
       
    27 public:
       
    28 
       
    29     explicit LcVideoWidget(QGraphicsItem *parent = 0, bool showVideo = true);
       
    30     ~LcVideoWidget();
       
    31     void setShowVideo(bool showVideo);
       
    32     bool isShowingVideo();
       
    33     void setLocalPlayer(bool local){mLocalPlayer = local ;};
       
    34 
       
    35 public: // From HbTransparentWindow
       
    36     void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, 
       
    37                QWidget *widget = 0);
       
    38 private:
       
    39     bool mShowVideo;
       
    40     bool mLocalPlayer;
       
    41 };
       
    42 
       
    43 #endif // LCVIDEOWIDGET_H