fix(app): many changes

This commit is contained in:
Ronan Abhamon 2016-09-26 11:37:48 +02:00
parent 1def519d24
commit 653cbfaf56
3 changed files with 6 additions and 4 deletions

View file

@ -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 {

View file

@ -1,5 +1,7 @@
import QtQuick 2.7
// ===================================================================
// An icon image properly resized.
// ===================================================================
Image {

View file

@ -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()