diff options
author | obscuren <geffobscura@gmail.com> | 2014-07-02 02:09:37 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-07-02 02:09:37 +0800 |
commit | dd869064a678918544678c9cb8413d1e9a94de89 (patch) | |
tree | fc2354d02af43f7298ff280b2b3b39713b67ce23 /ethereal/assets/qml/muted.qml | |
parent | 7a2a63f32b209f0358fa6be1e76b49319d8f309f (diff) | |
download | dexon-dd869064a678918544678c9cb8413d1e9a94de89.tar dexon-dd869064a678918544678c9cb8413d1e9a94de89.tar.gz dexon-dd869064a678918544678c9cb8413d1e9a94de89.tar.bz2 dexon-dd869064a678918544678c9cb8413d1e9a94de89.tar.lz dexon-dd869064a678918544678c9cb8413d1e9a94de89.tar.xz dexon-dd869064a678918544678c9cb8413d1e9a94de89.tar.zst dexon-dd869064a678918544678c9cb8413d1e9a94de89.zip |
delete?
Diffstat (limited to 'ethereal/assets/qml/muted.qml')
-rw-r--r-- | ethereal/assets/qml/muted.qml | 74 |
1 files changed, 0 insertions, 74 deletions
diff --git a/ethereal/assets/qml/muted.qml b/ethereal/assets/qml/muted.qml deleted file mode 100644 index fac8267c4..000000000 --- a/ethereal/assets/qml/muted.qml +++ /dev/null @@ -1,74 +0,0 @@ -import QtQuick 2.0 -import QtWebKit 3.0 -import QtWebKit.experimental 1.0 -import QtQuick.Controls 1.0; -import QtQuick.Layouts 1.0; -import QtQuick.Window 2.1; -import Ethereum 1.0 - -ApplicationWindow { - id: window - title: "muted" - width: 900 - height: 600 - minimumHeight: 300 - - property alias url: webView.url - property alias webView: webView - - - Item { - id: root - anchors.fill: parent - WebView { - objectName: "webView" - id: webView - anchors { - top: root.top - right: root.right - left: root.left - bottom: root.bottom - //bottom: sizeGrip.top - } - - experimental.preferences.javascriptEnabled: true - experimental.preferences.navigatorQtObjectEnabled: true - experimental.onMessageReceived: { - var data = JSON.parse(message.data) - - switch(data.call) { - case "log": - console.log.apply(this, data.args) - break; - } - } - function postData(seed, data) { - webview.experimental.postMessage(JSON.stringify({data: data, _seed: seed})) - } - function postEvent(event, data) { - webview.experimental.postMessage(JSON.stringify({data: data, _event: event})) - } - } - - /* - Rectangle { - id: sizeGrip - color: "gray" - height: 5 - anchors { - left: root.left - right: root.right - } - y: Math.round(root.height * 2 / 3) - - MouseArea { - anchors.fill: parent - drag.target: sizeGrip - drag.minimumY: 0 - drag.maximumY: root.height - sizeGrip.height - drag.axis: Drag.YAxis - } - } - */ - } -} |