equal
deleted
inserted
replaced
36 |
36 |
37 A virtual keyboard host knows how to animate and display given virtual keyboard widget. |
37 A virtual keyboard host knows how to animate and display given virtual keyboard widget. |
38 Its purpose is to isolate virtual keyboard's interaction in application space from |
38 Its purpose is to isolate virtual keyboard's interaction in application space from |
39 the widget and the input method. |
39 the widget and the input method. |
40 |
40 |
41 In other words, an input method is responsible for creating the virtual keyboard widget |
41 While the input method is responsible for creating virtual keyboard widget, |
42 but it is the virtual keyboard host who places it on the screen. The host decides |
42 it is the virtual keyboard host who places it on the screen. The host decides |
43 where the keyboard is shown and what is the maximum area it is allowed to cover. |
43 where the keyboard is shown and what is the maximum area it is allowed to cover. |
44 |
44 |
45 Virtual keyboard host also knows how to keep the editor cursor visible at all times |
45 Virtual keyboard host also knows how to keep the editor cursor visible at all times |
46 so that the virtual keyboard widget never covers it. Application developer or editor widget |
46 so that the virtual keyboard widget never covers it. Application developer or editor widget |
47 developer doesn't need to care about that. |
47 developer doesn't need to care about that. |
121 The framework calls this method when it suspects that the host should |
121 The framework calls this method when it suspects that the host should |
122 refresh the split view status. |
122 refresh the split view status. |
123 */ |
123 */ |
124 |
124 |
125 /*! |
125 /*! |
|
126 \fn bool stateTransitionOngoing() const = 0 |
|
127 Returns true if the vkb host has state transition ongoing, ie. it is running open or close |
|
128 animation or updating the split-view status. |
|
129 */ |
|
130 |
|
131 /*! |
126 Attaches given host to given object. Deletes previously attached host. |
132 Attaches given host to given object. Deletes previously attached host. |
127 */ |
133 */ |
128 void HbVkbHost::attachHost(HbVkbHost* host, QObject* object) |
134 void HbVkbHost::attachHost(HbVkbHost* host, QObject* object) |
129 { |
135 { |
130 if (object) { |
136 if (object) { |