diff options
author | Malte E <malte.e@mailbox.org> | 2022-02-04 23:12:30 +0100 |
---|---|---|
committer | Malte E <malte.e@mailbox.org> | 2022-02-04 23:12:30 +0100 |
commit | 3f7c15c7afeb029223a7507387a95752428bb689 (patch) | |
tree | c07ef417ae79701041730fd842450b6e8f895a3a /src/UserSettingsPage.h | |
parent | Revert removal of width and height in TextMessage and implicitWidth in Messag... (diff) | |
download | nheko-3f7c15c7afeb029223a7507387a95752428bb689.tar.xz |
Add message bubbles
Diffstat (limited to 'src/UserSettingsPage.h')
-rw-r--r-- | src/UserSettingsPage.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/UserSettingsPage.h b/src/UserSettingsPage.h index e9b8763d..e5d22f6a 100644 --- a/src/UserSettingsPage.h +++ b/src/UserSettingsPage.h @@ -40,6 +40,7 @@ class UserSettings : public QObject Q_PROPERTY(bool startInTray READ startInTray WRITE setStartInTray NOTIFY startInTrayChanged) Q_PROPERTY(bool groupView READ groupView WRITE setGroupView NOTIFY groupViewStateChanged) Q_PROPERTY(bool markdown READ markdown WRITE setMarkdown NOTIFY markdownChanged) + Q_PROPERTY(bool bubbles READ bubbles WRITE setBubbles NOTIFY bubblesChanged) Q_PROPERTY(bool animateImagesOnHover READ animateImagesOnHover WRITE setAnimateImagesOnHover NOTIFY animateImagesOnHoverChanged) Q_PROPERTY(bool typingNotifications READ typingNotifications WRITE setTypingNotifications NOTIFY @@ -139,6 +140,7 @@ public: void setEmojiFontFamily(QString family); void setGroupView(bool state); void setMarkdown(bool state); + void setBubbles(bool state); void setAnimateImagesOnHover(bool state); void setReadReceipts(bool state); void setTypingNotifications(bool state); @@ -190,6 +192,7 @@ public: bool privacyScreen() const { return privacyScreen_; } int privacyScreenTimeout() const { return privacyScreenTimeout_; } bool markdown() const { return markdown_; } + bool bubbles() const { return bubbles_; } bool animateImagesOnHover() const { return animateImagesOnHover_; } bool typingNotifications() const { return typingNotifications_; } bool sortByImportance() const { return sortByImportance_; } @@ -247,6 +250,7 @@ signals: void trayChanged(bool state); void startInTrayChanged(bool state); void markdownChanged(bool state); + void bubblesChanged(bool state); void animateImagesOnHoverChanged(bool state); void typingNotificationsChanged(bool state); void buttonInTimelineChanged(bool state); @@ -302,6 +306,7 @@ private: bool startInTray_; bool groupView_; bool markdown_; + bool bubbles_; bool animateImagesOnHover_; bool typingNotifications_; bool sortByImportance_; @@ -380,6 +385,7 @@ class UserSettingsModel : public QAbstractListModel ReadReceipts, ButtonsInTimeline, Markdown, + Bubbles, SidebarSection, GroupView, |