Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

Felgo Live Code Reloading: Web Editor

Run this example on your Android and iOS phone now, with the Felgo Live Scripting mobile app!

import QtQuick 2.8 import Felgo 3.0 App { id: app // list model for json data JsonListModel { id: jsonModel keyField: "id" source: [ {id: 1, title: "Apple" }, {id: 2, title: "Ham" }, {id: 3, title: "Bacon" }, {id: 4, title: "Banana" }, {id: 5, title: "Strawberry" }, {id: 1, title: "Äpple" }, {id: 3, title: "Baçon" }, {id: 4, title: "banana" }, {id: 5, title: "Strawberry" } ] } SortFilterProxyModel { id: sortedModel sourceModel: jsonModel sorters: [ LocaleAwareSorter { id: localeAwareSorter roleName: "title" ignoreDiacritics: true }, StringSorter { id: stringSorter roleName: "title" enabled: false } ] } NavigationStack { Page { title: "String Sorting" AppListView { model: sortedModel delegate: AppListItem { text: model.title } header: Item { anchors.left: parent.left anchors.right: parent.right anchors.margins: dp(16) height: dp(50) AppCheckBox { text: "LocaleAwareSorter" anchors.verticalCenter: parent.verticalCenter checked: localeAwareSorter.enabled updateChecked: false onClicked: { localeAwareSorter.enabled = !localeAwareSorter.enabled if(localeAwareSorter.enabled) stringSorter.enabled = false } } AppCheckBox { text: "StringSorter" anchors.right: parent.right anchors.verticalCenter: parent.verticalCenter checked: stringSorter.enabled updateChecked: false onClicked: { stringSorter.enabled = !stringSorter.enabled if(stringSorter.enabled) localeAwareSorter.enabled = false } } } } } } }

1. Download Felgo Live Scripting app

2. Open the app and add the displayed Dev ID here.

QML Hot Reload on all Platforms

With Felgo Live, you can reload code changes in real-time on any connected device. While this web editor is just for demonstration purposes, you can use hot reloading also for development on your desktop.

Download the Felgo Developer App app to run your code on Android and iOS, from Windows, macOS or Linux.

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded