blob: db17cdadcebaab728b8872f1223266842ab4a373 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
import QtQuick 2.0
import QtQuick.Window 2.0
import QtQuick.Controls 1.2
import QtQuick.Layouts 1.1
ApplicationWindow {
id: root
visible: true
color: settings.window.background
Component.onCompleted: {
terminalList.createItem();
terminalList.focusCurrent();
}
SettingsHandler {
id: settings
}
StateHandler {
id: mode
}
ColumnLayout {
anchors.fill: parent
TerminalList {
id: terminalList
Layout.fillHeight: true
Layout.fillWidth: true
}
CommandInput {
id: command
Layout.fillWidth: true
onExecuted: mode.enterNormalMode()
}
}
}
|