aboutsummaryrefslogtreecommitdiff
path: root/src/widget/StatusLine.qml
diff options
context:
space:
mode:
authorAdrian Kummerlaender2015-12-15 19:53:18 +0100
committerAdrian Kummerlaender2015-12-15 19:53:18 +0100
commit55c66514c6e03bc731c7f5ae4d6f6a1e1d1ab601 (patch)
treea8725d321568ce978fd1638758d43299ee99656b /src/widget/StatusLine.qml
parent012d8f7503d9d49ff33da621aee5fabd252e57f5 (diff)
downloadMetaTerm-55c66514c6e03bc731c7f5ae4d6f6a1e1d1ab601.tar
MetaTerm-55c66514c6e03bc731c7f5ae4d6f6a1e1d1ab601.tar.gz
MetaTerm-55c66514c6e03bc731c7f5ae4d6f6a1e1d1ab601.tar.bz2
MetaTerm-55c66514c6e03bc731c7f5ae4d6f6a1e1d1ab601.tar.lz
MetaTerm-55c66514c6e03bc731c7f5ae4d6f6a1e1d1ab601.tar.xz
MetaTerm-55c66514c6e03bc731c7f5ae4d6f6a1e1d1ab601.tar.zst
MetaTerm-55c66514c6e03bc731c7f5ae4d6f6a1e1d1ab601.zip
Separate widgets into primary and augmenting itemsHEADmaster
Diffstat (limited to 'src/widget/StatusLine.qml')
-rw-r--r--src/widget/StatusLine.qml76
1 files changed, 0 insertions, 76 deletions
diff --git a/src/widget/StatusLine.qml b/src/widget/StatusLine.qml
deleted file mode 100644
index 56b0b31..0000000
--- a/src/widget/StatusLine.qml
+++ /dev/null
@@ -1,76 +0,0 @@
-import QtQuick 2.0
-import QMLTermWidget 1.0
-import QtQuick.Layouts 1.1
-
-Item {
- id: item
-
- property QMLTermSession session : null
-
- function update() {
- var shellPID = session.getShellPID();
-
- pid.text = shellPID;
- workingDirectory.text = cwd.currentOfPID(shellPID);
- }
-
- height: wrap.height
-
- RowLayout {
- id: wrap
-
- anchors.right: parent.right
- anchors.left: parent.left
-
- Layout.alignment: Qt.AlignRight
-
- spacing: 5
-
- Rectangle {
- Layout.fillWidth: true
-
- anchors.fill: wrap
-
- color: settings.terminal.statusBackground
- }
-
- Text {
- id: pid
-
- Layout.rightMargin: 4
- Layout.bottomMargin: 2
-
- font {
- family: settings.terminal.fontFamily
- pointSize: settings.terminal.fontSize
- }
- color: settings.terminal.statusFontColor
- }
-
- Text {
- Layout.rightMargin: 4
- Layout.bottomMargin: 2
-
- font {
- family: settings.terminal.fontFamily
- pointSize: settings.terminal.fontSize
- }
- color: settings.terminal.statusFontColor
-
- text: "@"
- }
-
- Text {
- id: workingDirectory
-
- Layout.rightMargin: 4
- Layout.bottomMargin: 2
-
- font {
- family: settings.terminal.fontFamily
- pointSize: settings.terminal.fontSize
- }
- color: settings.terminal.statusFontColor
- }
- }
-}