2021-11-25 09:05:45 +08:00
|
|
|
#include "signalmessagedialog.h"
|
|
|
|
#include "ui_signalmessagedialog.h"
|
|
|
|
|
|
|
|
SignalMessageDialog::SignalMessageDialog(QWidget *parent) :
|
|
|
|
QDialog(parent),
|
|
|
|
ui(new Ui::SignalMessageDialog)
|
|
|
|
{
|
|
|
|
ui->setupUi(this);
|
|
|
|
}
|
|
|
|
|
|
|
|
SignalMessageDialog::~SignalMessageDialog()
|
|
|
|
{
|
|
|
|
delete ui;
|
|
|
|
}
|
|
|
|
|
|
|
|
void SignalMessageDialog::setMessage(const QString &message)
|
|
|
|
{
|
|
|
|
ui->lblMessage->setText(message);
|
|
|
|
}
|
|
|
|
|
|
|
|
bool SignalMessageDialog::openCPUInfo()
|
|
|
|
{
|
|
|
|
return ui->chkOpenCPUInfo->isChecked();
|
|
|
|
}
|
2021-11-25 10:18:21 +08:00
|
|
|
|
|
|
|
void SignalMessageDialog::setOpenCPUInfo(bool value)
|
|
|
|
{
|
|
|
|
ui->chkOpenCPUInfo->setChecked(value);
|
|
|
|
}
|