Pane and SwipeView errors

343
2
Jump to solution
05-01-2019 07:01 AM
jaykapalczynski
Frequent Contributor

I am using the Template Quick Report 3.3

I am then referencing the WebMap Template

I am trying to add the "WebMapIdentify.qml" code into the Quick Report.

I pointed to a new webmap and can see my data in the QuickReport Location page.

I want to identify on those features.

When I add the Pane and SwipeView code to the "RefineLocationPage.qml" I get an error that says Pane and SwipView is not a type.

I have looked everywhere for a reference to this or some sort of configuration etc.  I am new at this so please bear with me.  Is there somewhere that I need to define or import something that recognizes those?

0 Kudos
1 Solution

Accepted Solutions
RogerPine1
New Contributor

Those controls are imported at the top of the RefineLocationPage.qml file as:

import QtQuick.Controls 2.1 as NewControls

In order to use them you can reference them as NewControls.Pane and NewControls.SwipeView.

View solution in original post

0 Kudos
2 Replies
RogerPine1
New Contributor

Those controls are imported at the top of the RefineLocationPage.qml file as:

import QtQuick.Controls 2.1 as NewControls

In order to use them you can reference them as NewControls.Pane and NewControls.SwipeView.
0 Kudos
jaykapalczynski
Frequent Contributor

Awesome...I knew I was just missing a reference or something.....Cheers

0 Kudos