![]() |
Home · All Namespaces · All Classes |
00001 /**************************************************************************** 00002 ** 00003 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). 00004 ** All rights reserved. 00005 ** Contact: Nokia Corporation (directui@nokia.com) 00006 ** 00007 ** This file is part of systemui. 00008 ** 00009 ** If you have questions regarding the use of this file, please contact 00010 ** Nokia at directui@nokia.com. 00011 ** 00012 ** This library is free software; you can redistribute it and/or 00013 ** modify it under the terms of the GNU Lesser General Public 00014 ** License version 2.1 as published by the Free Software Foundation 00015 ** and appearing in the file LICENSE.LGPL included in the packaging 00016 ** of this file. 00017 ** 00018 ****************************************************************************/ 00019 00020 #ifndef NOTIFICATIONAREAVIEW_H_ 00021 #define NOTIFICATIONAREAVIEW_H_ 00022 00023 #include <MWidgetView> 00024 00025 #include "notificationareastyle.h" 00026 #include "notificationareamodel.h" 00027 00028 class NotificationArea; 00029 class QGraphicsLinearLayout; 00030 class MLayout; 00031 class MLinearLayoutPolicy; 00032 class MButton; 00033 00034 class NotificationAreaView : public MWidgetView 00035 { 00036 Q_OBJECT 00037 M_VIEW(NotificationAreaModel, NotificationAreaStyle) 00038 00039 public: 00045 NotificationAreaView(NotificationArea *controller); 00046 00050 virtual ~NotificationAreaView(); 00051 00052 protected: 00054 virtual void updateData(const QList<const char *>& modifications); 00055 virtual void applyStyle(); 00057 00058 private: 00060 void updateLayout(); 00061 00063 MLayout *bannerLayout; 00064 00066 MLinearLayoutPolicy *bannerPolicy; 00067 00069 QGraphicsLinearLayout *clearButtonLayout; 00070 00072 MButton *clearButton; 00073 00075 MWidgetController *andMore; 00076 00077 #ifdef UNIT_TEST 00078 friend class Ut_NotificationAreaView; 00079 #endif 00080 }; 00081 00082 #endif /* NOTIFICATIONAREAVIEW_H_ */
Copyright © 2011 Nokia Corporation | Generated on Tue Aug 30 2011 16:38:12 Doxygen 1.7.1 |
MeeGo Touch |