diff options
author | Adrian Kummerlaender | 2015-08-15 16:06:00 +0200 |
---|---|---|
committer | Adrian Kummerlaender | 2015-08-15 16:06:00 +0200 |
commit | d8431223d34476a17835a05d9508e92447f22479 (patch) | |
tree | 91b42009fc464be238f9afab569f62cfdf355179 /qml/main.qml | |
parent | 566e635cd798ef558f4d57fc319f0ee857869378 (diff) | |
download | MetaTerm-d8431223d34476a17835a05d9508e92447f22479.tar MetaTerm-d8431223d34476a17835a05d9508e92447f22479.tar.gz MetaTerm-d8431223d34476a17835a05d9508e92447f22479.tar.bz2 MetaTerm-d8431223d34476a17835a05d9508e92447f22479.tar.lz MetaTerm-d8431223d34476a17835a05d9508e92447f22479.tar.xz MetaTerm-d8431223d34476a17835a05d9508e92447f22479.tar.zst MetaTerm-d8431223d34476a17835a05d9508e92447f22479.zip |
Restructure QML and JS sources
`list` holds the components of the central list UI element.
`command` holds the UI and implementation parts of the command mode.
`widget` holds more or less general purpose elements that may also be of use in other circumstances.
Diffstat (limited to 'qml/main.qml')
-rw-r--r-- | qml/main.qml | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/qml/main.qml b/qml/main.qml deleted file mode 100644 index f7673dc..0000000 --- a/qml/main.qml +++ /dev/null @@ -1,53 +0,0 @@ -import QtQuick 2.0 -import QtQuick.Window 2.0 -import QtQuick.Controls 1.2 -import QtQuick.Layouts 1.1 -import Qt.labs.settings 1.0 - -ApplicationWindow { - id: root - - visible: true - - Settings { - id: settings - category: "window" - - property string background : "#161616" - } - - color: settings.background - - Component.onCompleted: { - terminalList.createItem(); - terminalList.focusCurrent(); - } - - ColumnLayout { - anchors.fill: parent - - TerminalList { - id: terminalList - - state: state - - Layout.fillHeight: true - Layout.fillWidth: true - } - - CommandInput { - id: command - - Layout.fillWidth: true - - onExecuted: state.enterNormalMode() - } - } - - StateHandler { - id: state - - terminalList: terminalList - commandInput: command - } -} |