2024-12-18 16:46:39 +08:00
|
|
|
#include "singlerelay.h"
|
|
|
|
#include "ui_singlerelay.h"
|
|
|
|
|
|
|
|
SingleRelay::SingleRelay(QWidget *parent)
|
|
|
|
: QDialog(parent)
|
2025-03-27 10:16:01 +08:00
|
|
|
, ui(new Ui::SingleRelay) {
|
2024-12-18 16:46:39 +08:00
|
|
|
ui->setupUi(this);
|
2025-03-27 10:16:01 +08:00
|
|
|
setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
|
2025-04-17 20:33:26 +08:00
|
|
|
QVBoxLayout *layout = new QVBoxLayout(ui->widget_relay);
|
|
|
|
DropTextEdit *textEdit = new DropTextEdit;
|
|
|
|
|
|
|
|
layout->addWidget(textEdit);
|
2024-12-18 16:46:39 +08:00
|
|
|
}
|
|
|
|
|
2025-03-27 10:16:01 +08:00
|
|
|
SingleRelay::~SingleRelay() {
|
2024-12-18 16:46:39 +08:00
|
|
|
delete ui;
|
|
|
|
}
|
2025-03-27 10:16:01 +08:00
|
|
|
|
|
|
|
void SingleRelay::on_pushButton_cancel_clicked() {
|
|
|
|
this->close();
|
|
|
|
}
|