UserInfo compact

Make UserInfo work in compact mode. This includes showing the account switch popup in a dialog

BUG: 482261
This commit is contained in:
James Graham
2024-03-29 09:09:13 +00:00
parent aaa97ec029
commit 158942d1b5
6 changed files with 235 additions and 214 deletions

View File

@@ -215,5 +215,14 @@ FormCard.FormCardPage {
Config.save();
}
}
FormCard.FormButtonDelegate {
visible: Config.developerTools
text: i18n("Open developer tools")
onClicked: applicationWindow().pageStack.pushDialogLayer(Qt.createComponent('org.kde.neochat', 'DevtoolsPage.qml'), {
connection: root.connection
}, {
title: i18n("Developer Tools")
});
}
}
}