25 lines
471 B
C++
25 lines
471 B
C++
#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();
|
|
}
|