20 lines
280 B
C++
20 lines
280 B
C++
|
#pragma once
|
||
|
|
||
|
#include <QTextEdit>
|
||
|
#include <QVBoxLayout>
|
||
|
#include <QWidget>
|
||
|
|
||
|
#include "Email.hpp"
|
||
|
|
||
|
class EmailDetails : public QWidget {
|
||
|
Q_OBJECT
|
||
|
|
||
|
public:
|
||
|
explicit EmailDetails(QWidget *parent = nullptr);
|
||
|
|
||
|
void setMail(const Email &m);
|
||
|
|
||
|
private:
|
||
|
QTextEdit *t;
|
||
|
};
|