Skip to content

Commit b5fcac7

Browse files
authored
Merge pull request #589 from Esri/v.next
Updating main branch to 200.1
2 parents f4d4bd5 + f31ea06 commit b5fcac7

File tree

22 files changed

+93
-29
lines changed

22 files changed

+93
-29
lines changed

CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
## 200.0
44
* (UtilityNetworkTrace) Introduction of the new Utility Network Trace tool (C++/Quick).
5+
* Increased minimum version to use Qt 6
6+
* Updated language to allow for C++ 17
57

68
## 100.15
79

augmentedreality/CppApi/source/ArcGISArView.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ namespace Esri::ArcGISRuntime::Toolkit {
4545
This toolkit component allows quick and easy integration
4646
of AR into your application for a variety of scenarios.
4747
48-
See \l {https://github.com/Esri/arcgis-runtime-toolkit-qt/blob/master/Common/AR/README.md} {additional details about using the ArcGISArView toolkit component}.
48+
See \l {https://github.com/Esri/arcgis-maps-sdk-toolkit-qt/blob/master/Common/AR/README.md} {additional details about using the ArcGISArView toolkit component}.
4949
*/
5050

5151
/*!

augmentedreality/Examples/CppArExample/CppArExample.pro

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ equals(QT_MAJOR_VERSION, 6) {
3535
}
3636
}
3737

38-
ARCGIS_RUNTIME_VERSION = 200.0.0
38+
ARCGIS_RUNTIME_VERSION = 200.1.0
3939
include($$PWD/arcgisruntime.pri)
4040

4141
HEADERS += \
@@ -58,7 +58,7 @@ OTHER_FILES += \
5858
# AR configuration
5959

6060
# The path to the ArcGIS runtime toolkit for Qt sources, corresponding to the files downloaded
61-
# from the GitHub repo: https://github.com/Esri/arcgis-runtime-toolkit-qt
61+
# from the GitHub repo: https://github.com/Esri/arcgis-maps-sdk-toolkit-qt
6262

6363
ARCGIS_TOOLKIT_PATH = # must be set to the root path of the toolkit folder
6464

augmentedreality/Examples/QmlArExample/QmlArExample.pro

+2-2
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ equals(QT_MAJOR_VERSION, 6) {
3737
}
3838
}
3939

40-
ARCGIS_RUNTIME_VERSION = 200.0.0
40+
ARCGIS_RUNTIME_VERSION = 200.1.0
4141
include($$PWD/arcgisruntime.pri)
4242

4343
TEMPLATE = app
@@ -64,7 +64,7 @@ OTHER_FILES += \
6464
# AR configuration
6565

6666
# The path to the ArcGIS Maps SDK toolkit for Qt sources, corresponding to the files downloaded
67-
# from the GitHub repo: https://github.com/Esri/arcgis-runtime-toolkit-qt
67+
# from the GitHub repo: https://github.com/Esri/arcgis-maps-sdk-toolkit-qt
6868

6969
ARCGIS_TOOLKIT_PATH = # must be set to the root path of the toolkit folder
7070

augmentedreality/QmlApi/source/QmlArcGISArView.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ namespace Esri::ArcGISRuntime::Toolkit {
3535
The Augmented Reality (AR) toolkit component allows quick and easy integration
3636
of AR into your application for a variety of scenarios.
3737
38-
See see \l {https://github.com/Esri/arcgis-runtime-toolkit-qt/blob/master/Common/AR/README.md}{the AR README on GitHub}
38+
See see \l {https://github.com/Esri/arcgis-maps-sdk-toolkit-qt/blob/master/Common/AR/README.md}{the AR README on GitHub}
3939
for details.
4040
*/
4141

augmentedreality/README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,10 @@ used to create the Qt project.
7777
for details.
7878

7979
2. Download from GitHub the source files of the
80-
[ArcGIS Maps SDK for Qt Toolkit](https://github.com/Esri/arcgis-runtime-toolkit-qt).
80+
[ArcGIS Maps SDK for Qt Toolkit](https://github.com/Esri/arcgis-maps-sdk-toolkit-qt).
8181

8282
3. In Qt Creator, create a new project and select the app template named
83-
"ArcGIS Maps 200.0.0 Qt Quick C++ app". Select the option "3D project" in the
83+
"ArcGIS Maps 200.1.0 Qt Quick C++ app". Select the option "3D project" in the
8484
"Details" dialog.
8585

8686
4. In the newly created project, add the following lines anywhere in the app's project (`.pro`)
@@ -225,9 +225,9 @@ An example of QML app with AR support can be found in the folder
225225
[ArcGIS Maps SDK for Qt Guide](https://developers.arcgis.com/qt/latest/qml/guide/arcgis-runtime-sdk-for-qt.htm)
226226
for details.
227227

228-
2. Download the sources of the [ArcGIS Maps SDK for Qt Toolkit](https://github.com/Esri/arcgis-runtime-toolkit-qt) from GitHub.
228+
2. Download the sources of the [ArcGIS Maps SDK for Qt Toolkit](https://github.com/Esri/arcgis-maps-sdk-toolkit-qt) from GitHub.
229229

230-
3. In Qt Creator, create a new project and select "ArcGIS Maps 200.0.0 Qt Quick QML app".
230+
3. In Qt Creator, create a new project and select "ArcGIS Maps 200.1.0 Qt Quick QML app".
231231
Select the option "3D project" in the "Details" step.
232232

233233
4. In the created project, add the following lines anywhere in the app's project

calcite-qml/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ To integrate Calcite into your app, add the following lines to your `*.pro` file
1818

1919
```pro
2020
QT += quickcontrols2
21-
RESOURCES += path/to/arcgis-runtime-toolkit-qt/calcite-qml/Calcite/calcite.qrc
21+
RESOURCES += path/to/arcgis-maps-sdk-toolkit-qt/calcite-qml/Calcite/calcite.qrc
2222
```
2323

2424
And then in `main.cpp` add the following lines:

calcite-qml/demo/calcite_test.pro

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ CONFIG += c++17
2323
# additional modules are pulled in via arcgisruntime.pri
2424
QT += opengl qml quick quickcontrols2
2525

26-
ARCGIS_RUNTIME_VERSION = 200.0.0
26+
ARCGIS_RUNTIME_VERSION = 200.1.0
2727
include($$PWD/arcgisruntime.pri)
2828

2929
TEMPLATE = app

tests/uitools/cpp_quick/unit_tests/BasemapGalleryItemUnitTest/BasemapGalleryItemUnitTest.pro

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ QT += testlib
2727
QT -= gui
2828
QT += core gui opengl xml testlib network positioning sensors multimedia quick
2929

30-
ARCGIS_RUNTIME_VERSION = 200.0.0
30+
ARCGIS_RUNTIME_VERSION = 200.1.0
3131

3232
include($$PWD/../arcgisruntime.pri)
3333
include($$PWD/../../../../../uitools/toolkitcpp.pri)

tests/uitools/qml_quick/functional_tests/FloorFilterControllerFuncTest/FloorFilterControllerFuncTest.pro

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ CONFIG += c++17 warn_on qmltestcase
1616

1717
TEMPLATE = app
1818

19-
ARCGIS_RUNTIME_VERSION = 200.0.0
19+
ARCGIS_RUNTIME_VERSION = 200.1.0
2020
include($$PWD/../../shared/arcgisruntime.pri)
2121
include($$PWD/../../../../../uitools/toolkitqml.pri)
2222

tests/uitools/qml_quick/functional_tests/FloorFilterFuncTest/FloorFilterFuncTest.pro

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ CONFIG += c++17 warn_on qmltestcase
1616

1717
TEMPLATE = app
1818

19-
ARCGIS_RUNTIME_VERSION = 200.0.0
19+
ARCGIS_RUNTIME_VERSION = 200.1.0
2020
include($$PWD/../../shared/arcgisruntime.pri)
2121
include($$PWD/../../../../../uitools/toolkitqml.pri)
2222

tests/uitools/qml_quick/unit_tests/FloorFilterControllerUnitTest/FloorFilterControllerUnitTest.pro

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ CONFIG += c++17 warn_on qmltestcase
1616

1717
TEMPLATE = app
1818

19-
ARCGIS_RUNTIME_VERSION = 200.0.0
19+
ARCGIS_RUNTIME_VERSION = 200.1.0
2020
include($$PWD/../../shared/arcgisruntime.pri)
2121
include($$PWD/../../../../../uitools/toolkitqml.pri)
2222

uitools/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ project.
4747
A good way to start using the toolkit is to use one of the template apps which
4848
get added to QtCreator when you install the ArcGIS Runime SDK for Qt.
4949

50-
- In QtCreator choose `File/New file or project/ArcGIS/ArcGIS Maps 200.0.0 Quick QML App`
50+
- In QtCreator choose `File/New file or project/ArcGIS/ArcGIS Maps 200.1.0 Quick QML App`
5151
- choose settings to match the platform etc. you are building for
5252
- in the `.pro` file of your new app, add a line to add the toolkit for your
5353
QML application. For example:
@@ -111,7 +111,7 @@ MapView {
111111
A good way to start using the toolkit is to use one of the template apps which
112112
get added to QtCreator when you install the ArcGIS Runime SDK for Qt.
113113

114-
- In QtCreator choose `File/New file or project/ArcGIS/ArcGIS Maps 200.0.0 Qt Quick C++ App`
114+
- In QtCreator choose `File/New file or project/ArcGIS/ArcGIS Maps 200.1.0 Qt Quick C++ App`
115115
- choose settings to match the platform etc. you are building for
116116
- in the `.pro` file of your new app, add a line to add the library for your QML
117117
plugin - for example:
@@ -172,7 +172,7 @@ MapView {
172172
A good way to start using the toolkit is to use one of the template apps which
173173
get added to QtCreator when you install the ArcGIS Maps SDK for Qt.
174174

175-
- In QtCreator choose `File/New file or project/ArcGIS/ArcGIS Maps 200.0.0 Qt Widgets App`
175+
- In QtCreator choose `File/New file or project/ArcGIS/ArcGIS Maps 200.1.0 Qt Widgets App`
176176
- choose settings to match the platform etc. you are building for
177177
- in the `.pro` file of your new app, add a line to add the library for your QML
178178
plugin - for example:

uitools/examples/cpp_quick/cpp_quick.pro

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ equals(QT_MAJOR_VERSION, 6) {
3939
}
4040
}
4141

42-
ARCGIS_RUNTIME_VERSION = 200.0.0
42+
ARCGIS_RUNTIME_VERSION = 200.1.0
4343
include($$PWD/arcgisruntime.pri)
4444
include($$PWD/../../toolkitcpp.pri)
4545

uitools/examples/qml_quick/qml_quick.pro

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ CONFIG += c++17
2424
# additional modules are pulled in via arcgisruntime.pri
2525
QT += opengl qml quick
2626

27-
ARCGIS_RUNTIME_VERSION = 200.0.0
27+
ARCGIS_RUNTIME_VERSION = 200.1.0
2828
include($$PWD/arcgisruntime.pri)
2929
include($$PWD/../../toolkitqml.pri)
3030

uitools/import/Esri/ArcGISRuntime/Toolkit/AuthenticationView.qml

+15-3
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,13 @@ Item {
7171
const component = internal.viewNameForChallengeType(controller.currentChallengeType);
7272
if (component) {
7373
const incubator = component.incubateObject(authenticationView);
74-
incubator.onStatusChanged = function(status) {
75-
if (status === Component.Ready) {
76-
this.object.open();
74+
if (incubator.status === Component.Ready) {
75+
incubator.object.open();
76+
} else {
77+
incubator.onStatusChanged = function(status) {
78+
if (status === Component.Ready) {
79+
this.object.open();
80+
}
7781
}
7882
}
7983
}
@@ -94,6 +98,7 @@ Item {
9498
onClosed: {
9599
this.destroy();
96100
}
101+
Component.onCompleted: activeLoginViewReady_(this)
97102
}
98103
}
99104

@@ -111,6 +116,7 @@ Item {
111116
onClosed: {
112117
this.destroy();
113118
}
119+
onWebViewLoaded_: activeLoginViewReady_(this)
114120
}
115121
}
116122

@@ -148,6 +154,12 @@ Item {
148154
}
149155
}
150156

157+
/*!
158+
\internal
159+
\brief signal emitted when the login view is in the Ready state
160+
*/
161+
signal activeLoginViewReady_(var activeLoginView)
162+
151163
QtObject {
152164
id: internal
153165
function viewNameForChallengeType(type) {

uitools/import/Esri/ArcGISRuntime/Toolkit/Controller/qmldir

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
module Esri.ArcGISRuntime.Toolkit.Controller
1616

1717
# Current version increment
18-
CurrentVersion 200.0 CurrentVersion.qml
18+
CurrentVersion 200.1 CurrentVersion.qml
1919

2020
# Controller components
2121
AuthenticationController 100.10 AuthenticationController.qml

uitools/import/Esri/ArcGISRuntime/Toolkit/OAuth2View.qml

+31
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ Dialog {
5555
onLoadingChanged: (loadRequest) => {
5656
if (loadRequest.status === WebView.LoadSucceededStatus) {
5757
forceActiveFocus();
58+
webViewLoaded_();
5859
} else if (loadRequest.status === WebView.LoadFailedStatus) {
5960
controller.cancelWithError("Failed to load");
6061
}
@@ -102,4 +103,34 @@ Dialog {
102103
webview.runJavaScript(js, function(result) { html = result; });
103104
}
104105
}
106+
107+
/*!
108+
\internal
109+
\brief signal emitted when the login web view is loaded
110+
*/
111+
signal webViewLoaded_
112+
113+
/*!
114+
\internal
115+
\brief pre-fill the username and password fields
116+
*/
117+
function prefillUsernameAndPassword(username, password) {
118+
const js = `setTimeout(function() { document.getElementById('user_username').value = '${username}'; document.getElementById('user_password').value = '${password}'; }, 1000);`;
119+
webView.runJavaScript(js);
120+
}
121+
122+
/*!
123+
\internal
124+
\brief Fill and accept the username and password
125+
*/
126+
function applyUsernameAndPassword(username, password) {
127+
const js = `
128+
setTimeout(function() {
129+
document.getElementById('user_username').value = '${username}';
130+
document.getElementById('user_password').value = '${password}';
131+
document.getElementById('oauth').submit();
132+
}, 1000);
133+
`;
134+
webView.runJavaScript(js);
135+
}
105136
}

uitools/import/Esri/ArcGISRuntime/Toolkit/UserCredentialsView.qml

+19
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,25 @@ Dialog {
109109
return usernameTextField.text !== "" && passwordTextField.text !== "";
110110
}
111111

112+
/*!
113+
\internal
114+
\brief pre-fill the username and password fields
115+
*/
116+
function prefillUsernameAndPassword(username, password) {
117+
usernameTextField.text = username;
118+
passwordTextField.text = password;
119+
}
120+
121+
/*!
122+
\internal
123+
\brief Fill and accept the username and password
124+
*/
125+
function applyUsernameAndPassword(username, password) {
126+
prefillUsernameAndPassword(username, password);
127+
acceptWithCurrentUsernameAndPassword();
128+
accept();
129+
}
130+
112131
/*!
113132
\internal
114133
\brief Attempts to apply the current username and password to

uitools/import/Esri/ArcGISRuntime/Toolkit/qmldir

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@
1414

1515
module Esri.ArcGISRuntime.Toolkit
1616

17-
depends Esri.ArcGISRuntime.Toolkit.Controller 200.0
17+
depends Esri.ArcGISRuntime.Toolkit.Controller 200.1
1818

1919
# Current version increment
20-
CurrentVersion 200.0 CurrentVersion.qml
20+
CurrentVersion 200.1 CurrentVersion.qml
2121

2222
# View components
2323
AuthenticationView 100.10 AuthenticationView.qml

uitools/register/Esri/ArcGISRuntime/Toolkit/internal/register_cpp.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ namespace Esri::ArcGISRuntime::Toolkit {
6767
constexpr char const* NAMESPACE = "Esri.ArcGISRuntime.Toolkit.Controller";
6868

6969
constexpr int VERSION_MAJOR = 200;
70-
constexpr int VERSION_MINOR = 0;
70+
constexpr int VERSION_MINOR = 1;
7171

7272
/*
7373
\internal

uitools/toolkit.qdocconf

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ project = EsriArcGISRuntimeToolkit
1616

1717
description = Esri ArcGISRuntime Toolkit Documentation
1818

19-
version = 200.0
19+
version = 200.1
2020

2121
headers.fileextensions = "*.h"
2222

0 commit comments

Comments
 (0)