mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-08 06:22:14 +02:00
Button styling
This commit is contained in:
parent
5e5d76ead7
commit
91a73b2689
2 changed files with 15 additions and 8 deletions
|
@ -35,12 +35,19 @@ QPushButton#searchButton {
|
|||
|
||||
QPushButton#searchNextButton {
|
||||
font-family: Helvetica, Arial, sans-serif;
|
||||
background-repeat: none;
|
||||
background-position: left center;
|
||||
background-origin: content;
|
||||
padding-left: 10px;
|
||||
background-color: #333333;
|
||||
color: #BBBBBB;
|
||||
text-align: center;
|
||||
background-color: #CCCCCC;
|
||||
color: #3d3d3d;
|
||||
border-width: 0;
|
||||
border-radius: 9px;
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
QPushButton#searchPrevButton {
|
||||
font-family: Helvetica, Arial, sans-serif;
|
||||
text-align: center;
|
||||
background-color: #CCCCCC;
|
||||
color: #3d3d3d;
|
||||
border-width: 0;
|
||||
border-radius: 9px;
|
||||
font-size: 11px;
|
||||
|
|
|
@ -158,7 +158,7 @@ void BaseLogDialog::toggleSearchPrev() {
|
|||
QString selectedTerm = searchCursor.selectedText();
|
||||
_logTextBox->find(selectedTerm, QTextDocument::FindBackward);
|
||||
} else {
|
||||
handleSearchTextChanged(_searchTextBox.text());
|
||||
handleSearchTextChanged(_searchTextBox->text());
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -168,7 +168,7 @@ void BaseLogDialog::toggleSearchNext() {
|
|||
QString selectedTerm = searchCursor.selectedText();
|
||||
_logTextBox->find(selectedTerm);
|
||||
} else {
|
||||
handleSearchTextChanged(_searchTextBox.text());
|
||||
handleSearchTextChanged(_searchTextBox->text());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue