mirror of
https://github.com/wownero/wowlet.git
synced 2026-10-17 15:21:30 +02:00
25 lines
554 B
C++
25 lines
554 B
C++
// SPDX-License-Identifier: BSD-3-Clause
|
|
// Copyright (c) 2020-2021, The Monero Project.
|
|
|
|
#include "splashdialog.h"
|
|
#include "ui_splashdialog.h"
|
|
|
|
SplashDialog::SplashDialog(QWidget *parent)
|
|
: QDialog(parent)
|
|
, ui(new Ui::SplashDialog)
|
|
{
|
|
ui->setupUi(this);
|
|
|
|
QPixmap pixmap = QPixmap(":/assets/images/key.png");
|
|
ui->icon->setPixmap(pixmap.scaledToWidth(32, Qt::SmoothTransformation));
|
|
|
|
this->setWindowFlags(Qt::Dialog | Qt::FramelessWindowHint);
|
|
|
|
this->adjustSize();
|
|
}
|
|
|
|
SplashDialog::~SplashDialog() {
|
|
delete ui;
|
|
}
|
|
|