mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-12-23 12:09:57 +00:00
remove qtquick 2.6 dependency
This commit is contained in:
parent
3245d7d860
commit
eef11bf22a
1 changed files with 16 additions and 12 deletions
|
@ -26,7 +26,7 @@
|
||||||
// STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
|
// STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
|
||||||
// THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
// THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
import QtQuick 2.6
|
import QtQuick 2.0
|
||||||
|
|
||||||
Item {
|
Item {
|
||||||
id: item
|
id: item
|
||||||
|
@ -42,7 +42,6 @@ Item {
|
||||||
fillLevel = progressLevel
|
fillLevel = progressLevel
|
||||||
console.log("target block: ",progressLevel)
|
console.log("target block: ",progressLevel)
|
||||||
progressText.text = qsTr("Synchronizing blocks %1/%2").arg(currentBlock.toFixed(0)).arg(targetBlock.toFixed(0));
|
progressText.text = qsTr("Synchronizing blocks %1/%2").arg(currentBlock.toFixed(0)).arg(targetBlock.toFixed(0));
|
||||||
console.log("Progress text: " + progressText.text);
|
|
||||||
|
|
||||||
// TODO: lower daemon block height cache, ttl and refresh interval?
|
// TODO: lower daemon block height cache, ttl and refresh interval?
|
||||||
|
|
||||||
|
@ -57,7 +56,7 @@ Item {
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
anchors.top: parent.top
|
anchors.top: parent.top
|
||||||
height: 22
|
height: 22
|
||||||
//radius: 4
|
radius: 2
|
||||||
color: "#FFFFFF"
|
color: "#FFFFFF"
|
||||||
|
|
||||||
Rectangle {
|
Rectangle {
|
||||||
|
@ -77,16 +76,21 @@ Item {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Text {
|
Rectangle {
|
||||||
id:progressText
|
color:"#333"
|
||||||
anchors.bottom: parent.bottom
|
anchors.bottom: parent.bottom
|
||||||
font.family: "Arial"
|
anchors.left: parent.left
|
||||||
font.pixelSize: 12
|
anchors.leftMargin: 8
|
||||||
leftPadding: 8
|
|
||||||
color: "#000"
|
Text {
|
||||||
height: 18
|
id:progressText
|
||||||
verticalAlignment: Text.alignVCenter
|
anchors.bottom: parent.bottom
|
||||||
text: qsTr("Synchronizing blocks")
|
font.family: "Arial"
|
||||||
|
font.pixelSize: 12
|
||||||
|
color: "#000"
|
||||||
|
text: qsTr("Synchronizing blocks")
|
||||||
|
height:18
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue