diff --git a/alert.cpp b/alert.cpp
index d36c8f2..64a8100 100644
--- a/alert.cpp
+++ b/alert.cpp
@@ -12,6 +12,7 @@ alert::alert(QWidget *parent) :
ui(new Ui::alert)
{
ui->setupUi(this);
+ alert::setFont(QFont("u001"));
// Getting the screen's size
float sW = QGuiApplication::screens()[0]->size().width();
@@ -80,9 +81,9 @@ alert::alert(QWidget *parent) :
poweroff(false);
}
- ui->warningLabel->setStyleSheet("QLabel { background-color : black; color : white; font-size: 16pt}");
- ui->messageLabel->setStyleSheet("QLabel { background-color : black; color : white; font-size: 9pt}");
- ui->securityLabel->setStyleSheet("QLabel { background-color : black; color : white; font-size: 11pt}");
+ ui->warningLabel->setStyleSheet("QLabel { background-color : black; color : white; font-size: 18pt }");
+ ui->messageLabel->setStyleSheet("QLabel { background-color : black; color : white; font-size: 10pt }");
+ ui->securityLabel->setStyleSheet("QLabel { background-color : black; color : white; font-size: 12pt }");
ui->continueBtn->setProperty("type", "borderless");
ui->resetBtn->setProperty("type", "borderless");
ui->continueBtn->setStyleSheet("padding: 20px");
diff --git a/bookinfodialog.cpp b/bookinfodialog.cpp
index 2083f7d..ab72eba 100644
--- a/bookinfodialog.cpp
+++ b/bookinfodialog.cpp
@@ -9,6 +9,7 @@ bookInfoDialog::bookInfoDialog(QWidget *parent) :
ui(new Ui::bookInfoDialog)
{
ui->setupUi(this);
+ bookInfoDialog::setFont(QFont("u001"));
// Stylesheet
QFile stylesheetFile(":/resources/eink.qss");
diff --git a/brightnessdialog.cpp b/brightnessdialog.cpp
index 68e063d..aba26ef 100644
--- a/brightnessdialog.cpp
+++ b/brightnessdialog.cpp
@@ -12,6 +12,7 @@ brightnessDialog::brightnessDialog(QWidget *parent) :
ui(new Ui::brightnessDialog)
{
ui->setupUi(this);
+ brightnessDialog::setFont(QFont("u001"));
// Stylesheet, style & misc.
QFile stylesheetFile(":/resources/eink.qss");
diff --git a/dictionarywidget.cpp b/dictionarywidget.cpp
index 67d8dc0..90876c1 100644
--- a/dictionarywidget.cpp
+++ b/dictionarywidget.cpp
@@ -14,6 +14,10 @@ dictionaryWidget::dictionaryWidget(QWidget *parent) :
ui(new Ui::dictionaryWidget)
{
ui->setupUi(this);
+ ui->wordLabel->setFont(QFont("u001"));
+ ui->wordLabel->setStyleSheet("font-weight: bold");
+ ui->definitionStatusLabel->setFont(QFont("u001"));
+
ui->backBtn->setProperty("type", "borderless");
ui->backBtn->setStyleSheet("background: lightGrey; font-size: 9pt; padding: 8px");
ui->nextDefinitionBtn->setProperty("type", "borderless");
diff --git a/encryptionmanager.cpp b/encryptionmanager.cpp
index 8908849..6342d9c 100644
--- a/encryptionmanager.cpp
+++ b/encryptionmanager.cpp
@@ -16,6 +16,14 @@ encryptionManager::encryptionManager(QWidget *parent) :
ui(new Ui::encryptionManager)
{
ui->setupUi(this);
+ ui->encryptionSetupLabel->setFont(QFont("u001"));
+ ui->successLabel->setFont(QFont("u001"));
+ ui->failureLabel->setFont(QFont("u001"));
+ ui->descriptionLabel->setFont(QFont("u001"));
+ ui->successDescriptionLabel->setFont(QFont("u001"));
+ ui->failureDescriptionLabel->setFont(QFont("u001"));
+ ui->warningLabel->setFont(QFont("u001"));
+ ui->warningDescriptionLabel->setFont(QFont("u001"));
// Stylesheet
QFile stylesheetFile(":/resources/eink.qss");
@@ -23,20 +31,20 @@ encryptionManager::encryptionManager(QWidget *parent) :
this->setStyleSheet(stylesheetFile.readAll());
stylesheetFile.close();
- ui->encryptionSetupLabel->setStyleSheet("font-size: 15pt");
- ui->descriptionLabel->setStyleSheet("font-size: 9pt");
- ui->successLabel->setStyleSheet("font-size: 15pt");
- ui->successDescriptionLabel->setStyleSheet("font-size: 9pt");
- ui->failureLabel->setStyleSheet("font-size: 15pt");
- ui->failureDescriptionLabel->setStyleSheet("font-size: 9pt");
+ ui->encryptionSetupLabel->setStyleSheet("font-size: 18pt; font-weight: bold");
+ ui->descriptionLabel->setStyleSheet("font-size: 10pt");
+ ui->successLabel->setStyleSheet("font-size: 18pt; font-weight: bold");
+ ui->successDescriptionLabel->setStyleSheet("font-size: 10pt");
+ ui->failureLabel->setStyleSheet("font-size: 18pt; font-weight: bold");
+ ui->failureDescriptionLabel->setStyleSheet("font-size: 10pt");
ui->setupContinueBtn->setStyleSheet("background: lightGrey; border: 3px solid black; color: black; padding: 10px; outline: none; font-size: 10pt; font-weight: bold; border-radius: 10px");
ui->setupAbortBtn->setStyleSheet("background: lightGrey; border: 3px solid black; color: black; padding: 10px; outline: none; font-size: 10pt; font-weight: bold; border-radius: 10px");
ui->exitSuccessBtn->setStyleSheet("background: lightGrey; border: 3px solid black; color: black; padding: 10px; outline: none; font-size: 10pt; font-weight: bold; border-radius: 10px");
ui->failureContinueBtn->setStyleSheet("background: lightGrey; border: 3px solid black; color: black; padding: 10px; outline: none; font-size: 10pt; font-weight: bold; border-radius: 10px");
ui->acceptBtn->setStyleSheet("background: lightGrey; border: 3px solid black; color: black; padding: 10px; outline: none; font-size: 10pt; font-weight: bold; border-radius: 10px");
ui->usbmsBtn->setStyleSheet("background: lightGrey; border: 3px solid black; color: black; padding: 10px; outline: none; font-size: 10pt; font-weight: bold; border-radius: 10px");
- ui->warningLabel->setStyleSheet("font-size: 15pt");
- ui->warningDescriptionLabel->setStyleSheet("font-size: 9pt");
+ ui->warningLabel->setStyleSheet("font-size: 18pt; font-weight: bold");
+ ui->warningDescriptionLabel->setStyleSheet("font-size: 10pt");
// Getting the screen's size
float sW = QGuiApplication::screens()[0]->size().width();
diff --git a/generaldialog.cpp b/generaldialog.cpp
index 65effa4..5fd9d8d 100644
--- a/generaldialog.cpp
+++ b/generaldialog.cpp
@@ -20,6 +20,9 @@ generalDialog::generalDialog(QWidget *parent) :
ui(new Ui::generalDialog)
{
ui->setupUi(this);
+ ui->bodyLabel->setFont(QFont("u001"));
+ ui->searchComboBox->setFont(QFont("u001"));
+ ui->label_2->setFont(QFont("u001"));
// Preventing outside interaction
this->setModal(true);
@@ -45,7 +48,8 @@ generalDialog::generalDialog(QWidget *parent) :
ui->okBtn->setStyleSheet("font-size: 9pt; padding: 10px; font-weight: bold; background: lightGrey");
ui->cancelBtn->setStyleSheet("font-size: 9pt; padding: 10px; font-weight: bold; background: lightGrey");
ui->acceptBtn->setStyleSheet("font-size: 9pt; padding: 10px; font-weight: bold; background: lightGrey");
- ui->bodyLabel->setStyleSheet("font-size: 9pt");
+ ui->headerLabel->setStyleSheet("font-weight: bold");
+ ui->bodyLabel->setStyleSheet("font-size: 9.5pt");
ui->searchComboBox->setStyleSheet("font-size: 9pt");
// Disabling "Online library" search if device doesn't have Wi-Fi
@@ -93,7 +97,7 @@ generalDialog::generalDialog(QWidget *parent) :
updateDialog = true;
ui->okBtn->setText("Update");
ui->cancelBtn->setText("Not now");
- ui->bodyLabel->setText("Do you want to update InkBox now?");
+ ui->bodyLabel->setText("Do you want to update InkBox now?"); // Because I hate Univers/U001's question mark ...
ui->headerLabel->setText("Update available");
this->adjustSize();
string_writeconfig("/inkbox/updateDialog", "false");
@@ -126,7 +130,7 @@ generalDialog::generalDialog(QWidget *parent) :
usbmsDialog = true;
ui->okBtn->setText("Connect");
ui->cancelBtn->setText("Cancel");
- ui->bodyLabel->setText("Do you want to connect your device to a computer to manage books?");
+ ui->bodyLabel->setText("Do you want to connect your device to a computer to manage books?");
ui->headerLabel->setText("USB cable connected");
this->adjustSize();
}
@@ -164,7 +168,7 @@ generalDialog::generalDialog(QWidget *parent) :
ui->headerLabel->setText("Warning");
ui->okBtn->setText("Proceed");
ui->cancelBtn->setText("Go back");
- ui->bodyLabel->setText("This will delete all the files you have encrypted. Are you sure you want to continue?");
+ ui->bodyLabel->setText("This will delete all the files you have encrypted. Are you sure you want to continue?");
this->adjustSize();
}
else if(global::encfs::errorNoBooksInDropboxDialog == true) {
@@ -177,7 +181,7 @@ generalDialog::generalDialog(QWidget *parent) :
ui->headerLabel->setText("Information");
ui->okBtn->setText("Proceed");
ui->cancelBtn->setText("Not now");
- ui->bodyLabel->setText("New files have been found in 'encfs-dropbox'. Would you want to repack your encrypted storage?");
+ ui->bodyLabel->setText("New files have been found in 'encfs-dropbox'. Would you want to repack your encrypted storage?");
this->adjustSize();
}
else {
diff --git a/generaldialog.ui b/generaldialog.ui
index 1d6f567..4dd4550 100644
--- a/generaldialog.ui
+++ b/generaldialog.ui
@@ -7,7 +7,7 @@
0
0
400
- 300
+ 218
@@ -259,21 +259,14 @@
-
-
-
-
-
- Qt::Vertical
-
-
-
- 20
- 40
-
-
-
-
-
+
+
+ 0
+ 0
+
+
Inter
@@ -292,6 +285,19 @@
+ -
+
+
+ Qt::Vertical
+
+
+
+ 20
+ 40
+
+
+
+
-
diff --git a/koboxappsdialog.cpp b/koboxappsdialog.cpp
index 869c578..360acd1 100644
--- a/koboxappsdialog.cpp
+++ b/koboxappsdialog.cpp
@@ -15,6 +15,7 @@ koboxAppsDialog::koboxAppsDialog(QWidget *parent) :
ui(new Ui::koboxAppsDialog)
{
ui->setupUi(this);
+ ui->appsList->setFont(QFont("u001"));
// Preventing outside interaction
this->setModal(true);
diff --git a/koboxsettings.cpp b/koboxsettings.cpp
index 6f415ef..455ba5f 100644
--- a/koboxsettings.cpp
+++ b/koboxsettings.cpp
@@ -10,11 +10,14 @@ koboxSettings::koboxSettings(QWidget *parent) :
ui(new Ui::koboxSettings)
{
ui->setupUi(this);
+ koboxSettings::setFont(QFont("u001"));
+ ui->okBtn->setFont(QFont("Inter"));
// UI tweaks
ui->okBtn->setProperty("type", "borderless");
ui->pushButton->setProperty("type", "borderless");
ui->resetKoboxBtn->setProperty("type", "borderless");
+ ui->okBtn->setStyleSheet("font-weight: bold");
// Stylesheet
QFile stylesheetFile(":/resources/eink.qss");
diff --git a/mainwindow.cpp b/mainwindow.cpp
index e3206e0..9e66739 100644
--- a/mainwindow.cpp
+++ b/mainwindow.cpp
@@ -28,6 +28,7 @@ MainWindow::MainWindow(QWidget *parent)
, ui(new Ui::MainWindow)
{
ui->setupUi(this);
+ ui->inkboxLabel->setFont(QFont("u001"));
ui->settingsBtn->setProperty("type", "borderless");
ui->appsBtn->setProperty("type", "borderless");
@@ -53,6 +54,7 @@ MainWindow::MainWindow(QWidget *parent)
ui->quotePictureLabel->setText("");
ui->quoteHeadingLabel->setStyleSheet("padding: 30px");
+ ui->inkboxLabel->setStyleSheet("font-size: 10.5pt");
ui->homeBtn->setStyleSheet("padding: 5px");
// Initializing some variables
@@ -801,7 +803,7 @@ void MainWindow::setBatteryIcon() {
QPixmap emptyPixmap(":/resources/battery_empty.png");
QPixmap scaledEmptyPixmap = emptyPixmap.scaled(stdIconWidth, stdIconHeight, Qt::KeepAspectRatio);
- // Checking battery level and status, then displaying the relevant icon on batteryIconLabel
+ // Checking battery level and status, then displaying the relevant icon on batteryIcon
if(isUsbPluggedIn() == true) {
ui->batteryIcon->setPixmap(scaledChargingPixmap);
}
@@ -831,7 +833,7 @@ void MainWindow::setBatteryIcon() {
QPixmap emptyPixmap(":/resources/battery_empty.png");
QPixmap scaledEmptyPixmap = emptyPixmap.scaled(stdIconWidth, stdIconHeight, Qt::KeepAspectRatio);
- // Checking battery level and status, then displaying the relevant icon on batteryIconLabel
+ // Checking battery level and status, then displaying the relevant icon on batteryIcon
if(isUsbPluggedIn() == true) {
ui->batteryIcon->setPixmap(scaledChargingPixmap);
}
diff --git a/quit.cpp b/quit.cpp
index 2f1f6f6..2476167 100644
--- a/quit.cpp
+++ b/quit.cpp
@@ -13,6 +13,7 @@ quit::quit(QWidget *parent) :
ui(new Ui::quit)
{
ui->setupUi(this);
+ ui->backBtn->setFont(QFont("u001"));
ui->pushButton->setProperty("type", "borderless");
ui->pushButton_2->setProperty("type", "borderless");
diff --git a/reader.cpp b/reader.cpp
index 0e59c0d..f2feec2 100644
--- a/reader.cpp
+++ b/reader.cpp
@@ -37,6 +37,14 @@ reader::reader(QWidget *parent) :
wordwidgetLock = false;
ui->setupUi(this);
+ ui->brightnessStatus->setFont(QFont("u001"));
+ ui->fontLabel->setFont(QFont("u001"));
+ ui->sizeLabel->setFont(QFont("u001"));
+ ui->sizeValueLabel->setFont(QFont("u001"));
+ ui->alignmentLabel->setFont(QFont("u001"));
+ ui->fontChooser->setFont(QFont("u001"));
+ ui->pageProgressBar->setFont(QFont("u001"));
+
ui->previousBtn->setProperty("type", "borderless");
ui->nextBtn->setProperty("type", "borderless");
ui->optionsBtn->setProperty("type", "borderless");
@@ -1162,9 +1170,11 @@ void reader::on_aboutBtn_clicked()
{
if(checkconfig("/opt/inkbox_genuine") == true) {
QString aboutmsg = "InkBox is an open-source, Qt-based eBook reader. It aims to bring you the latest Qt features while being also fast and responsive.";
+ aboutmsg.prepend("");
string_checkconfig_ro("/external_root/opt/isa/version");
- aboutmsg.append("\n\nInkBox ");
+ aboutmsg.append("
InkBox ");
aboutmsg.append(checkconfig_str_val);
+ aboutmsg.append("");
QMessageBox::information(this, tr("Information"), aboutmsg);
}
else {
diff --git a/savedwords.cpp b/savedwords.cpp
index 9ba5119..fdd86e6 100644
--- a/savedwords.cpp
+++ b/savedwords.cpp
@@ -9,6 +9,7 @@ savedwords::savedwords(QWidget *parent) :
ui(new Ui::savedwords)
{
ui->setupUi(this);
+ savedwords::setFont(QFont("u001"));
QFile stylesheetFile(":/resources/eink.qss");
stylesheetFile.open(QFile::ReadOnly);
this->setStyleSheet(stylesheetFile.readAll());
diff --git a/searchresultswidget.cpp b/searchresultswidget.cpp
index 8499537..b21d986 100644
--- a/searchresultswidget.cpp
+++ b/searchresultswidget.cpp
@@ -13,6 +13,7 @@ searchResultsWidget::searchResultsWidget(QWidget *parent) :
// Variables
libraryResults = false;
+ ui->listView->setFont(QFont("u001"));
ui->listView->setStyleSheet("font-size: 10pt");
ui->backBtn->setProperty("type", "borderless");
ui->backBtn->setStyleSheet("font-size: 9pt; padding: 10px; font-weight: bold; background: lightGrey");
diff --git a/settings.cpp b/settings.cpp
index 9eeb965..708a876 100644
--- a/settings.cpp
+++ b/settings.cpp
@@ -23,6 +23,12 @@ settings::settings(QWidget *parent) :
ui(new Ui::settings)
{
ui->setupUi(this);
+ settings::setFont(QFont("u001"));
+ ui->label->setFont(QFont("u001"));
+ ui->comboBox->setFont(QFont("u001"));
+ ui->sleepTimeoutComboBox->setFont(QFont("u001"));
+ ui->okBtn->setFont(QFont("Inter"));
+
ui->setPasscodeBtn->setProperty("type", "borderless");
ui->okBtn->setProperty("type", "borderless");
ui->aboutBtn->setProperty("type", "borderless");
@@ -36,6 +42,8 @@ settings::settings(QWidget *parent) :
ui->previousBtn->setProperty("type", "borderless");
ui->nextBtn->setProperty("type", "borderless");
ui->repackBtn->setProperty("type", "borderless");
+ ui->label->setStyleSheet("font-size: 10.5pt; font-weight: bold");
+ ui->okBtn->setStyleSheet("font-weight: bold");
ui->aboutBtn->setStyleSheet("font-size: 9pt");
ui->requestLeaseBtn->setStyleSheet("font-size: 9pt");
ui->usbmsBtn->setStyleSheet("font-size: 9pt");
@@ -401,9 +409,11 @@ void settings::on_aboutBtn_clicked()
{
if(checkconfig("/opt/inkbox_genuine") == true) {
QString aboutmsg = "InkBox is an open-source, Qt-based eBook reader. It aims to bring you the latest Qt features while being also fast and responsive.";
+ aboutmsg.prepend("");
string_checkconfig_ro("/external_root/opt/isa/version");
- aboutmsg.append("\n\nInkBox ");
+ aboutmsg.append("
InkBox ");
aboutmsg.append(checkconfig_str_val);
+ aboutmsg.append("");
QMessageBox::information(this, tr("Information"), aboutmsg);
}
else {
diff --git a/settings.ui b/settings.ui
index 8cf3887..b6884cf 100644
--- a/settings.ui
+++ b/settings.ui
@@ -7,7 +7,7 @@
0
0
477
- 757
+ 833
@@ -48,8 +48,8 @@
0
0
- 442
- 580
+ 463
+ 632
@@ -98,72 +98,6 @@
0
- -
-
-
- 0
-
-
-
-
-
- Qt::Horizontal
-
-
-
- 40
- 20
-
-
-
-
- -
-
-
- Words number/page (plain text files)
-
-
-
- -
-
-
- 20
-
-
- 300
-
-
- 20
-
-
- 20
-
-
-
-
-
- -
-
-
- QFrame::Plain
-
-
- Qt::Horizontal
-
-
-
- -
-
-
-
- Chivo
- true
-
-
-
- Networking
-
-
-
-
@@ -174,6 +108,53 @@
+ -
+
+
+ QFrame::Plain
+
+
+ Qt::Horizontal
+
+
+
+ -
+
+
+ QFrame::Plain
+
+
+ Qt::Horizontal
+
+
+
+ -
+
+
+ Clock: Show seconds
+
+
+
+ -
+
+
+ Show scroll bar if needed
+
+
+
+ -
+
+
+
+ Chivo
+ true
+
+
+
+ Reading
+
+
+
-
@@ -245,16 +226,69 @@
- -
-
-
- QFrame::Plain
+
-
+
+
+
+ Chivo
+ true
+
-
- Qt::Horizontal
+
+ Home
+ -
+
+
+ Global reading settings
+
+
+
+ -
+
+
+ 0
+
+
-
+
+
+ Qt::Horizontal
+
+
+
+ 40
+ 20
+
+
+
+
+ -
+
+
+ Words number/page (plain text files)
+
+
+
+ -
+
+
+ 20
+
+
+ 300
+
+
+ 20
+
+
+ 20
+
+
+
+
+
-
@@ -295,16 +329,20 @@
- -
-
-
-
- Chivo
- true
-
-
+
-
+
- Reading
+ Disable "Welcome to InkBox" message
+
+
+
+ -
+
+
+ QFrame::Plain
+
+
+ Qt::Horizontal
@@ -361,15 +399,15 @@
- -
-
+
-
+
- Clock: Show seconds
+ Always show status bar
- -
-
+
-
+
Chivo
@@ -377,37 +415,14 @@
- Home
+ Networking
- -
-
-
- Qt::Vertical
-
-
-
- 20
- 40
-
-
-
-
- -
-
+
-
+
- Show scroll bar if needed
-
-
-
- -
-
-
- QFrame::Plain
-
-
- Qt::Horizontal
+ Disable authors quotes
@@ -478,33 +493,18 @@
- -
-
-
- Always show status bar
+
-
+
+
+ Qt::Vertical
-
-
- -
-
-
- Disable authors quotes
+
+
+ 20
+ 40
+
-
-
- -
-
-
- Disable "Welcome to InkBox" message
-
-
-
- -
-
-
- Global reading settings
-
-
+
@@ -526,13 +526,9 @@
-
-
-
-
-
- Enable
-
-
-
+
+ 0
+
-
@@ -540,206 +536,6 @@
- -
-
-
- 0
-
-
-
-
-
- Qt::Horizontal
-
-
-
- 40
- 20
-
-
-
-
- -
-
-
- Repack
-
-
-
- -
-
-
-
- 75
- true
-
-
-
- Repack
-
-
-
-
-
- -
-
-
- Enable lock screen and passcode
-
-
-
- -
-
-
- 0
-
-
-
- -
-
-
- QFrame::Plain
-
-
- Qt::Horizontal
-
-
-
- -
-
-
- 0
-
-
-
-
-
- Reset this device
-
-
-
- -
-
-
-
- 75
- true
-
-
-
- Reset
-
-
-
- -
-
-
- Qt::Horizontal
-
-
-
- 40
- 20
-
-
-
-
-
-
- -
-
-
-
- Chivo
- true
-
-
-
- System
-
-
-
- -
-
-
- Qt::Vertical
-
-
-
- 20
- 40
-
-
-
-
- -
-
-
- Enable UI scaling
-
-
-
- -
-
-
- 0
-
-
-
-
-
- Qt::Horizontal
-
-
-
- 40
- 20
-
-
-
-
- -
-
-
-
- 75
- true
-
-
-
- Set
-
-
-
- -
-
-
- Set a passcode
-
-
-
-
-
- -
-
-
- QFrame::Plain
-
-
- Qt::Horizontal
-
-
-
- -
-
-
-
- Chivo
- true
-
-
-
- Security
-
-
-
-
@@ -792,45 +588,12 @@
- -
-
-
- 0
+
-
+
+
+ Enable
-
-
-
-
- Check for updates
-
-
-
- -
-
-
- Qt::Horizontal
-
-
-
- 40
- 20
-
-
-
-
- -
-
-
-
- 75
- true
-
-
-
- Check
-
-
-
-
+
-
@@ -845,92 +608,6 @@
- -
-
-
- 0
-
-
- 0
-
-
-
-
-
- System info
-
-
-
- -
-
-
- Qt::Horizontal
-
-
-
- 40
- 20
-
-
-
-
- -
-
-
-
- 75
- true
-
-
-
- Show
-
-
-
-
-
- -
-
-
- 0
-
-
-
-
-
- Qt::Horizontal
-
-
-
- 40
- 20
-
-
-
-
- -
-
-
- Update InkBox
-
-
- Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter
-
-
-
- -
-
-
-
- 75
- true
-
-
-
- Update
-
-
-
-
-
-
@@ -1000,8 +677,8 @@
- -
-
+
-
+
QFrame::Plain
@@ -1010,6 +687,212 @@
+ -
+
+
+
+ Chivo
+ true
+
+
+
+ System
+
+
+
+ -
+
+
+ Enable lock screen and passcode
+
+
+
+ -
+
+
+ QFrame::Plain
+
+
+ Qt::Horizontal
+
+
+
+ -
+
+
+ 0
+
+
+ 0
+
+
-
+
+
+ System info
+
+
+
+ -
+
+
+ Qt::Horizontal
+
+
+
+ 40
+ 20
+
+
+
+
+ -
+
+
+
+ 75
+ true
+
+
+
+ Show
+
+
+
+
+
+ -
+
+
+ 0
+
+
-
+
+
+ Qt::Horizontal
+
+
+
+ 40
+ 20
+
+
+
+
+ -
+
+
+
+ 75
+ true
+
+
+
+ Set
+
+
+
+ -
+
+
+ Set a passcode
+
+
+
+
+
+ -
+
+
+ 0
+
+
-
+
+
+ Check for updates
+
+
+
+ -
+
+
+ Qt::Horizontal
+
+
+
+ 40
+ 20
+
+
+
+
+ -
+
+
+
+ 75
+ true
+
+
+
+ Check
+
+
+
+
+
+ -
+
+
+
+ Chivo
+ true
+
+
+
+ Security
+
+
+
+ -
+
+
+ 0
+
+
-
+
+
+ Reset this device
+
+
+
+ -
+
+
+
+ 75
+ true
+
+
+
+ Reset
+
+
+
+ -
+
+
+ Qt::Horizontal
+
+
+
+ 40
+ 20
+
+
+
+
+
+
-
@@ -1050,6 +933,119 @@
+ -
+
+
+ 0
+
+
-
+
+
+ Qt::Horizontal
+
+
+
+ 40
+ 20
+
+
+
+
+ -
+
+
+ Update InkBox
+
+
+ Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter
+
+
+
+ -
+
+
+
+ 75
+ true
+
+
+
+ Update
+
+
+
+
+
+ -
+
+
+ QFrame::Plain
+
+
+ Qt::Horizontal
+
+
+
+ -
+
+
+ Enable UI scaling
+
+
+
+ -
+
+
+ 0
+
+
-
+
+
+ Qt::Horizontal
+
+
+
+ 40
+ 20
+
+
+
+
+ -
+
+
+ Repack
+
+
+
+ -
+
+
+
+ 75
+ true
+
+
+
+ Repack
+
+
+
+
+
+ -
+
+
+ Qt::Vertical
+
+
+
+ 20
+ 40
+
+
+
+
diff --git a/textwidget.cpp b/textwidget.cpp
index 0dbd307..6f2e738 100644
--- a/textwidget.cpp
+++ b/textwidget.cpp
@@ -10,6 +10,7 @@ textwidget::textwidget(QWidget *parent) :
ui(new Ui::textwidget)
{
ui->setupUi(this);
+ ui->textBrowser->setFont(QFont("u001"));
// Stylesheet
QFile stylesheetFile(":/resources/eink.qss");
diff --git a/usbms_splash.cpp b/usbms_splash.cpp
index 488e4c4..b74b986 100644
--- a/usbms_splash.cpp
+++ b/usbms_splash.cpp
@@ -12,6 +12,7 @@ usbms_splash::usbms_splash(QWidget *parent) :
ui(new Ui::usbms_splash)
{
ui->setupUi(this);
+ usbms_splash::setFont(QFont("u001"));
// Getting the screen's size
sW = QGuiApplication::screens()[0]->size().width();
@@ -48,8 +49,8 @@ usbms_splash::usbms_splash(QWidget *parent) :
float stdIconHeight = sH / 1.15;
this->setStyleSheet("background-color:black;");
- ui->label->setStyleSheet("QLabel { background-color : black; color : white; }");
- ui->label_3->setStyleSheet("QLabel { background-color : black; color : white; font-size: 9pt}");
+ ui->label->setStyleSheet("QLabel { background-color : black; color : white; font-size: 15pt }");
+ ui->label_3->setStyleSheet("QLabel { background-color : black; color : white; font-size: 10pt }");
QPixmap pixmap(":/resources/usbms.png");
QPixmap scaledPixmap = pixmap.scaled(stdIconWidth, stdIconHeight, Qt::KeepAspectRatio);
diff --git a/wifidialog.cpp b/wifidialog.cpp
index 20cc194..1b3466c 100644
--- a/wifidialog.cpp
+++ b/wifidialog.cpp
@@ -28,6 +28,7 @@ wifiDialog::wifiDialog(QWidget *parent) :
ui->cancelBtn->setStyleSheet("font-size: 9pt; padding: 10px; font-weight: bold; background: lightGrey");
ui->connectBtn->setStyleSheet("font-size: 9pt; padding: 10px; font-weight: bold; background: lightGrey");
ui->mainLabel->setStyleSheet("padding-left: 125px; padding-right: 125px");
+ ui->networksListWidget->setFont(QFont("u001"));
ui->networksListWidget->setStyleSheet("font-size: 9pt");
checkWifiNetworks();