Thu, 10 Oct 2019 19:08:02 +0200
WebBrowserVirusTotalPage: fixed an issue causing this configuration page not to be shown.
--- a/eric6.e4p Wed Oct 09 19:24:53 2019 +0200 +++ b/eric6.e4p Thu Oct 10 19:08:02 2019 +0200 @@ -1855,6 +1855,7 @@ <Form>eric6/Preferences/ConfigurationPages/WebBrowserFlashCookieManagerPage.ui</Form> <Form>eric6/Preferences/ConfigurationPages/WebBrowserPage.ui</Form> <Form>eric6/Preferences/ConfigurationPages/WebBrowserSpellCheckingPage.ui</Form> + <Form>eric6/Preferences/ConfigurationPages/WebBrowserVirusTotalPage.ui</Form> <Form>eric6/Preferences/MouseClickDialog.ui</Form> <Form>eric6/Preferences/ProgramsDialog.ui</Form> <Form>eric6/Preferences/ShortcutDialog.ui</Form> @@ -2035,6 +2036,9 @@ <Other>eric6/APIs/MicroPython/circuitpython.api</Other> <Other>eric6/APIs/MicroPython/microbit.api</Other> <Other>eric6/APIs/MicroPython/micropython.api</Other> + <Other>eric6/APIs/Python/zope-2.10.7.api</Other> + <Other>eric6/APIs/Python/zope-2.11.2.api</Other> + <Other>eric6/APIs/Python/zope-3.3.1.api</Other> <Other>eric6/APIs/Python3/PyQt4.bas</Other> <Other>eric6/APIs/Python3/PyQt5.bas</Other> <Other>eric6/APIs/Python3/PyQtChart.bas</Other> @@ -2042,9 +2046,6 @@ <Other>eric6/APIs/Python3/QScintilla2.bas</Other> <Other>eric6/APIs/Python3/eric6.api</Other> <Other>eric6/APIs/Python3/eric6.bas</Other> - <Other>eric6/APIs/Python/zope-2.10.7.api</Other> - <Other>eric6/APIs/Python/zope-2.11.2.api</Other> - <Other>eric6/APIs/Python/zope-3.3.1.api</Other> <Other>eric6/APIs/QSS/qss.api</Other> <Other>eric6/APIs/Ruby/Ruby-1.8.7.api</Other> <Other>eric6/APIs/Ruby/Ruby-1.8.7.bas</Other>
--- a/eric6/Preferences/ConfigurationPages/WebBrowserVirusTotalPage.py Wed Oct 09 19:24:53 2019 +0200 +++ b/eric6/Preferences/ConfigurationPages/WebBrowserVirusTotalPage.py Thu Oct 10 19:08:02 2019 +0200 @@ -11,12 +11,13 @@ from PyQt5.QtCore import pyqtSlot from .ConfigurationPageBase import ConfigurationPageBase -from .Ui_HelpVirusTotalPage import Ui_HelpVirusTotalPage +from .Ui_WebBrowserVirusTotalPage import Ui_WebBrowserVirusTotalPage import Preferences -class WebBrowserVirusTotalPage(ConfigurationPageBase, Ui_HelpVirusTotalPage): +class WebBrowserVirusTotalPage(ConfigurationPageBase, + Ui_WebBrowserVirusTotalPage): """ Class implementing VirusTotal configuration page (web browser variant). """
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/eric6/Preferences/ConfigurationPages/WebBrowserVirusTotalPage.ui Thu Oct 10 19:08:02 2019 +0200 @@ -0,0 +1,162 @@ +<?xml version="1.0" encoding="UTF-8"?> +<ui version="4.0"> + <class>WebBrowserVirusTotalPage</class> + <widget class="QWidget" name="WebBrowserVirusTotalPage"> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>485</width> + <height>409</height> + </rect> + </property> + <layout class="QVBoxLayout" name="verticalLayout_2"> + <item> + <widget class="QLabel" name="headerLabel"> + <property name="text"> + <string><b>Configure VirusTotal Interface</b></string> + </property> + </widget> + </item> + <item> + <widget class="Line" name="line17"> + <property name="frameShape"> + <enum>QFrame::HLine</enum> + </property> + <property name="frameShadow"> + <enum>QFrame::Sunken</enum> + </property> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + </widget> + </item> + <item> + <widget class="QCheckBox" name="vtEnabledCheckBox"> + <property name="toolTip"> + <string>Select to enable the VirusTotal interface</string> + </property> + <property name="text"> + <string>Enable VirusTotal</string> + </property> + </widget> + </item> + <item> + <widget class="QGroupBox" name="groupBox"> + <property name="title"> + <string>Service Key</string> + </property> + <layout class="QVBoxLayout" name="verticalLayout"> + <item> + <widget class="QLabel" name="label"> + <property name="text"> + <string>Enter your personal VirusTotal service key (s. <a href="http://virustotal.com">VirusTotal &copy;</a> for details):</string> + </property> + <property name="wordWrap"> + <bool>true</bool> + </property> + <property name="openExternalLinks"> + <bool>true</bool> + </property> + </widget> + </item> + <item> + <widget class="QLineEdit" name="vtServiceKeyEdit"> + <property name="toolTip"> + <string>Enter the VirusTotal service key</string> + </property> + </widget> + </item> + <item> + <widget class="QLabel" name="testResultLabel"> + <property name="text"> + <string/> + </property> + <property name="alignment"> + <set>Qt::AlignCenter</set> + </property> + <property name="wordWrap"> + <bool>true</bool> + </property> + </widget> + </item> + <item> + <layout class="QHBoxLayout" name="horizontalLayout"> + <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> + <widget class="QPushButton" name="testButton"> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="toolTip"> + <string>Press to test the validity of the service key</string> + </property> + <property name="text"> + <string>Test Service Key</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> + </layout> + </item> + </layout> + </widget> + </item> + <item> + <widget class="QCheckBox" name="vtSecureCheckBox"> + <property name="toolTip"> + <string>Select to use a secure (https) connection</string> + </property> + <property name="text"> + <string>Use secure (https) connections</string> + </property> + </widget> + </item> + <item> + <spacer name="verticalSpacer"> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>20</width> + <height>74</height> + </size> + </property> + </spacer> + </item> + </layout> + </widget> + <tabstops> + <tabstop>vtEnabledCheckBox</tabstop> + <tabstop>vtServiceKeyEdit</tabstop> + <tabstop>testButton</tabstop> + <tabstop>vtSecureCheckBox</tabstop> + </tabstops> + <resources/> + <connections/> +</ui>