Atlas Game Manager
A game manager for f95 and dlsite written in c++
Loading...
Searching...
No Matches
Notification.hpp
Go to the documentation of this file.
1//
2// Created by kj16609 on 7/21/23.
3//
4
5#pragma once
6#ifndef ATLASGAMEMANAGER_NOTIFICATION_HPP
7#define ATLASGAMEMANAGER_NOTIFICATION_HPP
8
9#include <QDialog>
10#include <QWidget>
11
12#pragma GCC diagnostic push
13#ifndef __clang__
14#pragma GCC diagnostic ignored "-Wsuggest-final-types"
15#pragma GCC diagnostic ignored "-Wsuggest-final-methods"
16#endif
17
18class Notification : public QWidget
19{
20 Q_OBJECT
21 Q_DISABLE_COPY_MOVE( Notification )
22
23 public:
24
25 Notification( QWidget* parent = nullptr );
26
28
29 void mousePressEvent( QMouseEvent* event ) override final;
30
31 public:
32
33 public slots:
34 void selfCloseTrigger();
35
36 signals:
37 void selfClose();
39};
40
41#pragma GCC diagnostic pop
42
43#endif //ATLASGAMEMANAGER_NOTIFICATION_HPP
void selfClose()
Notification(QWidget *parent=nullptr)
Definition Notification.cpp:22
~Notification()
Definition Notification.hpp:27
void selfCloseTrigger()
Definition Notification.cpp:27
void mousePressEvent(QMouseEvent *event) override final
Definition Notification.cpp:11
void selfClosePtr(Notification *ptr)