Skip to content

Commit

Permalink
Создана основа страницы покупки
Browse files Browse the repository at this point in the history
  • Loading branch information
makarenya committed May 5, 2016
1 parent c4ad1b1 commit ccf1831
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 7 deletions.
2 changes: 1 addition & 1 deletion layout/main.qml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Window {
}

Details {
anchors.fill: parent
anchors.centerIn: parent
visible: root.mode == "details"
}
}
33 changes: 27 additions & 6 deletions layout/views/Details.qml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,31 @@ import QtQuick 2.5
import QtQuick.Controls 1.4

Rectangle {
Text {
anchors.centerIn: parent
text: "Loading..."
font.pixelSize: 24
renderType: Text.NativeRendering
}
width: 140
height: 200
Text {
x: 10
y: 10
text: root.optionName
}

Text {
x: 10
y: 40
text: (root.optionReturn - 100) + "%"
}

Text {
x: 10
y: 70
text: root.optionExpire
}

Button {
x: 10
y: 100
width: 120
text: "Close"
onClicked: root.cancelLogin()
}
}

0 comments on commit ccf1831

Please sign in to comment.