21
21
//! \ingroup common
24
* \brief Orientation angle of windows in the application.
28
enum OrientationAngle {
36
* \brief Possible orientations of windows in the application.
38
* \sa OrientationAngle
41
Portrait, //!< equal to either Maliit::Angle90 or Maliit::Angle270 orientation angles
42
Landscape //!< equal to either Maliit::Angle0 or Maliit::Angle180 orientation angles
24
* \brief Position of the window on the screen.
73
//! \brief Type of toolbar widget
75
//! Undefined item type
78
//! Item should be visualized as button
81
//! Item should be visualized as label
85
//! \brief Type of visible premiss for toolbar button
87
//! Item's visibility will not be changed automatically
90
//! Item's visibility depends on text selection
91
VisibleWhenSelectingText,
93
//! Item is always visible
97
//! \brief Type of action
102
//! Send key sequence like Ctrl+D
103
ActionSendKeySequence,
108
//! Send command (not implemented yet)
111
//! Copy selected text
114
//! Paste text from clipboard
117
//! Show some group of items
120
//! Hide some group of items
123
//! Close virtual keyboard
126
//! Standard copy/paste button
131
62
* \brief State of Copy/Paste button.
171
102
EventRequestEventOnly //!< Only a Qt::KeyEvent
175
* \brief Possible values for all the modes that are shown in the Input
178
enum InputModeIndicator {
179
NoIndicator, //!< No indicator should be shown
180
LatinLowerIndicator, //!< Latin lower case mode
181
LatinUpperIndicator, //!< Latin upper case mode
182
LatinLockedIndicator, //!< Latin caps locked mode
183
CyrillicLowerIndicator, //!< Cyrillic lower case mode
184
CyrillicUpperIndicator, //!< Cyrillic upper case mode
185
CyrillicLockedIndicator, //!< Cyrillic caps locked mode
186
ArabicIndicator, //!< Arabic mode
187
PinyinIndicator, //!< Pinyin mode
188
ZhuyinIndicator, //!< Zhuyin mode
189
CangjieIndicator, //!< Cangjie mode
190
NumAndSymLatchedIndicator, //!< Number and Symbol latched mode
191
NumAndSymLockedIndicator, //!< Number and Symbol locked mode
192
DeadKeyAcuteIndicator, //!< Dead key acute mode
193
DeadKeyCaronIndicator, //!< Dead key caron mode
194
DeadKeyCircumflexIndicator, //!< Dead key circumflex mode
195
DeadKeyDiaeresisIndicator, //!< Dead key diaeresis mode
196
DeadKeyGraveIndicator, //!< Dead key grave mode
197
DeadKeyTildeIndicator //!< Dead key tilde mode
200
enum InputMethodMode {
201
//! Normal mode allows to use preedit and error correction
202
InputMethodModeNormal,
204
//! Virtual keyboard sends QKeyEvent for every key press or release
205
InputMethodModeDirect,
207
//! Used with proxy widget
212
106
* \brief The text format for part of the preedit string, specified by
213
107
* start and length.
231
/*! \brief Extensions for Qt::inputMethodQuery
232
* \note the inputMethodQuery interface may change or be removed in Qt 5!
234
enum InputMethodQueryExtensions {
235
VisualizationPriorityQuery = 10001, //!< Tells if input method widget wants to have high
236
//!< priority for visualization. Input method should
237
//!< honor this and stay out of widgets space.
238
PreeditRectangleQuery, //!< Retrieve bounding rectangle for current preedit text.
239
ImCorrectionEnabledQuery, //!< Explicit correction enabling for text entries.
240
ImModeQuery, //!< Retrieve mode: normal, direct or proxy.
241
InputMethodAttributeExtensionIdQuery, //!< Attribute extension identifier for text entry.
242
InputMethodAttributeExtensionQuery, //!< Attribute extension file name for text entry.
243
WesternNumericInputEnforcedQuery //!< Overrides localized numeric input with western numeric input.
246
125
namespace InputMethodQuery
248
127
//! Name of property which tells whether correction is enabled.
296
175
Q_DECLARE_METATYPE(Maliit::TextContentType)
297
Q_DECLARE_METATYPE(Maliit::Orientation)
298
Q_DECLARE_METATYPE(Maliit::OrientationAngle)
299
Q_DECLARE_METATYPE(Maliit::InputMethodMode)
300
Q_DECLARE_METATYPE(Maliit::InputMethodQueryExtensions)
176
Q_DECLARE_METATYPE(Maliit::PreeditTextFormat)
301
177
Q_DECLARE_METATYPE(QList<Maliit::PreeditTextFormat>)