mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 02:37:12 +02:00
initial changes...ready for feedback
This commit is contained in:
parent
0117750757
commit
fe69498976
5 changed files with 31 additions and 17 deletions
|
@ -67,6 +67,16 @@ QPushButton#revealLogButton {
|
|||
font-size: 11px;
|
||||
}
|
||||
|
||||
QPushButton#showAllButton {
|
||||
font-family: Helvetica, Arial, sans-serif;
|
||||
padding-left: 10px;
|
||||
background-color: #333333;
|
||||
color: #BBBBBB;
|
||||
border-width: 0;
|
||||
border-radius: 9px;
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
QCheckBox {
|
||||
font-family: Helvetica, Arial, sans-serif;
|
||||
text-align: center;
|
||||
|
|
|
@ -147,7 +147,8 @@ void BaseLogDialog::toggleSearchPrev() {
|
|||
if (searchCursor.hasSelection()) {
|
||||
QString selectedTerm = searchCursor.selectedText();
|
||||
_logTextBox->find(selectedTerm, QTextDocument::FindBackward);
|
||||
} else {
|
||||
}
|
||||
else {
|
||||
handleSearchTextChanged(_searchTextBox->text());
|
||||
}
|
||||
}
|
||||
|
@ -157,7 +158,8 @@ void BaseLogDialog::toggleSearchNext() {
|
|||
if (searchCursor.hasSelection()) {
|
||||
QString selectedTerm = searchCursor.selectedText();
|
||||
_logTextBox->find(selectedTerm);
|
||||
} else {
|
||||
}
|
||||
else {
|
||||
handleSearchTextChanged(_searchTextBox->text());
|
||||
}
|
||||
}
|
||||
|
|
|
@ -178,11 +178,13 @@ void LogDialog::appendLogLine(QString logLine) {
|
|||
if (_logger->debugPrint()) {
|
||||
_logTextBox->appendPlainText(logLine.trimmed());
|
||||
}
|
||||
} else if (logLine.contains(INFO, Qt::CaseSensitive)) {
|
||||
}
|
||||
else if (logLine.contains(INFO, Qt::CaseSensitive)) {
|
||||
if (_logger->infoPrint()) {
|
||||
_logTextBox->appendPlainText(logLine.trimmed());
|
||||
}
|
||||
} else {
|
||||
}
|
||||
else {
|
||||
if (_logger->criticalPrint()) {
|
||||
_logTextBox->appendPlainText(logLine.trimmed());
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue