summary refs log tree commit diff
path: root/src/UserSettingsPage.h
diff options
context:
space:
mode:
authorJoseph Donofry <joedonofry@gmail.com>2019-07-26 17:31:59 -0400
committerJoseph Donofry <joedonofry@gmail.com>2019-07-26 17:31:59 -0400
commit778921be8ac0a995704838ecc680c45b1ca4cab3 (patch)
tree5c174e2f618487acac41c52e44a8f5e052510fe1 /src/UserSettingsPage.h
parentImprove layout of Emoji Picker (diff)
downloadnheko-778921be8ac0a995704838ecc680c45b1ca4cab3.tar.xz
Add emoji text selection option for non-mac
Diffstat (limited to 'src/UserSettingsPage.h')
-rw-r--r--src/UserSettingsPage.h6
1 files changed, 6 insertions, 0 deletions
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;
 };