equal
deleted
inserted
replaced
|
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: CalenThickLinesDrawer class definition. |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef CALENTHICKLINESDRAWER_H |
|
19 #define CALENTHICKLINESDRAWER_H |
|
20 // System includes |
|
21 #include <hbwidget.h> |
|
22 |
|
23 // User includes |
|
24 #include "calencommon.h" |
|
25 |
|
26 #ifdef CALENVIEWS_DLL |
|
27 #define CALENTHICKLINESDRAWER_EXPORT Q_DECL_EXPORT |
|
28 #else |
|
29 #define CALENTHICKLINESDRAWER_EXPORT Q_DECL_IMPORT |
|
30 #endif |
|
31 |
|
32 class CALENTHICKLINESDRAWER_EXPORT CalenThickLinesDrawer : public HbWidget |
|
33 { |
|
34 Q_OBJECT |
|
35 |
|
36 public: |
|
37 CalenThickLinesDrawer( CalendarNamespace::WidgetType type, |
|
38 QGraphicsItem* parent = NULL ); |
|
39 virtual ~CalenThickLinesDrawer(); |
|
40 |
|
41 private slots: |
|
42 void handleThemeChange(); |
|
43 |
|
44 private: |
|
45 void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, |
|
46 QWidget* widget); |
|
47 |
|
48 private: |
|
49 QColor mGridBorderColor; |
|
50 CalendarNamespace::WidgetType typeOfWidget; |
|
51 }; |
|
52 #endif /* CALENTHICKLINESDRAWER_H */ |
|
53 |
|
54 // End of file --Don't remove this. |