|
|
@ -82,11 +82,11 @@ Rectangle { |
|
|
|
anchors.topMargin: 10 |
|
|
|
id: col |
|
|
|
spacing: 20 |
|
|
|
anchors.left: parent.left |
|
|
|
anchors.leftMargin: 10 |
|
|
|
Label |
|
|
|
{ |
|
|
|
anchors.top: parent.top |
|
|
|
anchors.left: parent.left |
|
|
|
anchors.leftMargin: 10 |
|
|
|
Layout.fillWidth: true |
|
|
|
text: qsTr("Register your Dapp on the Name registrar Contract") |
|
|
|
} |
|
|
@ -97,11 +97,11 @@ Rectangle { |
|
|
|
Layout.preferredHeight: 20 |
|
|
|
Rectangle |
|
|
|
{ |
|
|
|
Layout.preferredWidth: col.width / 2 |
|
|
|
Layout.preferredWidth: col.width / 5 |
|
|
|
Label |
|
|
|
{ |
|
|
|
text: qsTr("Root Registrar address") |
|
|
|
anchors.right: parent.right |
|
|
|
anchors.left: parent.left |
|
|
|
anchors.verticalCenter: parent.verticalCenter |
|
|
|
} |
|
|
|
} |
|
|
@ -111,7 +111,7 @@ Rectangle { |
|
|
|
id: registrarAddr |
|
|
|
text: "c6d9d2cd449a754c494264e1809c50e34d64562b" |
|
|
|
visible: true |
|
|
|
Layout.preferredWidth: 235 |
|
|
|
Layout.preferredWidth: 450 |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
@ -121,11 +121,11 @@ Rectangle { |
|
|
|
Layout.preferredHeight: 20 |
|
|
|
Rectangle |
|
|
|
{ |
|
|
|
Layout.preferredWidth: col.width / 2 |
|
|
|
Layout.preferredWidth: col.width / 5 |
|
|
|
Label |
|
|
|
{ |
|
|
|
text: qsTr("Http URL") |
|
|
|
anchors.right: parent.right |
|
|
|
anchors.left: parent.left |
|
|
|
anchors.verticalCenter: parent.verticalCenter |
|
|
|
} |
|
|
|
} |
|
|
@ -133,7 +133,7 @@ Rectangle { |
|
|
|
DefaultTextField |
|
|
|
{ |
|
|
|
id: applicationUrlHttpCtrl |
|
|
|
Layout.preferredWidth: 235 |
|
|
|
Layout.preferredWidth: 450 |
|
|
|
} |
|
|
|
|
|
|
|
Label |
|
|
@ -150,11 +150,11 @@ Rectangle { |
|
|
|
Layout.preferredHeight: 20 |
|
|
|
Rectangle |
|
|
|
{ |
|
|
|
Layout.preferredWidth: col.width / 2 |
|
|
|
Layout.preferredWidth: col.width / 5 |
|
|
|
Label |
|
|
|
{ |
|
|
|
text: qsTr("Registration Cost") |
|
|
|
anchors.right: parent.right |
|
|
|
anchors.left: parent.left |
|
|
|
anchors.verticalCenter: parent.verticalCenter |
|
|
|
id: ctrRegisterLabel |
|
|
|
function calculateRegisterGas() |
|
|
@ -192,11 +192,11 @@ Rectangle { |
|
|
|
Layout.preferredHeight: 20 |
|
|
|
Rectangle |
|
|
|
{ |
|
|
|
Layout.preferredWidth: col.width / 2 |
|
|
|
Layout.preferredWidth: col.width / 5 |
|
|
|
Label |
|
|
|
{ |
|
|
|
text: qsTr("Ethereum URL") |
|
|
|
anchors.right: parent.right |
|
|
|
anchors.left: parent.left |
|
|
|
anchors.verticalCenter: parent.verticalCenter |
|
|
|
} |
|
|
|
} |
|
|
@ -205,10 +205,10 @@ Rectangle { |
|
|
|
{ |
|
|
|
height: 25 |
|
|
|
color: "transparent" |
|
|
|
Layout.preferredWidth: 235 |
|
|
|
Layout.preferredWidth: 450 |
|
|
|
DefaultTextField |
|
|
|
{ |
|
|
|
width: 235 |
|
|
|
width: 450 |
|
|
|
id: applicationUrlEthCtrl |
|
|
|
onTextChanged: { |
|
|
|
ctrRegisterLabel.calculateRegisterGas(); |
|
|
@ -223,11 +223,11 @@ Rectangle { |
|
|
|
Layout.preferredHeight: 20 |
|
|
|
Rectangle |
|
|
|
{ |
|
|
|
Layout.preferredWidth: col.width / 2 |
|
|
|
Layout.preferredWidth: col.width / 4 |
|
|
|
Label |
|
|
|
{ |
|
|
|
text: qsTr("Formatted Ethereum URL") |
|
|
|
anchors.right: parent.right |
|
|
|
anchors.left: parent.left |
|
|
|
anchors.verticalCenter: parent.verticalCenter |
|
|
|
} |
|
|
|
} |
|
|
|