2024-03-08 12:10:58 -05:00
|
|
|
#pragma once
|
|
|
|
|
2024-12-19 18:51:41 -05:00
|
|
|
#include <QCheckBox>
|
2024-03-08 12:10:58 -05:00
|
|
|
#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);
|
|
|
|
|
2024-12-19 18:51:41 -05:00
|
|
|
public slots:
|
|
|
|
void checkStateChanged(Qt::CheckState state);
|
|
|
|
|
2024-03-08 12:10:58 -05:00
|
|
|
private:
|
2024-12-19 18:51:41 -05:00
|
|
|
Email *em;
|
|
|
|
|
2024-03-08 12:10:58 -05:00
|
|
|
QTextEdit *t;
|
2024-12-19 18:51:41 -05:00
|
|
|
QCheckBox *dbg;
|
2024-03-08 12:10:58 -05:00
|
|
|
};
|