You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
716 B
27 lines
716 B
2 years ago
|
#include "installerprompt.h"
|
||
|
#include "./ui_installerprompt.h"
|
||
2 years ago
|
|
||
2 years ago
|
InstallerPrompt::InstallerPrompt(QWidget *parent)
|
||
2 years ago
|
: QMainWindow(parent)
|
||
2 years ago
|
, ui(new Ui::InstallerPrompt)
|
||
2 years ago
|
{
|
||
|
ui->setupUi(this);
|
||
2 years ago
|
|
||
|
// Set the background image, and let it change with the release
|
||
2 years ago
|
QPixmap bg("../img/background.png");
|
||
2 years ago
|
bg = bg.scaled(this->size(), Qt::IgnoreAspectRatio);
|
||
|
QPalette palette;
|
||
|
palette.setBrush(QPalette::Window, bg);
|
||
|
this->setPalette(palette);
|
||
|
|
||
2 years ago
|
// Set the button colors
|
||
|
ui->tryLubuntu->setStyleSheet("background-color: rgba(0, 104, 200, 100);");
|
||
|
ui->installLubuntu->setStyleSheet("background-color: rgba(0, 104, 200, 100);");
|
||
2 years ago
|
}
|
||
|
|
||
2 years ago
|
InstallerPrompt::~InstallerPrompt()
|
||
2 years ago
|
{
|
||
|
delete ui;
|
||
|
}
|
||
|
|