From 653cbfaf56969e3ff2b6c0a1e688ae3b7e405aa1 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Mon, 26 Sep 2016 11:37:48 +0200 Subject: [PATCH] fix(app): many changes --- tests/ui/components/dialog/ConfirmDialog.qml | 2 +- tests/ui/components/image/Icon.qml | 2 ++ tests/ui/components/invertedMouseArea/InvertedMouseArea.qml | 6 +++--- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/tests/ui/components/dialog/ConfirmDialog.qml b/tests/ui/components/dialog/ConfirmDialog.qml index 14e66979f..2990f5cb5 100644 --- a/tests/ui/components/dialog/ConfirmDialog.qml +++ b/tests/ui/components/dialog/ConfirmDialog.qml @@ -5,7 +5,7 @@ import 'qrc:/ui/components/form' import 'qrc:/ui/style/components' // =================================================================== -// A simple dialog with OK/Cancel buttons. +// A dialog with OK/Cancel buttons. // =================================================================== DialogPlus { diff --git a/tests/ui/components/image/Icon.qml b/tests/ui/components/image/Icon.qml index 9f5deb396..6a25d18aa 100644 --- a/tests/ui/components/image/Icon.qml +++ b/tests/ui/components/image/Icon.qml @@ -1,5 +1,7 @@ import QtQuick 2.7 +// =================================================================== +// An icon image properly resized. // =================================================================== Image { diff --git a/tests/ui/components/invertedMouseArea/InvertedMouseArea.qml b/tests/ui/components/invertedMouseArea/InvertedMouseArea.qml index a9341738e..9215d5447 100644 --- a/tests/ui/components/invertedMouseArea/InvertedMouseArea.qml +++ b/tests/ui/components/invertedMouseArea/InvertedMouseArea.qml @@ -1,4 +1,4 @@ -import QtQuick 2.0 +import QtQuick 2.7 import 'qrc:/ui/style/global' @@ -49,9 +49,9 @@ Item { // See: http://doc.qt.io/qt-5/qml-qtqml-component.html#completed-signal // // The creation order of components in a view is undefined, - // so the mouse area mustt be created only when `enabled == true`. + // so the mouse area must be created only when `enabled == true`. // - // In the first view render, `enabled` must equal false. + // In the first render, `enabled` must be equal to false. Component.onCompleted: enabled && _createMouseArea() Component.onDestruction: _deleteMouseArea()