diff options
| author | luigi1111 <luigi1111w@gmail.com> | 2017-11-03 15:29:10 -0500 |
|---|---|---|
| committer | luigi1111 <luigi1111w@gmail.com> | 2017-11-03 15:29:10 -0500 |
| commit | c58dfa913bb356368e12dc5248c4f5acdfe3934d (patch) | |
| tree | b50d0010ac51fa44405bcaec573dab03236ff9cb /components/ProcessingSplash.qml | |
| parent | 6f95f8a7545bbdc25750412c54a92ddc5224b3ad (diff) | |
| parent | ceeb9b667fa35f92054c79942b593337fadcd08b (diff) | |
| download | monzero-gui-c58dfa913bb356368e12dc5248c4f5acdfe3934d.tar.gz monzero-gui-c58dfa913bb356368e12dc5248c4f5acdfe3934d.tar.xz monzero-gui-c58dfa913bb356368e12dc5248c4f5acdfe3934d.zip | |
Merge pull request #826
Remote nodes + mobile layout
Diffstat (limited to 'components/ProcessingSplash.qml')
| -rw-r--r-- | components/ProcessingSplash.qml | 27 |
1 files changed, 18 insertions, 9 deletions
diff --git a/components/ProcessingSplash.qml b/components/ProcessingSplash.qml index 2f6725db..d7fbd5cb 100644 --- a/components/ProcessingSplash.qml +++ b/components/ProcessingSplash.qml @@ -31,17 +31,26 @@ import QtQuick.Window 2.1 import QtQuick.Controls 1.4 import QtQuick.Layouts 1.1 -Window { +Rectangle { id: root - modality: Qt.ApplicationModal - flags: Qt.Window + color: "white" + visible: false + z:11 property alias messageText: messageTitle.text property alias heightProgressText : heightProgress.text - width: 200 - height: 100 + width: 200 * scaleRatio + height: 100 * scaleRatio opacity: 0.7 + function show() { + root.visible = true; + } + + function close() { + root.visible = false; + } + ColumnLayout { id: rootLayout @@ -49,8 +58,8 @@ Window { anchors.right: parent.right anchors.verticalCenter: parent.verticalCenter - anchors.leftMargin: 30 - anchors.rightMargin: 30 + anchors.leftMargin: 30 * scaleRatio + anchors.rightMargin: 30 * scaleRatio BusyIndicator { running: parent.visible @@ -61,7 +70,7 @@ Window { id: messageTitle text: "Please wait..." font { - pixelSize: 22 + pixelSize: 22 * scaleRatio } horizontalAlignment: Text.AlignHCenter Layout.alignment: Qt.AlignVCenter | Qt.AlignHCenter @@ -72,7 +81,7 @@ Window { Text { id: heightProgress font { - pixelSize: 18 + pixelSize: 18 * scaleRatio } horizontalAlignment: Text.AlignHCenter Layout.alignment: Qt.AlignVCenter | Qt.AlignHCenter |
