aboutsummaryrefslogtreecommitdiff
path: root/src/widget
diff options
context:
space:
mode:
authorAdrian Kummerlaender2015-08-21 17:20:58 +0200
committerAdrian Kummerlaender2015-08-21 17:20:58 +0200
commitad6773b267e2bbdfc5e049a4bc8ac8b92980270e (patch)
treed39f3d971dea6fdb6d24f0c4f86648492adeb815 /src/widget
parent75891e7c90ff8ec3533a6a1e9aac66501693d561 (diff)
downloadMetaTerm-ad6773b267e2bbdfc5e049a4bc8ac8b92980270e.tar
MetaTerm-ad6773b267e2bbdfc5e049a4bc8ac8b92980270e.tar.gz
MetaTerm-ad6773b267e2bbdfc5e049a4bc8ac8b92980270e.tar.bz2
MetaTerm-ad6773b267e2bbdfc5e049a4bc8ac8b92980270e.tar.lz
MetaTerm-ad6773b267e2bbdfc5e049a4bc8ac8b92980270e.tar.xz
MetaTerm-ad6773b267e2bbdfc5e049a4bc8ac8b92980270e.tar.zst
MetaTerm-ad6773b267e2bbdfc5e049a4bc8ac8b92980270e.zip
Add `q` command to close _MetaTerm_ in command mode
Diffstat (limited to 'src/widget')
-rw-r--r--src/widget/EmbeddedTerminal.qml12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/widget/EmbeddedTerminal.qml b/src/widget/EmbeddedTerminal.qml
index 7b3cf10..fa30e23 100644
--- a/src/widget/EmbeddedTerminal.qml
+++ b/src/widget/EmbeddedTerminal.qml
@@ -5,18 +5,18 @@ import QtQuick.Layouts 1.1
Item {
id: item
- property string program
- property string workingDirectory
+ property string program
+ property string workingDirectory
- property int lines : settings.terminal.initialLines
-
- height: terminal.height
- width: parent.width - settings.terminal.frameWidth
+ property int lines : settings.terminal.initialLines
function select() { highlighter.select() }
function deselect() { highlighter.deselect() }
function displayOverlay() { overlay.displayBriefly() }
+ height: terminal.height
+ width: parent.width - settings.terminal.frameWidth
+
RowLayout {
id: container