TUI #1
@ -4,6 +4,7 @@ import QtQuick.Controls
|
||||
MenuBar {
|
||||
background: Rectangle {
|
||||
color: "#3c3f41"
|
||||
border.color: "#575757"
|
||||
}
|
||||
|
||||
Action {
|
||||
|
||||
21
qml/main.qml
21
qml/main.qml
@ -58,9 +58,10 @@ ApplicationWindow {
|
||||
anchors.fill: parent
|
||||
|
||||
// Shows the help text.
|
||||
Text {
|
||||
color: "white"
|
||||
text: qsTr("File system view placeholder")
|
||||
TextArea {
|
||||
readOnly: true
|
||||
placeholderText: qsTr("File system view placeholder")
|
||||
placeholderTextColor: "white"
|
||||
wrapMode: TextArea.Wrap
|
||||
}
|
||||
|
||||
@ -137,23 +138,15 @@ ApplicationWindow {
|
||||
TextArea {
|
||||
id: areaConsole
|
||||
|
||||
bottomPadding: 0
|
||||
leftPadding: 6
|
||||
persistentSelection: true
|
||||
placeholderText: qsTr("Placeholder for bash terminal.")
|
||||
placeholderTextColor: "gray"
|
||||
placeholderTextColor: "white"
|
||||
height: 100
|
||||
readOnly: true
|
||||
rightPadding: 6
|
||||
selectByMouse: true
|
||||
// selectedTextColor: control.palette.highlightedText
|
||||
// selectionColor: control.palette.highlight
|
||||
textFormat: Qt.AutoText
|
||||
topPadding: 6
|
||||
wrapMode: TextArea.Wrap
|
||||
|
||||
background: Rectangle {
|
||||
color: "#2b2b2b"
|
||||
implicitHeight: 20
|
||||
implicitHeight: 100
|
||||
// border.color: control.enabled ? "#21be2b" : "transparent"
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user