summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--qt-mobile/qml/DiveDetailsEdit.qml13
1 files changed, 11 insertions, 2 deletions
diff --git a/qt-mobile/qml/DiveDetailsEdit.qml b/qt-mobile/qml/DiveDetailsEdit.qml
index 9a639ddb7..25b10ba2a 100644
--- a/qt-mobile/qml/DiveDetailsEdit.qml
+++ b/qt-mobile/qml/DiveDetailsEdit.qml
@@ -7,6 +7,7 @@ import org.subsurfacedivelog.mobile 1.0
import org.kde.plasma.mobilecomponents 0.2 as MobileComponents
Item {
+ property alias dateText: txtDate.text
property alias locationText: txtLocation.text
property string gpsText
property alias airtempText: txtAirTemp.text
@@ -33,9 +34,17 @@ Item {
MobileComponents.Heading {
Layout.columnSpan: 2
- text: "Dive " + number + " (" + date + ")"
+ text: "Dive " + number
+ }
+ MobileComponents.Label {
+ Layout.alignment: Qt.AlignRight
+ text: "Date:"
+ }
+ TextField {
+ id: txtDate;
+ text: date;
+ Layout.fillWidth: true
}
-
MobileComponents.Label {
Layout.alignment: Qt.AlignRight
text: "Location:"