--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/hgwidgets_plat/ganeswidgets_api/inc/hgmediawall.h Mon Apr 19 14:40:06 2010 +0300
@@ -0,0 +1,60 @@
+/*
+* Copyright (c) 2009 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 HGMEDIAWALL_H
+#define HGMEDIAWALL_H
+
+#include <hgwidgets/hgwidgets.h>
+
+class HgMediawallPrivate;
+
+class HG_WIDGETS_EXPORT HgMediawall : public HgWidget
+{
+ Q_OBJECT
+ Q_PROPERTY(LabelPosition titlePosition READ titlePosition WRITE setTitlePosition)
+ Q_PROPERTY(LabelPosition descriptionPosition READ descriptionPosition WRITE setDescriptionPosition)
+ Q_PROPERTY(HbFontSpec titleFontSpec READ titleFontSpec WRITE setTitleFontSpec)
+ Q_PROPERTY(HbFontSpec descriptionFontSpec READ descriptionFontSpec WRITE setDescriptionFontSpec)
+ Q_ENUMS(LabelPosition)
+
+public:
+
+ HgMediawall(QGraphicsItem *parent = 0 );
+ virtual ~HgMediawall();
+
+ enum LabelPosition {
+ PositionNone = 0,
+ PositionAboveImage,
+ PositionBelowImage
+ };
+
+ void setTitlePosition(LabelPosition position);
+ LabelPosition titlePosition() const;
+ void setDescriptionPosition(LabelPosition position);
+ LabelPosition descriptionPosition() const;
+ void setTitleFontSpec(const HbFontSpec &fontSpec);
+ HbFontSpec titleFontSpec() const;
+ void setDescriptionFontSpec(const HbFontSpec &fontSpec);
+ HbFontSpec descriptionFontSpec() const;
+
+private:
+ Q_DECLARE_PRIVATE_D(d_ptr, HgMediawall)
+ Q_DISABLE_COPY(HgMediawall)
+};
+
+#endif //HGMEDIAWALL_H
+