2026年5月23日暂存
This commit is contained in:
+4
-3
@@ -27,7 +27,6 @@ LogInfo::LogInfo(QWidget *parent) :
|
||||
textEdit = ui->textEditRunStatus;
|
||||
textEdit->verticalScrollBar()->setStyleSheet("QScrollBar:vertical { width: 40px; }");
|
||||
textEdit2 = ui->textEditRunStatus_2;
|
||||
//textEdit2->verticalScrollBar()->setStyleSheet("QScrollBar:vertical { width: 40px; }");
|
||||
textEdit2->verticalScrollBar()->setStyleSheet("QScrollBar:vertical { width: 40px; }");
|
||||
|
||||
|
||||
@@ -35,8 +34,6 @@ LogInfo::LogInfo(QWidget *parent) :
|
||||
runStatusTextIndex = 0;
|
||||
openFileName ="";
|
||||
ui->labelPreFileName->setText("");
|
||||
//currenDate="";
|
||||
//r_CurrentDate=QDate::currentDate().toString("yyyyMMdd");
|
||||
|
||||
textEdit2->append(tr("请先打开历史状态文件!"));
|
||||
if(!QDir("/home/plg").exists())
|
||||
@@ -182,6 +179,10 @@ void LogInfo::setRunStatusText(QString str){
|
||||
}
|
||||
truncatelog();
|
||||
}
|
||||
|
||||
textEdit->moveCursor(QTextCursor::End);
|
||||
|
||||
qInfo() << "RunStatusText:"<< str;
|
||||
}
|
||||
|
||||
QString LogInfo::getRunStatusText(void){
|
||||
|
||||
Reference in New Issue
Block a user