Skip to content

Commit 200188f

Browse files
authored
Remove the Authentication View demo from UiToolsExamples (#745)
* Remove the Authentication View demo from UiToolsExamples * Default to Authenticator instead of AuthenticationView * Place code example inline in AuthView doc * indentation
1 parent acf45cd commit 200188f

File tree

8 files changed

+6
-130
lines changed

8 files changed

+6
-130
lines changed

uitools/examples/qml/DemoPage.qml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ Control {
104104
anchors.centerIn: demoPage
105105
active: !handlesOwnAuthentication
106106
sourceComponent: Component {
107-
AuthenticationView { }
107+
Authenticator { }
108108
}
109109
}
110110

uitools/examples/qml/demos/AuthenticationViewDemoForm.qml

Lines changed: 0 additions & 39 deletions
This file was deleted.

uitools/examples/qml/demos/demos.qrc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
<RCC>
22
<qresource prefix="/">
33
<file>AuthenticatorDemoForm.qml</file>
4-
<file>AuthenticationViewDemoForm.qml</file>
54
<file>BasemapGalleryDemoForm.qml</file>
65
<file>BookmarksViewDemoForm.qml</file>
76
<file>CalloutDemoForm.qml</file>

uitools/examples/qml/tools.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,6 @@ const TOOLS = [
6363
"name": "Scalebar",
6464
"url": "ScalebarDemoForm.qml"
6565
},
66-
{
67-
"name": "Authentication view",
68-
"url": "AuthenticationViewDemoForm.qml",
69-
"handlesOwnAuthentication" : true
70-
},
7166
{
7267
"name": "Authenticator",
7368
"url": "AuthenticatorDemoForm.qml",

uitools/examples/src/demos/AuthenticationViewDemo.cpp

Lines changed: 0 additions & 43 deletions
This file was deleted.

uitools/examples/src/demos/AuthenticationViewDemo.h

Lines changed: 0 additions & 38 deletions
This file was deleted.

uitools/examples/src/demos/demos.pri

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ INCLUDEPATH += $$PWD
1818
DEPENDPATH += $$PWD
1919

2020
HEADERS += $$PWD/AuthenticatorDemo.h \
21-
$$PWD/AuthenticationViewDemo.h \
2221
$$PWD/BasemapGalleryDemo.h \
2322
$$PWD/BookmarksViewDemo.h \
2423
$$PWD/CalloutDemo.h \
@@ -33,7 +32,6 @@ HEADERS += $$PWD/AuthenticatorDemo.h \
3332
$$PWD/UtilityNetworkTraceDemo.h
3433

3534
SOURCES += $$PWD/AuthenticatorDemo.cpp \
36-
$$PWD/AuthenticationViewDemo.cpp \
3735
$$PWD/BasemapGalleryDemo.cpp \
3836
$$PWD/BookmarksViewDemo.cpp \
3937
$$PWD/CalloutDemo.cpp \

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,11 @@ import QtQuick.Controls
6868
{Qt WebView}.
6969
7070
\image authenticationview_qml.png authentication_view
71-
\snippet qml/demos/AuthenticationViewDemoForm.qml Set up Authentication View QML
71+
\code
72+
AuthenticationView {
73+
anchors.centerIn: parent
74+
}
75+
\endcode
7276
*/
7377

7478
Item {

0 commit comments

Comments
 (0)