Sailfish OS
  • Info
  • User Experience
  • Cases
  • Community
  • Developers
  • Contact
  • Get Sailfish OS
Select Page
  • Info
  • User Experience
  • Cases
  • Community
  • Developers
  • Contact
  • Get Sailfish OS

API Documentation

Documentation for developing SailfishOS applications
  • API Documentation
  • Libsailfishapp
  • Sailfish Silica
    • Documentation
    • Icon Reference
  • Sailfish Components
    • Sailfish Accounts
    • Sailfish Bluetooth
    • Sailfish Contacts
    • Sailfish Crypto
    • Sailfish Gallery
    • Sailfish Media
    • Sailfish Pickers
    • Sailfish Secrets
    • Sailfish Share
    • Sailfish Telephony
    • Sailfish Webview
    • Amber Web Authorization
    • Amber MPRIS
  • Nemo QML Plugins
    • Configuration
    • Contacts
    • D-Bus
    • Keepalive
    • Notifications
    • Thumbnailer
  • Sailfish Middleware
    • MDM Framework
    • MDM Policy Framework
    • User Manager Daemon
  • API Documentation
  • Libsailfishapp
  • Sailfish Silica
    • Documentation
    • Icon Reference
  • Sailfish Components
    • Sailfish Accounts
    • Sailfish Bluetooth
    • Sailfish Contacts
    • Sailfish Crypto
    • Sailfish Gallery
    • Sailfish Media
    • Sailfish Pickers
    • Sailfish Secrets
    • Sailfish Share
    • Sailfish Telephony
    • Sailfish Webview
    • Amber Web Authorization
    • Amber MPRIS
  • Nemo QML Plugins
    • Configuration
    • Contacts
    • D-Bus
    • Keepalive
    • Notifications
    • Thumbnailer
  • Sailfish Middleware
    • MDM Framework
    • MDM Policy Framework
    • User Manager Daemon

Contents

  • Properties
  • Signals
  • Detailed Description

Keypad QML Type

A dialer-type keypad More...

Import Statement: import Sailfish.Silica 1.0
  • List of all members, including inherited members

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

pressedButtonColor : color

This property holds the color of a keypad button when it is pressed.

The default value is the same as BackgroundItem::highlightedColor.


pressedSecondaryTextColor : color

This property holds the color of a keypad button's secondary (descriptive) text when the button is pressed.

The default value is Theme.secondaryHighlightColor.


pressedTextColor : color

This property holds the color of a keypad button's text when the button is pressed.

The default value is Theme.highlightColor.


secondaryTextColor : color

This property holds the color of a keypad button's secondary (descriptive) text.

The default value is Theme.secondaryColor.


symbolsVisible : bool

If set to true (the default), the "*" and "#" buttons will be displayed in the keypad.


textColor : color

This property holds the color of the keypad button text.

The default value is Theme.primaryColor.


vanityDialNumbers : list<string>

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.


vanityDialNumbersVisible : boolean

If set to true (the default), the vanityDialNumbers will be displayed under the numbers.

See also vanityDialNumbers.


voiceMailIconSource : url

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

onCanceled(string number)

This signal handler is called when a press is canceled, due to a Flickable stealing the event, for example.


onClicked(string number)

This signal handler is called when a number is clicked.


onPressed(string number)

This signal handler is called when a number is pressed.


onReleased(string number)

This signal handler is called when a number is released.


onVoiceMailCalled()

This signal handler is called when the '1' key is pressed and held.


  • Legal
  • Contact Us
  • Jollyboys Ltd © 2024

  • Facebook
  • Twitter
  • Mastodon
  • YouTube
  • LinkedIn