remove qtquick 2.6 dependency

This commit is contained in:
Jaquee 2016-11-25 20:58:27 +01:00
parent 3245d7d860
commit eef11bf22a
No known key found for this signature in database
GPG key ID: 384E52B09F45DC39

View file

@ -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 {
} }
Rectangle {
color:"#333"
anchors.bottom: parent.bottom
anchors.left: parent.left
anchors.leftMargin: 8
Text { Text {
id:progressText id:progressText
anchors.bottom: parent.bottom anchors.bottom: parent.bottom
font.family: "Arial" font.family: "Arial"
font.pixelSize: 12 font.pixelSize: 12
leftPadding: 8
color: "#000" color: "#000"
height: 18
verticalAlignment: Text.alignVCenter
text: qsTr("Synchronizing blocks") text: qsTr("Synchronizing blocks")
height:18
}
} }
} }