27 lines
402 B
C++
27 lines
402 B
C++
#pragma once
|
|
|
|
#include <QCheckBox>
|
|
#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);
|
|
|
|
public slots:
|
|
void checkStateChanged(Qt::CheckState state);
|
|
|
|
private:
|
|
Email *em;
|
|
|
|
QTextEdit *t;
|
|
QCheckBox *dbg;
|
|
};
|