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.