equal
deleted
inserted
replaced
14 * Description: CalenDayUtils utility class implementation. |
14 * Description: CalenDayUtils utility class implementation. |
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 // System includes |
18 // System includes |
19 #include <hbdeviceprofile.h> |
19 #include <QDateTime> |
20 #include <hbstyle.h> |
20 #include <HbDeviceProfile> |
21 #include <hbinstance.h> |
21 #include <HbStyle> |
22 #include <qdatetime.h> |
22 #include <HbInstance> |
23 |
23 |
24 // User includes |
24 // User includes |
25 #include "calendayutils.h" |
25 #include "calendayutils.h" |
26 #include "calendaycommonheaders.h" |
26 #include "calendaycommonheaders.h" |
27 #include "agendaentry.h" |
27 #include "agendaentry.h" |
201 // Calculate element's preferred height |
201 // Calculate element's preferred height |
202 qreal prefHeight = 0.0; |
202 qreal prefHeight = 0.0; |
203 qreal textHeight = 0.0; |
203 qreal textHeight = 0.0; |
204 qreal verticalSpacing = 0.0; |
204 qreal verticalSpacing = 0.0; |
205 |
205 |
206 qreal bottomSpacer = 3.0 * unitInPixels; |
206 qreal bottomSpacer = 4.1 * unitInPixels; |
207 style.parameter(QString("hb-param-text-height-secondary"), textHeight, |
207 style.parameter(QString("hb-param-text-height-secondary"), textHeight, |
208 deviceProfile); |
208 deviceProfile); |
209 style.parameter(QString("hb-param-margin-gene-middle-vertical"), |
209 style.parameter(QString("hb-param-margin-gene-middle-vertical"), |
210 verticalSpacing, deviceProfile); |
210 verticalSpacing, deviceProfile); |
211 |
211 |