diff options
author | Joseph Donofry <joedonofry@gmail.com> | 2019-07-21 21:58:11 -0400 |
---|---|---|
committer | Joseph Donofry <joedonofry@gmail.com> | 2019-07-21 21:58:11 -0400 |
commit | 8b2488b7ef9da83374691ab17cc6cb4a7459df23 (patch) | |
tree | 4220b6e35729f3d8a9c7308fa21986f9127d576c /src/ChatPage.h | |
parent | Fix linting issues (diff) | |
download | nheko-8b2488b7ef9da83374691ab17cc6cb4a7459df23.tar.xz |
Update Mentions UI
Mentions are now an '@' icon in the upper right. UI Popup is now a smaller dialog. Still lots of work to be done here.
Diffstat (limited to 'src/ChatPage.h')
-rw-r--r-- | src/ChatPage.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ChatPage.h b/src/ChatPage.h index 06fae57c..b2f04b02 100644 --- a/src/ChatPage.h +++ b/src/ChatPage.h @@ -24,6 +24,7 @@ #include <QHBoxLayout> #include <QMap> #include <QPixmap> +#include <QPoint> #include <QTimer> #include <QWidget> @@ -88,7 +89,7 @@ signals: void messageReply(const RelatedInfo &related); void notificationsRetrieved(const mtx::responses::Notifications &); - void highlightedNotifsRetrieved(const mtx::responses::Notifications &); + void highlightedNotifsRetrieved(const mtx::responses::Notifications &, const QPoint widgetPos); void uploadFailed(const QString &msg); void imageUploaded(const QString &roomid, @@ -206,7 +207,7 @@ private: //! Send desktop notification for the received messages. void sendDesktopNotifications(const mtx::responses::Notifications &); - void showNotificationsDialog(const mtx::responses::Notifications &); + void showNotificationsDialog(const mtx::responses::Notifications &, const QPoint &point); QStringList generateTypingUsers(const QString &room_id, const std::vector<std::string> &typing_users); |