add base console

This commit is contained in:
2026-11-14 12:38:06 +03:00
parent 6b159108af
commit a371de94b8
4 changed files with 163 additions and 0 deletions

View File

@@ -19,6 +19,7 @@ ApplicationWindow {
color: Theme.color1
property string packageManager: "yay"
property bool consoleOpen: false
ColumnLayout {
id: mainLayout
@@ -67,5 +68,13 @@ ApplicationWindow {
id: pgDelete
}
}
readonly property string consoleTitle: tabs.currentIndex === 0 ? "Консоль обновления" : tabs.currentIndex === 1 ? "Консоль установки" : "Консоль удаления"
Components.ConsoleBar {
title: consoleTitle
consoleOpen: consoleOpen
}
Components.ConsolePanel {}
}
}