mirror of
https://github.com/Quill-OS/quill.git
synced 2024-12-26 23:57:22 -08:00
GUI: Replace monospace font with Roboto Mono; Fixes for N873
This commit is contained in:
parent
d1b3559357
commit
76728b7d4b
6 changed files with 19 additions and 7 deletions
|
@ -1310,6 +1310,10 @@ void reader::on_fontChooser_currentIndexChanged(const QString &arg1)
|
|||
ui->text->setFont(notomono);
|
||||
string_writeconfig(".config/04-book/font", "Noto Mono");
|
||||
}
|
||||
if(arg1 == "Roboto Mono") {
|
||||
ui->text->setFont(QFont("Roboto Mono"));
|
||||
writeFile(".config/04-boot/font", "Roboto Mono");
|
||||
}
|
||||
if(arg1 == "Libertinus Serif") {
|
||||
QFont libertinus("Libertinus Serif");
|
||||
ui->text->setFont(libertinus);
|
||||
|
|
|
@ -672,6 +672,11 @@
|
|||
<string>Noto Mono</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>Roboto Mono</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>Roboto</string>
|
||||
|
|
|
@ -12,7 +12,7 @@ connectiondialog::connectiondialog(QWidget *parent) :
|
|||
{
|
||||
ui->setupUi(this);
|
||||
this->setFont(QFont("u001"));
|
||||
ui->passphraseTextEdit->setFont(QFont("Noto Mono"));
|
||||
ui->passphraseTextEdit->setFont(QFont("Roboto Mono"));
|
||||
ui->label->setFont(QFont("Inter"));
|
||||
ui->label_2->setFont(QFont("Inter"));
|
||||
|
||||
|
@ -46,6 +46,9 @@ connectiondialog::connectiondialog(QWidget *parent) :
|
|||
if(global::deviceID == "n705\n") {
|
||||
finalHeight = screenGeometry.height() - halfOfHalfHeight * 5.9;
|
||||
}
|
||||
else if(global::deviceID == "n873\n") {
|
||||
finalHeight = screenGeometry.height() - halfOfHalfHeight * 6.45;
|
||||
}
|
||||
else {
|
||||
finalHeight = screenGeometry.height() - halfOfHalfHeight * 6.3;
|
||||
}
|
||||
|
|
|
@ -405,7 +405,7 @@ void wifiDialog::watcher() {
|
|||
forceRefresh = true;
|
||||
QFile recName = QFile("/mnt/onboard/.adds/inkbox/.config/17-wifi_connection_information/essid");
|
||||
if(recName.exists() == true) {
|
||||
setStatusText("Reconnecting after suspending to " + readFile(recName.fileName()).replace("\n", ""));
|
||||
setStatusText("Reconnecting to '" + readFile(recName.fileName()).replace("\n", "") + "'");
|
||||
}
|
||||
else {
|
||||
// Shouldn't be possible
|
||||
|
|
|
@ -16,12 +16,12 @@ wifilogger::wifilogger(QWidget *parent) :
|
|||
ui->label_8->setFont(QFont("Inter"));
|
||||
ui->returnBtn->setFont(QFont("Inter"));
|
||||
ui->nameLabel->setFont(QFont("Inter"));
|
||||
ui->allLogsText->setFont(QFont("Noto Mono"));
|
||||
ui->fancyLogsText->setFont(QFont("Noto Mono"));
|
||||
ui->allLogsText->setFont(QFont("Roboto Mono"));
|
||||
ui->fancyLogsText->setFont(QFont("Roboto Mono"));
|
||||
ui->nameLabel->setStyleSheet("font-weight: bold");
|
||||
ui->returnBtn->setStyleSheet("font-weight: bold");
|
||||
ui->allLogsText->setStyleSheet("font-size: 7pt");
|
||||
ui->fancyLogsText->setStyleSheet("font-size: 7pt");
|
||||
ui->allLogsText->setStyleSheet("font-size: 7.5pt");
|
||||
ui->fancyLogsText->setStyleSheet("font-size: 7.5pt");
|
||||
|
||||
// Stylesheet, style & misc.
|
||||
QFile stylesheetFile("/mnt/onboard/.adds/inkbox/eink.qss");
|
||||
|
|
|
@ -192,7 +192,7 @@ virtualkeyboard::virtualkeyboard(QWidget *parent) :
|
|||
|
||||
ui->lineEdit->setStyleSheet("border: 3px solid black");
|
||||
if(global::keyboard::vncDialog == true or global::keyboard::wifiPassphraseDialog == true or global::keyboard::encfsDialog == true) {
|
||||
ui->lineEdit->setFont(QFont("Noto Mono"));
|
||||
ui->lineEdit->setFont(QFont("Roboto Mono"));
|
||||
}
|
||||
else if(global::keyboard::searchDialog == true){
|
||||
ui->lineEdit->setFont(QFont("u001"));
|
||||
|
|
Loading…
Reference in a new issue