API Documentation
Documentation for developing SailfishOS applicationsKeypad QML Type
A dialer-type keypad More...
Import Statement: | import Sailfish.Silica 1.0 |
Properties
- pressedButtonColor : color
- pressedSecondaryTextColor : color
- pressedTextColor : color
- secondaryTextColor : color
- symbolsVisible : bool
- textColor : color
- vanityDialNumbers : list<string>
- vanityDialNumbersVisible : boolean
- voiceMailIconSource : url
Signals
- onCanceled(string number)
- onClicked(string number)
- onPressed(string number)
- onReleased(string number)
- onVoiceMailCalled()
Detailed Description
The Keypad type enables the user to interact with a standard dialer keypad.
The keypad consists of 12 keys in a 3x4 layout.
Property Documentation
This property holds the color of a keypad button when it is pressed.
The default value is the same as BackgroundItem::highlightedColor.
This property holds the color of a keypad button's secondary (descriptive) text when the button is pressed.
The default value is Theme.secondaryHighlightColor.
This property holds the color of a keypad button's text when the button is pressed.
The default value is Theme.highlightColor.
This property holds the color of a keypad button's secondary (descriptive) text.
The default value is Theme.secondaryColor.
If set to true (the default), the "*" and "#" buttons will be displayed in the keypad.
This property holds the color of the keypad button text.
The default value is Theme.primaryColor.
This property holds a list of strings to display under the numbers, from top-left to bottom-right. The default is: ["", "abc", "def", "ghi", "jkl", "nmo", "pqrs", "tuv", "wxyz", "+", "", ""]
See also vanityDialNumbersVisible.
If set to true (the default), the vanityDialNumbers will be displayed under the numbers.
See also vanityDialNumbers.
This property holds the url of the icon to display for the voice mail function, which is invoked by press and hold on the '1' key.
Signal Documentation
This signal handler is called when a press is canceled, due to a Flickable stealing the event, for example.