From bd0e6cb3c7e8f827e07cca4f3bd3c8bd05c75dbb Mon Sep 17 00:00:00 2001 From: keshavbhatt Date: Sun, 18 Apr 2021 13:16:28 +0530 Subject: added option to change notification type. - added ability to switch b/w native notification and customized notifications --- src/settingswidget.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/settingswidget.h') diff --git a/src/settingswidget.h b/src/settingswidget.h index ff33b04..b952d2d 100644 --- a/src/settingswidget.h +++ b/src/settingswidget.h @@ -27,6 +27,7 @@ signals: void dictChanged(QString dict); void spellCheckChanged(bool checked); void notificationPopupTimeOutChanged(); + void notify(QString message); public: explicit SettingsWidget(QWidget *parent = nullptr,QString engineCachePath = "", @@ -77,6 +78,10 @@ private slots: void on_notificationTimeOutspinBox_valueChanged(int arg1); + void on_notificationCombo_currentIndexChanged(int index); + + void on_tryNotification_clicked(); + private: Ui::SettingsWidget *ui; QString engineCachePath,enginePersistentStoragePath; -- cgit v1.2.3