equal
deleted
inserted
replaced
35 const int HbRepeatTimeoutShort = 150; |
35 const int HbRepeatTimeoutShort = 150; |
36 |
36 |
37 const QString backgroundGraphics("qtg_fr_input_v_bg"); |
37 const QString backgroundGraphics("qtg_fr_input_v_bg"); |
38 const QString HbInputVkbHandleIcon("qtg_graf_input_v_swipe"); |
38 const QString HbInputVkbHandleIcon("qtg_graf_input_v_swipe"); |
39 const qreal HbCloseHandleHeight = 0; |
39 const qreal HbCloseHandleHeight = 0; |
40 const qreal HbCloseHandleHeightInUnits = 2.23; |
40 const qreal HbCloseHandleHeightInUnits = 3.13; |
41 const qreal HbCloseHandleWidthInUnits = 18.8; |
41 const qreal HbCloseHandleWidthInUnits = 18.8; |
42 |
42 |
43 class HbInputVkbWidgetPrivate; |
43 class HbInputVkbWidgetPrivate; |
44 class HbInputMethod; |
44 class HbInputMethod; |
45 class HbView; |
45 class HbView; |
69 enum HbSctView { |
69 enum HbSctView { |
70 HbSctViewSpecialCharacter, |
70 HbSctViewSpecialCharacter, |
71 HbSctViewSmiley |
71 HbSctViewSmiley |
72 }; |
72 }; |
73 |
73 |
74 HbInputVkbWidget(QGraphicsItem *parent = 0); |
74 HbInputVkbWidget(QGraphicsItem *parent = 0); |
75 virtual ~HbInputVkbWidget(); |
75 virtual ~HbInputVkbWidget(); |
76 |
76 |
77 public: // From HbVirtualKeyboard |
77 public: // From HbVirtualKeyboard |
78 QWidget *asWidget(); |
78 QWidget *asWidget(); |
79 QGraphicsWidget *asGraphicsWidget(); |
79 QGraphicsWidget *asGraphicsWidget(); |
125 void showSettingsView(); |
125 void showSettingsView(); |
126 void closeSettingsView(); |
126 void closeSettingsView(); |
127 void executeMethodDialog(); |
127 void executeMethodDialog(); |
128 void closeSettingList(); |
128 void closeSettingList(); |
129 void settingsClosed(); |
129 void settingsClosed(); |
130 void showSmileyPicker(int rows, int columns); |
130 void showSmileyPicker(int rows = 0, int columns = 0); |
131 void keypadLanguageChangeAnimationUpdate(qreal value); |
131 void keypadLanguageChangeAnimationUpdate(qreal value); |
132 void keypadLanguageChangeFinished(); |
132 void keypadLanguageChangeFinished(); |
133 |
133 |
134 virtual void sendKeyPressEvent(const QKeyEvent &event); |
134 virtual void sendKeyPressEvent(const QKeyEvent &event); |
135 virtual void sendKeyDoublePressEvent(const QKeyEvent &event); |
135 virtual void sendKeyDoublePressEvent(const QKeyEvent &event); |
148 HbInputVkbWidget(HbInputVkbWidgetPrivate &dd, QGraphicsItem *parent); |
148 HbInputVkbWidget(HbInputVkbWidgetPrivate &dd, QGraphicsItem *parent); |
149 |
149 |
150 private: |
150 private: |
151 Q_DECLARE_PRIVATE_D(d_ptr, HbInputVkbWidget) |
151 Q_DECLARE_PRIVATE_D(d_ptr, HbInputVkbWidget) |
152 Q_DISABLE_COPY(HbInputVkbWidget) |
152 Q_DISABLE_COPY(HbInputVkbWidget) |
153 Q_PRIVATE_SLOT(d_func(), void _q_inputMethodSelectionDialogFinished(HbAction *)) |
153 Q_PRIVATE_SLOT(d_func(), void _q_activateInputMethod(const HbInputMethodDescriptor &, const QByteArray &)) |
154 Q_PRIVATE_SLOT(d_func(), void _q_handleRockerChange(int direction, HbInputVirtualRocker::RockerSelectionMode selectionMode)) |
|
155 Q_PRIVATE_SLOT(d_func(), void _q_settingsClosed(HbAction *action)) |
154 Q_PRIVATE_SLOT(d_func(), void _q_settingsClosed(HbAction *action)) |
|
155 Q_PRIVATE_SLOT(d_func(), void _q_smileyPickerClosed()) |
156 |
156 |
157 friend class HbTouchKeypadButton; |
157 friend class HbTouchKeypadButton; |
158 friend class HbInputUsedSymbolPane; |
158 friend class HbInputUsedSymbolPane; |
159 }; |
159 }; |
160 |
160 |