MKeyOverride is used to store key attribute overrides for virtual keyboard.
More...
List of all members.
Detailed Description
MKeyOverride is used to store key attribute overrides for virtual keyboard.
Member Enumeration Documentation
Defines all the attributes of an key override.
- Enumerator:
Label |
|
Icon |
|
Highlighted |
|
Enabled |
|
Constructor & Destructor Documentation
MKeyOverride::MKeyOverride |
( |
const QString & |
keyId |
) |
[explicit] |
MKeyOverride::~MKeyOverride |
( |
|
) |
[virtual] |
Member Function Documentation
bool MKeyOverride::enabled |
( |
|
) |
const |
Return true if the key is enabled; otherwise return false.
bool MKeyOverride::highlighted |
( |
|
) |
const |
Return true if the key is highlighted; otherwise return false.
QString MKeyOverride::icon |
( |
|
) |
const |
void MKeyOverride::keyAttributesChanged |
( |
const QString & |
keyId, |
|
|
const MKeyOverride::KeyOverrideAttributes |
changedAttributes | |
|
) |
| | [signal] |
Emitted when some attributes of the key are changed.
- Parameters:
-
| keyId,the | key id. |
| changedAttributes | Specifies the changed attributes. |
- See also:
- KeyOverrideAttribute
QString MKeyOverride::keyId |
( |
|
) |
const |
QString MKeyOverride::label |
( |
|
) |
const |
Returns text from the key.
void MKeyOverride::setEnabled |
( |
bool |
enabled |
) |
[slot] |
If enabled is true, the key is enabled; otherwise, it is disabled.
void MKeyOverride::setHighlighted |
( |
bool |
highlighted |
) |
[slot] |
Set highlighted state for item.
void MKeyOverride::setIcon |
( |
const QString & |
icon |
) |
[slot] |
void MKeyOverride::setLabel |
( |
const QString & |
label |
) |
[slot] |
Property Documentation
bool MKeyOverride::enabled [read, write] |
bool MKeyOverride::highlighted [read, write] |
QString MKeyOverride::icon [read, write] |
QString MKeyOverride::label [read, write] |