Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions |
The QAbstractHomeScreen class allows developers to replace the "home screen" portion of the Phone UI. More...
#include <QAbstractHomeScreen>
Inherits QWidget.
Inherited by BasicHomeScreen.
The QAbstractHomeScreen class allows developers to replace the "home screen" portion of the Phone UI.
The QAbstractHomeScreen interface is part of the server widgets framework and allows developers to replace the standard home/idle screen in the Qt Extended phone UI. A small tutorial on how to develop new server widgets using one of the abstract widgets as base can be found in QAbstractServerInterface class documentation.
The QAbstractHomeScreen interface is marked as singleton interface. For more details about the concept of singleton server widgets refer to the server widget documentation.
If a homescreen implementation provides a display area for user messages (such as Network registration or Location information) it should use the MessageBoard task to subscribe to new messages from the system.
For integration purposes any HomeScreen should support the following features:
The HomeScreen should listen on the QPE/System qcop channel for applyHomeScreenImage() messages. This message is sent when the user sets a new background image/wallpaper for the HomeScreen. The image information are stored in the Trolltech/qpe settings file. The HomeScreen/HomeScreenPicture key stores the image path and HomeScreen/HomeScreenPictureMode gives an indication how the image should be layed out (ScaleAndCrop, Center/Tile, Scale and Stretch). The Homescreen is closely linked to the HomeScreen settings application which is used to set these values.
The HomeScreen should listen on the QPE/System qcop channel for updateHomeScreenInfo() messages. This message is sent when the user changes the items to be displayed on the HomeScreen. The HomeScreen settings application stores the following values in the Trolltech/qpe settings file:
Key | Description |
---|---|
HomeScreen/ShowDate | Set to true if the Homescreen should show the current date. |
HomeScreen/ShowLocation | Set to true if the current GSM/3G cell location should be shown. |
HomeScreen/ShowOperator | Set to true if the current net operator name should be shown. |
HomeScreen/ShowProfile | Set to true if the name of the current ring profile should be shown. |
HomeScreen/ShowTime | Set to true if the current time should be shown. |
This class is part of the Qt Extended server and cannot be used by other Qt Extended applications.
See also MessageBoard.
Creates a new QAbstractHomeScreen instance with the given parent and flags.
Destroys the QAbstractHomeScreen instance.
This signal is emitted when the user has chosen to dial the emergency number. Since the HomeScreen is not the usual place for dial input this only happens while the HomeScreen is locked. Otherwise the user would enter the dialer to dial the emergency number.
This signal is emitted when the user dials a number. The connecting slot should show the dial screen.
See also QAbstractDialerScreen.
This signal is emitted when the user presses the hangup key while on the HomeScreen. the connecting slot should hang the currently active call up.
This signal is emitted when the current locking state of the HomeScreen changes to locked.
See also locked() and setLocked().
Returns true if the homescreen is locked. This mode can be set by the user if he wants to prevent accidental input while the device is e.g. in his pocket.
The Qt Extended default implementation disinguishes between a touchscreen and a keypad based lock. To disengage the touchscreen lock the user has to perform a sliding gesture whereas the keypad lock requires the pressing of certain key combination.
See also setLocked().
Sets the current lock state of the HomeScreen to state.
See also locked().
This signal is emitted when the callhistory should be shown.
See also QAbstractCallHistory.
This signal is emitted when the call screen is required. the connecting slot should show the call screen.
See also QAbstractCallScreen.
This signal is emitted when the list of missed calls should be shown. The most likely reaction to this signal is very similar to the showCallHistory() signal with the difference that the shown list should have a filter applied that only accepts missed calls.
This signal is emitted when the user changes to the application browser window. Usually this is indicated by pressing the select key. The connecting slot should open the application browser screen.
See also QAbstractBrowserScreen.
Returns true if the HomeScreen is locked due to a missing or not yet entered SIM PIN. This state can be left by entering the correct SIM PIN.
See also setLocked() and locked().
This signal is emitted when the user performs a speedial operation. A speeddial operation is usually indicated by a press and hold key action.
Copyright © 2009 Nokia | Trademarks | Qt Extended 4.4.3 |