Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import QtQuick 2.0
- import Sailfish.Silica 1.0
- import com.jolla.settings 1.0
- Page {
- id: page
- SilicaFlickable {
- id: flick
- anchors.fill: parent
- contentHeight: content.height
- Column {
- id: content
- width: parent.width
- FavoritesZone { id: favs }
- Item {
- // spacer to keep page links at bottom when the page isn't full, and always keep a little margin
- height: Math.max(2*Theme.paddingLarge, page.height - favs.height - pages.height - Theme.paddingLarge)
- width: parent.width
- }
- Column {
- id: pages
- width: parent.width
- Repeater {
- model: SettingsModel {
- path: []
- depth: 1
- }
- delegate: SettingComponentLoader {
- settingsObject: model.object
- }
- }
- }
- }
- VerticalScrollDecorator {}
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement