mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-02-27 16:54:15 +01:00
OP-1119 Some more gui work
This commit is contained in:
parent
e42c53de74
commit
ed18e372db
@ -11,11 +11,26 @@ Rectangle {
|
|||||||
ColumnLayout {
|
ColumnLayout {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
spacing: 10
|
spacing: 10
|
||||||
|
RowLayout {
|
||||||
Text {
|
Layout.fillWidth: true
|
||||||
id:flights
|
spacing: 10
|
||||||
|
ColumnLayout {
|
||||||
|
Layout.fillWidth: true
|
||||||
|
spacing: 10
|
||||||
height: 40
|
height: 40
|
||||||
text: logStatus.Flight
|
Text {
|
||||||
|
id: totalFlights
|
||||||
|
text: "<b>" + qsTr("Flights recorded: ") + "</b>" + logStatus.Flight
|
||||||
|
}
|
||||||
|
Text {
|
||||||
|
id: totalEntries
|
||||||
|
text: "<b>" + qsTr("Logs recorded: ") + "</b>" + logStatus.UsedSlots
|
||||||
|
}
|
||||||
|
Text {
|
||||||
|
id: freeEntries
|
||||||
|
text: "<b>" + qsTr("Logs left: ") + "</b>" + logStatus.FreeSlots
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ScrollView {
|
ScrollView {
|
||||||
@ -25,7 +40,6 @@ Rectangle {
|
|||||||
ListView {
|
ListView {
|
||||||
id: authorsView
|
id: authorsView
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
|
|
||||||
spacing: 3
|
spacing: 3
|
||||||
model: logManager.logEntries
|
model: logManager.logEntries
|
||||||
delegate: Text {
|
delegate: Text {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user