mirror of
https://github.com/LongSoft/UEFITool.git
synced 2025-05-28 05:54:50 -04:00
Monospace font setting moved to uefitool.cpp
This commit is contained in:
parent
d0280acfdc
commit
39e53719d4
4 changed files with 58 additions and 52 deletions
13
uefitool.cpp
13
uefitool.cpp
|
@ -56,6 +56,19 @@ version(tr("0.19.2"))
|
|||
// Set current directory
|
||||
currentDir = ".";
|
||||
|
||||
// Set monospace font for some controls
|
||||
QFont font("Courier New", 10);
|
||||
#if defined Q_OS_OSX
|
||||
font = QFont("Menlo", 10);
|
||||
#elif defined Q_OS_WIN
|
||||
font = QFont("Consolas", 9);
|
||||
#endif
|
||||
ui->infoEdit->setFont(font);
|
||||
ui->messageListWidget->setFont(font);
|
||||
ui->structureTreeView->setFont(font);
|
||||
searchDialog->ui->guidEdit->setFont(font);
|
||||
searchDialog->ui->hexEdit->setFont(font);
|
||||
|
||||
// Initialize non-persistent data
|
||||
init();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue