raDIYo 0.4
swshutdowndialog.h
1/***************************************************************************
2
3 source::worx raDIYo
4 Copyright © 2020-2022 c.holzheuer
5 c.holzheuer@sourceworx.org
6
7 This program is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 2 of the License, or
10 (at your option) any later version.
11
12***************************************************************************/
13
14
15#ifndef SWSHUTDOWNDIALOG_H
16#define SWSHUTDOWNDIALOG_H
17
18#include <QDialog>
19#include <QPainter>
20#include <ui_swshutdowndialog.h>
21
22
23namespace Ui {
25}
26
27
28class SWOverlayEffect : public QWidget
29{
30
31public:
32
33 SWOverlayEffect( QWidget* parent );
34
35protected:
36
37 void paintEvent( QPaintEvent *event ) override;
38
39};
40
41
42class SWShutDownDialog : public QDialog, private Ui_SWShutDownDialog
43{
44
45 Q_OBJECT
46
47public:
48
49 explicit SWShutDownDialog( QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::FramelessWindowHint );
50 virtual ~SWShutDownDialog();
51
52
53
54};
55
56#endif // SWSHUTDOWNDIALOG_H