The LogWidget will display the log for the connected atcore. Create with a pointer to a new QTemporaryFile.
More...
#include <logwidget.h>
The LogWidget will display the log for the connected atcore. Create with a pointer to a new QTemporaryFile.
◆ LogWidget() [1/2]
LogWidget::LogWidget |
( |
QTemporaryFile * |
tempFile, |
|
|
QWidget * |
parent = nullptr |
|
) |
| |
◆ LogWidget() [2/2]
LogWidget::LogWidget |
( |
QWidget * |
parent = nullptr | ) |
|
◆ appendLog()
void LogWidget::appendLog |
( |
const QString & |
msg | ) |
|
◆ appendRLog()
void LogWidget::appendRLog |
( |
const QByteArray & |
bmsg | ) |
|
◆ appendSLog()
void LogWidget::appendSLog |
( |
const QByteArray & |
bmsg | ) |
|
◆ endsWith()
bool LogWidget::endsWith |
( |
const QString & |
string | ) |
|
test if last line of log is string
- Parameters
-
- Returns
- true if last line starts with
◆ flushTemp()
void LogWidget::flushTemp |
( |
| ) |
|
|
private |
flush unwritten strings to temp file
◆ getTime()
QString LogWidget::getTime |
( |
| ) |
|
|
private |
Return string with actual time.
- Returns
- QString
◆ initialize()
void LogWidget::initialize |
( |
| ) |
|
|
private |
◆ savePressed()
void LogWidget::savePressed |
( |
| ) |
|
|
private |
◆ writeTempFile()
void LogWidget::writeTempFile |
( |
const QString & |
text | ) |
|
|
private |
Append text in temporary file.
- Parameters
-
◆ logFile
QTemporaryFile* LogWidget::logFile = nullptr |
|
private |
◆ textLog
QPlainTextEdit* LogWidget::textLog = nullptr |
|
private |
◆ unsyncedStrings
QStringList LogWidget::unsyncedStrings |
|
private |
The documentation for this class was generated from the following files: