diff --git a/wasm/examples/dtpickers b/wasm/examples/dtpickers index 28309c3..8976dba 100644 --- a/wasm/examples/dtpickers +++ b/wasm/examples/dtpickers @@ -1,6 +1,6 @@ /* -* Shows the use of the dateTime pickers QML module. -* The library is found on https://github.com/EddyTheCo/DateTimePickers +* Shows the use of the Date and Time pickers QML module. +* The library is found on https://github.com/EddyTheCo/Esterv.CustomControls.DateTimePickers * */ import QtQuick 2.0 diff --git a/wasm/examples/omallcodes b/wasm/examples/omallcodes new file mode 100644 index 0000000..9ddda68 --- /dev/null +++ b/wasm/examples/omallcodes @@ -0,0 +1,465 @@ +/* +* Shows the use of a custom QML type that shows the wheatear conditions ant time.. +* The library is found at https://github.com/EddyTheCo/Esterv.Utils.OMClient +* +*/ + + +import QtQuick 2.0 +import QtQuick.Controls +import QtQuick.Layouts +import Esterv.CustomControls.OpenMeteo + +Item +{ + anchors.fill:parent + id: root + + Timer { + id: timer + interval: 50 + repeat: true + running: true + onTriggered: { + code3.iTime += 0.05; + code2Am1.iTime += 0.05; + code2Am0.iTime += 0.05; + code1Am1.iTime += 0.05; + code1Am0.iTime += 0.05; + code0Am1.iTime += 0.05; + code0Am0.iTime += 0.05; + code45Am1.iTime += 0.05; + code45Am0.iTime += 0.05; + code51Am1.iTime += 0.05; + code51Am0.iTime += 0.05; + code53Am1.iTime += 0.05; + code53Am0.iTime += 0.05; + code55Am1.iTime += 0.05; + code55Am0.iTime += 0.05; + code56Am1.iTime += 0.05; + code56Am0.iTime += 0.05; + code57Am1.iTime += 0.05; + code57Am0.iTime += 0.05; + code61Am1.iTime += 0.05; + code61Am0.iTime += 0.05; + code63Am1.iTime += 0.05; + code63Am0.iTime += 0.05; + code65Am1.iTime += 0.05; + code65Am0.iTime += 0.05; + code66Am1.iTime += 0.05; + code66Am0.iTime += 0.05; + code67Am1.iTime += 0.05; + code67Am0.iTime += 0.05; + } + } + ScrollView { + width:root.width*0.99 + height:root.height + contentWidth: width + contentHeight: parent.width * 0.5 * 15 + Grid { + id: grid + width:root.width + height:root.height + columns:2 + + Rectangle { + id: code0Am1Box + color: "#10141c" + width: root.width * 0.5 + height: width + ShaderEffect { + id: code0Am1 + anchors.fill: code0Am1Box + property var src: code0Am1Box + property real iTime: 0.0 + property var pixelStep: Qt.vector2d(1 / src.width, 1 / src.height) + fragmentShader: "qrc:/esterVtech.com/imports/Designs/frag/code0Am1.frag.qsb" + } + } + Rectangle { + id: code0Am0Box + color: "#10141c" + width: root.width * 0.5 + height: width + ShaderEffect { + id: code0Am0 + anchors.fill: code0Am0Box + property var src: code0Am0Box + property real iTime: 0.0 + property var pixelStep: Qt.vector2d(1 / src.width, 1 / src.height) + fragmentShader: "qrc:/esterVtech.com/imports/Designs/frag/code0Am0.frag.qsb" + } + } + Rectangle { + id: code1Am1Box + color: "#10141c" + width: root.width * 0.5 + height: width + ShaderEffect { + id: code1Am1 + anchors.fill: code1Am1Box + property var src: code1Am1Box + property real iTime: 0.0 + property var pixelStep: Qt.vector2d(1 / src.width, 1 / src.height) + fragmentShader: "qrc:/esterVtech.com/imports/Designs/frag/code1Am1.frag.qsb" + } + } + Rectangle { + id: code1Am0Box + color: "#10141c" + width: root.width * 0.5 + height: width + ShaderEffect { + id: code1Am0 + anchors.fill: code1Am0Box + property var src: code1Am0Box + property real iTime: 0.0 + property var pixelStep: Qt.vector2d(1 / src.width, 1 / src.height) + fragmentShader: "qrc:/esterVtech.com/imports/Designs/frag/code1Am0.frag.qsb" + } + } + + Rectangle { + id: code2Am1Box + color: "#10141c" + width: root.width * 0.5 + height: width + ShaderEffect { + id: code2Am1 + anchors.fill: code2Am1Box + property var src: code2Am1Box + property real iTime: 0.0 + property var pixelStep: Qt.vector2d(1 / src.width, 1 / src.height) + fragmentShader: "qrc:/esterVtech.com/imports/Designs/frag/code2Am1.frag.qsb" + } + } + Rectangle { + id: code2Am0Box + color: "#10141c" + width: root.width * 0.5 + height: width + ShaderEffect { + id: code2Am0 + anchors.fill: code2Am0Box + property var src: code2Am0Box + property real iTime: 0.0 + property var pixelStep: Qt.vector2d(1 / src.width, 1 / src.height) + fragmentShader: "qrc:/esterVtech.com/imports/Designs/frag/code2Am0.frag.qsb" + } + } + Rectangle { + id: code3Box + color: "#10141c" + width: root.width * 0.5 + height: width + + ShaderEffect { + id: code3 + anchors.fill: code3Box + property var src: code3Box + property real iTime: 0.0 + property var pixelStep: Qt.vector2d(1 / src.width, 1 / src.height) + fragmentShader: "qrc:/esterVtech.com/imports/Designs/frag/code3.frag.qsb" + } + } + Rectangle { + id: code45Am1Box + color: "#10141c" + width: root.width * 0.5 + height: width + ShaderEffect { + id: code45Am1 + anchors.fill: code45Am1Box + property var src: code45Am1Box + property real iTime: 0.0 + property var pixelStep: Qt.vector2d(1 / src.width, 1 / src.height) + fragmentShader: "qrc:/esterVtech.com/imports/Designs/frag/code45Am1.frag.qsb" + } + } + Rectangle { + id: code45Am0Box + color: "#10141c" + width: root.width * 0.5 + height: width + ShaderEffect { + id: code45Am0 + anchors.fill: code45Am0Box + property var src: code45Am0Box + property real iTime: 0.0 + property var pixelStep: Qt.vector2d(1 / src.width, 1 / src.height) + fragmentShader: "qrc:/esterVtech.com/imports/Designs/frag/code45Am0.frag.qsb" + } + } + Rectangle { + id: code51Am1Box + color: "#10141c" + width: root.width * 0.5 + height: width + ShaderEffect { + id: code51Am1 + anchors.fill: code51Am1Box + property var src: code51Am1Box + property real iTime: 0.0 + property var pixelStep: Qt.vector2d(1 / src.width, 1 / src.height) + fragmentShader: "qrc:/esterVtech.com/imports/Designs/frag/code51Am1.frag.qsb" + } + } + Rectangle { + id: code51Am0Box + color: "#10141c" + width: root.width * 0.5 + height: width + ShaderEffect { + id: code51Am0 + anchors.fill: code51Am0Box + property var src: code51Am0Box + property real iTime: 0.0 + property var pixelStep: Qt.vector2d(1 / src.width, 1 / src.height) + fragmentShader: "qrc:/esterVtech.com/imports/Designs/frag/code51Am0.frag.qsb" + } + } + Rectangle { + id: code53Am1Box + color: "#10141c" + width: root.width * 0.5 + height: width + ShaderEffect { + id: code53Am1 + anchors.fill: code53Am1Box + property var src: code53Am1Box + property real iTime: 0.0 + property var pixelStep: Qt.vector2d(1 / src.width, 1 / src.height) + fragmentShader: "qrc:/esterVtech.com/imports/Designs/frag/code53Am1.frag.qsb" + } + } + Rectangle { + id: code53Am0Box + color: "#10141c" + width: root.width * 0.5 + height: width + ShaderEffect { + id: code53Am0 + anchors.fill: code53Am0Box + property var src: code53Am0Box + property real iTime: 0.0 + property var pixelStep: Qt.vector2d(1 / src.width, 1 / src.height) + fragmentShader: "qrc:/esterVtech.com/imports/Designs/frag/code53Am0.frag.qsb" + } + } + Rectangle { + id: code55Am1Box + color: "#10141c" + width: root.width * 0.5 + height: width + ShaderEffect { + id: code55Am1 + anchors.fill: code55Am1Box + property var src: code55Am1Box + property real iTime: 0.0 + property var pixelStep: Qt.vector2d(1 / src.width, 1 / src.height) + fragmentShader: "qrc:/esterVtech.com/imports/Designs/frag/code55Am1.frag.qsb" + } + } + Rectangle { + id: code55Am0Box + color: "#10141c" + width: root.width * 0.5 + height: width + ShaderEffect { + id: code55Am0 + anchors.fill: parent + property var src: parent + property real iTime: 0.0 + property var pixelStep: Qt.vector2d(1 / src.width, 1 / src.height) + fragmentShader: "qrc:/esterVtech.com/imports/Designs/frag/code55Am0.frag.qsb" + } + } + Rectangle { + color: "#10141c" + width: root.width * 0.5 + height: width + ShaderEffect { + id: code61Am1 + anchors.fill: parent + property var src: parent + property real iTime: 0.0 + property var pixelStep: Qt.vector2d(1 / src.width, 1 / src.height) + fragmentShader: "qrc:/esterVtech.com/imports/Designs/frag/code61Am1.frag.qsb" + } + } + Rectangle { + color: "#10141c" + width: root.width * 0.5 + height: width + ShaderEffect { + id: code61Am0 + anchors.fill: parent + property var src: parent + property real iTime: 0.0 + property var pixelStep: Qt.vector2d(1 / src.width, 1 / src.height) + fragmentShader: "qrc:/esterVtech.com/imports/Designs/frag/code61Am0.frag.qsb" + } + } + Rectangle { + color: "#10141c" + width: root.width * 0.5 + height: width + ShaderEffect { + id: code63Am1 + anchors.fill: parent + property var src: parent + property real iTime: 0.0 + property var pixelStep: Qt.vector2d(1 / src.width, 1 / src.height) + fragmentShader: "qrc:/esterVtech.com/imports/Designs/frag/code63Am1.frag.qsb" + } + } + Rectangle { + color: "#10141c" + width: root.width * 0.5 + height: width + ShaderEffect { + id: code63Am0 + anchors.fill: parent + property var src: parent + property real iTime: 0.0 + property var pixelStep: Qt.vector2d(1 / src.width, 1 / src.height) + fragmentShader: "qrc:/esterVtech.com/imports/Designs/frag/code63Am0.frag.qsb" + } + } + Rectangle { + color: "#10141c" + width: root.width * 0.5 + height: width + ShaderEffect { + id: code65Am1 + anchors.fill: parent + property var src: parent + property real iTime: 0.0 + property var pixelStep: Qt.vector2d(1 / src.width, 1 / src.height) + fragmentShader: "qrc:/esterVtech.com/imports/Designs/frag/code65Am1.frag.qsb" + } + } + Rectangle { + color: "#10141c" + width: root.width * 0.5 + height: width + ShaderEffect { + id: code65Am0 + anchors.fill: parent + property var src: parent + property real iTime: 0.0 + property var pixelStep: Qt.vector2d(1 / src.width, 1 / src.height) + fragmentShader: "qrc:/esterVtech.com/imports/Designs/frag/code65Am0.frag.qsb" + } + } + Rectangle { + color: "#10141c" + width: root.width * 0.5 + height: width + ShaderEffect { + id: code56Am1 + anchors.fill: parent + property var src: parent + property real iTime: 0.0 + property var pixelStep: Qt.vector2d(1 / src.width, 1 / src.height) + fragmentShader: "qrc:/esterVtech.com/imports/Designs/frag/code56Am1.frag.qsb" + } + } + Rectangle { + color: "#10141c" + width: root.width * 0.5 + height: width + ShaderEffect { + id: code56Am0 + anchors.fill: parent + property var src: parent + property real iTime: 0.0 + property var pixelStep: Qt.vector2d(1 / src.width, 1 / src.height) + fragmentShader: "qrc:/esterVtech.com/imports/Designs/frag/code56Am0.frag.qsb" + } + } + Rectangle { + color: "#10141c" + width: root.width * 0.5 + height: width + ShaderEffect { + id: code57Am1 + anchors.fill: parent + property var src: parent + property real iTime: 0.0 + property var pixelStep: Qt.vector2d(1 / src.width, 1 / src.height) + fragmentShader: "qrc:/esterVtech.com/imports/Designs/frag/code57Am1.frag.qsb" + } + } + Rectangle { + color: "#10141c" + width: root.width * 0.5 + height: width + ShaderEffect { + id: code57Am0 + anchors.fill: parent + property var src: parent + property real iTime: 0.0 + property var pixelStep: Qt.vector2d(1 / src.width, 1 / src.height) + fragmentShader: "qrc:/esterVtech.com/imports/Designs/frag/code57Am0.frag.qsb" + } + } + Rectangle { + color: "#10141c" + width: root.width * 0.5 + height: width + ShaderEffect { + id: code66Am1 + anchors.fill: parent + property var src: parent + property real iTime: 0.0 + property var pixelStep: Qt.vector2d(1 / src.width, 1 / src.height) + fragmentShader: "qrc:/esterVtech.com/imports/Designs/frag/code66Am1.frag.qsb" + } + } + Rectangle { + color: "#10141c" + width: root.width * 0.5 + height: width + ShaderEffect { + id: code66Am0 + anchors.fill: parent + property var src: parent + property real iTime: 0.0 + property var pixelStep: Qt.vector2d(1 / src.width, 1 / src.height) + fragmentShader: "qrc:/esterVtech.com/imports/Designs/frag/code66Am0.frag.qsb" + } + } + Rectangle { + color: "#10141c" + width: root.width * 0.5 + height: width + ShaderEffect { + id: code67Am1 + anchors.fill: parent + property var src: parent + property real iTime: 0.0 + property var pixelStep: Qt.vector2d(1 / src.width, 1 / src.height) + fragmentShader: "qrc:/esterVtech.com/imports/Designs/frag/code67Am1.frag.qsb" + } + } + Rectangle { + color: "#10141c" + width: root.width * 0.5 + height: width + ShaderEffect { + id: code67Am0 + anchors.fill: parent + property var src: parent + property real iTime: 0.0 + property var pixelStep: Qt.vector2d(1 / src.width, 1 / src.height) + fragmentShader: "qrc:/esterVtech.com/imports/Designs/frag/code67Am0.frag.qsb" + } + } + } + } + + +} + diff --git a/wasm/examples/omclient b/wasm/examples/omclient index fbc249e..27a7dda 100644 --- a/wasm/examples/omclient +++ b/wasm/examples/omclient @@ -1,6 +1,6 @@ /* * Shows the use of a custom QML type that shows the wheatear conditions ant time.. -* The library is found at https://github.com/EddyTheCo/OMClient +* The library is found at https://github.com/EddyTheCo/Esterv.Utils.OMClient * */ diff --git a/wasm/examples/qt_qr_dec b/wasm/examples/qt_qr_dec index 4a4b237..abcabcf 100644 --- a/wasm/examples/qt_qr_dec +++ b/wasm/examples/qt_qr_dec @@ -1,6 +1,6 @@ /* * Shows the use of a QRCODE decoder and QML module. -* The library is found on https://github.com/EddyTheCo/qrCode +* The library is found on https://github.com/EddyTheCo/Esterv.Utils.QrCode * */ import QtQuick 2.0 diff --git a/wasm/examples/qt_qr_gen b/wasm/examples/qt_qr_gen index 5c3f2f8..9afe65c 100644 --- a/wasm/examples/qt_qr_gen +++ b/wasm/examples/qt_qr_gen @@ -1,6 +1,6 @@ /* * Shows the use of a custom image provider that produce QR Codes. -* The library is found on https://github.com/EddyTheCo/qrCode +* The library is found on https://github.com/EddyTheCo/Esterv.Utils.QrCode * */ import QtQuick 2.0 diff --git a/wasm/examples/vault b/wasm/examples/vault index 613545f..0b7db75 100644 --- a/wasm/examples/vault +++ b/wasm/examples/vault @@ -1,6 +1,6 @@ /* -* Shows the use of the account Esterv.Utils.Vault QML module. -* The library is found on https://github.com/EddyTheCo/QVault +* Shows the use of the account Esterv.Crypto.Vault QML module. +* The library is found on https://github.com/EddyTheCo/Esterv.Crypto.Vault * */ @@ -10,7 +10,7 @@ import QtQuick.Controls import QtQuick.Layouts import Esterv.Styles.Simple import Esterv.CustomControls -import Esterv.Utils.Vault +import Esterv.Crypto.Vault Rectangle { @@ -52,7 +52,7 @@ Popup { if(pop1.isSet) { - if(!vault.setDataString(setdata.text,pass.text)) + if(!vault.setDataString(pass.text, setdata.text)) { pass.ToolTip.show(qsTr("Wrong password"),5000); }