新增日志重定向和运行时间记录
This commit is contained in:
24
saveruntime/frmsaveruntime.cpp
Normal file
24
saveruntime/frmsaveruntime.cpp
Normal file
@@ -0,0 +1,24 @@
|
||||
#pragma execution_character_set("utf-8")
|
||||
|
||||
#include "frmsaveruntime.h"
|
||||
#include "ui_frmsaveruntime.h"
|
||||
#include "saveruntime.h"
|
||||
|
||||
frmSaveRunTime::frmSaveRunTime(QWidget *parent) : QWidget(parent), ui(new Ui::frmSaveRunTime)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
}
|
||||
|
||||
frmSaveRunTime::~frmSaveRunTime()
|
||||
{
|
||||
delete ui;
|
||||
}
|
||||
|
||||
void frmSaveRunTime::on_checkBox_stateChanged(int arg1)
|
||||
{
|
||||
if (arg1 == 0) {
|
||||
SaveRunTime::Instance()->stop();
|
||||
} else {
|
||||
SaveRunTime::Instance()->start();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user