Using Sailfish OS Apps
SailfishOS is a touch based UI – we’ll quickly explain how to use some of the gestures in the emulator – for a complete explanation see the UX framework page.
There are two kinds of gestures in SailfishOS – “pulls” are those within the screen; “pushes” are those starting outside the screen. It may help to think of moving an edge of the screen by pushing or pulling it.
In the UI, notice the glow at the top edge. It indicates a pulley menu which can be revealed with a pull-down gesture in the main window.
The pulley menu item “Show Page 2″ takes you to the next Page. The menu item can be activated in two ways:
1. Pull the pulley menu down until the menu item is highlighted; then release to activate, or
2. Pull the pulley menu all the way down to expose the entire menu, and tap on the menu item to activate
To move back to the first page you can:
1. simply pull from left to right anywhere in the screen
2. pull from left to right on the page header
(useful if the screen has other touch functionality)
3. touch the glowing page indicator in the top left corner
Applications running in the background have “Covers” which provide a visual summary for the application and support interaction as well. They are displayed in the Home area.
You can access the Home area and see the active cover of the application you just compiled by pushing the application from the side.
This application is showing “My Cover” as the visual representation and provides Play and Pause icons to describe the possible actions.
Pull the cover from left to right to access the left action; pull the other way for the right action.
Stopping the application
In the Home screen press and hold the application until the covers fade out and provide a close button – then tap the close button
You can also close the application directly from QtCreator by using the stop button.
Next, Code walkthrough.