aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBramastyo Harimukti <bramastyo.harimukti.santoso@pelagicore.com>2018-06-06 11:59:26 +0200
committerAlexandra Betouni <ABetouni@luxoft.com>2018-06-06 11:48:39 +0000
commit91d80f735bf3670e05878ac8f644a734ca196b93 (patch)
tree3b4d822bc3472386be9655732a52e000c2feca54
parentd0706876d79fb8178fcc90c80d45419220e2b37e (diff)
[doc] fix qdoc build warnings
Task-number: AUTOSUITE-528 Change-Id: I857b84d15886a83937195aa95fcaee4e203465fe Reviewed-by: Lukáš Tinkl <ltinkl@luxoft.com> Reviewed-by: Alexandra Betouni <ABetouni@luxoft.com>
-rw-r--r--doc/neptune3ui-project.qdocconf4
-rw-r--r--doc/src/neptune3ui-application-development.qdoc2
-rw-r--r--imports/shared/utils/Tracer.qml39
3 files changed, 25 insertions, 20 deletions
diff --git a/doc/neptune3ui-project.qdocconf b/doc/neptune3ui-project.qdocconf
index 990aa087..2ba82653 100644
--- a/doc/neptune3ui-project.qdocconf
+++ b/doc/neptune3ui-project.qdocconf
@@ -5,9 +5,9 @@ url = http://doc.qt.io/Neptune3UI
sourcedirs += src ../
imagedirs += src/images
-depends += qtquick qtqml applicationmanager
+depends += qtquick qtqml
-qhp.projects = Neptune3UI
+qhp.projects = Neptune3UI
qhp.Neptune3UI.file = neptune3ui.qhp
qhp.Neptune3UI.namespace = io.qt.neptune3ui.$QT_VERSION_TAG
qhp.Neptune3UI.virtualFolder = neptune3ui
diff --git a/doc/src/neptune3ui-application-development.qdoc b/doc/src/neptune3ui-application-development.qdoc
index 842de004..7a2bc97a 100644
--- a/doc/src/neptune3ui-application-development.qdoc
+++ b/doc/src/neptune3ui-application-development.qdoc
@@ -124,7 +124,7 @@ You can use the following interfaces in application development:
\row
\li \l {IntentsInterface}
\li Provides an interface to support the intent concept in Neptune 3 to communicate
- \l between application within Neptune 3
+ between application within Neptune 3
\endtable
Click \l{Neptune 3 UI Components and Interfaces}{here} to see more details about available
diff --git a/imports/shared/utils/Tracer.qml b/imports/shared/utils/Tracer.qml
index ca67b6b0..e3cdb097 100644
--- a/imports/shared/utils/Tracer.qml
+++ b/imports/shared/utils/Tracer.qml
@@ -105,11 +105,33 @@ MouseArea {
*/
readonly property bool fill: root.opaque
+ /*!
+ \qmlmethod color Tracer::randomColor()
+
+ Generate random color for the Tracer's border.
+ */
+ function randomColor() {
+ return Qt.rgba(Math.random(), Math.random(), Math.random(), 1.0)
+ }
+
visible: false
acceptedButtons: Qt.RightButton
anchors.fill: parent
propagateComposedEvents: true
+ onPressAndHold: {
+ console.log(Logging.sysui, 'trace: ' + root.parent)
+
+ console.log(Logging.sysui, 'Hierarchy: ')
+ var parent = root.parent;
+ var indent = ' ';
+ while (parent) {
+ console.log(Logging.sysui, indent + '+ ' + parent)
+ indent += ' ';
+ parent = parent.parent;
+ }
+ }
+
Rectangle {
id: fill
anchors.fill: parent
@@ -138,21 +160,4 @@ MouseArea {
font.pixelSize: 10
color: root.color
}
-
- function randomColor() {
- return Qt.rgba(Math.random(), Math.random(), Math.random(), 1.0)
- }
-
- onPressAndHold: {
- console.log(Logging.sysui, 'trace: ' + root.parent)
-
- console.log(Logging.sysui, 'Hierarchy: ')
- var parent = root.parent;
- var indent = ' ';
- while (parent) {
- console.log(Logging.sysui, indent + '+ ' + parent)
- indent += ' ';
- parent = parent.parent;
- }
- }
}