equal
deleted
inserted
replaced
26 #include <QPixmap> |
26 #include <QPixmap> |
27 #include <QBitmap> |
27 #include <QBitmap> |
28 #include <QPainter> |
28 #include <QPainter> |
29 #include <QCoreApplication> |
29 #include <QCoreApplication> |
30 #include <QDir> |
30 #include <QDir> |
31 #include <QDebug> |
|
32 #include <hbicon.h> |
31 #include <hbicon.h> |
33 #include <hbinputsettingproxy.h> |
32 #include <hbinputsettingproxy.h> |
34 #include <hbwidgetfeedback.h> |
33 #include <hbwidgetfeedback.h> |
35 |
34 |
36 #include "hbinputvkbwidget.h" |
35 #include "hbinputvkbwidget.h" |
74 mLastPoint(0.0,0.0), |
73 mLastPoint(0.0,0.0), |
75 mCenterPosition(0.0,0.0), |
74 mCenterPosition(0.0,0.0), |
76 mMousePressPoint(0.0,0.0), |
75 mMousePressPoint(0.0,0.0), |
77 mKeyboard(parent), |
76 mKeyboard(parent), |
78 mPressed(false) |
77 mPressed(false) |
79 { |
78 { |
80 mIconNormal = new HbIcon("qtg_graf_trackpoint_normal" ); |
79 mIconNormal = new HbIcon("qtg_graf_trackpoint_normal" ); |
81 mIconNormal->setSize( QSizeF( HbIconWidth, HbIconWidth )); |
80 mIconNormal->setSize( QSizeF( HbIconWidth, HbIconWidth )); |
|
81 |
|
82 q_ptr->grabGesture(Qt::SwipeGesture); |
|
83 q_ptr->grabGesture(Qt::TapGesture); |
|
84 q_ptr->grabGesture(Qt::PanGesture); |
82 } |
85 } |
83 |
86 |
84 HbInputVirtualRockerPrivate::~HbInputVirtualRockerPrivate() |
87 HbInputVirtualRockerPrivate::~HbInputVirtualRockerPrivate() |
85 { |
88 { |
86 delete mIconNormal; |
89 delete mIconNormal; |
327 { |
330 { |
328 Q_D(const HbInputVirtualRocker); |
331 Q_D(const HbInputVirtualRocker); |
329 return d->mShifted; |
332 return d->mShifted; |
330 } |
333 } |
331 |
334 |
|
335 void HbInputVirtualRocker::gestureEvent(QGestureEvent *event) |
|
336 { |
|
337 Q_UNUSED (event); |
|
338 } |
|
339 |
332 // End of file |
340 // End of file |