add base console
This commit is contained in:
9
Main.qml
9
Main.qml
@@ -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 {}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user