mirror of
https://github.com/Quill-OS/quill.git
synced 2024-12-26 07:37:21 -08:00
Design improvements
This commit is contained in:
parent
522f09df63
commit
6874b729c3
18 changed files with 35 additions and 20 deletions
2
apps.cpp
2
apps.cpp
|
@ -61,7 +61,7 @@ apps::apps(QWidget *parent) :
|
|||
ui->lightmapsLaunchBtn->deleteLater();
|
||||
}
|
||||
|
||||
QFile stylesheetFile("eink.qss");
|
||||
QFile stylesheetFile("/mnt/onboard/.adds/inkbox/eink.qss");
|
||||
stylesheetFile.open(QFile::ReadOnly);
|
||||
this->setStyleSheet(stylesheetFile.readAll());
|
||||
stylesheetFile.close();
|
||||
|
|
|
@ -11,7 +11,7 @@ bookInfoDialog::bookInfoDialog(QWidget *parent) :
|
|||
ui->setupUi(this);
|
||||
|
||||
// Stylesheet
|
||||
QFile stylesheetFile("eink.qss");
|
||||
QFile stylesheetFile("/mnt/onboard/.adds/inkbox/eink.qss");
|
||||
stylesheetFile.open(QFile::ReadOnly);
|
||||
this->setStyleSheet(stylesheetFile.readAll());
|
||||
stylesheetFile.close();
|
||||
|
|
|
@ -15,7 +15,7 @@ brightnessDialog::brightnessDialog(QWidget *parent) :
|
|||
brightnessDialog::setFont(QFont("u001"));
|
||||
|
||||
// Stylesheet, style & misc.
|
||||
QFile stylesheetFile("eink.qss");
|
||||
QFile stylesheetFile("/mnt/onboard/.adds/inkbox/eink.qss");
|
||||
stylesheetFile.open(QFile::ReadOnly);
|
||||
this->setStyleSheet(stylesheetFile.readAll());
|
||||
stylesheetFile.close();
|
||||
|
|
|
@ -8,9 +8,12 @@ calendarApp::calendarApp(QWidget *parent) :
|
|||
ui(new Ui::calendarApp)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
calendarApp::setFont(QFont("u001"));
|
||||
ui->backBtn->setFont(QFont("Inter"));
|
||||
ui->backBtn->setStyleSheet("font-weight: bold");
|
||||
|
||||
// Stylesheet
|
||||
QFile stylesheetFile("eink.qss");
|
||||
QFile stylesheetFile("/mnt/onboard/.adds/inkbox/eink.qss");
|
||||
stylesheetFile.open(QFile::ReadOnly);
|
||||
this->setStyleSheet(stylesheetFile.readAll());
|
||||
stylesheetFile.close();
|
||||
|
|
|
@ -26,7 +26,7 @@ encryptionManager::encryptionManager(QWidget *parent) :
|
|||
ui->warningDescriptionLabel->setFont(QFont("u001"));
|
||||
|
||||
// Stylesheet
|
||||
QFile stylesheetFile("eink.qss");
|
||||
QFile stylesheetFile("/mnt/onboard/.adds/inkbox/eink.qss");
|
||||
stylesheetFile.open(QFile::ReadOnly);
|
||||
this->setStyleSheet(stylesheetFile.readAll());
|
||||
stylesheetFile.close();
|
||||
|
|
|
@ -33,7 +33,7 @@ generalDialog::generalDialog(QWidget *parent) :
|
|||
stylesheetFile.close();
|
||||
}
|
||||
else {
|
||||
QFile stylesheetFile("eink.qss");
|
||||
QFile stylesheetFile("/mnt/onboard/.adds/inkbox/eink.qss");
|
||||
stylesheetFile.open(QFile::ReadOnly);
|
||||
this->setStyleSheet(stylesheetFile.readAll());
|
||||
stylesheetFile.close();
|
||||
|
|
|
@ -21,7 +21,7 @@ koboxAppsDialog::koboxAppsDialog(QWidget *parent) :
|
|||
this->setModal(true);
|
||||
|
||||
// Stylesheet, style & misc.
|
||||
QFile stylesheetFile("eink.qss");
|
||||
QFile stylesheetFile("/mnt/onboard/.adds/inkbox/eink.qss");
|
||||
stylesheetFile.open(QFile::ReadOnly);
|
||||
this->setStyleSheet(stylesheetFile.readAll());
|
||||
stylesheetFile.close();
|
||||
|
|
|
@ -22,7 +22,7 @@ koboxSettings::koboxSettings(QWidget *parent) :
|
|||
ui->okBtn->setStyleSheet("font-weight: bold");
|
||||
|
||||
// Stylesheet
|
||||
QFile stylesheetFile("eink.qss");
|
||||
QFile stylesheetFile("/mnt/onboard/.adds/inkbox/eink.qss");
|
||||
stylesheetFile.open(QFile::ReadOnly);
|
||||
this->setStyleSheet(stylesheetFile.readAll());
|
||||
stylesheetFile.close();
|
||||
|
|
2
main.cpp
2
main.cpp
|
@ -178,7 +178,7 @@ int main(int argc, char *argv[])
|
|||
MainWindow w;
|
||||
|
||||
QApplication::setStyle("windows");
|
||||
QFile stylesheetFile("eink.qss");
|
||||
QFile stylesheetFile("/mnt/onboard/.adds/inkbox/eink.qss");
|
||||
stylesheetFile.open(QFile::ReadOnly);
|
||||
w.setStyleSheet(stylesheetFile.readAll());
|
||||
stylesheetFile.close();
|
||||
|
|
|
@ -191,7 +191,7 @@ MainWindow::MainWindow(QWidget *parent)
|
|||
}
|
||||
|
||||
// Stylesheet
|
||||
QFile stylesheetFile("eink.qss");
|
||||
QFile stylesheetFile("/mnt/onboard/.adds/inkbox/eink.qss");
|
||||
stylesheetFile.open(QFile::ReadOnly);
|
||||
this->setStyleSheet(stylesheetFile.readAll());
|
||||
stylesheetFile.close();
|
||||
|
|
2
quit.cpp
2
quit.cpp
|
@ -22,7 +22,7 @@ quit::quit(QWidget *parent) :
|
|||
ui->backBtn->setProperty("type", "borderless");
|
||||
|
||||
// Stylesheet
|
||||
QFile stylesheetFile("eink.qss");
|
||||
QFile stylesheetFile("/mnt/onboard/.adds/inkbox/eink.qss");
|
||||
stylesheetFile.open(QFile::ReadOnly);
|
||||
this->setStyleSheet(stylesheetFile.readAll());
|
||||
stylesheetFile.close();
|
||||
|
|
|
@ -41,7 +41,7 @@ reader::reader(QWidget *parent) :
|
|||
ui->brightnessStatus->setFont(QFont("u001"));
|
||||
ui->fontLabel->setFont(QFont("u001"));
|
||||
ui->sizeLabel->setFont(QFont("u001"));
|
||||
ui->sizeValueLabel->setFont(QFont("u001"));
|
||||
ui->sizeValueLabel->setFont(QFont("Inter"));
|
||||
ui->alignmentLabel->setFont(QFont("u001"));
|
||||
ui->fontChooser->setFont(QFont("u001"));
|
||||
ui->definitionStatusLabel->setFont(QFont("u001"));
|
||||
|
@ -124,7 +124,7 @@ reader::reader(QWidget *parent) :
|
|||
QFont crimson(family);
|
||||
|
||||
// Stylesheet + misc.
|
||||
QFile stylesheetFile("eink.qss");
|
||||
QFile stylesheetFile("/mnt/onboard/.adds/inkbox/eink.qss");
|
||||
stylesheetFile.open(QFile::ReadOnly);
|
||||
this->setStyleSheet(stylesheetFile.readAll());
|
||||
stylesheetFile.close();
|
||||
|
@ -294,7 +294,7 @@ reader::reader(QWidget *parent) :
|
|||
ui->previousBtn->setStyleSheet("padding: 13.5px");
|
||||
ui->optionsBtn->setStyleSheet("padding: 13.5px");
|
||||
}
|
||||
ui->sizeValueLabel->setStyleSheet("font-size: 9pt");
|
||||
ui->sizeValueLabel->setStyleSheet("font-size: 9pt; font-weight: bold");
|
||||
ui->homeBtn->setStyleSheet("font-size: 9pt; padding: 5px");
|
||||
ui->aboutBtn->setStyleSheet("font-size: 9pt; padding: 5px");
|
||||
ui->fontChooser->setStyleSheet("font-size: 9pt");
|
||||
|
|
|
@ -10,13 +10,23 @@ savedwords::savedwords(QWidget *parent) :
|
|||
{
|
||||
ui->setupUi(this);
|
||||
savedwords::setFont(QFont("u001"));
|
||||
QFile stylesheetFile("eink.qss");
|
||||
ui->savedWordsLabel->setFont(QFont("Inter"));
|
||||
ui->backBtn->setFont(QFont("Inter"));
|
||||
ui->clearBtn->setFont(QFont("Inter"));
|
||||
|
||||
QFile stylesheetFile("/mnt/onboard/.adds/inkbox/eink.qss");
|
||||
stylesheetFile.open(QFile::ReadOnly);
|
||||
this->setStyleSheet(stylesheetFile.readAll());
|
||||
stylesheetFile.close();
|
||||
|
||||
ui->backBtn->setProperty("type", "borderless");
|
||||
ui->clearBtn->setProperty("type", "borderless");
|
||||
|
||||
ui->savedWordsLabel->setStyleSheet("font-weight: bold");
|
||||
ui->wordsList->setStyleSheet("font-size: 10pt");
|
||||
ui->backBtn->setStyleSheet("font-weight: bold");
|
||||
ui->clearBtn->setStyleSheet("font-weight: bold");
|
||||
|
||||
checkwords();
|
||||
|
||||
QStringListModel * model = new QStringListModel(this);
|
||||
|
|
|
@ -27,6 +27,7 @@ settings::settings(QWidget *parent) :
|
|||
ui->comboBox->setFont(QFont("u001"));
|
||||
ui->tzComboBox->setFont(QFont("u001"));
|
||||
ui->sleepTimeoutComboBox->setFont(QFont("u001"));
|
||||
ui->uiScaleNumberLabel->setFont(QFont("Inter"));
|
||||
ui->aboutBtn->setFont(QFont("u001"));
|
||||
ui->okBtn->setFont(QFont("Inter"));
|
||||
|
||||
|
@ -58,6 +59,7 @@ settings::settings(QWidget *parent) :
|
|||
ui->sleepTimeoutComboBox->setStyleSheet("font-size: 9pt");
|
||||
ui->setPasscodeBtn->setStyleSheet("font-size: 9pt");
|
||||
ui->repackBtn->setStyleSheet("font-size: 9pt");
|
||||
ui->uiScaleNumberLabel->setStyleSheet("font-size: 9pt; font-weight: bold");
|
||||
|
||||
ui->previousBtn->setText("");
|
||||
ui->previousBtn->setIcon(QIcon(":/resources/chevron-left.png"));
|
||||
|
@ -381,7 +383,7 @@ settings::settings(QWidget *parent) :
|
|||
ui->checkOtaUpdateGridLayout->deleteLater();
|
||||
}
|
||||
|
||||
QFile stylesheetFile("eink.qss");
|
||||
QFile stylesheetFile("/mnt/onboard/.adds/inkbox/eink.qss");
|
||||
stylesheetFile.open(QFile::ReadOnly);
|
||||
this->setStyleSheet(stylesheetFile.readAll());
|
||||
stylesheetFile.close();
|
||||
|
|
|
@ -12,7 +12,7 @@ settingsChooser::settingsChooser(QWidget *parent) :
|
|||
ui->setupUi(this);
|
||||
|
||||
// Stylesheet
|
||||
QFile stylesheetFile("eink.qss");
|
||||
QFile stylesheetFile("/mnt/onboard/.adds/inkbox/eink.qss");
|
||||
stylesheetFile.open(QFile::ReadOnly);
|
||||
this->setStyleSheet(stylesheetFile.readAll());
|
||||
stylesheetFile.close();
|
||||
|
|
|
@ -13,7 +13,7 @@ textwidget::textwidget(QWidget *parent) :
|
|||
ui->textBrowser->setFont(QFont("u001"));
|
||||
|
||||
// Stylesheet
|
||||
QFile stylesheetFile("eink.qss");
|
||||
QFile stylesheetFile("/mnt/onboard/.adds/inkbox/eink.qss");
|
||||
stylesheetFile.open(QFile::ReadOnly);
|
||||
this->setStyleSheet(stylesheetFile.readAll());
|
||||
stylesheetFile.close();
|
||||
|
|
|
@ -24,7 +24,7 @@ usbms_splash::usbms_splash(QWidget *parent) :
|
|||
float stdIconHeight = sH / 1.30;
|
||||
|
||||
// Stylesheet
|
||||
QFile stylesheetFile("eink.qss");
|
||||
QFile stylesheetFile("/mnt/onboard/.adds/inkbox/eink.qss");
|
||||
stylesheetFile.open(QFile::ReadOnly);
|
||||
this->setStyleSheet(stylesheetFile.readAll());
|
||||
stylesheetFile.close();
|
||||
|
|
|
@ -17,7 +17,7 @@ wifiDialog::wifiDialog(QWidget *parent) :
|
|||
wifiListTimer = new QTimer(this);
|
||||
|
||||
// Stylesheet, style & misc.
|
||||
QFile stylesheetFile("eink.qss");
|
||||
QFile stylesheetFile("/mnt/onboard/.adds/inkbox/eink.qss");
|
||||
stylesheetFile.open(QFile::ReadOnly);
|
||||
this->setStyleSheet(stylesheetFile.readAll());
|
||||
stylesheetFile.close();
|
||||
|
|
Loading…
Reference in a new issue