This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import QtQuick 2.7 | |
import ArcGIS.AppFramework 1.0 | |
import ArcGIS.AppFramework.Sql 1.0 | |
Item { | |
width: 640 | |
height: 480 | |
FileFolder { | |
id: fileFolder |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT ST_Distance(ST_Point(144.965819, -37.830658, 4326), | |
ST_Point(144.954433, -37.832262, 4326)) as distance; | |
-- 1015.7444936798523 | |
SELECT ST_Azimuth(ST_Point(144.965819, -37.830658, 4326), | |
ST_Point(144.954433, -37.832262, 4326)) as radians; | |
-- 4.535820702776582 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This sample demonstrates how to copy out a resource from your app to your file system. | |
// | |
// This AppStudio works around the issue that you cannot give the operating system links | |
// to resources embedded in your application. To achieve this, we copy the resources out | |
// which causes their URL to change from a qrc:/ to file:/ URI. After copying, we can | |
// easily open the file with Qt.openUrlExternally. | |
import QtQuick 2.7 | |
import QtQuick.Controls 2.1 | |
import ArcGIS.AppFramework 1.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// appstudio-detect-internet.qml | |
// | |
// Detects an active internet connection (LAN, WiFI or MobileData) | |
// For use with AppStudio for ArcGIS | |
// | |
// Notes: | |
// This uses AppStudio's Networking plugin which is a wrapper for | |
// Qt's QNetworkConfigurationManager and QNetworkConfiguration classes. | |
// | |
// This application works by using BearerType for all platforms except for iOS. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import QtQuick 2.7 | |
import QtQuick.Layouts 1.3 | |
import QtQuick.Controls 2.1 | |
import QtQuick.Dialogs 1.0 | |
import ArcGIS.AppFramework 1.0 | |
App { | |
id: app | |
width: 640 * AppFramework.displayScaleFactor |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// appstudio-sqlaggregatefunction-sample.qml | |
// | |
// Sample demonstrating how to use SqlAggregateFunction. | |
import QtQuick 2.8 | |
import QtQuick.Layouts 1.3 | |
import QtQuick.Controls 1.4 | |
import QtQuick.Controls 2.1 | |
import QtGraphicalEffects 1.0 | |
import ArcGIS.AppFramework 1.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This sample demonstrates creation, populating and querying a SQLite database. | |
// When run the TableView component is populated with a data from the Cities table. | |
// | |
// Melbourne, Australia, -37.9716929, 144.7729583 | |
// London, UK, 51.5287718, -0.2416804 | |
// Paris, France, 48.8589507, 2.2770205 | |
// New York City, USA, 40.6976637, -74.1197639 | |
// Tokyo, Japan, 35.6735408, 139.5703047 | |
import QtQuick 2.9 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This sample allows you to pick and view an image from your pictures folder | |
import QtQuick 2.7 | |
import QtQuick.Controls 2.1 | |
import QtQuick.Dialogs 1.2 | |
import QtQuick.Layouts 1.3 | |
Item { | |
ColumnLayout { | |
anchors.fill: parent |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This sample shows how you can make a QtQuick 1 table have the a QtQuick 2 look and feel | |
// - Uses custom headerDelegate, rowDelegate, itemDelegate | |
// - Also shows: | |
// - how to dynamically create columns | |
// - make the table "flickable" on Android devices | |
// - simple "3D" styling with LinearGradient | |
import QtQuick 2.8 | |
import QtQuick.Controls 1.4 | |
import QtQuick.Controls 2.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import QtQuick 2.7 | |
import QtQuick.Controls 2.1 | |
import QtQuick.Layouts 1.3 | |
import ArcGIS.AppFramework 1.0 | |
import ArcGIS.AppFramework.Controls 1.0 | |
Item { | |
property string errorString: "" |
OlderNewer