diff -r 4c2cace2263a -r fe4d62e23908 WebBrowser/SafeBrowsing/SafeBrowsingDialog.ui --- a/WebBrowser/SafeBrowsing/SafeBrowsingDialog.ui Tue Aug 08 10:53:10 2017 +0200 +++ b/WebBrowser/SafeBrowsing/SafeBrowsingDialog.ui Tue Aug 08 17:20:28 2017 +0200 @@ -7,7 +7,7 @@ <x>0</x> <y>0</y> <width>650</width> - <height>461</height> + <height>565</height> </rect> </property> <property name="windowTitle"> @@ -18,6 +18,56 @@ </property> <layout class="QVBoxLayout" name="verticalLayout_2"> <item> + <layout class="QHBoxLayout" name="horizontalLayout_3"> + <item> + <spacer name="horizontalSpacer_3"> + <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> + <widget class="QLabel" name="iconLabel"> + <property name="minimumSize"> + <size> + <width>48</width> + <height>48</height> + </size> + </property> + <property name="text"> + <string notr="true">Icon</string> + </property> + </widget> + </item> + <item> + <widget class="QLabel" name="label_2"> + <property name="text"> + <string><h2>Google Safe Browsing</h2></string> + </property> + </widget> + </item> + <item> + <spacer name="horizontalSpacer_4"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>40</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + </layout> + </item> + <item> <widget class="QGroupBox" name="gsbGroupBox"> <property name="toolTip"> <string>Select to enable the Google safe browsing support</string> @@ -29,50 +79,47 @@ <bool>true</bool> </property> <layout class="QGridLayout" name="gridLayout"> - <item row="0" column="0" rowspan="2"> - <widget class="QLabel" name="iconLabel"> - <property name="minimumSize"> - <size> - <width>48</width> - <height>48</height> - </size> + <item row="3" 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 notr="true">Icon</string> + <string>Google Safe Browsing API Help</string> </property> </widget> </item> - <item row="0" column="1" colspan="2"> - <widget class="QCheckBox" name="gsbFilterPlatformCheckBox"> - <property name="toolTip"> - <string>Select to check against the current platform only</string> - </property> - <property name="text"> - <string>Adjust to current platform</string> - </property> - </widget> - </item> - <item row="1" column="1"> - <widget class="QLabel" name="label_14"> - <property name="text"> - <string>API Key:</string> - </property> - </widget> - </item> - <item row="1" column="2"> + <item row="2" column="1"> <widget class="QLineEdit" name="gsbApiKeyEdit"> <property name="toolTip"> <string>Enter the Google Safe Browsing API key</string> </property> </widget> </item> - <item row="2" column="1" colspan="2"> - <widget class="QPushButton" name="gsbHelpButton"> + <item row="0" column="0" colspan="2"> + <widget class="QCheckBox" name="gsbFilterPlatformCheckBox"> <property name="toolTip"> - <string>Press to get some help about obtaining the API key</string> + <string>Select to check against the current platform only</string> </property> <property name="text"> - <string>Google Safe Browsing API Help</string> + <string>Adjust threat lists to current platform</string> + </property> + </widget> + </item> + <item row="1" column="0" colspan="2"> + <widget class="QCheckBox" name="gsbAutoUpdateCheckBox"> + <property name="toolTip"> + <string>Select to update the threat lists automatically when fair use period has expired</string> + </property> + <property name="text"> + <string>Update threat lists automatically</string> + </property> + </widget> + </item> + <item row="2" column="0"> + <widget class="QLabel" name="label_14"> + <property name="text"> + <string>API Key:</string> </property> </widget> </item> @@ -120,6 +167,13 @@ </layout> </item> <item> + <widget class="Line" name="line"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + </widget> + </item> + <item> <widget class="QGroupBox" name="groupBox"> <property name="title"> <string>Manage Local Cache</string> @@ -147,6 +201,23 @@ </property> </widget> </item> + <item> + <widget class="Line" name="line_3"> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="showUpdateTimeButton"> + <property name="toolTip"> + <string>Press to see, when the next threat list update will be done</string> + </property> + <property name="text"> + <string>Show Update Time</string> + </property> + </widget> + </item> </layout> </item> <item> @@ -173,6 +244,13 @@ </widget> </item> <item> + <widget class="Line" name="line_2"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + </widget> + </item> + <item> <widget class="QGroupBox" name="groupBox_2"> <property name="title"> <string>URL Check</string> @@ -226,11 +304,13 @@ <tabstops> <tabstop>gsbGroupBox</tabstop> <tabstop>gsbFilterPlatformCheckBox</tabstop> + <tabstop>gsbAutoUpdateCheckBox</tabstop> <tabstop>gsbApiKeyEdit</tabstop> <tabstop>gsbHelpButton</tabstop> <tabstop>saveButton</tabstop> <tabstop>updateCacheButton</tabstop> <tabstop>clearCacheButton</tabstop> + <tabstop>showUpdateTimeButton</tabstop> <tabstop>urlEdit</tabstop> <tabstop>urlCheckButton</tabstop> </tabstops>