// For license of this file, see /LICENSE.md. #ifndef NOTIFICATIONSEDITOR_H #define NOTIFICATIONSEDITOR_H #include #include "ui_notificationseditor.h" #include "miscellaneous/notification.h" class QVBoxLayout; class NotificationsEditor : public QWidget { Q_OBJECT public: explicit NotificationsEditor(QWidget* parent = nullptr); void loadNotifications(const QList& notifications); QList allNotifications() const; signals: void someNotificationChanged(); private: Ui::NotificationsEditor m_ui; QVBoxLayout* m_layout; }; #endif // NOTIFICATIONSEDITOR_H