diff -r d2eb934fa6b4 -r 7bf90dcae4e1 Preferences/ConfigurationPages/WebBrowserPage.ui --- a/Preferences/ConfigurationPages/WebBrowserPage.ui Sun Jul 16 17:00:01 2017 +0200 +++ b/Preferences/ConfigurationPages/WebBrowserPage.ui Sun Jul 16 19:34:54 2017 +0200 @@ -7,7 +7,7 @@ <x>0</x> <y>0</y> <width>616</width> - <height>1610</height> + <height>2000</height> </rect> </property> <layout class="QVBoxLayout" name="verticalLayout_2"> @@ -479,8 +479,8 @@ <property name="title"> <string>Security</string> </property> - <layout class="QHBoxLayout" name="horizontalLayout_7"> - <item> + <layout class="QGridLayout" name="gridLayout_9"> + <item row="0" column="0"> <widget class="QCheckBox" name="xssAuditingCheckBox"> <property name="toolTip"> <string>Select to enable XSS auditing</string> @@ -494,7 +494,7 @@ </property> </widget> </item> - <item> + <item row="0" column="1"> <widget class="QCheckBox" name="insecureContentsCheckBox"> <property name="toolTip"> <string>Select to allow HTTPS pages to run JavaScript, CSS, plugins or web-sockets from HTTP URLs</string> @@ -504,6 +504,45 @@ </property> </widget> </item> + <item row="1" column="0" colspan="2"> + <widget class="QGroupBox" name="gsbGroupBox"> + <property name="toolTip"> + <string>Select to enable the Google sage browsing support</string> + </property> + <property name="title"> + <string>Google Safe Browsing</string> + </property> + <property name="checkable"> + <bool>true</bool> + </property> + <layout class="QGridLayout" name="gridLayout_7"> + <item row="0" column="0"> + <widget class="QLabel" name="label_14"> + <property name="text"> + <string>API Key:</string> + </property> + </widget> + </item> + <item row="0" column="1"> + <widget class="QLineEdit" name="gsbApiKeyEdit"> + <property name="toolTip"> + <string>Enter the Google Safe Browsing API key</string> + </property> + </widget> + </item> + <item row="1" column="0" colspan="2"> + <widget class="QPushButton" name="gsbHelpButton"> + <property name="toolTip"> + <string>Press to get some help about obtaining the API key</string> + </property> + <property name="text"> + <string>Google Safe Browsing API Help</string> + </property> + </widget> + </item> + </layout> + </widget> + </item> </layout> </widget> </item> @@ -948,6 +987,9 @@ <tabstop>refererWhitelistButton</tabstop> <tabstop>xssAuditingCheckBox</tabstop> <tabstop>insecureContentsCheckBox</tabstop> + <tabstop>gsbGroupBox</tabstop> + <tabstop>gsbApiKeyEdit</tabstop> + <tabstop>gsbHelpButton</tabstop> <tabstop>expireHistory</tabstop> <tabstop>diskCacheCheckBox</tabstop> <tabstop>cacheSizeSpinBox</tabstop>