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

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

Contents

  • Classes
  • Detailed Description

Sailfish Silica c++ API Reference

Silica c++ API More...

Classes

ImageProvider

Allows to load graphical assets into application, picking the best candidate of size variants

Screen

Allows to access the screen properties

Theme

Allows to access the theme properties, e.g. colors and sizes

IconInfo

Contains icon information returned by ThemeIconResolver

ThemeIconResolver

Allows to request theme icons

Detailed Description

Silica has a c++ API and library for fetching some basic theme and screen properties. It also constains an image provider which can be used for loading custom graphics.

To include the library in a qmake project, add following to the .pro file compiling c++

 CONFIG += link_pkgconfig
 PKGCONFIG += sailfishsilica

Unless stated otherwise, all the classes in the library are in Silica namespace.

  • Legal
  • Contact Us
  • Jolla Mobile Ltd © 2025

  • Facebook
  • Twitter
  • Mastodon
  • YouTube
  • LinkedIn