Made a start with the notification system. However need to figure out
how i want to handle multithreading and screen updates.
This commit is contained in:
parent
5494e5076b
commit
7f09d5fe07
7 changed files with 216 additions and 0 deletions
22
pglab/NotificationListWidget.h
Normal file
22
pglab/NotificationListWidget.h
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
#ifndef NOTIFICATIONLISTWIDGET_H
|
||||
#define NOTIFICATIONLISTWIDGET_H
|
||||
|
||||
#include <QWidget>
|
||||
|
||||
class QListView;
|
||||
class QTextEdit;
|
||||
class Notification;
|
||||
class NotificationListModel;
|
||||
|
||||
class NotificationListWidget: QWidget {
|
||||
public:
|
||||
NotificationListWidget();
|
||||
|
||||
private:
|
||||
QListView *m_notificationList = nullptr;
|
||||
QTextEdit *m_detailMessage;
|
||||
NotificationListModel *m_notificationListModel = nullptr;
|
||||
|
||||
};
|
||||
|
||||
#endif // NOTIFICATIONLISTWIDGET_H
|
||||
Loading…
Add table
Add a link
Reference in a new issue