diff options
author | 2021-04-18 13:16:28 +0530 | |
---|---|---|
committer | 2021-04-18 13:16:28 +0530 | |
commit | bd0e6cb3c7e8f827e07cca4f3bd3c8bd05c75dbb (patch) | |
tree | 840ca00c3d810acd4d88aa42f7365ef0ef5a0d92 /src/settingswidget.ui | |
parent | a23b3c116285d3de1ff2f6ea8f9cdb97a118d962 (diff) | |
download | whatsie-bd0e6cb3c7e8f827e07cca4f3bd3c8bd05c75dbb.tar.gz whatsie-bd0e6cb3c7e8f827e07cca4f3bd3c8bd05c75dbb.zip |
added option to change notification type.
- added ability to switch b/w native notification and customized notifications
Diffstat (limited to 'src/settingswidget.ui')
-rw-r--r-- | src/settingswidget.ui | 254 |
1 files changed, 146 insertions, 108 deletions
diff --git a/src/settingswidget.ui b/src/settingswidget.ui index e5fcea3..9aeedb8 100644 --- a/src/settingswidget.ui +++ b/src/settingswidget.ui @@ -6,8 +6,8 @@ <rect> <x>0</x> <y>0</y> - <width>527</width> - <height>590</height> + <width>533</width> + <height>628</height> </rect> </property> <property name="windowTitle"> @@ -104,7 +104,7 @@ background:transparent; <string>General settings</string> </property> <layout class="QGridLayout" name="gridLayout_4"> - <item row="0" column="0"> + <item row="1" column="0"> <layout class="QGridLayout" name="gridLayout"> <item row="0" column="1"> <widget class="Line" name="line_3"> @@ -175,53 +175,31 @@ background:transparent; </item> </layout> </item> - <item row="1" column="0"> - <layout class="QHBoxLayout" name="horizontalLayout_5"> - <item> - <widget class="QCheckBox" name="enableSpellCheck"> - <property name="text"> - <string>Enable Spell Checker</string> - </property> - </widget> - </item> + <item row="4" column="0"> + <layout class="QHBoxLayout" name="horizontalLayout_4"> + <property name="topMargin"> + <number>0</number> + </property> <item> - <widget class="Line" name="line"> - <property name="minimumSize"> - <size> - <width>1</width> - <height>0</height> - </size> - </property> - <property name="maximumSize"> - <size> - <width>1</width> - <height>16777215</height> - </size> - </property> - <property name="styleSheet"> - <string notr="true">background-color: rgba(63, 129, 216, 48);</string> - </property> - <property name="frameShadow"> - <enum>QFrame::Raised</enum> + <widget class="QCheckBox" name="applock_checkbox"> + <property name="toolTip"> + <string><html><head/><body><p>Enable application lock screen.</p></body></html></string> </property> - <property name="orientation"> - <enum>Qt::Vertical</enum> + <property name="text"> + <string>Enable App Lock on Start</string> </property> </widget> </item> <item> - <widget class="QLabel" name="label_8"> + <widget class="QLabel" name="current_password"> <property name="text"> - <string>SpellChecker Language</string> + <string>Current Password:</string> </property> </widget> </item> - <item> - <widget class="QComboBox" name="dictComboBox"/> - </item> </layout> </item> - <item row="4" column="0"> + <item row="5" column="0"> <layout class="QHBoxLayout" name="horizontalLayout"> <item> <widget class="QLabel" name="label"> @@ -247,52 +225,102 @@ background:transparent; </layout> </item> <item row="3" column="0"> - <layout class="QHBoxLayout" name="horizontalLayout_4"> - <property name="topMargin"> - <number>0</number> + <widget class="Line" name="line_2"> + <property name="minimumSize"> + <size> + <width>0</width> + <height>1</height> + </size> </property> + <property name="maximumSize"> + <size> + <width>16777215</width> + <height>1</height> + </size> + </property> + <property name="styleSheet"> + <string notr="true">background-color: rgba(63, 129, 216, 48);</string> + </property> + <property name="frameShadow"> + <enum>QFrame::Raised</enum> + </property> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + </widget> + </item> + <item row="8" column="0"> + <layout class="QHBoxLayout" name="horizontalLayout_2"> <item> - <widget class="QCheckBox" name="applock_checkbox"> - <property name="toolTip"> - <string><html><head/><body><p>Enable application lock screen.</p></body></html></string> - </property> + <widget class="QLabel" name="label_2"> <property name="text"> - <string>Enable App Lock on Start</string> + <string>Theme</string> </property> </widget> </item> <item> - <widget class="QLabel" name="current_password"> - <property name="text"> - <string>Current Password:</string> - </property> + <widget class="QComboBox" name="themeComboBox"> + <item> + <property name="text"> + <string>Dark</string> + </property> + </item> + <item> + <property name="text"> + <string>Light</string> + </property> + </item> </widget> </item> </layout> </item> - <item row="5" column="0"> - <layout class="QHBoxLayout" name="horizontalLayout_6"> + <item row="2" column="0"> + <layout class="QHBoxLayout" name="horizontalLayout_5"> <item> - <widget class="QLabel" name="label_9"> + <widget class="QCheckBox" name="enableSpellCheck"> <property name="text"> - <string>Global App shortcuts</string> + <string>Enable Spell Checker</string> </property> </widget> </item> <item> - <widget class="QPushButton" name="showShortcutsButton"> - <property name="text"> - <string>Show shortcuts</string> + <widget class="Line" name="line"> + <property name="minimumSize"> + <size> + <width>1</width> + <height>0</height> + </size> </property> - <property name="icon"> - <iconset resource="icons.qrc"> - <normaloff>:/icons/eye-line.png</normaloff>:/icons/eye-line.png</iconset> + <property name="maximumSize"> + <size> + <width>1</width> + <height>16777215</height> + </size> + </property> + <property name="styleSheet"> + <string notr="true">background-color: rgba(63, 129, 216, 48);</string> + </property> + <property name="frameShadow"> + <enum>QFrame::Raised</enum> + </property> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + </widget> + </item> + <item> + <widget class="QLabel" name="label_8"> + <property name="text"> + <string>SpellChecker Language</string> </property> </widget> </item> + <item> + <widget class="QComboBox" name="dictComboBox"/> + </item> </layout> </item> - <item row="8" column="0"> + <item row="9" column="0"> <layout class="QHBoxLayout" name="horizontalLayout_3"> <item> <widget class="QLabel" name="label_4"> @@ -329,71 +357,43 @@ background:transparent; </layout> </item> <item row="7" column="0"> - <layout class="QHBoxLayout" name="horizontalLayout_2"> + <layout class="QHBoxLayout" name="horizontalLayout_8"> + <property name="topMargin"> + <number>0</number> + </property> <item> - <widget class="QLabel" name="label_2"> + <widget class="QLabel" name="label_10"> <property name="text"> - <string>Theme</string> + <string>App permissions</string> </property> </widget> </item> <item> - <widget class="QComboBox" name="themeComboBox"> - <item> - <property name="text"> - <string>Dark</string> - </property> - </item> - <item> - <property name="text"> - <string>Light</string> - </property> - </item> + <widget class="QPushButton" name="showPermissionsButton"> + <property name="text"> + <string>Show permissions</string> + </property> + <property name="icon"> + <iconset resource="icons.qrc"> + <normaloff>:/icons/eye-line.png</normaloff>:/icons/eye-line.png</iconset> + </property> </widget> </item> </layout> </item> - <item row="2" column="0"> - <widget class="Line" name="line_2"> - <property name="minimumSize"> - <size> - <width>0</width> - <height>1</height> - </size> - </property> - <property name="maximumSize"> - <size> - <width>16777215</width> - <height>1</height> - </size> - </property> - <property name="styleSheet"> - <string notr="true">background-color: rgba(63, 129, 216, 48);</string> - </property> - <property name="frameShadow"> - <enum>QFrame::Raised</enum> - </property> - <property name="orientation"> - <enum>Qt::Horizontal</enum> - </property> - </widget> - </item> <item row="6" column="0"> - <layout class="QHBoxLayout" name="horizontalLayout_8"> - <property name="topMargin"> - <number>0</number> - </property> + <layout class="QHBoxLayout" name="horizontalLayout_6"> <item> - <widget class="QLabel" name="label_10"> + <widget class="QLabel" name="label_9"> <property name="text"> - <string>App permissions</string> + <string>Global App shortcuts</string> </property> </widget> </item> <item> - <widget class="QPushButton" name="showPermissionsButton"> + <widget class="QPushButton" name="showShortcutsButton"> <property name="text"> - <string>Show permissions</string> + <string>Show shortcuts</string> </property> <property name="icon"> <iconset resource="icons.qrc"> @@ -403,6 +403,44 @@ background:transparent; </item> </layout> </item> + <item row="0" column="0"> + <layout class="QHBoxLayout" name="horizontalLayout_11"> + <item> + <widget class="QLabel" name="label_16"> + <property name="text"> + <string>Notification type</string> + </property> + </widget> + </item> + <item> + <widget class="QComboBox" name="notificationCombo"> + <item> + <property name="text"> + <string>Native notification</string> + </property> + </item> + <item> + <property name="text"> + <string>Customized notification</string> + </property> + </item> + </widget> + </item> + <item> + <widget class="QPushButton" name="tryNotification"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Maximum" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="text"> + <string>Try</string> + </property> + </widget> + </item> + </layout> + </item> </layout> </widget> </item> |