calendarui/views/src/calenthicklinesdrawer.cpp
changeset 49 5de72ea7a065
parent 18 c198609911f9
child 51 0b38fc5b94c6
child 58 ef813d54df51
equal deleted inserted replaced
37:360d55486d7f 49:5de72ea7a065
    18 // System includes
    18 // System includes
    19 #include <QtGui>
    19 #include <QtGui>
    20 #include <QPainter>
    20 #include <QPainter>
    21 #include <QPen>
    21 #include <QPen>
    22 #include <hbdeviceprofile.h>
    22 #include <hbdeviceprofile.h>
       
    23 #include <hbcolorscheme.h>
    23 
    24 
    24 // User includes
    25 // User includes
    25 #include "calenthicklinesdrawer.h"
    26 #include "calenthicklinesdrawer.h"
    26 
    27 
    27 // CONSTANTS
    28 // CONSTANTS
    37 /*!
    38 /*!
    38  Constructor
    39  Constructor
    39  */
    40  */
    40 CalenThickLinesDrawer::CalenThickLinesDrawer( CalendarNamespace::WidgetType type, 
    41 CalenThickLinesDrawer::CalenThickLinesDrawer( CalendarNamespace::WidgetType type, 
    41 	QGraphicsItem* parent):
    42 	QGraphicsItem* parent):
    42 	HbWidget(parent),
    43 	HbWidget(parent)
    43 	mGridBorderColor(Qt::black)
       
    44 {
    44 {
    45 	typeOfWidget = type;
    45 	typeOfWidget = type;
       
    46 	mGridBorderColor = HbColorScheme::color("qtc_cal_grid_line");
       
    47 	setFlag(QGraphicsItem::ItemHasNoContents, false);
    46 }
    48 }
    47 
    49 
    48 /*!
    50 /*!
    49  To paint grid item border
    51  To paint grid item border
    50  */
    52  */