You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
609 B
27 lines
609 B
import QtQuick 2.12 |
|
import QtQuick.Controls 2.12 |
|
|
|
import NERvGear 1.0 as NVG |
|
import NERvGear.Templates 1.0 as T |
|
|
|
|
|
T.Widget { |
|
solid: true |
|
visible: true |
|
|
|
property string version: "" |
|
property var defaultValues: {} |
|
signal completed() |
|
signal updated() |
|
|
|
Component.onCompleted: { |
|
if (!widget.settings.styles) { |
|
widget.settings.styles = defaultValues; |
|
widget.settings.version = version; |
|
} else if (widget.settings.version !== version) { |
|
updated(); |
|
widget.settings.version = version; |
|
} |
|
completed(); |
|
} |
|
}
|
|
|