Add stopping chat requests and button

This commit is contained in:
Petr Mironychev
2024-10-17 00:03:12 +02:00
parent 2257e6e45f
commit 9c2516cd4c
7 changed files with 33 additions and 3 deletions

View File

@ -60,6 +60,11 @@ void ChatRootView::copyToClipboard(const QString &text)
QGuiApplication::clipboard()->setText(text);
}
void ChatRootView::cancelRequest()
{
m_clientInterface->cancelRequest();
}
void ChatRootView::generateColors()
{
QColor baseColor = backgroundColor();