aboutsummaryrefslogtreecommitdiff
path: root/src/settingswidget.ui
diff options
context:
space:
mode:
authorLibravatar Keshav Bhatt <keshavbhatt@users.noreply.github.com>2022-03-30 04:24:36 +0530
committerLibravatar GitHub <noreply@github.com>2022-03-30 04:24:36 +0530
commit474b9212a6630c8404d5f4cf7aa02428deddd3fd (patch)
treed3ae12704da254acb18c74fd5e741ae2b1c055ea /src/settingswidget.ui
parent8f071469453c6dbbe3c3dbc78ee893f239835b5a (diff)
downloadwhatsie-474b9212a6630c8404d5f4cf7aa02428deddd3fd.tar.gz
whatsie-474b9212a6630c8404d5f4cf7aa02428deddd3fd.zip
feat: v4.0 (#35)
* add new widgets * feat: version 4.0 - SystemTray: tray icon uses png rather than svg - SystemTray: added settings to lets user change the systemtray icon click behavior(minimize/maximize on right click) - Download: added settiing that lets user set default download directory, avoid asking while saving files - Lock: added setting to let user change current set password for lock screen - Lock: current set password now hidden by default and can be revealed for 5 seconds by pressing view button - Style/Theme: added ability to change widget style on the fly, added default light palatte (prevent breaking of light theme on KDE EVs) - Theme: dark theme update - WebApp: added setting to set zoom factor when window is maximized and fullscreen (gives user ability to set different zoom factor for Normal , Maximized/Fullscreen WindowStates) - Setting: settings UI is more oraganized - WebApp: enable JavaScript execCommand("paste") - WebApp: tested for new WhatsApp Web that lets users use whatsie without requiring the phone connected to internet
Diffstat (limited to 'src/settingswidget.ui')
-rw-r--r--src/settingswidget.ui917
1 files changed, 595 insertions, 322 deletions
diff --git a/src/settingswidget.ui b/src/settingswidget.ui
index 09e5639..44f6b7a 100644
--- a/src/settingswidget.ui
+++ b/src/settingswidget.ui
@@ -6,8 +6,8 @@
<rect>
<x>0</x>
<y>0</y>
- <width>537</width>
- <height>580</height>
+ <width>637</width>
+ <height>792</height>
</rect>
</property>
<property name="windowTitle">
@@ -98,8 +98,8 @@ background:transparent;
<rect>
<x>0</x>
<y>0</y>
- <width>521</width>
- <height>592</height>
+ <width>621</width>
+ <height>791</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_5">
@@ -112,128 +112,88 @@ background:transparent;
<item row="8" column="0">
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
- <widget class="QLabel" name="label">
+ <widget class="QLabel" name="label_8">
<property name="text">
- <string>Close button action</string>
+ <string>Widget Style</string>
</property>
</widget>
</item>
<item>
- <widget class="QComboBox" name="closeButtonActionComboBox">
- <item>
- <property name="text">
- <string>Minimize to tray</string>
- </property>
- <property name="icon">
- <iconset resource="icons.qrc">
- <normaloff>:/icons/window-2-line.png</normaloff>:/icons/window-2-line.png</iconset>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Quit Application</string>
- </property>
- <property name="icon">
- <iconset resource="icons.qrc">
- <normaloff>:/icons/shut-down-line.png</normaloff>:/icons/shut-down-line.png</iconset>
- </property>
- </item>
- </widget>
+ <widget class="QComboBox" name="styleComboBox"/>
</item>
</layout>
</item>
- <item row="5" column="0">
- <layout class="QHBoxLayout" name="horizontalLayout_4">
- <property name="topMargin">
- <number>0</number>
+ <item row="11" column="0">
+ <widget class="Line" name="line_4">
+ <property name="minimumSize">
+ <size>
+ <width>0</width>
+ <height>1</height>
+ </size>
</property>
- <item>
- <widget class="QCheckBox" name="applock_checkbox">
- <property name="toolTip">
- <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Enable application lock screen.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
- </property>
- <property name="text">
- <string>Enable App Lock on Start</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QLabel" name="current_password">
- <property name="text">
- <string>Current Password:</string>
- </property>
- </widget>
- </item>
- </layout>
+ <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="1" column="0">
- <layout class="QGridLayout" name="gridLayout">
- <item row="0" column="1">
- <widget class="Line" name="line_3">
- <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="orientation">
- <enum>Qt::Vertical</enum>
- </property>
- </widget>
- </item>
+ <item row="9" column="0">
+ <layout class="QGridLayout" name="gridLayout_5">
<item row="0" column="0">
- <widget class="QCheckBox" name="notificationCheckBox">
+ <widget class="QLabel" name="label_2">
<property name="text">
- <string>Disable Notifications PopUp</string>
+ <string>Widget Theme</string>
</property>
</widget>
</item>
- <item row="1" column="2">
- <widget class="QCheckBox" name="autoPlayMediaCheckBox">
- <property name="text">
- <string>Disable Auto Playback of Media</string>
+ <item row="0" column="1">
+ <widget class="QCheckBox" name="automaticThemeCheckBox">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Maximum" vsizetype="Fixed">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="toolTip">
+ <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Based on your system timezone and location.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
- </widget>
- </item>
- <item row="1" column="0">
- <widget class="QCheckBox" name="muteAudioCheckBox">
<property name="text">
- <string>Mute Audio from Page</string>
+ <string>Automatic</string>
</property>
</widget>
</item>
<item row="0" column="2">
- <layout class="QHBoxLayout" name="horizontalLayout_9">
+ <widget class="QComboBox" name="themeComboBox">
<item>
- <widget class="QLabel" name="label_14">
- <property name="text">
- <string>PopUp timeout</string>
- </property>
- </widget>
+ <property name="text">
+ <string>Dark</string>
+ </property>
+ <property name="icon">
+ <iconset resource="icons.qrc">
+ <normaloff>:/icons/moon-line.png</normaloff>:/icons/moon-line.png</iconset>
+ </property>
</item>
<item>
- <widget class="QSpinBox" name="notificationTimeOutspinBox">
- <property name="suffix">
- <string> Secs</string>
- </property>
- <property name="minimum">
- <number>2</number>
- </property>
- <property name="maximum">
- <number>20</number>
- </property>
- </widget>
+ <property name="text">
+ <string>Light</string>
+ </property>
+ <property name="icon">
+ <iconset resource="icons.qrc">
+ <normaloff>:/icons/lightbulb-line.png</normaloff>:/icons/lightbulb-line.png</iconset>
+ </property>
</item>
- </layout>
+ </widget>
</item>
</layout>
</item>
@@ -262,127 +222,9 @@ background:transparent;
</property>
</widget>
</item>
- <item row="3" column="0">
- <layout class="QHBoxLayout" name="horizontalLayout_10">
- <item>
- <widget class="QCheckBox" name="startMinimized">
- <property name="text">
- <string>Start minimized</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QCheckBox" name="useNativeFileDialog">
- <property name="text">
- <string>Use Native File Dialog</string>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- <item row="2" 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>
- <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>
- </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="10" column="0">
- <layout class="QHBoxLayout" name="horizontalLayout_8">
- <property name="topMargin">
- <number>0</number>
- </property>
- <item>
- <widget class="QLabel" name="label_10">
- <property name="text">
- <string>App permissions</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QPushButton" name="showPermissionsButton">
- <property name="text">
- <string> Show permissions</string>
- </property>
- <property name="icon">
- <iconset resource="icons.qrc">
- <normaloff>:/icons/categories/security.png</normaloff>:/icons/categories/security.png</iconset>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- <item row="9" column="0">
- <layout class="QHBoxLayout" name="horizontalLayout_6">
- <item>
- <widget class="QLabel" name="label_9">
- <property name="text">
- <string>Global App shortcuts</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QPushButton" name="showShortcutsButton">
- <property name="text">
- <string> Show shortcuts</string>
- </property>
- <property name="icon">
- <iconset resource="icons.qrc">
- <normaloff>:/icons/share-forward-line.png</normaloff>:/icons/share-forward-line.png</iconset>
- </property>
- </widget>
- </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>
+ <layout class="QGridLayout" name="gridLayout_8">
+ <item row="0" column="1">
<widget class="QComboBox" name="notificationCombo">
<item>
<property name="text">
@@ -404,7 +246,7 @@ background:transparent;
</item>
</widget>
</item>
- <item>
+ <item row="0" column="2">
<widget class="QPushButton" name="tryNotification">
<property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Fixed">
@@ -421,10 +263,44 @@ background:transparent;
</property>
</widget>
</item>
+ <item row="0" column="0">
+ <widget class="QLabel" name="label_16">
+ <property name="text">
+ <string>Notification type</string>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="0">
+ <widget class="QCheckBox" name="notificationCheckBox">
+ <property name="text">
+ <string>Disable Notifications PopUp</string>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="1">
+ <widget class="QLabel" name="label_14">
+ <property name="text">
+ <string>PopUp timeout</string>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="2">
+ <widget class="QSpinBox" name="notificationTimeOutspinBox">
+ <property name="suffix">
+ <string> Secs</string>
+ </property>
+ <property name="minimum">
+ <number>2</number>
+ </property>
+ <property name="maximum">
+ <number>20</number>
+ </property>
+ </widget>
+ </item>
</layout>
</item>
- <item row="11" column="0">
- <widget class="Line" name="line_4">
+ <item row="7" column="0">
+ <widget class="Line" name="line_3">
<property name="minimumSize">
<size>
<width>0</width>
@@ -448,7 +324,60 @@ background:transparent;
</property>
</widget>
</item>
- <item row="13" column="0">
+ <item row="1" column="0">
+ <layout class="QGridLayout" name="gridLayout">
+ <item row="1" column="1">
+ <widget class="QComboBox" name="dictComboBox">
+ <property name="toolTip">
+ <string>Spell checker Language</string>
+ </property>
+ </widget>
+ </item>
+ <item row="3" column="0">
+ <widget class="QCheckBox" name="useNativeFileDialog">
+ <property name="text">
+ <string>Use Native File Dialog</string>
+ </property>
+ </widget>
+ </item>
+ <item row="2" column="0">
+ <widget class="QCheckBox" name="muteAudioCheckBox">
+ <property name="text">
+ <string>Mute Audio from Page</string>
+ </property>
+ </widget>
+ </item>
+ <item row="2" column="1">
+ <widget class="QCheckBox" name="autoPlayMediaCheckBox">
+ <property name="text">
+ <string>Disable Auto Playback of Media</string>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="0">
+ <widget class="QCheckBox" name="enableSpellCheck">
+ <property name="text">
+ <string>Enable Spell Checker</string>
+ </property>
+ </widget>
+ </item>
+ <item row="3" column="1">
+ <widget class="QCheckBox" name="startMinimized">
+ <property name="text">
+ <string>Minimize app in tray on start</string>
+ </property>
+ </widget>
+ </item>
+ <item row="4" column="0">
+ <widget class="QCheckBox" name="minimizeOnTrayIconClick">
+ <property name="text">
+ <string>Minimize/Maximize on right clicking tray Icon</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ <item row="15" column="0">
<layout class="QHBoxLayout" name="horizontalLayout_3">
<item>
<widget class="QLabel" name="label_4">
@@ -473,164 +402,490 @@ background:transparent;
</item>
<item>
<widget class="QPushButton" name="defaultUserAgentButton">
+ <property name="toolTip">
+ <string>Reset to default</string>
+ </property>
<property name="text">
- <string> Default</string>
+ <string/>
</property>
<property name="icon">
<iconset resource="icons.qrc">
- <normaloff>:/icons/refresh-line.png</normaloff>:/icons/refresh-line.png</iconset>
+ <normaloff>:/icons/arrow-go-back-line.png</normaloff>:/icons/arrow-go-back-line.png</iconset>
</property>
</widget>
</item>
</layout>
</item>
- <item row="7" column="0">
- <layout class="QHBoxLayout" name="horizontalLayout_2">
- <item>
- <widget class="QLabel" name="label_2">
- <property name="text">
- <string>Theme</string>
+ <item row="12" column="0">
+ <layout class="QGridLayout" name="gridLayout_9">
+ <item row="0" column="0">
+ <layout class="QHBoxLayout" name="horizontalLayout_12">
+ <property name="topMargin">
+ <number>0</number>
</property>
- </widget>
+ <item>
+ <widget class="QLabel" name="label_15">
+ <property name="text">
+ <string>Zoom factor when normal</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <spacer name="horizontalSpacer">
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>40</width>
+ <height>20</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ <item>
+ <layout class="QHBoxLayout" name="horizontalLayout_2">
+ <item>
+ <widget class="QPushButton" name="zoomMinus">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Maximum" vsizetype="Fixed">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="toolTip">
+ <string>Zoom Out</string>
+ </property>
+ <property name="text">
+ <string/>
+ </property>
+ <property name="icon">
+ <iconset resource="icons.qrc">
+ <normaloff>:/icons/minus.png</normaloff>:/icons/minus.png</iconset>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QDoubleSpinBox" name="zoomFactorSpinBox">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Maximum" vsizetype="Fixed">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="alignment">
+ <set>Qt::AlignCenter</set>
+ </property>
+ <property name="readOnly">
+ <bool>true</bool>
+ </property>
+ <property name="buttonSymbols">
+ <enum>QAbstractSpinBox::NoButtons</enum>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QPushButton" name="zoomPlus">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Maximum" vsizetype="Fixed">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="toolTip">
+ <string>Zoom In</string>
+ </property>
+ <property name="text">
+ <string/>
+ </property>
+ <property name="icon">
+ <iconset resource="icons.qrc">
+ <normaloff>:/icons/plus.png</normaloff>:/icons/plus.png</iconset>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="Line" name="line_5">
+ <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>
+ </property>
+ <property name="orientation">
+ <enum>Qt::Vertical</enum>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QPushButton" name="zoomReset">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Maximum" vsizetype="Fixed">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="toolTip">
+ <string>reset</string>
+ </property>
+ <property name="text">
+ <string/>
+ </property>
+ <property name="icon">
+ <iconset resource="icons.qrc">
+ <normaloff>:/icons/arrow-go-back-line.png</normaloff>:/icons/arrow-go-back-line.png</iconset>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ </layout>
</item>
- <item>
- <widget class="QCheckBox" name="automaticThemeCheckBox">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Maximum" vsizetype="Fixed">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="toolTip">
- <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Based on your system timezone and location.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
- </property>
- <property name="text">
- <string>Automatic</string>
+ <item row="1" column="0">
+ <layout class="QHBoxLayout" name="horizontalLayout_13">
+ <property name="topMargin">
+ <number>0</number>
</property>
- </widget>
+ <item>
+ <widget class="QLabel" name="label_17">
+ <property name="text">
+ <string>Zoom factor when maximized/fullscreen</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <spacer name="horizontalSpacer_2">
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>40</width>
+ <height>20</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ <item>
+ <layout class="QHBoxLayout" name="horizontalLayout_4">
+ <item>
+ <widget class="QPushButton" name="zoomMinusMaximized">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Maximum" vsizetype="Fixed">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="toolTip">
+ <string>Zoom Out</string>
+ </property>
+ <property name="text">
+ <string/>
+ </property>
+ <property name="icon">
+ <iconset resource="icons.qrc">
+ <normaloff>:/icons/minus.png</normaloff>:/icons/minus.png</iconset>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QDoubleSpinBox" name="zoomFactorSpinBoxMaximized">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Maximum" vsizetype="Fixed">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="alignment">
+ <set>Qt::AlignCenter</set>
+ </property>
+ <property name="readOnly">
+ <bool>true</bool>
+ </property>
+ <property name="buttonSymbols">
+ <enum>QAbstractSpinBox::NoButtons</enum>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QPushButton" name="zoomPlusMaximized">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Maximum" vsizetype="Fixed">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="toolTip">
+ <string>Zoom In</string>
+ </property>
+ <property name="text">
+ <string/>
+ </property>
+ <property name="icon">
+ <iconset resource="icons.qrc">
+ <normaloff>:/icons/plus.png</normaloff>:/icons/plus.png</iconset>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="Line" name="line_6">
+ <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>
+ </property>
+ <property name="orientation">
+ <enum>Qt::Vertical</enum>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QPushButton" name="zoomResetMaximized">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Maximum" vsizetype="Fixed">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="toolTip">
+ <string>reset</string>
+ </property>
+ <property name="text">
+ <string/>
+ </property>
+ <property name="icon">
+ <iconset resource="icons.qrc">
+ <normaloff>:/icons/arrow-go-back-line.png</normaloff>:/icons/arrow-go-back-line.png</iconset>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ </layout>
</item>
- <item>
- <widget class="QComboBox" name="themeComboBox">
+ </layout>
+ </item>
+ <item row="10" column="0">
+ <layout class="QGridLayout" name="gridLayout_6">
+ <item row="0" column="1">
+ <widget class="QComboBox" name="closeButtonActionComboBox">
<item>
<property name="text">
- <string>Dark</string>
+ <string>Minimize to tray</string>
</property>
<property name="icon">
<iconset resource="icons.qrc">
- <normaloff>:/icons/moon-line.png</normaloff>:/icons/moon-line.png</iconset>
+ <normaloff>:/icons/window-2-line.png</normaloff>:/icons/window-2-line.png</iconset>
</property>
</item>
<item>
<property name="text">
- <string>Light</string>
+ <string>Quit Application</string>
</property>
<property name="icon">
<iconset resource="icons.qrc">
- <normaloff>:/icons/lightbulb-line.png</normaloff>:/icons/lightbulb-line.png</iconset>
+ <normaloff>:/icons/shut-down-line.png</normaloff>:/icons/shut-down-line.png</iconset>
</property>
</item>
</widget>
</item>
- </layout>
- </item>
- <item row="12" column="0">
- <layout class="QHBoxLayout" name="horizontalLayout_12">
- <property name="topMargin">
- <number>0</number>
- </property>
- <item>
- <widget class="QLabel" name="label_15">
+ <item row="1" column="0">
+ <widget class="QLabel" name="label_9">
<property name="text">
- <string>Zoom factor</string>
+ <string>Global App shortcuts</string>
</property>
</widget>
</item>
- <item>
- <widget class="QPushButton" name="zoomMinus">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Maximum" vsizetype="Fixed">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="toolTip">
- <string>Zoom Out</string>
+ <item row="0" column="0">
+ <widget class="QLabel" name="label">
+ <property name="text">
+ <string>Close button action</string>
</property>
+ </widget>
+ </item>
+ <item row="1" column="1">
+ <widget class="QPushButton" name="showShortcutsButton">
<property name="text">
- <string/>
+ <string> Show shortcuts</string>
</property>
<property name="icon">
<iconset resource="icons.qrc">
- <normaloff>:/icons/minus.png</normaloff>:/icons/minus.png</iconset>
+ <normaloff>:/icons/share-forward-line.png</normaloff>:/icons/share-forward-line.png</iconset>
</property>
</widget>
</item>
- <item>
- <widget class="QDoubleSpinBox" name="zoomFactorSpinBox">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Maximum" vsizetype="Fixed">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
+ <item row="2" column="0">
+ <widget class="QLabel" name="label_10">
+ <property name="text">
+ <string>App permissions</string>
</property>
- <property name="alignment">
- <set>Qt::AlignCenter</set>
+ </widget>
+ </item>
+ <item row="2" column="1">
+ <widget class="QPushButton" name="showPermissionsButton">
+ <property name="text">
+ <string> Show permissions</string>
</property>
- <property name="readOnly">
- <bool>true</bool>
+ <property name="icon">
+ <iconset resource="icons.qrc">
+ <normaloff>:/icons/categories/security.png</normaloff>:/icons/categories/security.png</iconset>
</property>
- <property name="buttonSymbols">
- <enum>QAbstractSpinBox::NoButtons</enum>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ <item row="5" column="0">
+ <layout class="QGridLayout" name="gridLayout_3">
+ <item row="0" column="0">
+ <widget class="QCheckBox" name="applock_checkbox">
+ <property name="toolTip">
+ <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Enable application lock screen.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
+ </property>
+ <property name="text">
+ <string>Enable App lock on start</string>
</property>
</widget>
</item>
- <item>
- <widget class="QPushButton" name="zoomPlus">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Maximum" vsizetype="Fixed">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
+ <item row="2" column="0">
+ <widget class="QLabel" name="label_19">
+ <property name="text">
+ <string>Current Password</string>
</property>
+ </widget>
+ </item>
+ <item row="2" column="2">
+ <widget class="QPushButton" name="chnageCurrentPasswordPushButton">
<property name="toolTip">
- <string>Zoom In</string>
+ <string>Change password</string>
</property>
<property name="text">
- <string/>
+ <string>Change</string>
</property>
<property name="icon">
<iconset resource="icons.qrc">
- <normaloff>:/icons/plus.png</normaloff>:/icons/plus.png</iconset>
+ <normaloff>:/icons/categories/utilities.png</normaloff>:/icons/categories/utilities.png</iconset>
</property>
</widget>
</item>
- <item>
- <widget class="Line" name="line_5">
- <property name="minimumSize">
- <size>
- <width>1</width>
- <height>0</height>
- </size>
+ <item row="1" column="0">
+ <widget class="QCheckBox" name="appAutoLockcheckBox">
+ <property name="text">
+ <string>Enable App auto locking after</string>
</property>
- <property name="maximumSize">
- <size>
- <width>1</width>
- <height>16777215</height>
- </size>
+ </widget>
+ </item>
+ <item row="1" column="1">
+ <widget class="QSpinBox" name="autoLockDurationSpinbox">
+ <property name="suffix">
+ <string> Secs</string>
</property>
- <property name="styleSheet">
- <string notr="true">background-color: rgba(63, 129, 216, 48);</string>
+ <property name="minimum">
+ <number>10</number>
</property>
- <property name="frameShadow">
- <enum>QFrame::Raised</enum>
+ <property name="maximum">
+ <number>14400</number>
</property>
- <property name="orientation">
- <enum>Qt::Vertical</enum>
+ <property name="value">
+ <number>60</number>
</property>
</widget>
</item>
- <item>
- <widget class="QPushButton" name="zoomReset">
+ <item row="1" column="2">
+ <widget class="QPushButton" name="resetAppAutoLockPushButton">
+ <property name="toolTip">
+ <string>Change password</string>
+ </property>
+ <property name="text">
+ <string>Reset</string>
+ </property>
+ <property name="icon">
+ <iconset resource="icons.qrc">
+ <normaloff>:/icons/arrow-go-back-line.png</normaloff>:/icons/arrow-go-back-line.png</iconset>
+ </property>
+ </widget>
+ </item>
+ <item row="2" column="1">
+ <layout class="QHBoxLayout" name="horizontalLayout_5">
+ <item>
+ <widget class="QLineEdit" name="current_password">
+ <property name="text">
+ <string/>
+ </property>
+ <property name="echoMode">
+ <enum>QLineEdit::Password</enum>
+ </property>
+ <property name="readOnly">
+ <bool>true</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QPushButton" name="viewPassword">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Maximum" vsizetype="Fixed">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="toolTip">
+ <string>View password</string>
+ </property>
+ <property name="text">
+ <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>
+ </layout>
+ </item>
+ <item row="3" column="0">
+ <layout class="QGridLayout" name="gridLayout_7">
+ <item row="0" column="1">
+ <widget class="QLineEdit" name="defaultDownloadLocation">
+ <property name="readOnly">
+ <bool>true</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="0">
+ <widget class="QLabel" name="label_18">
+ <property name="text">
+ <string>Default Download location</string>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="2">
+ <widget class="QPushButton" name="changeDefaultDownloadLocationPb">
<property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Fixed">
<horstretch>0</horstretch>
@@ -638,14 +893,14 @@ background:transparent;
</sizepolicy>
</property>
<property name="toolTip">
- <string>reset</string>
+ <string>Change Download Location</string>
</property>
<property name="text">
- <string/>
+ <string>Change</string>
</property>
<property name="icon">
<iconset resource="icons.qrc">
- <normaloff>:/icons/arrow-go-back-line.png</normaloff>:/icons/arrow-go-back-line.png</iconset>
+ <normaloff>:/icons/folder-download-line.png</normaloff>:/icons/folder-download-line.png</iconset>
</property>
</widget>
</item>
@@ -692,6 +947,12 @@ background:transparent;
</item>
<item row="0" column="0">
<widget class="QLabel" name="label_11">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Preferred" vsizetype="Maximum">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
<property name="font">
<font>
<pointsize>10</pointsize>
@@ -705,6 +966,12 @@ background:transparent;
</item>
<item row="0" column="2">
<widget class="QLabel" name="label_13">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Preferred" vsizetype="Maximum">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
<property name="font">
<font>
<pointsize>10</pointsize>
@@ -721,6 +988,12 @@ background:transparent;
</item>
<item row="0" column="1">
<widget class="QLabel" name="label_12">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Preferred" vsizetype="Maximum">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
<property name="font">
<font>
<pointsize>10</pointsize>