From 778921be8ac0a995704838ecc680c45b1ca4cab3 Mon Sep 17 00:00:00 2001 From: Joseph Donofry Date: Fri, 26 Jul 2019 17:31:59 -0400 Subject: Add emoji text selection option for non-mac --- src/UserSettingsPage.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/UserSettingsPage.h') diff --git a/src/UserSettingsPage.h b/src/UserSettingsPage.h index 900f57e4..8b782213 100644 --- a/src/UserSettingsPage.h +++ b/src/UserSettingsPage.h @@ -56,6 +56,7 @@ public: void setFontSize(double size); void setFontFamily(QString family); + void setEmojiFontFamily(QString family); void setGroupView(bool state) { @@ -93,6 +94,8 @@ public: bool hasDesktopNotifications() const { return hasDesktopNotifications_; } double fontSize() const { return baseFontSize_; } QString font() const { return font_; } + QString emojiFont() const { return emojiFont_; } + signals: void groupViewStateChanged(bool state); @@ -107,6 +110,8 @@ private: bool hasDesktopNotifications_; double baseFontSize_; QString font_; + QString emojiFont_; + }; class HorizontalLine : public QFrame @@ -160,6 +165,7 @@ private: QComboBox *scaleFactorCombo_; QComboBox *fontSizeCombo_; QComboBox *fontSelectionCombo_; + QComboBox *emojiFontSelectionCombo_; int sideMargin_ = 0; }; -- cgit 1.5.1