Files
RRJServer/DB_IaT/InstructorsAndTrainees/messanger/tabdialogmessenger.h
2024-12-24 12:23:22 +03:00

30 lines
626 B
C++
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#ifndef TABDIALOGMESSENGER_H
#define TABDIALOGMESSENGER_H
#include <QListWidget>
//Закладка ведения диалога с одним клиентом
//TODO сделать идентификацию по ID
class TabDialogMessenger : public QListWidget
{
Q_OBJECT
public:
TabDialogMessenger(int id, QString login, QWidget *parent = nullptr);
~TabDialogMessenger();
QString getLogin() {return login;};
int getID() {return id;};
void addMsgWidgetLocal(QString text);
void addMsgWidgetRemote(QString text);
private:
QString login;
int id;
};
#endif // TABDIALOGMESSENGER_H