diff options
author | obscuren <geffobscura@gmail.com> | 2014-04-28 06:25:01 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-04-28 06:25:01 +0800 |
commit | 68e5568804cc99d217e7a3aaca796406e428f221 (patch) | |
tree | 42698c2561a83a782a38ae586374cca243aecff0 /ethereal/assets/qml/muted.qml | |
parent | 883810b53328b302aa765ccf9d228bd73c046cac (diff) | |
download | go-tangerine-68e5568804cc99d217e7a3aaca796406e428f221.tar go-tangerine-68e5568804cc99d217e7a3aaca796406e428f221.tar.gz go-tangerine-68e5568804cc99d217e7a3aaca796406e428f221.tar.bz2 go-tangerine-68e5568804cc99d217e7a3aaca796406e428f221.tar.lz go-tangerine-68e5568804cc99d217e7a3aaca796406e428f221.tar.xz go-tangerine-68e5568804cc99d217e7a3aaca796406e428f221.tar.zst go-tangerine-68e5568804cc99d217e7a3aaca796406e428f221.zip |
Draft mut(an)ed(itor)
Diffstat (limited to 'ethereal/assets/qml/muted.qml')
-rw-r--r-- | ethereal/assets/qml/muted.qml | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/ethereal/assets/qml/muted.qml b/ethereal/assets/qml/muted.qml new file mode 100644 index 000000000..dbeec2167 --- /dev/null +++ b/ethereal/assets/qml/muted.qml @@ -0,0 +1,65 @@ +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 debugUrl: debugView.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: sizeGrip.top + } + } + + 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 + } + } + + WebView { + id: debugView + objectName: "debugView" + anchors { + left: root.left + right: root.right + bottom: root.bottom + top: sizeGrip.bottom + } + } + } +} |