quill/calendarapp.cpp
2022-04-03 22:44:46 -04:00

29 lines
541 B
C++

#include "calendarapp.h"
#include "ui_calendarapp.h"
#include <QFile>
calendarApp::calendarApp(QWidget *parent) :
QWidget(parent),
ui(new Ui::calendarApp)
{
ui->setupUi(this);
// Stylesheet
QFile stylesheetFile("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();
}