camerauis/cameraxui/cxengine/inc/cxeviewfinderwidgetdesktop.h
changeset 45 24fd82631616
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/camerauis/cameraxui/cxengine/inc/cxeviewfinderwidgetdesktop.h	Fri Jul 23 11:35:41 2010 +0300
@@ -0,0 +1,41 @@
+/*
+* Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:
+*
+*/
+
+#ifndef CXEVIEWFINDERWIDGETDESKTOP_H
+#define CXEVIEWFINDERWIDGETDESKTOP_H
+
+#include <QGraphicsWidget>
+
+class QPixmap;
+
+class CxeViewfinderWidgetDesktop : public QGraphicsWidget
+{
+    Q_OBJECT
+public:
+    CxeViewfinderWidgetDesktop();
+    virtual ~CxeViewfinderWidgetDesktop();
+
+    virtual void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget);
+
+public slots:
+    void handleImageChange(const QPixmap &newImage);
+
+private:
+    QPixmap mCurrentPixmap;
+};
+
+#endif // CXEVIEWFINDERWIDGETDESKTOP_H