mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
QML UI: Add QML Log viewer
Add the ability to preview the application log in QML. Signed-off-by: Grace Karanja <gracie.karanja89@gmail.com>
This commit is contained in:
parent
ab7db605e5
commit
ee13c5c282
3 changed files with 56 additions and 0 deletions
27
qt-mobile/Log.qml
Normal file
27
qt-mobile/Log.qml
Normal file
|
@ -0,0 +1,27 @@
|
|||
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
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue