mirror of
https://github.com/Quill-OS/quill.git
synced 2024-11-01 05:43:21 -07:00
32 lines
703 B
C++
32 lines
703 B
C++
#include "calendarapp.h"
|
|
#include "ui_calendarapp.h"
|
|
|
|
#include <QFile>
|
|
|
|
calendarApp::calendarApp(QWidget *parent) :
|
|
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("/mnt/onboard/.adds/inkbox/eink.qss");
|
|
stylesheetFile.open(QFile::ReadOnly);
|
|
this->setStyleSheet(stylesheetFile.readAll());
|
|
stylesheetFile.close();
|
|
|
|
ui->backBtn->setProperty("type", "borderless");
|
|
}
|
|
|
|
calendarApp::~calendarApp()
|
|
{
|
|
delete ui;
|
|
}
|
|
|
|
void calendarApp::on_backBtn_clicked()
|
|
{
|
|
calendarApp::close();
|
|
}
|