mirror of
https://github.com/feather-wallet/feather.git
synced 2024-12-23 03:59:29 +00:00
25 lines
No EOL
608 B
C++
25 lines
No EOL
608 B
C++
// SPDX-License-Identifier: BSD-3-Clause
|
|
// SPDX-FileCopyrightText: 2020-2023 The Monero Project
|
|
|
|
#include "CalcWindow.h"
|
|
#include "ui_CalcWindow.h"
|
|
|
|
#include "utils/AppData.h"
|
|
#include "utils/Icons.h"
|
|
|
|
CalcWindow::CalcWindow(QWidget *parent)
|
|
: QMainWindow(parent)
|
|
, ui(new Ui::CalcWindow)
|
|
{
|
|
Qt::WindowFlags flags = this->windowFlags();
|
|
this->setWindowFlags(flags|Qt::WindowStaysOnTopHint); // on top
|
|
|
|
ui->setupUi(this);
|
|
this->setWindowIcon(icons()->icon("gnome-calc.png"));
|
|
}
|
|
|
|
void CalcWindow::closeEvent(QCloseEvent *foo) {
|
|
emit closed();
|
|
}
|
|
|
|
CalcWindow::~CalcWindow() = default; |