API Documentation

Documentation for developing SailfishOS applications

CoverPlaceholder QML Type

Provides template cover content for a very simple application cover More...

Import Statement: import Sailfish.Silica 1.0

Properties

Detailed Description

CoverPlaceholder provides a template for a very simple application cover with a label and an image. It is typically presented when more informative content is unavailable, or the application state is to be conveyed with a short text message.

For example:

 import QtQuick 2.2
 import Sailfish.Silica 1.0

 ApplicationWindow {
     cover: Component {
         CoverBackground {
             CoverPlaceholder {
                 icon.source: "icon.png"
                 text: "My app"
             }
         }
     }
 }

See the Cover and Sailfish Application Features documentation for more information on covers.

Property Documentation

icon : Image

The icon to display.

If this is a relative URL, it is located relative to the QML file that defines the cover.


text : string

The text to display.


We use cookies to improve your user experience and to help us to develop our services. By continuing to browse the site, you approve of our use of cookies.