ShiftHandler Class
(QtVirtualKeyboard::ShiftHandler)Manages the shift state. More...
Header: | #include <ShiftHandler> |
Instantiated By: | ShiftHandler |
Inherits: | QObject |
Properties
- autoCapitalizationEnabled : const bool
- sentenceEndingCharacters : QString
- toggleShiftEnabled : const bool
- 1 property inherited from QObject
Public Functions
bool | autoCapitalizationEnabled() const |
QString | sentenceEndingCharacters() const |
void | setSentenceEndingCharacters(const QString &value) |
void | toggleShift() |
bool | toggleShiftEnabled() const |
- 31 public functions inherited from QObject
Signals
void | autoCapitalizationEnabledChanged() |
void | sentenceEndingCharactersChanged() |
void | toggleShiftEnabledChanged() |
- 2 signals inherited from QObject
Additional Inherited Members
- 1 public slot inherited from QObject
- 1 public variable inherited from QObject
- 10 static public members inherited from QObject
- 9 protected functions inherited from QObject
- 2 protected variables inherited from QObject
Detailed Description
Manages the shift state.
Property Documentation
autoCapitalizationEnabled : const bool
This property provides the current state of the automatic capitalization feature.
This property was introduced in Qt 1.2.
Access functions:
bool | autoCapitalizationEnabled() const |
Notifier signal:
void | autoCapitalizationEnabledChanged() |
sentenceEndingCharacters : QString
This property specifies the sentence ending characters which will cause shift state change.
By default, the property is initialized to sentence ending characters found in the ASCII range (i.e. ".!?").
Access functions:
QString | sentenceEndingCharacters() const |
void | setSentenceEndingCharacters(const QString &value) |
Notifier signal:
void | sentenceEndingCharactersChanged() |
toggleShiftEnabled : const bool
This property provides the current state of the toggleShift() method. When true, the current shift state can be changed by calling the toggleShift() method.
This property was introduced in Qt 1.2.
Access functions:
bool | toggleShiftEnabled() const |
Notifier signal:
void | toggleShiftEnabledChanged() |
Member Function Documentation
void ShiftHandler::toggleShift()
Toggles the current shift state.
This method provides the functionality of the shift key.
This function was introduced in Qt 1.2.
See also toggleShiftEnabled.