/usr/share/url-dispatcher/gui/url-dispatcher-gui.qml is in url-dispatcher-tools-gui 0.1+17.04.20170328-0ubuntu4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | import QtQuick 2.4
import QtQuick.Window 2.2
import QtQuick.Controls 1.4
import QtQuick.Layouts 1.3
Window {
visible: true
title: "URL Dispatcher GUI"
width: 360
height: 100
ColumnLayout {
anchors.fill: parent
TextField {
anchors.left: parent.left
anchors.right: parent.right
id: textbox
placeholderText: "URL (e.g. 'http://ubuntu.com')"
}
Button {
anchors.left: parent.left
anchors.right: parent.right
text: "Send URL"
onClicked: {
console.log("Sending URL: " + textbox.text)
Qt.openUrlExternally(textbox.text)
}
}
}
}
|