|
|
|
@ -1,11 +1,12 @@
|
|
|
|
|
import QtQuick 2.15
|
|
|
|
|
import QtQuick.Controls 2.15
|
|
|
|
|
import trump.hatesScience 1.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Row {
|
|
|
|
|
property alias name: name.text
|
|
|
|
|
property alias address: address.text
|
|
|
|
|
|
|
|
|
|
property NetworkInterface iface
|
|
|
|
|
|
|
|
|
|
spacing: 40
|
|
|
|
|
Text {
|
|
|
|
@ -21,7 +22,10 @@ Row {
|
|
|
|
|
|
|
|
|
|
Button {
|
|
|
|
|
text: "Shutdown"
|
|
|
|
|
onClicked: { netint.shutdown() }
|
|
|
|
|
onClicked: {
|
|
|
|
|
console.log("Sutting down")
|
|
|
|
|
parent.iface.shutdown()
|
|
|
|
|
}
|
|
|
|
|
anchors.verticalCenter: parent.verticalCenter
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|