Add pid to main window and console title bars.

This commit is contained in:
Ernie Pasveer
2023-03-13 15:45:18 -05:00
parent e2f03cebf2
commit caa8d7f33c
4 changed files with 24 additions and 5 deletions
+9
View File
@@ -112,6 +112,15 @@ void SeerConsoleWidget::handleText (const char* buffer, int count) {
}
}
void SeerConsoleWidget::handleChangeWindowTitle (QString title) {
if (title == "") {
setWindowTitle("Seer Console");
}else{
setWindowTitle("Seer Console - '" + title + "'");
}
}
void SeerConsoleWidget::handleClearButton () {
textEdit->clear();
_cursor.movePosition(QTextCursor::End);