mirror of
https://github.com/subsurface/subsurface.git
synced 2024-12-01 06:30:26 +00:00
ee13c5c282
Add the ability to preview the application log in QML. Signed-off-by: Grace Karanja <gracie.karanja89@gmail.com>
27 lines
443 B
QML
27 lines
443 B
QML
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
|
|
|
|
Item {
|
|
id: logWindow
|
|
width: parent.width
|
|
|
|
ColumnLayout {
|
|
width: parent.width
|
|
spacing: 8
|
|
|
|
TopBar {
|
|
height: childrenRect.height
|
|
}
|
|
|
|
TextEdit {
|
|
anchors.fill: height
|
|
text: manager.logText
|
|
}
|
|
}
|
|
}
|