2015-08-19 07:17:52 +00:00
|
|
|
import QtQuick 2.3
|
|
|
|
import QtQuick.Controls 1.2
|
|
|
|
import QtQuick.Controls.Styles 1.2
|
|
|
|
import QtQuick.Window 2.2
|
|
|
|
import QtQuick.Dialogs 1.2
|
|
|
|
import QtQuick.Layouts 1.1
|
|
|
|
import QtQuick.Window 2.2
|
|
|
|
import org.subsurfacedivelog.mobile 1.0
|
2015-12-03 23:55:08 +00:00
|
|
|
import org.kde.plasma.mobilecomponents 0.2 as MobileComponents
|
2015-08-19 07:17:52 +00:00
|
|
|
|
2015-12-03 23:55:08 +00:00
|
|
|
MobileComponents.Page {
|
2015-08-19 07:17:52 +00:00
|
|
|
id: logWindow
|
|
|
|
width: parent.width
|
2015-08-20 08:44:01 +00:00
|
|
|
objectName: "Log"
|
2015-12-03 23:55:08 +00:00
|
|
|
flickable: logFlick
|
|
|
|
ScrollView {
|
|
|
|
anchors.fill: parent
|
|
|
|
Flickable {
|
|
|
|
id: logFlick
|
|
|
|
anchors.fill: parent
|
|
|
|
contentHeight: logContent.height
|
|
|
|
clip: true
|
|
|
|
Item {
|
|
|
|
id: logContent
|
|
|
|
width: logFlick.width
|
|
|
|
height: childrenRect.height + MobileComponents.Units.smallSpacing * 2
|
2015-08-19 07:17:52 +00:00
|
|
|
|
2015-12-03 23:55:08 +00:00
|
|
|
ColumnLayout {
|
|
|
|
anchors {
|
|
|
|
left: parent.left
|
|
|
|
right: parent.right
|
|
|
|
top: parent.top
|
|
|
|
margins: MobileComponents.Units.smallSpacing
|
|
|
|
}
|
|
|
|
spacing: MobileComponents.Units.smallSpacing
|
2015-08-19 07:17:52 +00:00
|
|
|
|
2015-12-03 23:55:08 +00:00
|
|
|
Text {
|
|
|
|
wrapMode: Text.WrapAnywhere
|
|
|
|
text: manager.logText
|
|
|
|
}
|
|
|
|
Item {
|
|
|
|
height: MobileComponents.Units.gridUnit * 3
|
|
|
|
width: height
|
|
|
|
}
|
|
|
|
}
|
2015-08-20 09:08:59 +00:00
|
|
|
}
|
2015-08-19 07:17:52 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|