Мессенджер полностью работает

This commit is contained in:
krivoshein
2024-12-17 12:54:43 +03:00
parent e393244bf7
commit a839f964fe
69 changed files with 724 additions and 605 deletions

View File

@@ -143,6 +143,11 @@ void MessangerWidget::slot_InitMessanger(QList<Trainee> listTrainees)
}
}
void MessangerWidget::slot_msgFromClientReady(QString login, QString text)
{
addMsg(login, "name", text, MessangerWidget::ETypeMsg::fromClient);
}
void MessangerWidget::keyPressEvent(QKeyEvent *event)
{
if (event->key() == Qt::Key_Enter || event->key() == Qt::Key_Return)