Sun, 28 Mar 2021 15:00:11 +0200
Merged with default branch to prepare a new release.
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/DTDs/Session-6.4.dtd Sun Mar 28 15:00:11 2021 +0200 @@ -0,0 +1,136 @@ +<!-- This is the DTD for eric's (project) session file version 6.4 --> + +<!ELEMENT MultiProject (#PCDATA)> + +<!ELEMENT Project (#PCDATA)> + +<!ELEMENT ViewManagerSplits (#PCDATA)> +<!ATTLIST ViewManagerSplits + count CDATA #REQUIRED + orientation CDATA #REQUIRED> + +<!ELEMENT Filename (#PCDATA)> +<!ATTLIST Filename + cline CDATA #REQUIRED + cindex CDATA #REQUIRED + folds CDATA #REQUIRED + zoom CDATA #REQUIRED + cloned CDATA #REQUIRED + splitindex CDATA #REQUIRED + editorindex CDATA #REQUIRED> + +<!ELEMENT Filenames (Filename*)> + +<!ELEMENT ActiveWindow (#PCDATA)> +<!ATTLIST ActiveWindow + cline CDATA #REQUIRED + cindex CDATA #REQUIRED> + +<!ELEMENT BpFilename (#PCDATA)> +<!ELEMENT Linenumber EMPTY> +<!ATTLIST Linenumber + value CDATA #REQUIRED> +<!ELEMENT Condition (#PCDATA)> +<!ELEMENT Temporary EMPTY> +<!ATTLIST Temporary + value CDATA #REQUIRED> +<!ELEMENT Enabled EMPTY> +<!ATTLIST Enabled + value CDATA #REQUIRED> +<!ELEMENT Count EMPTY> +<!ATTLIST Count + value CDATA #REQUIRED> + +<!ELEMENT Breakpoint (BpFilename, + Linenumber, + Condition, + Temporary, + Enabled, + Count)> + +<!ELEMENT Breakpoints (Breakpoint*)> + +<!ELEMENT Special (#PCDATA)> + +<!ELEMENT Watchexpression (Condition, + Temporary, + Enabled, + Count, + Special)> + +<!ELEMENT Watchexpressions (Watchexpression*)> + +<!ELEMENT Exception (#PCDATA)> + +<!ELEMENT IgnoredException (#PCDATA)> + +<!ELEMENT VirtualEnv (#PCDATA)> +<!ELEMENT CommandLine (#PCDATA)> +<!ELEMENT WorkingDirectory (#PCDATA)> +<!ELEMENT Environment (#PCDATA)> +<!ELEMENT ReportExceptions EMPTY> +<!ATTLIST ReportExceptions + value CDATA #REQUIRED> +<!ELEMENT Exceptions (Exception*)> +<!ELEMENT IgnoredExceptions (IgnoredException*)> +<!ELEMENT AutoClearShell EMPTY> +<!ATTLIST AutoClearShell + value CDATA #REQUIRED> +<!ELEMENT TracePython EMPTY> +<!ATTLIST TracePython + value CDATA #REQUIRED> +<!ELEMENT AutoContinue EMPTY> +<!ATTLIST AutoContinue + value CDATA #REQUIRED> +<!ELEMENT EnableMultiprocess EMPTY> +<!ATTLIST EnableMultiprocess + value CDATA #REQUIRED> +<!ELEMENT MultiprocessNoDebug (#PCDATA)> +<!ELEMENT CovexcPattern (#PCDATA)> +<!ELEMENT GlobalConfigOverride EMPTY> +<!ATTLIST GlobalConfigOverride + enable CDATA #REQUIRED + redirect CDATA #REQUIRED> + +<!ELEMENT DebugInfo (VirtualEnv, + CommandLine, + WorkingDirectory, + Environment, + ReportExceptions, + Exceptions, + IgnoredExceptions, + AutoClearShell, + TracePython, + AutoContinue, + EnableMultiprocess, + MultiprocessNoDebug, + CovexcPattern, + GlobalConfigOverride)> + +<!ELEMENT BmFilename (#PCDATA)> + +<!ELEMENT Bookmark (BmFilename, + Linenumber)> + +<!ELEMENT Bookmarks (Bookmark*)> + +<!ELEMENT ExpandedItemName (#PCDATA)> + +<!ELEMENT ProjectBrowserState (ExpandedItemName*)> +<!ATTLIST ProjectBrowserState + name CDATA #REQUIRED> + +<!ELEMENT ProjectBrowserStates (ProjectBrowserState*)> + +<!ELEMENT Session (MultiProject?, + Project?, + ViewManagerSplits?, + Filenames, + ActiveWindow?, + Breakpoints, + Watchexpressions, + DebugInfo, + Bookmarks, + ProjectBrowserStates?)> +<!ATTLIST Session + version CDATA #REQUIRED>
--- a/docs/changelog Sat Mar 06 10:00:52 2021 +0100 +++ b/docs/changelog Sun Mar 28 15:00:11 2021 +0200 @@ -1,5 +1,20 @@ Change Log ---------- +Version 21.4: +- bug fixes +- Code Style Checker + -- added a checker to help porting to the 'pathlib' module +- Debugger + -- extended the Start... dialogs to allow to override some global + configuration settings (redirect stdin/stdout/stderr) +- Editor + -- added capability to delete the matching brace if the cursor is + in between them (e.g. {}) and backspace is pressed +- Pip Interface + -- added support for a re-installation of selected packages +- Shell + -- changed the shell special commands to start with a '%' (e.g. %start) + Version 21.3: - bug fixes - General
--- a/eric6.epj Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6.epj Sun Mar 28 15:00:11 2021 +0200 @@ -1307,8 +1307,6 @@ "eric6/Plugins/CheckerPlugins/CodeStyleChecker/Security/__init__.py", "eric6/Plugins/CheckerPlugins/CodeStyleChecker/Security/translations.py", "eric6/Plugins/CheckerPlugins/CodeStyleChecker/__init__.py", - "eric6/Plugins/CheckerPlugins/CodeStyleChecker/eradicate.py", - "eric6/Plugins/CheckerPlugins/CodeStyleChecker/mccabe.py", "eric6/Plugins/CheckerPlugins/CodeStyleChecker/pycodestyle.py", "eric6/Plugins/CheckerPlugins/CodeStyleChecker/translations.py", "eric6/Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheck.py", @@ -2570,7 +2568,12 @@ "scripts/uninstall.py", "setup.py", "eric6/MicroPython/RP2040Devices.py", - "eric6/MicroPython/ConnectionSelectionDialog.py" + "eric6/MicroPython/ConnectionSelectionDialog.py", + "eric6/Plugins/CheckerPlugins/CodeStyleChecker/PathLib/__init__.py", + "eric6/Plugins/CheckerPlugins/CodeStyleChecker/PathLib/PathlibChecker.py", + "eric6/Plugins/CheckerPlugins/CodeStyleChecker/PathLib/translations.py", + "eric6/Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/eradicate.py", + "eric6/Plugins/CheckerPlugins/CodeStyleChecker/Complexity/mccabe.py" ], "SPELLEXCLUDES": "Dictionaries/excludes.dic", "SPELLLANGUAGE": "en_US",
--- a/eric6/APIs/Python3/eric6.api Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/APIs/Python3/eric6.api Sun Mar 28 15:00:11 2021 +0200 @@ -473,7 +473,7 @@ eric6.Debugger.BreakPointModel.BreakPointModel.addBreakPoint?4(fn, line, properties) eric6.Debugger.BreakPointModel.BreakPointModel.addBreakPoints?4(breakpoints) eric6.Debugger.BreakPointModel.BreakPointModel.columnCount?4(parent=None) -eric6.Debugger.BreakPointModel.BreakPointModel.data?4(index, role=Qt.DisplayRole) +eric6.Debugger.BreakPointModel.BreakPointModel.data?4(index, role=Qt.ItemDataRole.DisplayRole) eric6.Debugger.BreakPointModel.BreakPointModel.dataAboutToBeChanged?7 eric6.Debugger.BreakPointModel.BreakPointModel.deleteAll?4() eric6.Debugger.BreakPointModel.BreakPointModel.deleteBreakPointByIndex?4(index) @@ -483,14 +483,14 @@ eric6.Debugger.BreakPointModel.BreakPointModel.getBreakPointByIndex?4(index) eric6.Debugger.BreakPointModel.BreakPointModel.getBreakPointIndex?4(fn, lineno) eric6.Debugger.BreakPointModel.BreakPointModel.hasChildren?4(parent=None) -eric6.Debugger.BreakPointModel.BreakPointModel.headerData?4(section, orientation, role=Qt.DisplayRole) +eric6.Debugger.BreakPointModel.BreakPointModel.headerData?4(section, orientation, role=Qt.ItemDataRole.DisplayRole) eric6.Debugger.BreakPointModel.BreakPointModel.index?4(row, column, parent=None) eric6.Debugger.BreakPointModel.BreakPointModel.isBreakPointTemporaryByIndex?4(index) eric6.Debugger.BreakPointModel.BreakPointModel.parent?4(index) eric6.Debugger.BreakPointModel.BreakPointModel.rowCount?4(parent=None) eric6.Debugger.BreakPointModel.BreakPointModel.setBreakPointByIndex?4(index, fn, line, properties) eric6.Debugger.BreakPointModel.BreakPointModel.setBreakPointEnabledByIndex?4(index, enabled) -eric6.Debugger.BreakPointModel.BreakPointModel.setData?4(index, value, role=Qt.EditRole) +eric6.Debugger.BreakPointModel.BreakPointModel.setData?4(index, value, role=Qt.ItemDataRole.EditRole) eric6.Debugger.BreakPointModel.BreakPointModel?1(project, parent=None) eric6.Debugger.BreakPointViewer.BreakPointViewer.handleResetUI?4() eric6.Debugger.BreakPointViewer.BreakPointViewer.highlightBreakpoint?4(fn, lineno) @@ -597,13 +597,13 @@ eric6.Debugger.DebugServer.DebugServer.remoteCompletion?4(debuggerId, text) eric6.Debugger.DebugServer.DebugServer.remoteContinue?4(debuggerId, special=False) eric6.Debugger.DebugServer.DebugServer.remoteContinueUntil?4(debuggerId, line) -eric6.Debugger.DebugServer.DebugServer.remoteCoverage?4(venvName, fn, argv, wd, env, autoClearShell=True, erase=False, forProject=False, runInConsole=False, clientType="") +eric6.Debugger.DebugServer.DebugServer.remoteCoverage?4(venvName, fn, argv, wd, env, autoClearShell=True, erase=False, forProject=False, runInConsole=False, clientType="", configOverride=None) eric6.Debugger.DebugServer.DebugServer.remoteEnvironment?4(env) -eric6.Debugger.DebugServer.DebugServer.remoteLoad?4(venvName, fn, argv, wd, env, autoClearShell=True, tracePython=False, autoContinue=True, forProject=False, runInConsole=False, clientType="", enableCallTrace=False, enableMultiprocess=False, multiprocessNoDebug="") +eric6.Debugger.DebugServer.DebugServer.remoteLoad?4(venvName, fn, argv, wd, env, autoClearShell=True, tracePython=False, autoContinue=True, forProject=False, runInConsole=False, clientType="", enableCallTrace=False, enableMultiprocess=False, multiprocessNoDebug="", configOverride=None) eric6.Debugger.DebugServer.DebugServer.remoteMoveIP?4(debuggerId, line) -eric6.Debugger.DebugServer.DebugServer.remoteProfile?4(venvName, fn, argv, wd, env, autoClearShell=True, erase=False, forProject=False, runInConsole=False, clientType="") +eric6.Debugger.DebugServer.DebugServer.remoteProfile?4(venvName, fn, argv, wd, env, autoClearShell=True, erase=False, forProject=False, runInConsole=False, clientType="", configOverride=None) eric6.Debugger.DebugServer.DebugServer.remoteRawInput?4(debuggerId, inputString) -eric6.Debugger.DebugServer.DebugServer.remoteRun?4(venvName, fn, argv, wd, env, autoClearShell=True, forProject=False, runInConsole=False, clientType="") +eric6.Debugger.DebugServer.DebugServer.remoteRun?4(venvName, fn, argv, wd, env, autoClearShell=True, forProject=False, runInConsole=False, clientType="", configOverride=None) eric6.Debugger.DebugServer.DebugServer.remoteSetThread?4(debuggerId, tid) eric6.Debugger.DebugServer.DebugServer.remoteStatement?4(debuggerId, stmt) eric6.Debugger.DebugServer.DebugServer.remoteStep?4(debuggerId) @@ -644,7 +644,7 @@ eric6.Debugger.DebugServer.DebugServer.signalClientWatchConditionError?4(condition, debuggerId) eric6.Debugger.DebugServer.DebugServer.signalLastClientExited?4() eric6.Debugger.DebugServer.DebugServer.signalMainClientExit?4() -eric6.Debugger.DebugServer.DebugServer.startClient?4(unplanned=True, clType=None, forProject=False, runInConsole=False, venvName="", workingDir=None) +eric6.Debugger.DebugServer.DebugServer.startClient?4(unplanned=True, clType=None, forProject=False, runInConsole=False, venvName="", workingDir=None, configOverride=None) eric6.Debugger.DebugServer.DebugServer.unregisterDebuggerInterface?4(interfaceName) eric6.Debugger.DebugServer.DebugServer.utDiscovered?7 eric6.Debugger.DebugServer.DebugServer.utFinished?7 @@ -656,7 +656,7 @@ eric6.Debugger.DebugServer.DebugServer.utTestFailedExpected?7 eric6.Debugger.DebugServer.DebugServer.utTestSkipped?7 eric6.Debugger.DebugServer.DebugServer.utTestSucceededUnexpected?7 -eric6.Debugger.DebugServer.DebugServer?1(originalPathString, preventPassiveDebugging=False, project=None) +eric6.Debugger.DebugServer.DebugServer?1(originalPathString, preventPassiveDebugging=False, project=None, parent=None) eric6.Debugger.DebugServer.DebuggerInterfaces?7 eric6.Debugger.DebugUI.DebugUI.appendStdout?7 eric6.Debugger.DebugUI.DebugUI.clearHistories?4() @@ -676,6 +676,7 @@ eric6.Debugger.DebugUI.DebugUI.setAutoClearShell?4(autoClearShell) eric6.Debugger.DebugUI.DebugUI.setAutoContinue?4(autoContinue) eric6.Debugger.DebugUI.DebugUI.setDebugActionsEnabled?4(enable) +eric6.Debugger.DebugUI.DebugUI.setEnableGlobalConfigOverride?4(overrideData) eric6.Debugger.DebugUI.DebugUI.setEnableMultiprocess?4(enableMultiprocess) eric6.Debugger.DebugUI.DebugUI.setEnvHistory?4(envStr, clearHistories=False, history=None) eric6.Debugger.DebugUI.DebugUI.setExcIgnoreList?4(excIgnoreList) @@ -806,8 +807,8 @@ eric6.Debugger.DebuggerInterfacePython.DebuggerInterfacePython.remoteWatchpointIgnore?4(debuggerId, cond, count) eric6.Debugger.DebuggerInterfacePython.DebuggerInterfacePython.setCallTraceEnabled?4(debuggerId, on) eric6.Debugger.DebuggerInterfacePython.DebuggerInterfacePython.shutdown?4() -eric6.Debugger.DebuggerInterfacePython.DebuggerInterfacePython.startRemote?4(port, runInConsole, venvName, originalPathString, workingDir=None) -eric6.Debugger.DebuggerInterfacePython.DebuggerInterfacePython.startRemoteForProject?4(port, runInConsole, venvName, originalPathString, workingDir=None) +eric6.Debugger.DebuggerInterfacePython.DebuggerInterfacePython.startRemote?4(port, runInConsole, venvName, originalPathString, workingDir=None, configOverride=None) +eric6.Debugger.DebuggerInterfacePython.DebuggerInterfacePython.startRemoteForProject?4(port, runInConsole, venvName, originalPathString, workingDir=None, configOverride=None) eric6.Debugger.DebuggerInterfacePython.DebuggerInterfacePython?1(debugServer, passive) eric6.Debugger.DebuggerInterfacePython.createDebuggerInterfacePython3?4(debugServer, passive) eric6.Debugger.DebuggerInterfacePython.getRegistryData?4() @@ -832,12 +833,13 @@ eric6.Debugger.StartDialog.StartDialog.getCoverageData?4() eric6.Debugger.StartDialog.StartDialog.getData?4() eric6.Debugger.StartDialog.StartDialog.getDebugData?4() +eric6.Debugger.StartDialog.StartDialog.getGlobalOverrideData?4() eric6.Debugger.StartDialog.StartDialog.getHistories?4() eric6.Debugger.StartDialog.StartDialog.getProfilingData?4() eric6.Debugger.StartDialog.StartDialog.historiesModified?4() eric6.Debugger.StartDialog.StartDialog.on_buttonBox_clicked?4(button) eric6.Debugger.StartDialog.StartDialog.on_modFuncCombo_editTextChanged?4() -eric6.Debugger.StartDialog.StartDialog?1(caption, lastUsedVenvName, argvList, wdList, envList, exceptions, parent=None, dialogType=0, modfuncList=None, tracePython=False, autoClearShell=True, autoContinue=True, enableMultiprocess=False, multiprocessNoDebugHistory=None) +eric6.Debugger.StartDialog.StartDialog?1(caption, lastUsedVenvName, argvList, wdList, envList, exceptions, parent=None, dialogType=0, modfuncList=None, tracePython=False, autoClearShell=True, autoContinue=True, enableMultiprocess=False, multiprocessNoDebugHistory=None, configOverride=None) eric6.Debugger.StartHistoryEditDialog.StartHistoryEditDialog.getHistory?4() eric6.Debugger.StartHistoryEditDialog.StartHistoryEditDialog.on_deleteAllButton_clicked?4() eric6.Debugger.StartHistoryEditDialog.StartHistoryEditDialog.on_deleteButton_clicked?4() @@ -860,13 +862,13 @@ eric6.Debugger.VariablesViewer.VariableItem?1(parent, dvar, dtype, dvalue) eric6.Debugger.VariablesViewer.VariablesModel.clear?4(reset=False) eric6.Debugger.VariablesViewer.VariablesModel.columnCount?4(parent=QModelIndex()) -eric6.Debugger.VariablesViewer.VariablesModel.data?4(index, role=Qt.DisplayRole) +eric6.Debugger.VariablesViewer.VariablesModel.data?4(index, role=Qt.ItemDataRole.DisplayRole) eric6.Debugger.VariablesViewer.VariablesModel.expand?7 eric6.Debugger.VariablesViewer.VariablesModel.flags?4(index) eric6.Debugger.VariablesViewer.VariablesModel.getMore?4() eric6.Debugger.VariablesViewer.VariablesModel.handlePreferencesChanged?4() eric6.Debugger.VariablesViewer.VariablesModel.hasChildren?4(parent=QModelIndex()) -eric6.Debugger.VariablesViewer.VariablesModel.headerData?4(section, orientation, role=Qt.DisplayRole) +eric6.Debugger.VariablesViewer.VariablesModel.headerData?4(section, orientation, role=Qt.ItemDataRole.DisplayRole) eric6.Debugger.VariablesViewer.VariablesModel.index?4(row, column, parent=QModelIndex()) eric6.Debugger.VariablesViewer.VariablesModel.parent?4(child) eric6.Debugger.VariablesViewer.VariablesModel.resetModifiedMarker?4(parentIdx=QModelIndex(), pathlist=()) @@ -897,7 +899,7 @@ eric6.Debugger.WatchPointModel.WatchPointModel.getWatchPointByIndex?4(index) eric6.Debugger.WatchPointModel.WatchPointModel.getWatchPointIndex?4(cond, special="") eric6.Debugger.WatchPointModel.WatchPointModel.hasChildren?4(parent=None) -eric6.Debugger.WatchPointModel.WatchPointModel.headerData?4(section, orientation, role=Qt.DisplayRole) +eric6.Debugger.WatchPointModel.WatchPointModel.headerData?4(section, orientation, role=Qt.ItemDataRole.DisplayRole) eric6.Debugger.WatchPointModel.WatchPointModel.index?4(row, column, parent=None) eric6.Debugger.WatchPointModel.WatchPointModel.parent?4(index) eric6.Debugger.WatchPointModel.WatchPointModel.rowCount?4(parent=None) @@ -1090,11 +1092,11 @@ eric6.E5Gui.E5ComboSelectionDialog.E5ComboSelectionDialog?1(entries, title="", message="", parent=None) eric6.E5Gui.E5Completers.E5DirCompleter.rootPath?4() eric6.E5Gui.E5Completers.E5DirCompleter.setRootPath?4(path) -eric6.E5Gui.E5Completers.E5DirCompleter?1(parent=None, completionMode=QCompleter.PopupCompletion, showHidden=False) +eric6.E5Gui.E5Completers.E5DirCompleter?1(parent=None, completionMode=QCompleter.CompletionMode.PopupCompletion, showHidden=False) eric6.E5Gui.E5Completers.E5FileCompleter.rootPath?4() eric6.E5Gui.E5Completers.E5FileCompleter.setRootPath?4(path) -eric6.E5Gui.E5Completers.E5FileCompleter?1(parent=None, completionMode=QCompleter.PopupCompletion, showHidden=False) -eric6.E5Gui.E5Completers.E5StringListCompleter?1(parent=None, strings=None, completionMode=QCompleter.PopupCompletion) +eric6.E5Gui.E5Completers.E5FileCompleter?1(parent=None, completionMode=QCompleter.CompletionMode.PopupCompletion, showHidden=False) +eric6.E5Gui.E5Completers.E5StringListCompleter?1(parent=None, strings=None, completionMode=QCompleter.CompletionMode.PopupCompletion) eric6.E5Gui.E5ErrorMessage.E5ErrorMessage.editMessageFilters?4() eric6.E5Gui.E5ErrorMessage.E5ErrorMessage.showMessage?4(message, msgType="") eric6.E5Gui.E5ErrorMessage.E5ErrorMessage?1(parent=None) @@ -1108,7 +1110,7 @@ eric6.E5Gui.E5ErrorMessage.messageHandlerInstalled?4() eric6.E5Gui.E5ErrorMessage.qtHandler?4() eric6.E5Gui.E5ErrorMessageFilterDialog.E5ErrorMessageFilterDialog.getFilters?4() -eric6.E5Gui.E5ErrorMessageFilterDialog.E5ErrorMessageFilterDialog?1(messageFilters, defaultFilters, parent=None) +eric6.E5Gui.E5ErrorMessageFilterDialog.E5ErrorMessageFilterDialog?1(messageFilters, parent=None) eric6.E5Gui.E5FileDialog.DontConfirmOverwrite?7 eric6.E5Gui.E5FileDialog.DontResolveSymlinks?7 eric6.E5Gui.E5FileDialog.DontUseCustomDirectoryIcons?7 @@ -1119,7 +1121,7 @@ eric6.E5Gui.E5FileDialog.Options?7 eric6.E5Gui.E5FileDialog.ReadOnly?7 eric6.E5Gui.E5FileDialog.ShowDirsOnly?7 -eric6.E5Gui.E5FileDialog.getExistingDirectory?4(parent=None, caption="", directory="", options=QFileDialog.ShowDirsOnly) +eric6.E5Gui.E5FileDialog.getExistingDirectory?4(parent=None, caption="", directory="", options=QFileDialog.Option.ShowDirsOnly) eric6.E5Gui.E5FileDialog.getOpenFileName?4(parent=None, caption="", directory="", filterStr="", options=None) eric6.E5Gui.E5FileDialog.getOpenFileNameAndFilter?4(parent=None, caption="", directory="", filterStr="", initialFilter="", options=None) eric6.E5Gui.E5FileDialog.getOpenFileNames?4(parent=None, caption="", directory="", filterStr="", options=None) @@ -1189,7 +1191,8 @@ eric6.E5Gui.E5ListSelectionDialog.E5ListSelectionDialog.getSelection?4() eric6.E5Gui.E5ListSelectionDialog.E5ListSelectionDialog.on_selectionList_itemChanged?4(itm) eric6.E5Gui.E5ListSelectionDialog.E5ListSelectionDialog.on_selectionList_itemSelectionChanged?4() -eric6.E5Gui.E5ListSelectionDialog.E5ListSelectionDialog?1(entries, selectionMode=QAbstractItemView.ExtendedSelection, title="", message="", checkBoxSelection=False, parent=None) +eric6.E5Gui.E5ListSelectionDialog.E5ListSelectionDialog?1(entries, selectionMode=QAbstractItemView.SelectionMode + .ExtendedSelection, title="", message="", checkBoxSelection=False, parent=None) eric6.E5Gui.E5ListView.E5ListView.keyPressEvent?4(evt) eric6.E5Gui.E5ListView.E5ListView.removeAll?4() eric6.E5Gui.E5ListView.E5ListView.removeSelected?4() @@ -1228,7 +1231,7 @@ eric6.E5Gui.E5MessageBox.Critical?7 eric6.E5Gui.E5MessageBox.DestructiveRole?7 eric6.E5Gui.E5MessageBox.Discard?7 -eric6.E5Gui.E5MessageBox.E5MessageBox?1(icon, title, text, modal=False, buttons=QMessageBox.NoButton, parent=None) +eric6.E5Gui.E5MessageBox.E5MessageBox?1(icon, title, text, modal=False, buttons=QMessageBox.StandardButton.NoButton, parent=None) eric6.E5Gui.E5MessageBox.Help?7 eric6.E5Gui.E5MessageBox.HelpRole?7 eric6.E5Gui.E5MessageBox.Ignore?7 @@ -1256,13 +1259,13 @@ eric6.E5Gui.E5MessageBox.YesToAll?7 eric6.E5Gui.E5MessageBox.about?7 eric6.E5Gui.E5MessageBox.aboutQt?7 -eric6.E5Gui.E5MessageBox.critical?4(parent, title, text, buttons=QMessageBox.Ok, defaultButton=QMessageBox.NoButton) -eric6.E5Gui.E5MessageBox.information?4(parent, title, text, buttons=QMessageBox.Ok, defaultButton=QMessageBox.NoButton) -eric6.E5Gui.E5MessageBox.okToClearData?4(parent, title, text, saveFunc, textFormat=Qt.AutoText) -eric6.E5Gui.E5MessageBox.question?4(parent, title, text, buttons=QMessageBox.Ok, defaultButton=QMessageBox.NoButton) -eric6.E5Gui.E5MessageBox.retryAbort?4(parent, title, text, icon=Question, textFormat=Qt.AutoText) -eric6.E5Gui.E5MessageBox.warning?4(parent, title, text, buttons=QMessageBox.Ok, defaultButton=QMessageBox.NoButton) -eric6.E5Gui.E5MessageBox.yesNo?4(parent, title, text, icon=Question, yesDefault=False, textFormat=Qt.AutoText) +eric6.E5Gui.E5MessageBox.critical?4(parent, title, text, buttons=QMessageBox.StandardButton.Ok, defaultButton=QMessageBox.StandardButton.NoButton) +eric6.E5Gui.E5MessageBox.information?4(parent, title, text, buttons=QMessageBox.StandardButton.Ok, defaultButton=QMessageBox.StandardButton.NoButton) +eric6.E5Gui.E5MessageBox.okToClearData?4(parent, title, text, saveFunc, textFormat=Qt.TextFormat.AutoText) +eric6.E5Gui.E5MessageBox.question?4(parent, title, text, buttons=QMessageBox.StandardButton.Ok, defaultButton=QMessageBox.StandardButton.NoButton) +eric6.E5Gui.E5MessageBox.retryAbort?4(parent, title, text, icon=Question, textFormat=Qt.TextFormat.AutoText) +eric6.E5Gui.E5MessageBox.warning?4(parent, title, text, buttons=QMessageBox.StandardButton.Ok, defaultButton=QMessageBox.StandardButton.NoButton) +eric6.E5Gui.E5MessageBox.yesNo?4(parent, title, text, icon=Question, yesDefault=False, textFormat=Qt.TextFormat.AutoText) eric6.E5Gui.E5ModelMenu.E5ModelMenu.activated?7 eric6.E5Gui.E5ModelMenu.E5ModelMenu.createBaseMenu?4() eric6.E5Gui.E5ModelMenu.E5ModelMenu.createMenu?4(parent, max_, parentMenu=None, menu=None) @@ -1306,8 +1309,8 @@ eric6.E5Gui.E5ModelToolBar.E5ModelToolBar.setRootIndex?4(idx) eric6.E5Gui.E5ModelToolBar.E5ModelToolBar.showEvent?4(evt) eric6.E5Gui.E5ModelToolBar.E5ModelToolBar?1(title=None, parent=None) -eric6.E5Gui.E5OverrideCursor.E5OverrideCursor?1(cursorShape=Qt.WaitCursor) -eric6.E5Gui.E5OverrideCursor.E5OverrideCursorProcess?1(parent=None, cursorShape=Qt.WaitCursor) +eric6.E5Gui.E5OverrideCursor.E5OverrideCursor?1(cursorShape=Qt.CursorShape.WaitCursor) +eric6.E5Gui.E5OverrideCursor.E5OverrideCursorProcess?1(parent=None, cursorShape=Qt.CursorShape.WaitCursor) eric6.E5Gui.E5OverrideCursor.E5OverridenCursor?1() eric6.E5Gui.E5PassivePopup.DEFAULT_POPUP_TIME?7 eric6.E5Gui.E5PassivePopup.DEFAULT_POPUP_TYPE?7 @@ -1518,7 +1521,7 @@ eric6.E5Gui.E5TextInputDialog.E5TextInputDialog.textEchoMode?4() eric6.E5Gui.E5TextInputDialog.E5TextInputDialog.textValue?4() eric6.E5Gui.E5TextInputDialog.E5TextInputDialog?1(parent=None) -eric6.E5Gui.E5TextInputDialog.getText?4(parent, title, label, mode=QLineEdit.Normal, text="", minimumWidth=300) +eric6.E5Gui.E5TextInputDialog.getText?4(parent, title, label, mode=QLineEdit.EchoMode.Normal, text="", minimumWidth=300) eric6.E5Gui.E5TextSpinBox.E5TextSpinBox.addItem?4(txt, data=None) eric6.E5Gui.E5TextSpinBox.E5TextSpinBox.currentIndex?4() eric6.E5Gui.E5TextSpinBox.E5TextSpinBox.itemData?4(index) @@ -2728,7 +2731,7 @@ eric6.Network.IRC.IrcIdentitiesEditDialog.IrcIdentitiesEditDialog.on_addButton_clicked?4() eric6.Network.IRC.IrcIdentitiesEditDialog.IrcIdentitiesEditDialog.on_copyButton_clicked?4() eric6.Network.IRC.IrcIdentitiesEditDialog.IrcIdentitiesEditDialog.on_deleteButton_clicked?4() -eric6.Network.IRC.IrcIdentitiesEditDialog.IrcIdentitiesEditDialog.on_identitiesCombo_currentIndexChanged?4(identity) +eric6.Network.IRC.IrcIdentitiesEditDialog.IrcIdentitiesEditDialog.on_identitiesCombo_currentIndexChanged?4(index) eric6.Network.IRC.IrcIdentitiesEditDialog.IrcIdentitiesEditDialog.on_nicknameAddButton_clicked?4() eric6.Network.IRC.IrcIdentitiesEditDialog.IrcIdentitiesEditDialog.on_nicknameDeleteButton_clicked?4() eric6.Network.IRC.IrcIdentitiesEditDialog.IrcIdentitiesEditDialog.on_nicknameDownButton_clicked?4() @@ -2751,7 +2754,7 @@ eric6.Network.IRC.IrcNetworkEditDialog.IrcNetworkEditDialog.on_editChannelButton_clicked?4() eric6.Network.IRC.IrcNetworkEditDialog.IrcNetworkEditDialog.on_editIdentitiesButton_clicked?4() eric6.Network.IRC.IrcNetworkEditDialog.IrcNetworkEditDialog.on_editServerButton_clicked?4() -eric6.Network.IRC.IrcNetworkEditDialog.IrcNetworkEditDialog.on_identityCombo_currentIndexChanged?4(identity) +eric6.Network.IRC.IrcNetworkEditDialog.IrcNetworkEditDialog.on_identityCombo_currentIndexChanged?4(index) eric6.Network.IRC.IrcNetworkEditDialog.IrcNetworkEditDialog.on_networkEdit_textChanged?4(txt) eric6.Network.IRC.IrcNetworkEditDialog.IrcNetworkEditDialog.on_serverEdit_textChanged?4(txt) eric6.Network.IRC.IrcNetworkEditDialog.IrcNetworkEditDialog?1(manager, networkName, parent=None) @@ -2877,8 +2880,8 @@ eric6.Network.IRC.IrcNetworkWidget.IrcNetworkWidget.on_messages_anchorClicked?4(url) eric6.Network.IRC.IrcNetworkWidget.IrcNetworkWidget.on_messages_copyAvailable?4(yes) eric6.Network.IRC.IrcNetworkWidget.IrcNetworkWidget.on_messages_customContextMenuRequested?4(pos) -eric6.Network.IRC.IrcNetworkWidget.IrcNetworkWidget.on_networkCombo_currentIndexChanged?4(networkName) -eric6.Network.IRC.IrcNetworkWidget.IrcNetworkWidget.on_nickCombo_currentIndexChanged?4(nick="") +eric6.Network.IRC.IrcNetworkWidget.IrcNetworkWidget.on_networkCombo_currentIndexChanged?4(index) +eric6.Network.IRC.IrcNetworkWidget.IrcNetworkWidget.on_nickCombo_currentIndexChanged?4(nick=0) eric6.Network.IRC.IrcNetworkWidget.IrcNetworkWidget.sendData?7 eric6.Network.IRC.IrcNetworkWidget.IrcNetworkWidget.setConnected?4(connected) eric6.Network.IRC.IrcNetworkWidget.IrcNetworkWidget.setNickName?4(nick) @@ -2919,7 +2922,7 @@ eric6.PipInterface.Pip.Pip.getVirtualenvConfig?4(venvName) eric6.PipInterface.Pip.Pip.getVirtualenvInterpreter?4(venvName) eric6.PipInterface.Pip.Pip.getVirtualenvNames?4(noRemote=False, noConda=False) -eric6.PipInterface.Pip.Pip.installPackages?4(packages, venvName="", userSite=False, interpreter="") +eric6.PipInterface.Pip.Pip.installPackages?4(packages, venvName="", userSite=False, interpreter="", forceReinstall=False) eric6.PipInterface.Pip.Pip.installPip?4(venvName, userSite=False) eric6.PipInterface.Pip.Pip.installRequirements?4(venvName) eric6.PipInterface.Pip.Pip.repairPip?4(venvName) @@ -3189,6 +3192,35 @@ eric6.Plugins.CheckerPlugins.CodeStyleChecker.Complexity.ComplexityChecker.LineComplexityVisitor.sortedList?4() eric6.Plugins.CheckerPlugins.CodeStyleChecker.Complexity.ComplexityChecker.LineComplexityVisitor.visit?4(node) eric6.Plugins.CheckerPlugins.CodeStyleChecker.Complexity.ComplexityChecker.LineComplexityVisitor?1() +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Complexity.mccabe.ASTVisitor.default?4(node, *args) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Complexity.mccabe.ASTVisitor.dispatch?4(node, *args) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Complexity.mccabe.ASTVisitor.preorder?4(tree, visitor, *args) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Complexity.mccabe.ASTVisitor?1() +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Complexity.mccabe.PathGraph.complexity?4() +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Complexity.mccabe.PathGraph.connect?4(n1, n2) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Complexity.mccabe.PathGraph.to_dot?4() +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Complexity.mccabe.PathGraph?1(name, entity, lineno, column=0) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Complexity.mccabe.PathGraphingAstVisitor._subgraph?5(node, name, extra_blocks=()) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Complexity.mccabe.PathGraphingAstVisitor._subgraph_parse?5(node, pathnode, extra_blocks) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Complexity.mccabe.PathGraphingAstVisitor.appendPathNode?4(name) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Complexity.mccabe.PathGraphingAstVisitor.default?4(node, *args) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Complexity.mccabe.PathGraphingAstVisitor.dispatch_list?4(node_list) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Complexity.mccabe.PathGraphingAstVisitor.reset?4() +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Complexity.mccabe.PathGraphingAstVisitor.visitAsyncFor?7 +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Complexity.mccabe.PathGraphingAstVisitor.visitAsyncFunctionDef?7 +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Complexity.mccabe.PathGraphingAstVisitor.visitAsyncWith?7 +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Complexity.mccabe.PathGraphingAstVisitor.visitClassDef?4(node) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Complexity.mccabe.PathGraphingAstVisitor.visitFunctionDef?4(node) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Complexity.mccabe.PathGraphingAstVisitor.visitIf?4(node) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Complexity.mccabe.PathGraphingAstVisitor.visitLoop?4(node) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Complexity.mccabe.PathGraphingAstVisitor.visitSimpleStatement?4(node) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Complexity.mccabe.PathGraphingAstVisitor.visitTry?7 +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Complexity.mccabe.PathGraphingAstVisitor.visitTryExcept?4(node) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Complexity.mccabe.PathGraphingAstVisitor.visitWith?4(node) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Complexity.mccabe.PathGraphingAstVisitor?1() +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Complexity.mccabe.PathNode.dot_id?4() +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Complexity.mccabe.PathNode.to_dot?4() +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Complexity.mccabe.PathNode?1(name, look="circle") eric6.Plugins.CheckerPlugins.CodeStyleChecker.Complexity.translations._complexityMessages?8 eric6.Plugins.CheckerPlugins.CodeStyleChecker.Complexity.translations._complexityMessagesSampleArgs?8 eric6.Plugins.CheckerPlugins.CodeStyleChecker.DocStyle.DocStyleChecker.DocStyleChecker.Codes?7 @@ -3265,6 +3297,30 @@ eric6.Plugins.CheckerPlugins.CodeStyleChecker.Miscellaneous.MiscellaneousChecker.TextVisitor?1() eric6.Plugins.CheckerPlugins.CodeStyleChecker.Miscellaneous.MiscellaneousChecker.composeCallPath?4(node) eric6.Plugins.CheckerPlugins.CodeStyleChecker.Miscellaneous.MiscellaneousDefaults.MiscellaneousCheckerDefaultArgs?7 +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Miscellaneous.eradicate.Eradicator.BRACKET_REGEX?7 +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Miscellaneous.eradicate.Eradicator.CODE_INDICATORS?7 +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Miscellaneous.eradicate.Eradicator.CODE_KEYWORDS?7 +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Miscellaneous.eradicate.Eradicator.CODE_KEYWORDS_AGGR?7 +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Miscellaneous.eradicate.Eradicator.CODING_COMMENT_REGEX?7 +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Miscellaneous.eradicate.Eradicator.DEFAULT_WHITELIST?7 +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Miscellaneous.eradicate.Eradicator.DEF_STATEMENT_REGEX?7 +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Miscellaneous.eradicate.Eradicator.FOR_STATEMENT_REGEX?7 +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Miscellaneous.eradicate.Eradicator.HASH_NUMBER?7 +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Miscellaneous.eradicate.Eradicator.MULTILINE_ASSIGNMENT_REGEX?7 +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Miscellaneous.eradicate.Eradicator.PARTIAL_DICTIONARY_REGEX?7 +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Miscellaneous.eradicate.Eradicator.PRINT_RETURN_REGEX?7 +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Miscellaneous.eradicate.Eradicator.WHITELIST_REGEX?7 +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Miscellaneous.eradicate.Eradicator.WHITESPACE_HASH?7 +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Miscellaneous.eradicate.Eradicator.WITH_STATEMENT_REGEX?7 +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Miscellaneous.eradicate.Eradicator.comment_contains_code?4(line, aggressive=True) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Miscellaneous.eradicate.Eradicator.commented_out_code_line_numbers?4(source, aggressive=True) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Miscellaneous.eradicate.Eradicator.detect_encoding?4(filename) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Miscellaneous.eradicate.Eradicator.filter_commented_out_code?4(source, aggressive=True) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Miscellaneous.eradicate.Eradicator.fix_file?4(filename, args, standard_out) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Miscellaneous.eradicate.Eradicator.multiline_case?4(line, aggressive=True) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Miscellaneous.eradicate.Eradicator.open_with_encoding?4(filename, encoding, mode='r') +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Miscellaneous.eradicate.Eradicator.update_whitelist?4(new_whitelist, extend_default=True) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Miscellaneous.eradicate.main?4(argv, standard_out, standard_error) eric6.Plugins.CheckerPlugins.CodeStyleChecker.Miscellaneous.translations._miscellaneousMessages?8 eric6.Plugins.CheckerPlugins.CodeStyleChecker.Miscellaneous.translations._miscellaneousMessagesSampleArgs?8 eric6.Plugins.CheckerPlugins.CodeStyleChecker.Naming.NamingStyleChecker.NamingStyleChecker.CamelcaseRegexp?7 @@ -3275,6 +3331,19 @@ eric6.Plugins.CheckerPlugins.CodeStyleChecker.Naming.NamingStyleChecker.NamingStyleChecker.run?4() eric6.Plugins.CheckerPlugins.CodeStyleChecker.Naming.NamingStyleChecker.NamingStyleChecker?1(tree, filename, options) eric6.Plugins.CheckerPlugins.CodeStyleChecker.Naming.translations._namingStyleMessages?8 +eric6.Plugins.CheckerPlugins.CodeStyleChecker.PathLib.PathlibChecker.NameResolver.name?4() +eric6.Plugins.CheckerPlugins.CodeStyleChecker.PathLib.PathlibChecker.NameResolver.visit_Attribute?4(node) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.PathLib.PathlibChecker.NameResolver.visit_Name?4(node) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.PathLib.PathlibChecker.NameResolver?1(importAlias) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.PathLib.PathlibChecker.PathlibChecker.Codes?7 +eric6.Plugins.CheckerPlugins.CodeStyleChecker.PathLib.PathlibChecker.PathlibChecker.Function2Code?7 +eric6.Plugins.CheckerPlugins.CodeStyleChecker.PathLib.PathlibChecker.PathlibChecker.run?4() +eric6.Plugins.CheckerPlugins.CodeStyleChecker.PathLib.PathlibChecker.PathlibChecker?1(source, filename, selected, ignored, expected, repeat) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.PathLib.PathlibChecker.PathlibVisitor.visit_Call?4(node) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.PathLib.PathlibChecker.PathlibVisitor.visit_Import?4(node) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.PathLib.PathlibChecker.PathlibVisitor.visit_ImportFrom?4(node) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.PathLib.PathlibChecker.PathlibVisitor?1(checkCallback) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.PathLib.translations._pathlibMessages?8 eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.assert.checkAssertUsed?4(reportError, context, config) eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.assert.getChecks?4() eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.awsHardcodedPassword.AWS_ACCESS_KEY_ID_MAX_ENTROPY?7 @@ -3418,59 +3487,6 @@ eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityUtils.namespacePathSplit?4(path) eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.translations._securityMessages?8 eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.translations._securityMessagesSampleArgs?8 -eric6.Plugins.CheckerPlugins.CodeStyleChecker.eradicate.Eradicator.BRACKET_REGEX?7 -eric6.Plugins.CheckerPlugins.CodeStyleChecker.eradicate.Eradicator.CODE_INDICATORS?7 -eric6.Plugins.CheckerPlugins.CodeStyleChecker.eradicate.Eradicator.CODE_KEYWORDS?7 -eric6.Plugins.CheckerPlugins.CodeStyleChecker.eradicate.Eradicator.CODE_KEYWORDS_AGGR?7 -eric6.Plugins.CheckerPlugins.CodeStyleChecker.eradicate.Eradicator.CODING_COMMENT_REGEX?7 -eric6.Plugins.CheckerPlugins.CodeStyleChecker.eradicate.Eradicator.DEFAULT_WHITELIST?7 -eric6.Plugins.CheckerPlugins.CodeStyleChecker.eradicate.Eradicator.DEF_STATEMENT_REGEX?7 -eric6.Plugins.CheckerPlugins.CodeStyleChecker.eradicate.Eradicator.FOR_STATEMENT_REGEX?7 -eric6.Plugins.CheckerPlugins.CodeStyleChecker.eradicate.Eradicator.HASH_NUMBER?7 -eric6.Plugins.CheckerPlugins.CodeStyleChecker.eradicate.Eradicator.MULTILINE_ASSIGNMENT_REGEX?7 -eric6.Plugins.CheckerPlugins.CodeStyleChecker.eradicate.Eradicator.PARTIAL_DICTIONARY_REGEX?7 -eric6.Plugins.CheckerPlugins.CodeStyleChecker.eradicate.Eradicator.PRINT_RETURN_REGEX?7 -eric6.Plugins.CheckerPlugins.CodeStyleChecker.eradicate.Eradicator.WHITELIST_REGEX?7 -eric6.Plugins.CheckerPlugins.CodeStyleChecker.eradicate.Eradicator.WHITESPACE_HASH?7 -eric6.Plugins.CheckerPlugins.CodeStyleChecker.eradicate.Eradicator.WITH_STATEMENT_REGEX?7 -eric6.Plugins.CheckerPlugins.CodeStyleChecker.eradicate.Eradicator.comment_contains_code?4(line, aggressive=True) -eric6.Plugins.CheckerPlugins.CodeStyleChecker.eradicate.Eradicator.commented_out_code_line_numbers?4(source, aggressive=True) -eric6.Plugins.CheckerPlugins.CodeStyleChecker.eradicate.Eradicator.detect_encoding?4(filename) -eric6.Plugins.CheckerPlugins.CodeStyleChecker.eradicate.Eradicator.filter_commented_out_code?4(source, aggressive=True) -eric6.Plugins.CheckerPlugins.CodeStyleChecker.eradicate.Eradicator.fix_file?4(filename, args, standard_out) -eric6.Plugins.CheckerPlugins.CodeStyleChecker.eradicate.Eradicator.multiline_case?4(line, aggressive=True) -eric6.Plugins.CheckerPlugins.CodeStyleChecker.eradicate.Eradicator.open_with_encoding?4(filename, encoding, mode='r') -eric6.Plugins.CheckerPlugins.CodeStyleChecker.eradicate.Eradicator.update_whitelist?4(new_whitelist, extend_default=True) -eric6.Plugins.CheckerPlugins.CodeStyleChecker.eradicate.main?4(argv, standard_out, standard_error) -eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.ASTVisitor.default?4(node, *args) -eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.ASTVisitor.dispatch?4(node, *args) -eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.ASTVisitor.preorder?4(tree, visitor, *args) -eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.ASTVisitor?1() -eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.PathGraph.complexity?4() -eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.PathGraph.connect?4(n1, n2) -eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.PathGraph.to_dot?4() -eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.PathGraph?1(name, entity, lineno, column=0) -eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.PathGraphingAstVisitor._subgraph?5(node, name, extra_blocks=()) -eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.PathGraphingAstVisitor._subgraph_parse?5(node, pathnode, extra_blocks) -eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.PathGraphingAstVisitor.appendPathNode?4(name) -eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.PathGraphingAstVisitor.default?4(node, *args) -eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.PathGraphingAstVisitor.dispatch_list?4(node_list) -eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.PathGraphingAstVisitor.reset?4() -eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.PathGraphingAstVisitor.visitAsyncFor?7 -eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.PathGraphingAstVisitor.visitAsyncFunctionDef?7 -eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.PathGraphingAstVisitor.visitAsyncWith?7 -eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.PathGraphingAstVisitor.visitClassDef?4(node) -eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.PathGraphingAstVisitor.visitFunctionDef?4(node) -eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.PathGraphingAstVisitor.visitIf?4(node) -eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.PathGraphingAstVisitor.visitLoop?4(node) -eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.PathGraphingAstVisitor.visitSimpleStatement?4(node) -eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.PathGraphingAstVisitor.visitTry?7 -eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.PathGraphingAstVisitor.visitTryExcept?4(node) -eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.PathGraphingAstVisitor.visitWith?4(node) -eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.PathGraphingAstVisitor?1() -eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.PathNode.dot_id?4() -eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.PathNode.to_dot?4() -eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.PathNode?1(name, look="circle") eric6.Plugins.CheckerPlugins.CodeStyleChecker.pycodestyle.ARITHMETIC_OP?7 eric6.Plugins.CheckerPlugins.CodeStyleChecker.pycodestyle.ASSIGNMENT_EXPRESSION_OP?7 eric6.Plugins.CheckerPlugins.CodeStyleChecker.pycodestyle.BENCHMARK_KEYS?7 @@ -3613,11 +3629,16 @@ eric6.Plugins.CheckerPlugins.CodeStyleChecker.pycodestyle.whitespace_around_operator?4(logical_line) eric6.Plugins.CheckerPlugins.CodeStyleChecker.pycodestyle.whitespace_before_comment?4(logical_line, tokens) eric6.Plugins.CheckerPlugins.CodeStyleChecker.pycodestyle.whitespace_before_parameters?4(logical_line, tokens) -eric6.Plugins.CheckerPlugins.CodeStyleChecker.translations._messages?8 -eric6.Plugins.CheckerPlugins.CodeStyleChecker.translations._messages_sample_args?8 +eric6.Plugins.CheckerPlugins.CodeStyleChecker.translations._fixMessages?8 +eric6.Plugins.CheckerPlugins.CodeStyleChecker.translations._fixMessagesSampleArgs?8 +eric6.Plugins.CheckerPlugins.CodeStyleChecker.translations._pycodestyleErrorMessages?8 +eric6.Plugins.CheckerPlugins.CodeStyleChecker.translations._pycodestyleErrorMessagesSampleArgs?8 +eric6.Plugins.CheckerPlugins.CodeStyleChecker.translations._pycodestyleWarningMessages?8 +eric6.Plugins.CheckerPlugins.CodeStyleChecker.translations._pycodestyleWarningMessagesSampleArgs?8 eric6.Plugins.CheckerPlugins.CodeStyleChecker.translations.getMessageCodes?4() eric6.Plugins.CheckerPlugins.CodeStyleChecker.translations.getTranslatedMessage?4(messageCode, messageArgs, example=False) eric6.Plugins.CheckerPlugins.CodeStyleChecker.translations.messageCatalogs?7 +eric6.Plugins.CheckerPlugins.CodeStyleChecker.translations.messageCategoryRe?7 eric6.Plugins.CheckerPlugins.CodeStyleChecker.translations.messageSampleArgsCatalog?7 eric6.Plugins.CheckerPlugins.SyntaxChecker.SyntaxCheck.VcsConflictMarkerRegExpList?7 eric6.Plugins.CheckerPlugins.SyntaxChecker.SyntaxCheck.extractLineFlags?4(line, startComment=") @@ -4327,7 +4348,7 @@ eric6.Plugins.VcsPlugins.vcsGit.GitCommitDialog.GitCommitDialog.on_buttonBox_accepted?4() eric6.Plugins.VcsPlugins.vcsGit.GitCommitDialog.GitCommitDialog.on_buttonBox_clicked?4(button) eric6.Plugins.VcsPlugins.vcsGit.GitCommitDialog.GitCommitDialog.on_buttonBox_rejected?4() -eric6.Plugins.VcsPlugins.vcsGit.GitCommitDialog.GitCommitDialog.on_recentComboBox_activated?4(txt) +eric6.Plugins.VcsPlugins.vcsGit.GitCommitDialog.GitCommitDialog.on_recentComboBox_activated?4(index) eric6.Plugins.VcsPlugins.vcsGit.GitCommitDialog.GitCommitDialog.rejected?7 eric6.Plugins.VcsPlugins.vcsGit.GitCommitDialog.GitCommitDialog.resetAuthor?4() eric6.Plugins.VcsPlugins.vcsGit.GitCommitDialog.GitCommitDialog.showEvent?4(evt) @@ -4399,7 +4420,7 @@ eric6.Plugins.VcsPlugins.vcsGit.GitLogBrowserDialog.GitLogBrowserDialog.on_buttonBox_clicked?4(button) eric6.Plugins.VcsPlugins.vcsGit.GitLogBrowserDialog.GitLogBrowserDialog.on_diffSelectLabel_linkActivated?4(link) eric6.Plugins.VcsPlugins.vcsGit.GitLogBrowserDialog.GitLogBrowserDialog.on_downButton_clicked?4() -eric6.Plugins.VcsPlugins.vcsGit.GitLogBrowserDialog.GitLogBrowserDialog.on_fieldCombo_activated?4(txt) +eric6.Plugins.VcsPlugins.vcsGit.GitLogBrowserDialog.GitLogBrowserDialog.on_fieldCombo_activated?4(index) eric6.Plugins.VcsPlugins.vcsGit.GitLogBrowserDialog.GitLogBrowserDialog.on_filesTree_currentItemChanged?4(current, previous) eric6.Plugins.VcsPlugins.vcsGit.GitLogBrowserDialog.GitLogBrowserDialog.on_findNextButton_clicked?4() eric6.Plugins.VcsPlugins.vcsGit.GitLogBrowserDialog.GitLogBrowserDialog.on_findPrevButton_clicked?4() @@ -4562,7 +4583,7 @@ eric6.Plugins.VcsPlugins.vcsGit.GitStatusDialog.GitStatusDialog.on_passwordCheckBox_toggled?4(isOn) eric6.Plugins.VcsPlugins.vcsGit.GitStatusDialog.GitStatusDialog.on_refreshButton_clicked?4() eric6.Plugins.VcsPlugins.vcsGit.GitStatusDialog.GitStatusDialog.on_sendButton_clicked?4() -eric6.Plugins.VcsPlugins.vcsGit.GitStatusDialog.GitStatusDialog.on_statusFilterCombo_activated?4(txt) +eric6.Plugins.VcsPlugins.vcsGit.GitStatusDialog.GitStatusDialog.on_statusFilterCombo_activated?4(index) eric6.Plugins.VcsPlugins.vcsGit.GitStatusDialog.GitStatusDialog.on_statusList_itemSelectionChanged?4() eric6.Plugins.VcsPlugins.vcsGit.GitStatusDialog.GitStatusDialog.show?4() eric6.Plugins.VcsPlugins.vcsGit.GitStatusDialog.GitStatusDialog.start?4(fn) @@ -4777,7 +4798,7 @@ eric6.Plugins.VcsPlugins.vcsMercurial.GpgExtension.HgGpgSignDialog.HgGpgSignDialog?1(tagsList, branchesList, bookmarksList=None, parent=None) eric6.Plugins.VcsPlugins.vcsMercurial.GpgExtension.HgGpgSignaturesDialog.HgGpgSignaturesDialog.closeEvent?4(e) eric6.Plugins.VcsPlugins.vcsMercurial.GpgExtension.HgGpgSignaturesDialog.HgGpgSignaturesDialog.on_buttonBox_clicked?4(button) -eric6.Plugins.VcsPlugins.vcsMercurial.GpgExtension.HgGpgSignaturesDialog.HgGpgSignaturesDialog.on_categoryCombo_activated?4(txt) +eric6.Plugins.VcsPlugins.vcsMercurial.GpgExtension.HgGpgSignaturesDialog.HgGpgSignaturesDialog.on_categoryCombo_activated?4(index) eric6.Plugins.VcsPlugins.vcsMercurial.GpgExtension.HgGpgSignaturesDialog.HgGpgSignaturesDialog.on_rxEdit_textChanged?4(txt) eric6.Plugins.VcsPlugins.vcsMercurial.GpgExtension.HgGpgSignaturesDialog.HgGpgSignaturesDialog.on_signaturesList_itemSelectionChanged?4() eric6.Plugins.VcsPlugins.vcsMercurial.GpgExtension.HgGpgSignaturesDialog.HgGpgSignaturesDialog.on_verifyButton_clicked?4() @@ -4825,7 +4846,7 @@ eric6.Plugins.VcsPlugins.vcsMercurial.HgBookmarkDialog.HgBookmarkDialog.on_branchCombo_editTextChanged?4(txt) eric6.Plugins.VcsPlugins.vcsMercurial.HgBookmarkDialog.HgBookmarkDialog.on_idButton_toggled?4(checked) eric6.Plugins.VcsPlugins.vcsMercurial.HgBookmarkDialog.HgBookmarkDialog.on_idEdit_textChanged?4(txt) -eric6.Plugins.VcsPlugins.vcsMercurial.HgBookmarkDialog.HgBookmarkDialog.on_nameCombo_activated?4(txt) +eric6.Plugins.VcsPlugins.vcsMercurial.HgBookmarkDialog.HgBookmarkDialog.on_nameCombo_activated?4(index) eric6.Plugins.VcsPlugins.vcsMercurial.HgBookmarkDialog.HgBookmarkDialog.on_nameEdit_textChanged?4(txt) eric6.Plugins.VcsPlugins.vcsMercurial.HgBookmarkDialog.HgBookmarkDialog.on_tagButton_toggled?4(checked) eric6.Plugins.VcsPlugins.vcsMercurial.HgBookmarkDialog.HgBookmarkDialog.on_tagCombo_editTextChanged?4(txt) @@ -4888,7 +4909,7 @@ eric6.Plugins.VcsPlugins.vcsMercurial.HgCommitDialog.HgCommitDialog.on_buttonBox_accepted?4() eric6.Plugins.VcsPlugins.vcsMercurial.HgCommitDialog.HgCommitDialog.on_buttonBox_clicked?4(button) eric6.Plugins.VcsPlugins.vcsMercurial.HgCommitDialog.HgCommitDialog.on_buttonBox_rejected?4() -eric6.Plugins.VcsPlugins.vcsMercurial.HgCommitDialog.HgCommitDialog.on_recentComboBox_activated?4(txt) +eric6.Plugins.VcsPlugins.vcsMercurial.HgCommitDialog.HgCommitDialog.on_recentComboBox_activated?4(index) eric6.Plugins.VcsPlugins.vcsMercurial.HgCommitDialog.HgCommitDialog.rejected?7 eric6.Plugins.VcsPlugins.vcsMercurial.HgCommitDialog.HgCommitDialog.showEvent?4(evt) eric6.Plugins.VcsPlugins.vcsMercurial.HgCommitDialog.HgCommitDialog?1(vcs, msg, mq, merge, parent=None) @@ -4974,11 +4995,11 @@ eric6.Plugins.VcsPlugins.vcsMercurial.HgLogBrowserDialog.HgLogBrowserDialog.TagsColumn?7 eric6.Plugins.VcsPlugins.vcsMercurial.HgLogBrowserDialog.HgLogBrowserDialog.closeEvent?4(e) eric6.Plugins.VcsPlugins.vcsMercurial.HgLogBrowserDialog.HgLogBrowserDialog.col2x?4(radius) -eric6.Plugins.VcsPlugins.vcsMercurial.HgLogBrowserDialog.HgLogBrowserDialog.on_branchCombo_activated?4(txt) +eric6.Plugins.VcsPlugins.vcsMercurial.HgLogBrowserDialog.HgLogBrowserDialog.on_branchCombo_activated?4(index) eric6.Plugins.VcsPlugins.vcsMercurial.HgLogBrowserDialog.HgLogBrowserDialog.on_buttonBox_clicked?4(button) eric6.Plugins.VcsPlugins.vcsMercurial.HgLogBrowserDialog.HgLogBrowserDialog.on_diffSelectLabel_linkActivated?4(link) eric6.Plugins.VcsPlugins.vcsMercurial.HgLogBrowserDialog.HgLogBrowserDialog.on_downButton_clicked?4() -eric6.Plugins.VcsPlugins.vcsMercurial.HgLogBrowserDialog.HgLogBrowserDialog.on_fieldCombo_activated?4(txt) +eric6.Plugins.VcsPlugins.vcsMercurial.HgLogBrowserDialog.HgLogBrowserDialog.on_fieldCombo_activated?4(index) eric6.Plugins.VcsPlugins.vcsMercurial.HgLogBrowserDialog.HgLogBrowserDialog.on_filesTree_currentItemChanged?4(current, previous) eric6.Plugins.VcsPlugins.vcsMercurial.HgLogBrowserDialog.HgLogBrowserDialog.on_findNextButton_clicked?4() eric6.Plugins.VcsPlugins.vcsMercurial.HgLogBrowserDialog.HgLogBrowserDialog.on_findPrevButton_clicked?4() @@ -5017,7 +5038,7 @@ eric6.Plugins.VcsPlugins.vcsMercurial.HgOptionsDialog.HgOptionsDialog.getData?4() eric6.Plugins.VcsPlugins.vcsMercurial.HgOptionsDialog.HgOptionsDialog?1(vcs, project, parent=None) eric6.Plugins.VcsPlugins.vcsMercurial.HgPhaseDialog.HgPhaseDialog.getData?4() -eric6.Plugins.VcsPlugins.vcsMercurial.HgPhaseDialog.HgPhaseDialog.on_phaseCombo_activated?4(txt) +eric6.Plugins.VcsPlugins.vcsMercurial.HgPhaseDialog.HgPhaseDialog.on_phaseCombo_activated?4(index) eric6.Plugins.VcsPlugins.vcsMercurial.HgPhaseDialog.HgPhaseDialog.on_revisionsEdit_textChanged?4() eric6.Plugins.VcsPlugins.vcsMercurial.HgPhaseDialog.HgPhaseDialog?1(parent=None) eric6.Plugins.VcsPlugins.vcsMercurial.HgRemoveSubrepositoriesDialog.HgRemoveSubrepositoriesDialog.getData?4() @@ -5062,7 +5083,7 @@ eric6.Plugins.VcsPlugins.vcsMercurial.HgStatusDialog.HgStatusDialog.closeEvent?4(e) eric6.Plugins.VcsPlugins.vcsMercurial.HgStatusDialog.HgStatusDialog.on_buttonBox_clicked?4(button) eric6.Plugins.VcsPlugins.vcsMercurial.HgStatusDialog.HgStatusDialog.on_refreshButton_clicked?4() -eric6.Plugins.VcsPlugins.vcsMercurial.HgStatusDialog.HgStatusDialog.on_statusFilterCombo_activated?4(txt) +eric6.Plugins.VcsPlugins.vcsMercurial.HgStatusDialog.HgStatusDialog.on_statusFilterCombo_activated?4(index) eric6.Plugins.VcsPlugins.vcsMercurial.HgStatusDialog.HgStatusDialog.on_statusList_itemSelectionChanged?4() eric6.Plugins.VcsPlugins.vcsMercurial.HgStatusDialog.HgStatusDialog.show?4() eric6.Plugins.VcsPlugins.vcsMercurial.HgStatusDialog.HgStatusDialog.start?4(fn) @@ -5106,7 +5127,7 @@ eric6.Plugins.VcsPlugins.vcsMercurial.HgUserConfigHostFingerprintDialog.HgUserConfigHostFingerprintDialog.fingerprintLength?7 eric6.Plugins.VcsPlugins.vcsMercurial.HgUserConfigHostFingerprintDialog.HgUserConfigHostFingerprintDialog.getData?4() eric6.Plugins.VcsPlugins.vcsMercurial.HgUserConfigHostFingerprintDialog.HgUserConfigHostFingerprintDialog.on_fingerprintEdit_textChanged?4(txt) -eric6.Plugins.VcsPlugins.vcsMercurial.HgUserConfigHostFingerprintDialog.HgUserConfigHostFingerprintDialog.on_hashComboBox_currentIndexChanged?4(txt) +eric6.Plugins.VcsPlugins.vcsMercurial.HgUserConfigHostFingerprintDialog.HgUserConfigHostFingerprintDialog.on_hashComboBox_currentIndexChanged?4(index) eric6.Plugins.VcsPlugins.vcsMercurial.HgUserConfigHostFingerprintDialog.HgUserConfigHostFingerprintDialog.on_hostEdit_textChanged?4(txt) eric6.Plugins.VcsPlugins.vcsMercurial.HgUserConfigHostFingerprintDialog.HgUserConfigHostFingerprintDialog.supportedHashes?7 eric6.Plugins.VcsPlugins.vcsMercurial.HgUserConfigHostFingerprintDialog.HgUserConfigHostFingerprintDialog?1(parent=None, host="", fingerprint="", version=(0, 0, 0)) @@ -5119,7 +5140,7 @@ eric6.Plugins.VcsPlugins.vcsMercurial.HgUtilities.prepareProcess?4(proc, encoding="", language="") eric6.Plugins.VcsPlugins.vcsMercurial.HisteditExtension.HgHisteditCommitEditor.HgHisteditCommitEditor.on_buttonBox_accepted?4() eric6.Plugins.VcsPlugins.vcsMercurial.HisteditExtension.HgHisteditCommitEditor.HgHisteditCommitEditor.on_buttonBox_rejected?4() -eric6.Plugins.VcsPlugins.vcsMercurial.HisteditExtension.HgHisteditCommitEditor.HgHisteditCommitEditor.on_recentComboBox_activated?4(txt) +eric6.Plugins.VcsPlugins.vcsMercurial.HisteditExtension.HgHisteditCommitEditor.HgHisteditCommitEditor.on_recentComboBox_activated?4(index) eric6.Plugins.VcsPlugins.vcsMercurial.HisteditExtension.HgHisteditCommitEditor.HgHisteditCommitEditor?1(fileName, parent=None) eric6.Plugins.VcsPlugins.vcsMercurial.HisteditExtension.HgHisteditConfigDialog.HgHisteditConfigDialog.getData?4() eric6.Plugins.VcsPlugins.vcsMercurial.HisteditExtension.HgHisteditConfigDialog.HgHisteditConfigDialog.on_bookmarkButton_toggled?4(checked) @@ -5209,7 +5230,7 @@ eric6.Plugins.VcsPlugins.vcsMercurial.QueuesExtension.HgQueuesDefineGuardsDialog.HgQueuesDefineGuardsDialog.on_buttonBox_clicked?4(button) eric6.Plugins.VcsPlugins.vcsMercurial.QueuesExtension.HgQueuesDefineGuardsDialog.HgQueuesDefineGuardsDialog.on_guardCombo_editTextChanged?4(txt) eric6.Plugins.VcsPlugins.vcsMercurial.QueuesExtension.HgQueuesDefineGuardsDialog.HgQueuesDefineGuardsDialog.on_guardsList_itemSelectionChanged?4() -eric6.Plugins.VcsPlugins.vcsMercurial.QueuesExtension.HgQueuesDefineGuardsDialog.HgQueuesDefineGuardsDialog.on_patchSelector_activated?4(patch) +eric6.Plugins.VcsPlugins.vcsMercurial.QueuesExtension.HgQueuesDefineGuardsDialog.HgQueuesDefineGuardsDialog.on_patchSelector_activated?4(index) eric6.Plugins.VcsPlugins.vcsMercurial.QueuesExtension.HgQueuesDefineGuardsDialog.HgQueuesDefineGuardsDialog.on_removeButton_clicked?4() eric6.Plugins.VcsPlugins.vcsMercurial.QueuesExtension.HgQueuesDefineGuardsDialog.HgQueuesDefineGuardsDialog.start?4() eric6.Plugins.VcsPlugins.vcsMercurial.QueuesExtension.HgQueuesDefineGuardsDialog.HgQueuesDefineGuardsDialog?1(vcs, extension, patchesList, parent=None) @@ -5234,7 +5255,7 @@ eric6.Plugins.VcsPlugins.vcsMercurial.QueuesExtension.HgQueuesListDialog.HgQueuesListDialog.start?4() eric6.Plugins.VcsPlugins.vcsMercurial.QueuesExtension.HgQueuesListDialog.HgQueuesListDialog?1(vcs, parent=None) eric6.Plugins.VcsPlugins.vcsMercurial.QueuesExtension.HgQueuesListGuardsDialog.HgQueuesListGuardsDialog.closeEvent?4(e) -eric6.Plugins.VcsPlugins.vcsMercurial.QueuesExtension.HgQueuesListGuardsDialog.HgQueuesListGuardsDialog.on_patchSelector_activated?4(patch) +eric6.Plugins.VcsPlugins.vcsMercurial.QueuesExtension.HgQueuesListGuardsDialog.HgQueuesListGuardsDialog.on_patchSelector_activated?4(index) eric6.Plugins.VcsPlugins.vcsMercurial.QueuesExtension.HgQueuesListGuardsDialog.HgQueuesListGuardsDialog.start?4() eric6.Plugins.VcsPlugins.vcsMercurial.QueuesExtension.HgQueuesListGuardsDialog.HgQueuesListGuardsDialog?1(vcs, patchesList, parent=None) eric6.Plugins.VcsPlugins.vcsMercurial.QueuesExtension.HgQueuesNewPatchDialog.HgQueuesNewPatchDialog.NEW_MODE?7 @@ -5256,7 +5277,7 @@ eric6.Plugins.VcsPlugins.vcsMercurial.QueuesExtension.HgQueuesQueueManagementDialog.HgQueuesQueueManagementDialog.refresh?4() eric6.Plugins.VcsPlugins.vcsMercurial.QueuesExtension.HgQueuesQueueManagementDialog.HgQueuesQueueManagementDialog?1(mode, title, suppressActive, vcs, parent=None) eric6.Plugins.VcsPlugins.vcsMercurial.QueuesExtension.HgQueuesRenamePatchDialog.HgQueuesRenamePatchDialog.getData?4() -eric6.Plugins.VcsPlugins.vcsMercurial.QueuesExtension.HgQueuesRenamePatchDialog.HgQueuesRenamePatchDialog.on_nameCombo_currentIndexChanged?4(txt) +eric6.Plugins.VcsPlugins.vcsMercurial.QueuesExtension.HgQueuesRenamePatchDialog.HgQueuesRenamePatchDialog.on_nameCombo_currentIndexChanged?4(index) eric6.Plugins.VcsPlugins.vcsMercurial.QueuesExtension.HgQueuesRenamePatchDialog.HgQueuesRenamePatchDialog.on_nameEdit_textChanged?4(txt) eric6.Plugins.VcsPlugins.vcsMercurial.QueuesExtension.HgQueuesRenamePatchDialog.HgQueuesRenamePatchDialog.on_namedButton_toggled?4(checked) eric6.Plugins.VcsPlugins.vcsMercurial.QueuesExtension.HgQueuesRenamePatchDialog.HgQueuesRenamePatchDialog?1(currentPatch, patchesList, parent=None) @@ -5525,7 +5546,7 @@ eric6.Plugins.VcsPlugins.vcsPySvn.SvnCommitDialog.SvnCommitDialog.on_buttonBox_accepted?4() eric6.Plugins.VcsPlugins.vcsPySvn.SvnCommitDialog.SvnCommitDialog.on_buttonBox_clicked?4(button) eric6.Plugins.VcsPlugins.vcsPySvn.SvnCommitDialog.SvnCommitDialog.on_buttonBox_rejected?4() -eric6.Plugins.VcsPlugins.vcsPySvn.SvnCommitDialog.SvnCommitDialog.on_recentComboBox_activated?4(txt) +eric6.Plugins.VcsPlugins.vcsPySvn.SvnCommitDialog.SvnCommitDialog.on_recentComboBox_activated?4(index) eric6.Plugins.VcsPlugins.vcsPySvn.SvnCommitDialog.SvnCommitDialog.rejected?7 eric6.Plugins.VcsPlugins.vcsPySvn.SvnCommitDialog.SvnCommitDialog.showEvent?4(evt) eric6.Plugins.VcsPlugins.vcsPySvn.SvnCommitDialog.SvnCommitDialog?1(changelists, parent=None) @@ -5564,7 +5585,7 @@ eric6.Plugins.VcsPlugins.vcsPySvn.SvnLogBrowserDialog.SvnLogBrowserDialog.on_diffPreviousButton_clicked?4() eric6.Plugins.VcsPlugins.vcsPySvn.SvnLogBrowserDialog.SvnLogBrowserDialog.on_diffRevisionsButton_clicked?4() eric6.Plugins.VcsPlugins.vcsPySvn.SvnLogBrowserDialog.SvnLogBrowserDialog.on_downButton_clicked?4() -eric6.Plugins.VcsPlugins.vcsPySvn.SvnLogBrowserDialog.SvnLogBrowserDialog.on_fieldCombo_activated?4(txt) +eric6.Plugins.VcsPlugins.vcsPySvn.SvnLogBrowserDialog.SvnLogBrowserDialog.on_fieldCombo_activated?4(index) eric6.Plugins.VcsPlugins.vcsPySvn.SvnLogBrowserDialog.SvnLogBrowserDialog.on_fromDate_dateChanged?4(date) eric6.Plugins.VcsPlugins.vcsPySvn.SvnLogBrowserDialog.SvnLogBrowserDialog.on_logTree_currentItemChanged?4(current, previous) eric6.Plugins.VcsPlugins.vcsPySvn.SvnLogBrowserDialog.SvnLogBrowserDialog.on_logTree_itemSelectionChanged?4() @@ -5584,13 +5605,13 @@ eric6.Plugins.VcsPlugins.vcsPySvn.SvnMergeDialog.SvnMergeDialog?1(mergelist1, mergelist2, targetlist, force=False, parent=None) eric6.Plugins.VcsPlugins.vcsPySvn.SvnNewProjectOptionsDialog.SvnNewProjectOptionsDialog.getData?4() eric6.Plugins.VcsPlugins.vcsPySvn.SvnNewProjectOptionsDialog.SvnNewProjectOptionsDialog.on_layoutCheckBox_toggled?4(checked) -eric6.Plugins.VcsPlugins.vcsPySvn.SvnNewProjectOptionsDialog.SvnNewProjectOptionsDialog.on_protocolCombo_activated?4(protocol) +eric6.Plugins.VcsPlugins.vcsPySvn.SvnNewProjectOptionsDialog.SvnNewProjectOptionsDialog.on_protocolCombo_activated?4(index) eric6.Plugins.VcsPlugins.vcsPySvn.SvnNewProjectOptionsDialog.SvnNewProjectOptionsDialog.on_vcsProjectDirPicker_textChanged?4(txt) eric6.Plugins.VcsPlugins.vcsPySvn.SvnNewProjectOptionsDialog.SvnNewProjectOptionsDialog.on_vcsUrlPicker_pickerButtonClicked?4() eric6.Plugins.VcsPlugins.vcsPySvn.SvnNewProjectOptionsDialog.SvnNewProjectOptionsDialog.on_vcsUrlPicker_textChanged?4(txt) eric6.Plugins.VcsPlugins.vcsPySvn.SvnNewProjectOptionsDialog.SvnNewProjectOptionsDialog?1(vcs, parent=None) eric6.Plugins.VcsPlugins.vcsPySvn.SvnOptionsDialog.SvnOptionsDialog.getData?4() -eric6.Plugins.VcsPlugins.vcsPySvn.SvnOptionsDialog.SvnOptionsDialog.on_protocolCombo_activated?4(protocol) +eric6.Plugins.VcsPlugins.vcsPySvn.SvnOptionsDialog.SvnOptionsDialog.on_protocolCombo_activated?4(index) eric6.Plugins.VcsPlugins.vcsPySvn.SvnOptionsDialog.SvnOptionsDialog.on_vcsUrlPicker_pickerButtonClicked?4() eric6.Plugins.VcsPlugins.vcsPySvn.SvnOptionsDialog.SvnOptionsDialog.on_vcsUrlPicker_textChanged?4(txt) eric6.Plugins.VcsPlugins.vcsPySvn.SvnOptionsDialog.SvnOptionsDialog?1(vcs, project, parent=None) @@ -5610,7 +5631,7 @@ eric6.Plugins.VcsPlugins.vcsPySvn.SvnRepoBrowserDialog.SvnRepoBrowserDialog.on_repoTree_itemCollapsed?4(item) eric6.Plugins.VcsPlugins.vcsPySvn.SvnRepoBrowserDialog.SvnRepoBrowserDialog.on_repoTree_itemExpanded?4(item) eric6.Plugins.VcsPlugins.vcsPySvn.SvnRepoBrowserDialog.SvnRepoBrowserDialog.on_repoTree_itemSelectionChanged?4() -eric6.Plugins.VcsPlugins.vcsPySvn.SvnRepoBrowserDialog.SvnRepoBrowserDialog.on_urlCombo_currentIndexChanged?4(text) +eric6.Plugins.VcsPlugins.vcsPySvn.SvnRepoBrowserDialog.SvnRepoBrowserDialog.on_urlCombo_currentIndexChanged?4(index) eric6.Plugins.VcsPlugins.vcsPySvn.SvnRepoBrowserDialog.SvnRepoBrowserDialog.start?4(url) eric6.Plugins.VcsPlugins.vcsPySvn.SvnRepoBrowserDialog.SvnRepoBrowserDialog?1(vcs, mode="browse", parent=None) eric6.Plugins.VcsPlugins.vcsPySvn.SvnRevisionSelectionDialog.SvnRevisionSelectionDialog.getRevisions?4() @@ -5623,7 +5644,7 @@ eric6.Plugins.VcsPlugins.vcsPySvn.SvnStatusDialog.SvnStatusDialog.on_restoreButton_clicked?4() eric6.Plugins.VcsPlugins.vcsPySvn.SvnStatusDialog.SvnStatusDialog.on_revertButton_clicked?4() eric6.Plugins.VcsPlugins.vcsPySvn.SvnStatusDialog.SvnStatusDialog.on_sbsDiffButton_clicked?4() -eric6.Plugins.VcsPlugins.vcsPySvn.SvnStatusDialog.SvnStatusDialog.on_statusFilterCombo_activated?4(txt) +eric6.Plugins.VcsPlugins.vcsPySvn.SvnStatusDialog.SvnStatusDialog.on_statusFilterCombo_activated?4(index) eric6.Plugins.VcsPlugins.vcsPySvn.SvnStatusDialog.SvnStatusDialog.on_statusList_itemChanged?4(item, column) eric6.Plugins.VcsPlugins.vcsPySvn.SvnStatusDialog.SvnStatusDialog.on_statusList_itemSelectionChanged?4() eric6.Plugins.VcsPlugins.vcsPySvn.SvnStatusDialog.SvnStatusDialog.start?4(fn) @@ -5640,8 +5661,8 @@ eric6.Plugins.VcsPlugins.vcsPySvn.SvnTagDialog.SvnTagDialog.on_tagCombo_editTextChanged?4(text) eric6.Plugins.VcsPlugins.vcsPySvn.SvnTagDialog.SvnTagDialog?1(taglist, reposURL, standardLayout, parent=None) eric6.Plugins.VcsPlugins.vcsPySvn.SvnUrlSelectionDialog.SvnUrlSelectionDialog.getURLs?4() -eric6.Plugins.VcsPlugins.vcsPySvn.SvnUrlSelectionDialog.SvnUrlSelectionDialog.on_typeCombo1_currentIndexChanged?4(type_) -eric6.Plugins.VcsPlugins.vcsPySvn.SvnUrlSelectionDialog.SvnUrlSelectionDialog.on_typeCombo2_currentIndexChanged?4(type_) +eric6.Plugins.VcsPlugins.vcsPySvn.SvnUrlSelectionDialog.SvnUrlSelectionDialog.on_typeCombo1_currentIndexChanged?4(index) +eric6.Plugins.VcsPlugins.vcsPySvn.SvnUrlSelectionDialog.SvnUrlSelectionDialog.on_typeCombo2_currentIndexChanged?4(index) eric6.Plugins.VcsPlugins.vcsPySvn.SvnUrlSelectionDialog.SvnUrlSelectionDialog?1(vcs, tagsList, branchesList, path, parent=None) eric6.Plugins.VcsPlugins.vcsPySvn.SvnUtilities.amendConfig?4() eric6.Plugins.VcsPlugins.vcsPySvn.SvnUtilities.createDefaultConfig?4() @@ -5758,7 +5779,7 @@ eric6.Plugins.VcsPlugins.vcsSubversion.SvnCommitDialog.SvnCommitDialog.on_buttonBox_accepted?4() eric6.Plugins.VcsPlugins.vcsSubversion.SvnCommitDialog.SvnCommitDialog.on_buttonBox_clicked?4(button) eric6.Plugins.VcsPlugins.vcsSubversion.SvnCommitDialog.SvnCommitDialog.on_buttonBox_rejected?4() -eric6.Plugins.VcsPlugins.vcsSubversion.SvnCommitDialog.SvnCommitDialog.on_recentComboBox_activated?4(txt) +eric6.Plugins.VcsPlugins.vcsSubversion.SvnCommitDialog.SvnCommitDialog.on_recentComboBox_activated?4(index) eric6.Plugins.VcsPlugins.vcsSubversion.SvnCommitDialog.SvnCommitDialog.rejected?7 eric6.Plugins.VcsPlugins.vcsSubversion.SvnCommitDialog.SvnCommitDialog.showEvent?4(evt) eric6.Plugins.VcsPlugins.vcsSubversion.SvnCommitDialog.SvnCommitDialog?1(vcs, parent=None) @@ -5793,7 +5814,7 @@ eric6.Plugins.VcsPlugins.vcsSubversion.SvnLogBrowserDialog.SvnLogBrowserDialog.on_diffPreviousButton_clicked?4() eric6.Plugins.VcsPlugins.vcsSubversion.SvnLogBrowserDialog.SvnLogBrowserDialog.on_diffRevisionsButton_clicked?4() eric6.Plugins.VcsPlugins.vcsSubversion.SvnLogBrowserDialog.SvnLogBrowserDialog.on_downButton_clicked?4() -eric6.Plugins.VcsPlugins.vcsSubversion.SvnLogBrowserDialog.SvnLogBrowserDialog.on_fieldCombo_activated?4(txt) +eric6.Plugins.VcsPlugins.vcsSubversion.SvnLogBrowserDialog.SvnLogBrowserDialog.on_fieldCombo_activated?4(index) eric6.Plugins.VcsPlugins.vcsSubversion.SvnLogBrowserDialog.SvnLogBrowserDialog.on_fromDate_dateChanged?4(date) eric6.Plugins.VcsPlugins.vcsSubversion.SvnLogBrowserDialog.SvnLogBrowserDialog.on_input_returnPressed?4() eric6.Plugins.VcsPlugins.vcsSubversion.SvnLogBrowserDialog.SvnLogBrowserDialog.on_logTree_currentItemChanged?4(current, previous) @@ -5814,13 +5835,13 @@ eric6.Plugins.VcsPlugins.vcsSubversion.SvnMergeDialog.SvnMergeDialog?1(mergelist1, mergelist2, targetlist, force=False, parent=None) eric6.Plugins.VcsPlugins.vcsSubversion.SvnNewProjectOptionsDialog.SvnNewProjectOptionsDialog.getData?4() eric6.Plugins.VcsPlugins.vcsSubversion.SvnNewProjectOptionsDialog.SvnNewProjectOptionsDialog.on_layoutCheckBox_toggled?4(checked) -eric6.Plugins.VcsPlugins.vcsSubversion.SvnNewProjectOptionsDialog.SvnNewProjectOptionsDialog.on_protocolCombo_activated?4(protocol) +eric6.Plugins.VcsPlugins.vcsSubversion.SvnNewProjectOptionsDialog.SvnNewProjectOptionsDialog.on_protocolCombo_activated?4(index) eric6.Plugins.VcsPlugins.vcsSubversion.SvnNewProjectOptionsDialog.SvnNewProjectOptionsDialog.on_vcsProjectDirPicker_textChanged?4(txt) eric6.Plugins.VcsPlugins.vcsSubversion.SvnNewProjectOptionsDialog.SvnNewProjectOptionsDialog.on_vcsUrlPicker_pickerButtonClicked?4() eric6.Plugins.VcsPlugins.vcsSubversion.SvnNewProjectOptionsDialog.SvnNewProjectOptionsDialog.on_vcsUrlPicker_textChanged?4(txt) eric6.Plugins.VcsPlugins.vcsSubversion.SvnNewProjectOptionsDialog.SvnNewProjectOptionsDialog?1(vcs, parent=None) eric6.Plugins.VcsPlugins.vcsSubversion.SvnOptionsDialog.SvnOptionsDialog.getData?4() -eric6.Plugins.VcsPlugins.vcsSubversion.SvnOptionsDialog.SvnOptionsDialog.on_protocolCombo_activated?4(protocol) +eric6.Plugins.VcsPlugins.vcsSubversion.SvnOptionsDialog.SvnOptionsDialog.on_protocolCombo_activated?4(index) eric6.Plugins.VcsPlugins.vcsSubversion.SvnOptionsDialog.SvnOptionsDialog.on_vcsUrlPicker_pickerButtonClicked?4() eric6.Plugins.VcsPlugins.vcsSubversion.SvnOptionsDialog.SvnOptionsDialog.on_vcsUrlPicker_textChanged?4(txt) eric6.Plugins.VcsPlugins.vcsSubversion.SvnOptionsDialog.SvnOptionsDialog?1(vcs, project, parent=None) @@ -5843,7 +5864,7 @@ eric6.Plugins.VcsPlugins.vcsSubversion.SvnRepoBrowserDialog.SvnRepoBrowserDialog.on_repoTree_itemExpanded?4(item) eric6.Plugins.VcsPlugins.vcsSubversion.SvnRepoBrowserDialog.SvnRepoBrowserDialog.on_repoTree_itemSelectionChanged?4() eric6.Plugins.VcsPlugins.vcsSubversion.SvnRepoBrowserDialog.SvnRepoBrowserDialog.on_sendButton_clicked?4() -eric6.Plugins.VcsPlugins.vcsSubversion.SvnRepoBrowserDialog.SvnRepoBrowserDialog.on_urlCombo_currentIndexChanged?4(text) +eric6.Plugins.VcsPlugins.vcsSubversion.SvnRepoBrowserDialog.SvnRepoBrowserDialog.on_urlCombo_currentIndexChanged?4(index) eric6.Plugins.VcsPlugins.vcsSubversion.SvnRepoBrowserDialog.SvnRepoBrowserDialog.start?4(url) eric6.Plugins.VcsPlugins.vcsSubversion.SvnRepoBrowserDialog.SvnRepoBrowserDialog?1(vcs, mode="browse", parent=None) eric6.Plugins.VcsPlugins.vcsSubversion.SvnRevisionSelectionDialog.SvnRevisionSelectionDialog.getRevisions?4() @@ -5861,7 +5882,7 @@ eric6.Plugins.VcsPlugins.vcsSubversion.SvnStatusDialog.SvnStatusDialog.on_revertButton_clicked?4() eric6.Plugins.VcsPlugins.vcsSubversion.SvnStatusDialog.SvnStatusDialog.on_sbsDiffButton_clicked?4() eric6.Plugins.VcsPlugins.vcsSubversion.SvnStatusDialog.SvnStatusDialog.on_sendButton_clicked?4() -eric6.Plugins.VcsPlugins.vcsSubversion.SvnStatusDialog.SvnStatusDialog.on_statusFilterCombo_activated?4(txt) +eric6.Plugins.VcsPlugins.vcsSubversion.SvnStatusDialog.SvnStatusDialog.on_statusFilterCombo_activated?4(index) eric6.Plugins.VcsPlugins.vcsSubversion.SvnStatusDialog.SvnStatusDialog.on_statusList_itemChanged?4(item, column) eric6.Plugins.VcsPlugins.vcsSubversion.SvnStatusDialog.SvnStatusDialog.on_statusList_itemSelectionChanged?4() eric6.Plugins.VcsPlugins.vcsSubversion.SvnStatusDialog.SvnStatusDialog.start?4(fn) @@ -5882,8 +5903,8 @@ eric6.Plugins.VcsPlugins.vcsSubversion.SvnTagDialog.SvnTagDialog.on_tagCombo_editTextChanged?4(text) eric6.Plugins.VcsPlugins.vcsSubversion.SvnTagDialog.SvnTagDialog?1(taglist, reposURL, standardLayout, parent=None) eric6.Plugins.VcsPlugins.vcsSubversion.SvnUrlSelectionDialog.SvnUrlSelectionDialog.getURLs?4() -eric6.Plugins.VcsPlugins.vcsSubversion.SvnUrlSelectionDialog.SvnUrlSelectionDialog.on_typeCombo1_currentIndexChanged?4(type_) -eric6.Plugins.VcsPlugins.vcsSubversion.SvnUrlSelectionDialog.SvnUrlSelectionDialog.on_typeCombo2_currentIndexChanged?4(type_) +eric6.Plugins.VcsPlugins.vcsSubversion.SvnUrlSelectionDialog.SvnUrlSelectionDialog.on_typeCombo1_currentIndexChanged?4(index) +eric6.Plugins.VcsPlugins.vcsSubversion.SvnUrlSelectionDialog.SvnUrlSelectionDialog.on_typeCombo2_currentIndexChanged?4(index) eric6.Plugins.VcsPlugins.vcsSubversion.SvnUrlSelectionDialog.SvnUrlSelectionDialog?1(vcs, tagsList, branchesList, path, parent=None) eric6.Plugins.VcsPlugins.vcsSubversion.SvnUtilities.amendConfig?4() eric6.Plugins.VcsPlugins.vcsSubversion.SvnUtilities.createDefaultConfig?4() @@ -6132,7 +6153,7 @@ eric6.Plugins.WizardPlugins.FileDialogWizard.FileDialogWizardDialog.FileDialogWizardDialog.getCode?4(indLevel, indString) eric6.Plugins.WizardPlugins.FileDialogWizard.FileDialogWizardDialog.FileDialogWizardDialog.on_bTest_clicked?4() eric6.Plugins.WizardPlugins.FileDialogWizard.FileDialogWizardDialog.FileDialogWizardDialog.on_buttonBox_clicked?4(button) -eric6.Plugins.WizardPlugins.FileDialogWizard.FileDialogWizardDialog.FileDialogWizardDialog.on_pyqtComboBox_currentIndexChanged?4(txt) +eric6.Plugins.WizardPlugins.FileDialogWizard.FileDialogWizardDialog.FileDialogWizardDialog.on_pyqtComboBox_currentIndexChanged?4(index) eric6.Plugins.WizardPlugins.FileDialogWizard.FileDialogWizardDialog.FileDialogWizardDialog?1(dialogVariant, parent=None) eric6.Plugins.WizardPlugins.FontDialogWizard.FontDialogWizardDialog.FontDialogWizardDialog.getCode?4(indLevel, indString) eric6.Plugins.WizardPlugins.FontDialogWizard.FontDialogWizardDialog.FontDialogWizardDialog.on_bTest_clicked?4() @@ -6338,7 +6359,7 @@ eric6.Preferences.ConfigurationPages.DebuggerGeneralPage.DebuggerGeneralPage.save?4() eric6.Preferences.ConfigurationPages.DebuggerGeneralPage.DebuggerGeneralPage?1() eric6.Preferences.ConfigurationPages.DebuggerGeneralPage.PreviewModel.columnCount?4(parent=QModelIndex()) -eric6.Preferences.ConfigurationPages.DebuggerGeneralPage.PreviewModel.data?4(index, role=Qt.DisplayRole) +eric6.Preferences.ConfigurationPages.DebuggerGeneralPage.PreviewModel.data?4(index, role=Qt.ItemDataRole.DisplayRole) eric6.Preferences.ConfigurationPages.DebuggerGeneralPage.PreviewModel.flags?4(index) eric6.Preferences.ConfigurationPages.DebuggerGeneralPage.PreviewModel.index?4(row, column, parent=QModelIndex()) eric6.Preferences.ConfigurationPages.DebuggerGeneralPage.PreviewModel.parent?4(child) @@ -6358,7 +6379,7 @@ eric6.Preferences.ConfigurationPages.EditorAPIsPage.EditorAPIsPage.on_addInstalledApiFileButton_clicked?4() eric6.Preferences.ConfigurationPages.EditorAPIsPage.EditorAPIsPage.on_addPluginApiFileButton_clicked?4() eric6.Preferences.ConfigurationPages.EditorAPIsPage.EditorAPIsPage.on_apiFilePicker_textChanged?4(txt) -eric6.Preferences.ConfigurationPages.EditorAPIsPage.EditorAPIsPage.on_apiLanguageComboBox_activated?4(language) +eric6.Preferences.ConfigurationPages.EditorAPIsPage.EditorAPIsPage.on_apiLanguageComboBox_activated?4(index) eric6.Preferences.ConfigurationPages.EditorAPIsPage.EditorAPIsPage.on_apiList_itemSelectionChanged?4() eric6.Preferences.ConfigurationPages.EditorAPIsPage.EditorAPIsPage.on_deleteApiFileButton_clicked?4() eric6.Preferences.ConfigurationPages.EditorAPIsPage.EditorAPIsPage.on_prepareApiButton_clicked?4() @@ -6383,7 +6404,7 @@ eric6.Preferences.ConfigurationPages.EditorDocViewerPage.EditorDocViewerPage.save?4() eric6.Preferences.ConfigurationPages.EditorDocViewerPage.EditorDocViewerPage?1() eric6.Preferences.ConfigurationPages.EditorDocViewerPage.create?4(dlg) -eric6.Preferences.ConfigurationPages.EditorExportersPage.EditorExportersPage.on_exportersCombo_activated?4(exporter) +eric6.Preferences.ConfigurationPages.EditorExportersPage.EditorExportersPage.on_exportersCombo_activated?4(index) eric6.Preferences.ConfigurationPages.EditorExportersPage.EditorExportersPage.on_rtfFontButton_clicked?4() eric6.Preferences.ConfigurationPages.EditorExportersPage.EditorExportersPage.save?4() eric6.Preferences.ConfigurationPages.EditorExportersPage.EditorExportersPage?1() @@ -6407,7 +6428,7 @@ eric6.Preferences.ConfigurationPages.EditorGeneralPage.create?4(dlg) eric6.Preferences.ConfigurationPages.EditorHighlightersPage.EditorHighlightersPage.on_addLexerButton_clicked?4() eric6.Preferences.ConfigurationPages.EditorHighlightersPage.EditorHighlightersPage.on_deleteLexerButton_clicked?4() -eric6.Preferences.ConfigurationPages.EditorHighlightersPage.EditorHighlightersPage.on_editorLexerCombo_currentIndexChanged?4(text) +eric6.Preferences.ConfigurationPages.EditorHighlightersPage.EditorHighlightersPage.on_editorLexerCombo_currentIndexChanged?4(index) eric6.Preferences.ConfigurationPages.EditorHighlightersPage.EditorHighlightersPage.on_editorLexerList_itemActivated?4(itm, column) eric6.Preferences.ConfigurationPages.EditorHighlightersPage.EditorHighlightersPage.on_editorLexerList_itemClicked?4(itm, column) eric6.Preferences.ConfigurationPages.EditorHighlightersPage.EditorHighlightersPage.save?4() @@ -6435,7 +6456,7 @@ eric6.Preferences.ConfigurationPages.EditorHighlightingStylesPage.EditorHighlightingStylesPage.on_foregroundButton_clicked?4() eric6.Preferences.ConfigurationPages.EditorHighlightingStylesPage.EditorHighlightingStylesPage.on_importAllButton_clicked?4() eric6.Preferences.ConfigurationPages.EditorHighlightingStylesPage.EditorHighlightingStylesPage.on_importButton_clicked?4() -eric6.Preferences.ConfigurationPages.EditorHighlightingStylesPage.EditorHighlightingStylesPage.on_lexerLanguageComboBox_activated?4(language) +eric6.Preferences.ConfigurationPages.EditorHighlightingStylesPage.EditorHighlightingStylesPage.on_lexerLanguageComboBox_activated?4(index) eric6.Preferences.ConfigurationPages.EditorHighlightingStylesPage.EditorHighlightingStylesPage.on_styleElementList_currentItemChanged?4(current, previous) eric6.Preferences.ConfigurationPages.EditorHighlightingStylesPage.EditorHighlightingStylesPage.save?4() eric6.Preferences.ConfigurationPages.EditorHighlightingStylesPage.EditorHighlightingStylesPage.saveState?4() @@ -6452,15 +6473,15 @@ eric6.Preferences.ConfigurationPages.EditorKeywordsPage.EditorKeywordsPage.MaxKeywordSets?7 eric6.Preferences.ConfigurationPages.EditorKeywordsPage.EditorKeywordsPage.on_allDefaultButton_clicked?4() eric6.Preferences.ConfigurationPages.EditorKeywordsPage.EditorKeywordsPage.on_defaultButton_clicked?4() -eric6.Preferences.ConfigurationPages.EditorKeywordsPage.EditorKeywordsPage.on_languageCombo_activated?4(language) +eric6.Preferences.ConfigurationPages.EditorKeywordsPage.EditorKeywordsPage.on_languageCombo_activated?4(index) eric6.Preferences.ConfigurationPages.EditorKeywordsPage.EditorKeywordsPage.on_setSpinBox_valueChanged?4(kwSet) eric6.Preferences.ConfigurationPages.EditorKeywordsPage.EditorKeywordsPage.save?4() eric6.Preferences.ConfigurationPages.EditorKeywordsPage.EditorKeywordsPage?1() eric6.Preferences.ConfigurationPages.EditorKeywordsPage.create?4(dlg) eric6.Preferences.ConfigurationPages.EditorLanguageTabIndentOverrideDialog.EditorLanguageTabIndentOverrideDialog.PygmentsMarker?7 eric6.Preferences.ConfigurationPages.EditorLanguageTabIndentOverrideDialog.EditorLanguageTabIndentOverrideDialog.getData?4() -eric6.Preferences.ConfigurationPages.EditorLanguageTabIndentOverrideDialog.EditorLanguageTabIndentOverrideDialog.on_languageComboBox_currentIndexChanged?4(lang) -eric6.Preferences.ConfigurationPages.EditorLanguageTabIndentOverrideDialog.EditorLanguageTabIndentOverrideDialog.on_pygmentsLexerCombo_currentIndexChanged?4(lang) +eric6.Preferences.ConfigurationPages.EditorLanguageTabIndentOverrideDialog.EditorLanguageTabIndentOverrideDialog.on_languageComboBox_currentIndexChanged?4(index) +eric6.Preferences.ConfigurationPages.EditorLanguageTabIndentOverrideDialog.EditorLanguageTabIndentOverrideDialog.on_pygmentsLexerCombo_currentIndexChanged?4(index) eric6.Preferences.ConfigurationPages.EditorLanguageTabIndentOverrideDialog.EditorLanguageTabIndentOverrideDialog?1(*, editMode=False, languages=None, tabWidth=0, indentWidth=0, parent=None) eric6.Preferences.ConfigurationPages.EditorMouseClickHandlerPage.EditorMouseClickHandlerPage.save?4() eric6.Preferences.ConfigurationPages.EditorMouseClickHandlerPage.EditorMouseClickHandlerPage?1() @@ -6490,7 +6511,7 @@ eric6.Preferences.ConfigurationPages.EditorSyntaxPage.EditorSyntaxPage.save?4() eric6.Preferences.ConfigurationPages.EditorSyntaxPage.EditorSyntaxPage?1() eric6.Preferences.ConfigurationPages.EditorSyntaxPage.create?4(dlg) -eric6.Preferences.ConfigurationPages.EditorTypingPage.EditorTypingPage.on_languageCombo_activated?4(language) +eric6.Preferences.ConfigurationPages.EditorTypingPage.EditorTypingPage.on_languageCombo_activated?4(index) eric6.Preferences.ConfigurationPages.EditorTypingPage.EditorTypingPage.save?4() eric6.Preferences.ConfigurationPages.EditorTypingPage.EditorTypingPage?1() eric6.Preferences.ConfigurationPages.EditorTypingPage.create?4(dlg) @@ -6935,7 +6956,7 @@ eric6.Preferences.toDict?4(value) eric6.Preferences.toList?4(value) eric6.Project.AddDirectoryDialog.AddDirectoryDialog.getData?4() -eric6.Project.AddDirectoryDialog.AddDirectoryDialog.on_filterComboBox_highlighted?4(fileType) +eric6.Project.AddDirectoryDialog.AddDirectoryDialog.on_filterComboBox_highlighted?4(index) eric6.Project.AddDirectoryDialog.AddDirectoryDialog.on_sourceDirPicker_textChanged?4(directory) eric6.Project.AddDirectoryDialog.AddDirectoryDialog?1(pro, fileTypeFilter='source', parent=None, name=None, startdir=None) eric6.Project.AddFileDialog.AddFileDialog.getData?4() @@ -6996,7 +7017,7 @@ eric6.Project.IdlCompilerOptionsDialog.IdlCompilerOptionsDialog?1(includeDirectories, definedNames, undefinedNames, project=None, parent=None) eric6.Project.LexerAssociationDialog.LexerAssociationDialog.on_addLexerButton_clicked?4() eric6.Project.LexerAssociationDialog.LexerAssociationDialog.on_deleteLexerButton_clicked?4() -eric6.Project.LexerAssociationDialog.LexerAssociationDialog.on_editorLexerCombo_currentIndexChanged?4(text) +eric6.Project.LexerAssociationDialog.LexerAssociationDialog.on_editorLexerCombo_currentIndexChanged?4(index) eric6.Project.LexerAssociationDialog.LexerAssociationDialog.on_editorLexerList_itemActivated?4(itm, column) eric6.Project.LexerAssociationDialog.LexerAssociationDialog.on_editorLexerList_itemClicked?4(itm, column) eric6.Project.LexerAssociationDialog.LexerAssociationDialog.transferData?4() @@ -7174,7 +7195,7 @@ eric6.Project.Project.Project.saveProject?4() eric6.Project.Project.Project.saveProjectAs?4() eric6.Project.Project.Project.setData?4(category, key, data) -eric6.Project.Project.Project.setDbgInfo?4(venvName, argv, wd, env, excReporting, excList, excIgnoreList, autoClearShell, tracePython=None, autoContinue=None, enableMultiprocess=None, multiprocessNoDebug=None) +eric6.Project.Project.Project.setDbgInfo?4(venvName, argv, wd, env, excReporting, excList, excIgnoreList, autoClearShell, tracePython=None, autoContinue=None, enableMultiprocess=None, multiprocessNoDebug=None, configOverride=None) eric6.Project.Project.Project.setDirty?4(dirty) eric6.Project.Project.Project.setStatusMonitorAutoUpdate?4(auto) eric6.Project.Project.Project.setStatusMonitorInterval?4(interval) @@ -7371,7 +7392,7 @@ eric6.Project.PropertiesDialog.PropertiesDialog.getPPath?4() eric6.Project.PropertiesDialog.PropertiesDialog.getProjectType?4() eric6.Project.PropertiesDialog.PropertiesDialog.on_dirPicker_textChanged?4(txt) -eric6.Project.PropertiesDialog.PropertiesDialog.on_languageComboBox_currentIndexChanged?4(language) +eric6.Project.PropertiesDialog.PropertiesDialog.on_languageComboBox_currentIndexChanged?4(index) eric6.Project.PropertiesDialog.PropertiesDialog.on_mainscriptPicker_aboutToShowPathPickerDialog?4() eric6.Project.PropertiesDialog.PropertiesDialog.on_mainscriptPicker_pathSelected?4(script) eric6.Project.PropertiesDialog.PropertiesDialog.on_makeButton_clicked?4() @@ -8045,6 +8066,7 @@ eric6.QScintilla.Lexers.LexerPygments.LexerPygments.isStringStyle?4(style) eric6.QScintilla.Lexers.LexerPygments.LexerPygments.language?4() eric6.QScintilla.Lexers.LexerPygments.LexerPygments.name?4() +eric6.QScintilla.Lexers.LexerPygments.LexerPygments.readSettings?4(qs, prefix="/Scintilla") eric6.QScintilla.Lexers.LexerPygments.LexerPygments.styleText?4(start, end) eric6.QScintilla.Lexers.LexerPygments.LexerPygments?1(parent=None, name="") eric6.QScintilla.Lexers.LexerPygments.PYGMENTS_ATTRIBUTE?7 @@ -8334,6 +8356,7 @@ eric6.QScintilla.MiniEditor.MiniEditor.textForFind?4() eric6.QScintilla.MiniEditor.MiniEditor?1(filename="", filetype="", parent=None, name=None) eric6.QScintilla.MiniEditor.MiniScintilla.EncloseChars?7 +eric6.QScintilla.MiniEditor.MiniScintilla.editorCommand?4(cmd) eric6.QScintilla.MiniEditor.MiniScintilla.encloseSelectedText?4() eric6.QScintilla.MiniEditor.MiniScintilla.focusInEvent?4(event) eric6.QScintilla.MiniEditor.MiniScintilla.focusOutEvent?4(event) @@ -8342,7 +8365,7 @@ eric6.QScintilla.MiniEditor.MiniScintilla.removeTrailingWhitespace?4() eric6.QScintilla.MiniEditor.MiniScintilla?1(parent=None) eric6.QScintilla.Printer.Printer.formatPage?4(painter, drawing, area, pagenr) -eric6.QScintilla.Printer.Printer?1(mode=QPrinter.ScreenResolution) +eric6.QScintilla.Printer.Printer?1(mode=QPrinter.PrinterMode.ScreenResolution) eric6.QScintilla.QsciScintillaCompat.QSCINTILLA_VERSION?4() eric6.QScintilla.QsciScintillaCompat.QsciScintillaCompat.ArrowFoldStyle?7 eric6.QScintilla.QsciScintillaCompat.QsciScintillaCompat.ArrowTreeFoldStyle?7 @@ -8692,7 +8715,7 @@ eric6.SqlBrowser.SqlBrowserWidget.SqlBrowserWidget?1(parent=None) eric6.SqlBrowser.SqlConnectionDialog.SqlConnectionDialog.getData?4() eric6.SqlBrowser.SqlConnectionDialog.SqlConnectionDialog.on_databasePicker_textChanged?4(txt) -eric6.SqlBrowser.SqlConnectionDialog.SqlConnectionDialog.on_driverCombo_activated?4(txt) +eric6.SqlBrowser.SqlConnectionDialog.SqlConnectionDialog.on_driverCombo_activated?4(index) eric6.SqlBrowser.SqlConnectionDialog.SqlConnectionDialog?1(parent=None) eric6.SqlBrowser.SqlConnectionWidget.SqlConnectionWidget.cleared?7 eric6.SqlBrowser.SqlConnectionWidget.SqlConnectionWidget.currentDatabase?4() @@ -8842,7 +8865,6 @@ eric6.Toolbox.Startup.version?4(appinfo) eric6.Tools.TRPreviewer.TRPreviewer.closeEvent?4(event) eric6.Tools.TRPreviewer.TRPreviewer.reloadTranslations?4() -eric6.Tools.TRPreviewer.TRPreviewer.setTranslation?4(name) eric6.Tools.TRPreviewer.TRPreviewer.show?4() eric6.Tools.TRPreviewer.TRPreviewer?1(filenames=None, parent=None, name=None) eric6.Tools.TRPreviewer.Translation?1() @@ -9033,7 +9055,7 @@ eric6.UI.BrowserModel.BrowserModel.fileChanged?4(fileName) eric6.UI.BrowserModel.BrowserModel.flags?4(index) eric6.UI.BrowserModel.BrowserModel.hasChildren?4(parent=None) -eric6.UI.BrowserModel.BrowserModel.headerData?4(section, orientation, role=Qt.DisplayRole) +eric6.UI.BrowserModel.BrowserModel.headerData?4(section, orientation, role=Qt.ItemDataRole.DisplayRole) eric6.UI.BrowserModel.BrowserModel.index?4(row, column, parent=None) eric6.UI.BrowserModel.BrowserModel.interpreterChanged?4(interpreter) eric6.UI.BrowserModel.BrowserModel.item?4(index) @@ -9205,14 +9227,14 @@ eric6.UI.NotificationWidget.NotificationWidget.showNotification?4(icon, heading, text, kind=NotificationTypes.Information, timeout=0) eric6.UI.NotificationWidget.NotificationWidget?1(parent=None, setPosition=False) eric6.UI.NumbersWidget.BinaryModel.columnCount?4(parent) -eric6.UI.NumbersWidget.BinaryModel.data?4(index, role=Qt.DisplayRole) +eric6.UI.NumbersWidget.BinaryModel.data?4(index, role=Qt.ItemDataRole.DisplayRole) eric6.UI.NumbersWidget.BinaryModel.flags?4(index) eric6.UI.NumbersWidget.BinaryModel.getValue?4() -eric6.UI.NumbersWidget.BinaryModel.headerData?4(section, orientation, role=Qt.DisplayRole) +eric6.UI.NumbersWidget.BinaryModel.headerData?4(section, orientation, role=Qt.ItemDataRole.DisplayRole) eric6.UI.NumbersWidget.BinaryModel.rowCount?4(parent) eric6.UI.NumbersWidget.BinaryModel.setBits?4(bits) eric6.UI.NumbersWidget.BinaryModel.setBitsAndValue?4(bits, value) -eric6.UI.NumbersWidget.BinaryModel.setData?4(index, value, role=Qt.EditRole) +eric6.UI.NumbersWidget.BinaryModel.setData?4(index, value, role=Qt.ItemDataRole.EditRole) eric6.UI.NumbersWidget.BinaryModel.setValue?4(value) eric6.UI.NumbersWidget.BinaryModel?1(parent=None) eric6.UI.NumbersWidget.NumbersWidget.insertNumber?7 @@ -9317,12 +9339,12 @@ eric6.UI.SplashScreen.SplashScreen.showMessage?4(msg) eric6.UI.SplashScreen.SplashScreen?1() eric6.UI.SymbolsWidget.SymbolsModel.columnCount?4(parent) -eric6.UI.SymbolsWidget.SymbolsModel.data?4(index, role=Qt.DisplayRole) +eric6.UI.SymbolsWidget.SymbolsModel.data?4(index, role=Qt.ItemDataRole.DisplayRole) eric6.UI.SymbolsWidget.SymbolsModel.getLocale?4() eric6.UI.SymbolsWidget.SymbolsModel.getTableBoundaries?4(index) eric6.UI.SymbolsWidget.SymbolsModel.getTableIndex?4() eric6.UI.SymbolsWidget.SymbolsModel.getTableNames?4() -eric6.UI.SymbolsWidget.SymbolsModel.headerData?4(section, orientation, role=Qt.DisplayRole) +eric6.UI.SymbolsWidget.SymbolsModel.headerData?4(section, orientation, role=Qt.ItemDataRole.DisplayRole) eric6.UI.SymbolsWidget.SymbolsModel.rowCount?4(parent) eric6.UI.SymbolsWidget.SymbolsModel.selectTable?4(index) eric6.UI.SymbolsWidget.SymbolsModel?1(parent=None) @@ -10419,14 +10441,14 @@ eric6.WebBrowser.Bookmarks.BookmarksModel.BookmarksModel.VisitCountRole?7 eric6.WebBrowser.Bookmarks.BookmarksModel.BookmarksModel.bookmarksManager?4() eric6.WebBrowser.Bookmarks.BookmarksModel.BookmarksModel.columnCount?4(parent=None) -eric6.WebBrowser.Bookmarks.BookmarksModel.BookmarksModel.data?4(index, role=Qt.DisplayRole) +eric6.WebBrowser.Bookmarks.BookmarksModel.BookmarksModel.data?4(index, role=Qt.ItemDataRole.DisplayRole) eric6.WebBrowser.Bookmarks.BookmarksModel.BookmarksModel.dropMimeData?4(data, action, row, column, parent) eric6.WebBrowser.Bookmarks.BookmarksModel.BookmarksModel.entryAdded?4(node) eric6.WebBrowser.Bookmarks.BookmarksModel.BookmarksModel.entryChanged?4(node) eric6.WebBrowser.Bookmarks.BookmarksModel.BookmarksModel.entryRemoved?4(parent, row, node) eric6.WebBrowser.Bookmarks.BookmarksModel.BookmarksModel.flags?4(index) eric6.WebBrowser.Bookmarks.BookmarksModel.BookmarksModel.hasChildren?4(parent=None) -eric6.WebBrowser.Bookmarks.BookmarksModel.BookmarksModel.headerData?4(section, orientation, role=Qt.DisplayRole) +eric6.WebBrowser.Bookmarks.BookmarksModel.BookmarksModel.headerData?4(section, orientation, role=Qt.ItemDataRole.DisplayRole) eric6.WebBrowser.Bookmarks.BookmarksModel.BookmarksModel.index?4(row, column, parent=None) eric6.WebBrowser.Bookmarks.BookmarksModel.BookmarksModel.mimeData?4(indexes) eric6.WebBrowser.Bookmarks.BookmarksModel.BookmarksModel.mimeTypes?4() @@ -10435,7 +10457,7 @@ eric6.WebBrowser.Bookmarks.BookmarksModel.BookmarksModel.parent?4(index=None) eric6.WebBrowser.Bookmarks.BookmarksModel.BookmarksModel.removeRows?4(row, count, parent=None) eric6.WebBrowser.Bookmarks.BookmarksModel.BookmarksModel.rowCount?4(parent=None) -eric6.WebBrowser.Bookmarks.BookmarksModel.BookmarksModel.setData?4(index, value, role=Qt.EditRole) +eric6.WebBrowser.Bookmarks.BookmarksModel.BookmarksModel.setData?4(index, value, role=Qt.ItemDataRole.EditRole) eric6.WebBrowser.Bookmarks.BookmarksModel.BookmarksModel.supportedDropActions?4() eric6.WebBrowser.Bookmarks.BookmarksModel.BookmarksModel?1(manager, parent=None) eric6.WebBrowser.Bookmarks.BookmarksToolBar.BookmarksToolBar._createMenu?5() @@ -10699,7 +10721,7 @@ eric6.WebBrowser.History.HistoryCompleter.HistoryCompleter.splitPath?4(path) eric6.WebBrowser.History.HistoryCompleter.HistoryCompleter?1(model, parent=None) eric6.WebBrowser.History.HistoryCompleter.HistoryCompletionModel.HistoryCompletionRole?7 -eric6.WebBrowser.History.HistoryCompleter.HistoryCompletionModel.data?4(index, role=Qt.DisplayRole) +eric6.WebBrowser.History.HistoryCompleter.HistoryCompletionModel.data?4(index, role=Qt.ItemDataRole.DisplayRole) eric6.WebBrowser.History.HistoryCompleter.HistoryCompletionModel.filterAcceptsRow?4(sourceRow, sourceParent) eric6.WebBrowser.History.HistoryCompleter.HistoryCompletionModel.isValid?4() eric6.WebBrowser.History.HistoryCompleter.HistoryCompletionModel.lessThan?4(left, right) @@ -10720,8 +10742,8 @@ eric6.WebBrowser.History.HistoryFilterModel.HistoryFilterModel.FrequencyRole?7 eric6.WebBrowser.History.HistoryFilterModel.HistoryFilterModel.MaxRole?7 eric6.WebBrowser.History.HistoryFilterModel.HistoryFilterModel.columnCount?4(parent=None) -eric6.WebBrowser.History.HistoryFilterModel.HistoryFilterModel.data?4(index, role=Qt.DisplayRole) -eric6.WebBrowser.History.HistoryFilterModel.HistoryFilterModel.headerData?4(section, orientation, role=Qt.DisplayRole) +eric6.WebBrowser.History.HistoryFilterModel.HistoryFilterModel.data?4(index, role=Qt.ItemDataRole.DisplayRole) +eric6.WebBrowser.History.HistoryFilterModel.HistoryFilterModel.headerData?4(section, orientation, role=Qt.ItemDataRole.DisplayRole) eric6.WebBrowser.History.HistoryFilterModel.HistoryFilterModel.historyContains?4(url) eric6.WebBrowser.History.HistoryFilterModel.HistoryFilterModel.historyLocation?4(url) eric6.WebBrowser.History.HistoryFilterModel.HistoryFilterModel.index?4(row, column, parent=None) @@ -10800,19 +10822,19 @@ eric6.WebBrowser.History.HistoryModel.HistoryModel.UrlStringRole?7 eric6.WebBrowser.History.HistoryModel.HistoryModel.VisitCountRole?7 eric6.WebBrowser.History.HistoryModel.HistoryModel.columnCount?4(parent=None) -eric6.WebBrowser.History.HistoryModel.HistoryModel.data?4(index, role=Qt.DisplayRole) +eric6.WebBrowser.History.HistoryModel.HistoryModel.data?4(index, role=Qt.ItemDataRole.DisplayRole) eric6.WebBrowser.History.HistoryModel.HistoryModel.entryAdded?4() eric6.WebBrowser.History.HistoryModel.HistoryModel.entryUpdated?4(row) -eric6.WebBrowser.History.HistoryModel.HistoryModel.headerData?4(section, orientation, role=Qt.DisplayRole) +eric6.WebBrowser.History.HistoryModel.HistoryModel.headerData?4(section, orientation, role=Qt.ItemDataRole.DisplayRole) eric6.WebBrowser.History.HistoryModel.HistoryModel.historyReset?4() eric6.WebBrowser.History.HistoryModel.HistoryModel.removeRows?4(row, count, parent=None) eric6.WebBrowser.History.HistoryModel.HistoryModel.rowCount?4(parent=None) eric6.WebBrowser.History.HistoryModel.HistoryModel?1(historyManager, parent=None) eric6.WebBrowser.History.HistoryTreeModel.HistoryTreeModel.columnCount?4(parent=None) -eric6.WebBrowser.History.HistoryTreeModel.HistoryTreeModel.data?4(index, role=Qt.DisplayRole) +eric6.WebBrowser.History.HistoryTreeModel.HistoryTreeModel.data?4(index, role=Qt.ItemDataRole.DisplayRole) eric6.WebBrowser.History.HistoryTreeModel.HistoryTreeModel.flags?4(index) eric6.WebBrowser.History.HistoryTreeModel.HistoryTreeModel.hasChildren?4(parent=None) -eric6.WebBrowser.History.HistoryTreeModel.HistoryTreeModel.headerData?4(section, orientation, role=Qt.DisplayRole) +eric6.WebBrowser.History.HistoryTreeModel.HistoryTreeModel.headerData?4(section, orientation, role=Qt.ItemDataRole.DisplayRole) eric6.WebBrowser.History.HistoryTreeModel.HistoryTreeModel.index?4(row, column, parent=None) eric6.WebBrowser.History.HistoryTreeModel.HistoryTreeModel.mapFromSource?4(sourceIndex) eric6.WebBrowser.History.HistoryTreeModel.HistoryTreeModel.mapToSource?4(proxyIndex) @@ -10955,10 +10977,10 @@ eric6.WebBrowser.OpenSearch.OpenSearchEngineModel.OpenSearchEngineModel.columnCount?4(parent=None) eric6.WebBrowser.OpenSearch.OpenSearchEngineModel.OpenSearchEngineModel.data?4(index, role) eric6.WebBrowser.OpenSearch.OpenSearchEngineModel.OpenSearchEngineModel.flags?4(index) -eric6.WebBrowser.OpenSearch.OpenSearchEngineModel.OpenSearchEngineModel.headerData?4(section, orientation, role=Qt.DisplayRole) +eric6.WebBrowser.OpenSearch.OpenSearchEngineModel.OpenSearchEngineModel.headerData?4(section, orientation, role=Qt.ItemDataRole.DisplayRole) eric6.WebBrowser.OpenSearch.OpenSearchEngineModel.OpenSearchEngineModel.removeRows?4(row, count, parent=None) eric6.WebBrowser.OpenSearch.OpenSearchEngineModel.OpenSearchEngineModel.rowCount?4(parent=None) -eric6.WebBrowser.OpenSearch.OpenSearchEngineModel.OpenSearchEngineModel.setData?4(index, value, role=Qt.EditRole) +eric6.WebBrowser.OpenSearch.OpenSearchEngineModel.OpenSearchEngineModel.setData?4(index, value, role=Qt.ItemDataRole.EditRole) eric6.WebBrowser.OpenSearch.OpenSearchEngineModel.OpenSearchEngineModel?1(manager, parent=None) eric6.WebBrowser.OpenSearch.OpenSearchManager.OpenSearchManager.addEngine?4(engine) eric6.WebBrowser.OpenSearch.OpenSearchManager.OpenSearchManager.addEngineFromForm?4(res, view) @@ -11014,7 +11036,7 @@ eric6.WebBrowser.Passwords.PasswordManager.PasswordManager?1(parent=None) eric6.WebBrowser.Passwords.PasswordModel.PasswordModel.columnCount?4(parent=None) eric6.WebBrowser.Passwords.PasswordModel.PasswordModel.data?4(index, role) -eric6.WebBrowser.Passwords.PasswordModel.PasswordModel.headerData?4(section, orientation, role=Qt.DisplayRole) +eric6.WebBrowser.Passwords.PasswordModel.PasswordModel.headerData?4(section, orientation, role=Qt.ItemDataRole.DisplayRole) eric6.WebBrowser.Passwords.PasswordModel.PasswordModel.removeRows?4(row, count, parent=None) eric6.WebBrowser.Passwords.PasswordModel.PasswordModel.rowCount?4(parent=None) eric6.WebBrowser.Passwords.PasswordModel.PasswordModel.setShowPasswords?4(on) @@ -11548,7 +11570,7 @@ eric6.WebBrowser.UserAgent.UserAgentMenu.UserAgentMenu?1(title, url=None, parent=None) eric6.WebBrowser.UserAgent.UserAgentModel.UserAgentModel.columnCount?4(parent=None) eric6.WebBrowser.UserAgent.UserAgentModel.UserAgentModel.data?4(index, role) -eric6.WebBrowser.UserAgent.UserAgentModel.UserAgentModel.headerData?4(section, orientation, role=Qt.DisplayRole) +eric6.WebBrowser.UserAgent.UserAgentModel.UserAgentModel.headerData?4(section, orientation, role=Qt.ItemDataRole.DisplayRole) eric6.WebBrowser.UserAgent.UserAgentModel.UserAgentModel.removeRows?4(row, count, parent=None) eric6.WebBrowser.UserAgent.UserAgentModel.UserAgentModel.rowCount?4(parent=None) eric6.WebBrowser.UserAgent.UserAgentModel.UserAgentModel?1(manager, parent=None) @@ -11603,7 +11625,7 @@ eric6.WebBrowser.WebBrowserPage.WebBrowserPage.acceptNavigationRequest?4(url, type_, isMainFrame) eric6.WebBrowser.WebBrowserPage.WebBrowserPage.certificateError?4(error) eric6.WebBrowser.WebBrowserPage.WebBrowserPage.clearSslConfiguration?4() -eric6.WebBrowser.WebBrowserPage.WebBrowserPage.execJavaScript?4(script, worldId=QWebEngineScript.MainWorld, timeout=500) +eric6.WebBrowser.WebBrowserPage.WebBrowserPage.execJavaScript?4(script, worldId=QWebEngineScript.ScriptWorldId.MainWorld, timeout=500) eric6.WebBrowser.WebBrowserPage.WebBrowserPage.execPrintPage?4(printer, timeout=1000) eric6.WebBrowser.WebBrowserPage.WebBrowserPage.getSafeBrowsingStatus?4() eric6.WebBrowser.WebBrowserPage.WebBrowserPage.getSslCertificate?4() @@ -11917,7 +11939,7 @@ eric6.WebBrowser.ZoomManager.ZoomValuesDialog.ZoomValuesDialog?1(parent=None) eric6.WebBrowser.ZoomManager.ZoomValuesModel.ZoomValuesModel.columnCount?4(parent=None) eric6.WebBrowser.ZoomManager.ZoomValuesModel.ZoomValuesModel.data?4(index, role) -eric6.WebBrowser.ZoomManager.ZoomValuesModel.ZoomValuesModel.headerData?4(section, orientation, role=Qt.DisplayRole) +eric6.WebBrowser.ZoomManager.ZoomValuesModel.ZoomValuesModel.headerData?4(section, orientation, role=Qt.ItemDataRole.DisplayRole) eric6.WebBrowser.ZoomManager.ZoomValuesModel.ZoomValuesModel.removeRows?4(row, count, parent=None) eric6.WebBrowser.ZoomManager.ZoomValuesModel.ZoomValuesModel.rowCount?4(parent=None) eric6.WebBrowser.ZoomManager.ZoomValuesModel.ZoomValuesModel?1(manager, parent=None)
--- a/eric6/APIs/Python3/eric6.bas Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/APIs/Python3/eric6.bas Sun Mar 28 15:00:11 2021 +0200 @@ -275,7 +275,7 @@ EditorTypingPage ConfigurationPageBase Ui_EditorTypingPage EmailDialog QDialog Ui_EmailDialog EmailPage ConfigurationPageBase Ui_EmailPage -Enum ClbrBase +Enum ClbrBaseClasses.Enum VisibilityMixin EricSchemeHandler QWebEngineUrlSchemeHandler EricSchemeReply QIODevice EricapiConfigDialog QDialog Ui_EricapiConfigDialog @@ -610,7 +610,7 @@ MimeTypesPage ConfigurationPageBase Ui_MimeTypesPage MiniEditor E5MainWindow MiniScintilla QsciScintillaCompat -Module ClbrBase +Module ClbrBaseClasses.Module VisibilityMixin ModuleItem UMLItem ModuleModel UMLModel MouseClickDialog QDialog Ui_MouseClickDialog @@ -623,6 +623,7 @@ MultiValueDictResolver DictResolver MyMemoryEngine TranslationEngine NameFinder ast.NodeVisitor +NameResolver ast.NodeVisitor NavigationBar QWidget NavigationContainer QWidget NdArrayResolver BaseResolver @@ -660,6 +661,7 @@ PasswordWriter QXmlStreamWriter PasswordsDialog QDialog Ui_PasswordsDialog PathGraphingAstVisitor ASTVisitor +PathlibVisitor ast.NodeVisitor PersonalDataDialog QDialog Ui_PersonalDataDialog PersonalInformationManager QObject Pip QObject
--- a/eric6/CondaInterface/Conda.py Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/CondaInterface/Conda.py Sun Mar 28 15:00:11 2021 +0200 @@ -510,7 +510,7 @@ "Do you really want to uninstall these packages and" " their dependencies?"), packages) - if dlg.exec() == QDialog.Accepted: + if dlg.exec() == QDialog.DialogCode.Accepted: args = [ "remove", "--json",
--- a/eric6/CondaInterface/CondaExecDialog.py Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/CondaInterface/CondaExecDialog.py Sun Mar 28 15:00:11 2021 +0200 @@ -36,8 +36,10 @@ super(CondaExecDialog, self).__init__(parent) self.setupUi(self) - self.buttonBox.button(QDialogButtonBox.Close).setEnabled(False) - self.buttonBox.button(QDialogButtonBox.Cancel).setDefault(True) + self.buttonBox.button( + QDialogButtonBox.StandardButton.Close).setEnabled(False) + self.buttonBox.button( + QDialogButtonBox.StandardButton.Cancel).setDefault(True) self.__condaCommand = command @@ -54,9 +56,13 @@ @param button button that was clicked @type QAbstractButton """ - if button == self.buttonBox.button(QDialogButtonBox.Close): + if button == self.buttonBox.button( + QDialogButtonBox.StandardButton.Close + ): self.accept() - elif button == self.buttonBox.button(QDialogButtonBox.Cancel): + elif button == self.buttonBox.button( + QDialogButtonBox.StandardButton.Cancel + ): self.__finish(1, 0) def start(self, arguments): @@ -117,14 +123,17 @@ @type bool """ if (self.__process is not None and - self.__process.state() != QProcess.NotRunning): + self.__process.state() != QProcess.ProcessState.NotRunning): self.__process.terminate() QTimer.singleShot(2000, self.__process.kill) self.__process.waitForFinished(3000) - self.buttonBox.button(QDialogButtonBox.Close).setEnabled(True) - self.buttonBox.button(QDialogButtonBox.Cancel).setEnabled(False) - self.buttonBox.button(QDialogButtonBox.Close).setDefault(True) + self.buttonBox.button( + QDialogButtonBox.StandardButton.Close).setEnabled(True) + self.buttonBox.button( + QDialogButtonBox.StandardButton.Cancel).setEnabled(False) + self.buttonBox.button( + QDialogButtonBox.StandardButton.Close).setDefault(True) self.progressLabel.hide() self.progressBar.hide() @@ -258,7 +267,7 @@ It reads the error output of the process and inserts it into the error pane. """ - self.__process.setReadChannel(QProcess.StandardError) + self.__process.setReadChannel(QProcess.ProcessChannel.StandardError) while self.__process.canReadLine(): stderr = str(self.__process.readLine(),
--- a/eric6/CondaInterface/CondaExportDialog.py Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/CondaInterface/CondaExportDialog.py Sun Mar 28 15:00:11 2021 +0200 @@ -43,10 +43,10 @@ """ super(CondaExportDialog, self).__init__(parent) self.setupUi(self) - self.setWindowFlags(Qt.Window) + self.setWindowFlags(Qt.WindowType.Window) self.__refreshButton = self.buttonBox.addButton( - self.tr("&Refresh"), QDialogButtonBox.ActionRole) + self.tr("&Refresh"), QDialogButtonBox.ButtonRole.ActionRole) self.requirementsFilePicker.setMode(E5PathPickerModes.SaveFileMode) self.requirementsFilePicker.setFilters( @@ -96,7 +96,9 @@ @param button button that was clicked @type QAbstractButton """ - if button == self.buttonBox.button(QDialogButtonBox.Close): + if button == self.buttonBox.button( + QDialogButtonBox.StandardButton.Close + ): self.close() elif button == self.__refreshButton: self.__refresh()
--- a/eric6/CondaInterface/CondaInfoDialog.py Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/CondaInterface/CondaInfoDialog.py Sun Mar 28 15:00:11 2021 +0200 @@ -30,7 +30,7 @@ """ super(CondaInfoDialog, self).__init__(parent) self.setupUi(self) - self.setWindowFlags(Qt.Window) + self.setWindowFlags(Qt.WindowType.Window) self.iconLabel.setPixmap( UI.PixmapCache.getPixmap("miniconda48"))
--- a/eric6/CondaInterface/CondaNewEnvironmentDataDialog.py Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/CondaInterface/CondaNewEnvironmentDataDialog.py Sun Mar 28 15:00:11 2021 +0200 @@ -58,7 +58,8 @@ if self.__requirementsMode: enable &= bool(self.requirementsFilePicker.text()) - self.buttonBox.button(QDialogButtonBox.Ok).setEnabled(enable) + self.buttonBox.button( + QDialogButtonBox.StandardButton.Ok).setEnabled(enable) @pyqtSlot(str) def on_nameEdit_textChanged(self, txt):
--- a/eric6/CondaInterface/CondaPackageDetailsWidget.py Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/CondaInterface/CondaPackageDetailsWidget.py Sun Mar 28 15:00:11 2021 +0200 @@ -55,7 +55,8 @@ self.dependenciesEdit.setPlainText("\n".join(details["depends"])) if "timestamp" in details: - dt = QDateTime.fromMSecsSinceEpoch(details["timestamp"], Qt.UTC) + dt = QDateTime.fromMSecsSinceEpoch(details["timestamp"], + Qt.TimeSpec.UTC) self.timestampLabel.setText(dt.toString("yyyy-MM-dd hh:mm:ss t")) self.resize(600, 450) @@ -84,7 +85,8 @@ size = self.__cw.size() self.__layout.addWidget(self.__cw) self.__buttonBox = QDialogButtonBox(self) - self.__buttonBox.setStandardButtons(QDialogButtonBox.Close) + self.__buttonBox.setStandardButtons( + QDialogButtonBox.StandardButton.Close) self.__layout.addWidget(self.__buttonBox) self.resize(size)
--- a/eric6/CondaInterface/CondaPackagesWidget.py Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/CondaInterface/CondaPackagesWidget.py Sun Mar 28 15:00:11 2021 +0200 @@ -31,11 +31,11 @@ Class implementing the conda packages management widget. """ # Role definition of packages list - PackageVersionRole = Qt.UserRole + 1 - PackageBuildRole = Qt.UserRole + 2 + PackageVersionRole = Qt.ItemDataRole.UserRole + 1 + PackageBuildRole = Qt.ItemDataRole.UserRole + 2 # Role definitions of search results list - PackageDetailedDataRole = Qt.UserRole + 1 + PackageDetailedDataRole = Qt.ItemDataRole.UserRole + 1 def __init__(self, conda, parent=None): """ @@ -70,9 +70,11 @@ "conda_supermenu_button") self.condaMenuButton.setIcon(UI.PixmapCache.getIcon("superMenu")) self.condaMenuButton.setToolTip(self.tr("Conda Menu")) - self.condaMenuButton.setPopupMode(QToolButton.InstantPopup) - self.condaMenuButton.setToolButtonStyle(Qt.ToolButtonIconOnly) - self.condaMenuButton.setFocusPolicy(Qt.NoFocus) + self.condaMenuButton.setPopupMode( + QToolButton.ToolButtonPopupMode.InstantPopup) + self.condaMenuButton.setToolButtonStyle( + Qt.ToolButtonStyle.ToolButtonIconOnly) + self.condaMenuButton.setFocusPolicy(Qt.FocusPolicy.NoFocus) self.condaMenuButton.setAutoRaise(True) self.condaMenuButton.setShowMenuInside(True) @@ -241,7 +243,9 @@ prefix=prefix) for package, version, build in updateablePackages: items = self.packagesList.findItems( - package, Qt.MatchExactly | Qt.MatchCaseSensitive) + package, + Qt.MatchFlag.MatchExactly | + Qt.MatchFlag.MatchCaseSensitive) if items: itm = items[0] itm.setText(2, version) @@ -258,7 +262,7 @@ itm.data(2, self.PackageBuildRole), )) - self.packagesList.sortItems(0, Qt.AscendingOrder) + self.packagesList.sortItems(0, Qt.SortOrder.AscendingOrder) for col in range(self.packagesList.columnCount()): self.packagesList.resizeColumnToContents(col) self.packagesList.setUpdatesEnabled(True) @@ -287,7 +291,8 @@ self.__populateEnvironments() index = self.environmentsComboBox.findText( - currentEnvironment, Qt.MatchExactly | Qt.MatchCaseSensitive) + currentEnvironment, + Qt.MatchFlag.MatchExactly | Qt.MatchFlag.MatchCaseSensitive) if index != -1: self.environmentsComboBox.setCurrentIndex(index) @@ -386,7 +391,8 @@ citm.setData(0, self.PackageDetailedDataRole, detail) - self.searchResultList.sortItems(0, Qt.AscendingOrder) + self.searchResultList.sortItems( + 0, Qt.SortOrder.AscendingOrder) self.searchResultList.resizeColumnToContents(0) self.searchResultList.setUpdatesEnabled(True) if not ok: @@ -511,7 +517,7 @@ self.searchWidget.setVisible(checked) if checked: - self.searchEdit.setFocus(Qt.OtherFocusReason) + self.searchEdit.setFocus(Qt.FocusReason.OtherFocusReason) self.searchEdit.selectAll() self.__updateSearchActionButtons() @@ -556,7 +562,7 @@ self, self.tr("Install Packages"), self.tr("Package Specifications (separated by whitespace):"), - QLineEdit.Normal, + QLineEdit.EchoMode.Normal, minimumWidth=600) if ok and packageSpecs.strip(): packages = [p.strip() for p in packageSpecs.split()] @@ -616,7 +622,7 @@ if prefix: dlg = CondaNewEnvironmentDataDialog(self.tr("Clone Environment"), False, self) - if dlg.exec() == QDialog.Accepted: + if dlg.exec() == QDialog.DialogCode.Accepted: virtEnvName, envName, _ = dlg.getData() args = [ "--name", @@ -640,7 +646,7 @@ dlg = CondaNewEnvironmentDataDialog(self.tr("Create Environment"), True, self) - if dlg.exec() == QDialog.Accepted: + if dlg.exec() == QDialog.DialogCode.Accepted: virtEnvName, envName, requirements = dlg.getData() args = [ "--name",
--- a/eric6/Cooperation/ChatWidget.py Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Cooperation/ChatWidget.py Sun Mar 28 15:00:11 2021 +0200 @@ -83,7 +83,7 @@ self.__client.editorCommand.connect(self.__editorCommandMessage) self.serverButton.setText(self.tr("Start Server")) - self.serverLed.setColor(QColor(Qt.red)) + self.serverLed.setColor(QColor(Qt.GlobalColor.red)) if port == -1: port = Preferences.getCooperation("ServerPort") @@ -167,10 +167,10 @@ return color = self.chatEdit.textColor() - self.chatEdit.setTextColor(Qt.gray) + self.chatEdit.setTextColor(Qt.GlobalColor.gray) self.chatEdit.append( - QDateTime.currentDateTime().toString(Qt.SystemLocaleLongDate) + - ":") + QDateTime.currentDateTime().toString( + Qt.DateFormat.SystemLocaleLongDate) + ":") self.chatEdit.append(self.tr("* {0} has joined.\n").format(nick)) self.chatEdit.setTextColor(color) @@ -197,16 +197,16 @@ if nick == "": return - items = self.usersList.findItems(nick, Qt.MatchExactly) + items = self.usersList.findItems(nick, Qt.MatchFlag.MatchExactly) for item in items: self.usersList.takeItem(self.usersList.row(item)) del item color = self.chatEdit.textColor() - self.chatEdit.setTextColor(Qt.gray) + self.chatEdit.setTextColor(Qt.GlobalColor.gray) self.chatEdit.append( - QDateTime.currentDateTime().toString(Qt.SystemLocaleLongDate) + - ":") + QDateTime.currentDateTime().toString( + Qt.DateFormat.SystemLocaleLongDate) + ":") self.chatEdit.append(self.tr("* {0} has left.\n").format(nick)) self.chatEdit.setTextColor(color) @@ -230,8 +230,8 @@ return self.chatEdit.append( - QDateTime.currentDateTime().toString(Qt.SystemLocaleLongDate) + - " <" + from_ + ">:") + QDateTime.currentDateTime().toString( + Qt.DateFormat.SystemLocaleLongDate) + " <" + from_ + ">:") self.chatEdit.append(message + "\n") bar = self.chatEdit.verticalScrollBar() bar.setValue(bar.maximum()) @@ -308,7 +308,7 @@ Preferences.getCooperation("ServerPort")): self.serverPortSpin.setValue( Preferences.getCooperation("ServerPort")) - self.serverLed.setColor(QColor(Qt.red)) + self.serverLed.setColor(QColor(Qt.GlobalColor.red)) else: res, port = self.__client.startListening( self.serverPortSpin.value()) @@ -316,7 +316,7 @@ self.serverButton.setText(self.tr("Stop Server")) self.serverPortSpin.setValue(port) self.serverPortSpin.setEnabled(False) - self.serverLed.setColor(QColor(Qt.green)) + self.serverLed.setColor(QColor(Qt.GlobalColor.green)) else: self.__showErrorMessage( self.tr("! Server Error: {0}\n").format( @@ -332,11 +332,11 @@ if connected: self.connectButton.setText(self.tr("Disconnect")) self.connectButton.setEnabled(True) - self.connectionLed.setColor(QColor(Qt.green)) + self.connectionLed.setColor(QColor(Qt.GlobalColor.green)) else: self.connectButton.setText(self.tr("Connect")) self.connectButton.setEnabled(self.hostEdit.currentText() != "") - self.connectionLed.setColor(QColor(Qt.red)) + self.connectionLed.setColor(QColor(Qt.GlobalColor.red)) self.on_cancelEditButton_clicked() self.shareButton.setChecked(False) self.on_shareButton_clicked(False) @@ -358,10 +358,10 @@ @param message error message to show (string) """ color = self.chatEdit.textColor() - self.chatEdit.setTextColor(Qt.red) + self.chatEdit.setTextColor(Qt.GlobalColor.red) self.chatEdit.append( - QDateTime.currentDateTime().toString(Qt.SystemLocaleLongDate) + - ":") + QDateTime.currentDateTime().toString( + Qt.DateFormat.SystemLocaleLongDate) + ":") self.chatEdit.append(message + "\n") self.chatEdit.setTextColor(color) @@ -645,10 +645,10 @@ self.__client.kickUser(itm.text()) color = self.chatEdit.textColor() - self.chatEdit.setTextColor(Qt.darkYellow) + self.chatEdit.setTextColor(Qt.GlobalColor.darkYellow) self.chatEdit.append( - QDateTime.currentDateTime().toString(Qt.SystemLocaleLongDate) + - ":") + QDateTime.currentDateTime().toString( + Qt.DateFormat.SystemLocaleLongDate) + ":") self.chatEdit.append(self.tr("* {0} has been kicked.\n").format( itm.text().split("@")[0])) self.chatEdit.setTextColor(color) @@ -661,10 +661,10 @@ self.__client.banUser(itm.text()) color = self.chatEdit.textColor() - self.chatEdit.setTextColor(Qt.darkYellow) + self.chatEdit.setTextColor(Qt.GlobalColor.darkYellow) self.chatEdit.append( - QDateTime.currentDateTime().toString(Qt.SystemLocaleLongDate) + - ":") + QDateTime.currentDateTime().toString( + Qt.DateFormat.SystemLocaleLongDate) + ":") self.chatEdit.append(self.tr("* {0} has been banned.\n").format( itm.text().split("@")[0])) self.chatEdit.setTextColor(color) @@ -677,10 +677,10 @@ self.__client.banKickUser(itm.text()) color = self.chatEdit.textColor() - self.chatEdit.setTextColor(Qt.darkYellow) + self.chatEdit.setTextColor(Qt.GlobalColor.darkYellow) self.chatEdit.append( - QDateTime.currentDateTime().toString(Qt.SystemLocaleLongDate) + - ":") + QDateTime.currentDateTime().toString( + Qt.DateFormat.SystemLocaleLongDate) + ":") self.chatEdit.append( self.tr("* {0} has been banned and kicked.\n") .format(itm.text().split("@")[0]))
--- a/eric6/Cooperation/ChatWidget.ui Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Cooperation/ChatWidget.ui Sun Mar 28 15:00:11 2021 +0200 @@ -216,7 +216,7 @@ <enum>QComboBox::InsertAtTop</enum> </property> <property name="sizeAdjustPolicy"> - <enum>QComboBox::AdjustToMinimumContentsLength</enum> + <enum>QComboBox::AdjustToContents</enum> </property> </widget> </item>
--- a/eric6/Cooperation/CooperationClient.py Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Cooperation/CooperationClient.py Sun Mar 28 15:00:11 2021 +0200 @@ -215,7 +215,7 @@ @param connection connection that caused the error @type Connection """ - if socketError != QAbstractSocket.RemoteHostClosedError: + if socketError != QAbstractSocket.SocketError.RemoteHostClosedError: if connection.peerPort() != 0: msg = "* {0}:{1}\n{2}\n".format( connection.peerAddress().toString(),
--- a/eric6/DataViews/CodeMetricsDialog.py Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/DataViews/CodeMetricsDialog.py Sun Mar 28 15:00:11 2021 +0200 @@ -35,10 +35,12 @@ """ super(CodeMetricsDialog, self).__init__(parent) self.setupUi(self) - self.setWindowFlags(Qt.Window) + self.setWindowFlags(Qt.WindowType.Window) - self.buttonBox.button(QDialogButtonBox.Close).setEnabled(False) - self.buttonBox.button(QDialogButtonBox.Cancel).setDefault(True) + self.buttonBox.button( + QDialogButtonBox.StandardButton.Close).setEnabled(False) + self.buttonBox.button( + QDialogButtonBox.StandardButton.Cancel).setDefault(True) self.summaryList.headerItem().setText( self.summaryList.columnCount(), "") @@ -53,7 +55,8 @@ self.__menu.addAction(self.tr("Collapse All"), self.__resultCollapse) self.__menu.addAction(self.tr("Expand All"), self.__resultExpand) - self.resultList.setContextMenuPolicy(Qt.CustomContextMenu) + self.resultList.setContextMenuPolicy( + Qt.ContextMenuPolicy.CustomContextMenu) self.resultList.customContextMenuRequested.connect( self.__showContextMenu) @@ -65,7 +68,8 @@ """ Private method to resize the list columns. """ - self.resultList.header().resizeSections(QHeaderView.ResizeToContents) + self.resultList.header().resizeSections( + QHeaderView.ResizeMode.ResizeToContents) self.resultList.header().setStretchLastSection(True) def __createResultItem(self, parent, values): @@ -84,14 +88,16 @@ data.append(value) itm = QTreeWidgetItem(parent, data) for col in range(1, 7): - itm.setTextAlignment(col, Qt.Alignment(Qt.AlignRight)) + itm.setTextAlignment( + col, Qt.Alignment(Qt.AlignmentFlag.AlignRight)) return itm def __resizeSummaryColumns(self): """ Private method to resize the list columns. """ - self.summaryList.header().resizeSections(QHeaderView.ResizeToContents) + self.summaryList.header().resizeSections( + QHeaderView.ResizeMode.ResizeToContents) self.summaryList.header().setStretchLastSection(True) def __createSummaryItem(self, col0, col1): @@ -102,7 +108,7 @@ @param col1 string for column 1 (string) """ itm = QTreeWidgetItem(self.summaryList, [col0, col1]) - itm.setTextAlignment(1, Qt.Alignment(Qt.AlignRight)) + itm.setTextAlignment(1, Qt.Alignment(Qt.AlignmentFlag.AlignRight)) def prepare(self, fileList, project): """ @@ -114,9 +120,12 @@ self.__fileList = fileList[:] self.__project = project - self.buttonBox.button(QDialogButtonBox.Close).setEnabled(True) - self.buttonBox.button(QDialogButtonBox.Cancel).setEnabled(False) - self.buttonBox.button(QDialogButtonBox.Close).setDefault(True) + self.buttonBox.button( + QDialogButtonBox.StandardButton.Close).setEnabled(True) + self.buttonBox.button( + QDialogButtonBox.StandardButton.Cancel).setEnabled(False) + self.buttonBox.button( + QDialogButtonBox.StandardButton.Close).setDefault(True) self.filterFrame.setVisible(True) @@ -133,9 +142,12 @@ the code metrics for (string or list of strings) """ self.cancelled = False - self.buttonBox.button(QDialogButtonBox.Close).setEnabled(False) - self.buttonBox.button(QDialogButtonBox.Cancel).setEnabled(True) - self.buttonBox.button(QDialogButtonBox.Cancel).setDefault(True) + self.buttonBox.button( + QDialogButtonBox.StandardButton.Close).setEnabled(False) + self.buttonBox.button( + QDialogButtonBox.StandardButton.Cancel).setEnabled(True) + self.buttonBox.button( + QDialogButtonBox.StandardButton.Cancel).setDefault(True) QApplication.processEvents() loc = QLocale() @@ -232,12 +244,17 @@ button. """ self.cancelled = True - self.buttonBox.button(QDialogButtonBox.Close).setEnabled(True) - self.buttonBox.button(QDialogButtonBox.Cancel).setEnabled(False) - self.buttonBox.button(QDialogButtonBox.Close).setDefault(True) + self.buttonBox.button( + QDialogButtonBox.StandardButton.Close).setEnabled(True) + self.buttonBox.button( + QDialogButtonBox.StandardButton.Cancel).setEnabled(False) + self.buttonBox.button( + QDialogButtonBox.StandardButton.Close).setDefault(True) - self.resultList.header().setSectionResizeMode(QHeaderView.Interactive) - self.summaryList.header().setSectionResizeMode(QHeaderView.Interactive) + self.resultList.header().setSectionResizeMode( + QHeaderView.ResizeMode.Interactive) + self.summaryList.header().setSectionResizeMode( + QHeaderView.ResizeMode.Interactive) def on_buttonBox_clicked(self, button): """ @@ -245,9 +262,13 @@ @param button button that was clicked (QAbstractButton) """ - if button == self.buttonBox.button(QDialogButtonBox.Close): + if button == self.buttonBox.button( + QDialogButtonBox.StandardButton.Close + ): self.close() - elif button == self.buttonBox.button(QDialogButtonBox.Cancel): + elif button == self.buttonBox.button( + QDialogButtonBox.StandardButton.Cancel + ): self.__finish() @pyqtSlot()
--- a/eric6/DataViews/PyCoverageDialog.py Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/DataViews/PyCoverageDialog.py Sun Mar 28 15:00:11 2021 +0200 @@ -38,10 +38,12 @@ """ super(PyCoverageDialog, self).__init__(parent) self.setupUi(self) - self.setWindowFlags(Qt.Window) + self.setWindowFlags(Qt.WindowType.Window) - self.buttonBox.button(QDialogButtonBox.Close).setEnabled(False) - self.buttonBox.button(QDialogButtonBox.Cancel).setDefault(True) + self.buttonBox.button( + QDialogButtonBox.StandardButton.Close).setEnabled(False) + self.buttonBox.button( + QDialogButtonBox.StandardButton.Cancel).setDefault(True) self.summaryList.headerItem().setText( self.summaryList.columnCount(), "") @@ -65,7 +67,8 @@ self.tr('Delete annotated files'), self.__deleteAnnotated) self.__menu.addSeparator() self.__menu.addAction(self.tr('Erase Coverage Info'), self.__erase) - self.resultList.setContextMenuPolicy(Qt.CustomContextMenu) + self.resultList.setContextMenuPolicy( + Qt.ContextMenuPolicy.CustomContextMenu) self.resultList.customContextMenuRequested.connect( self.__showContextMenu) @@ -135,7 +138,7 @@ missing ]) for col in range(1, 4): - itm.setTextAlignment(col, Qt.AlignRight) + itm.setTextAlignment(col, Qt.AlignmentFlag.AlignRight) if statements != executed: font = itm.font(0) font.setBold(True) @@ -235,7 +238,7 @@ "{0:.0f}%".format(pc) ]) for col in range(0, 3): - itm.setTextAlignment(col, Qt.AlignRight) + itm.setTextAlignment(col, Qt.AlignmentFlag.AlignRight) else: self.summaryGroup.hide() @@ -255,13 +258,18 @@ button. """ self.cancelled = True - self.buttonBox.button(QDialogButtonBox.Close).setEnabled(True) - self.buttonBox.button(QDialogButtonBox.Cancel).setEnabled(False) - self.buttonBox.button(QDialogButtonBox.Close).setDefault(True) + self.buttonBox.button( + QDialogButtonBox.StandardButton.Close).setEnabled(True) + self.buttonBox.button( + QDialogButtonBox.StandardButton.Cancel).setEnabled(False) + self.buttonBox.button( + QDialogButtonBox.StandardButton.Close).setDefault(True) QApplication.processEvents() - self.resultList.header().resizeSections(QHeaderView.ResizeToContents) + self.resultList.header().resizeSections( + QHeaderView.ResizeMode.ResizeToContents) self.resultList.header().setStretchLastSection(True) - self.summaryList.header().resizeSections(QHeaderView.ResizeToContents) + self.summaryList.header().resizeSections( + QHeaderView.ResizeMode.ResizeToContents) self.summaryList.header().setStretchLastSection(True) def on_buttonBox_clicked(self, button): @@ -270,9 +278,13 @@ @param button button that was clicked (QAbstractButton) """ - if button == self.buttonBox.button(QDialogButtonBox.Close): + if button == self.buttonBox.button( + QDialogButtonBox.StandardButton.Close + ): self.close() - elif button == self.buttonBox.button(QDialogButtonBox.Cancel): + elif button == self.buttonBox.button( + QDialogButtonBox.StandardButton.Cancel + ): self.__finish() def __showContextMenu(self, coord): @@ -400,9 +412,12 @@ self.excludeList.remove(excludePattern) self.excludeList.insert(0, excludePattern) self.cancelled = False - self.buttonBox.button(QDialogButtonBox.Close).setEnabled(False) - self.buttonBox.button(QDialogButtonBox.Cancel).setEnabled(True) - self.buttonBox.button(QDialogButtonBox.Cancel).setDefault(True) + self.buttonBox.button( + QDialogButtonBox.StandardButton.Close).setEnabled(False) + self.buttonBox.button( + QDialogButtonBox.StandardButton.Cancel).setEnabled(True) + self.buttonBox.button( + QDialogButtonBox.StandardButton.Cancel).setDefault(True) self.start(self.__cfn, self.__fn) @pyqtSlot(QTreeWidgetItem, int)
--- a/eric6/DataViews/PyProfileDialog.py Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/DataViews/PyProfileDialog.py Sun Mar 28 15:00:11 2021 +0200 @@ -65,10 +65,12 @@ """ super(PyProfileDialog, self).__init__(parent) self.setupUi(self) - self.setWindowFlags(Qt.Window) + self.setWindowFlags(Qt.WindowType.Window) - self.buttonBox.button(QDialogButtonBox.Close).setEnabled(False) - self.buttonBox.button(QDialogButtonBox.Cancel).setDefault(True) + self.buttonBox.button( + QDialogButtonBox.StandardButton.Close).setEnabled(False) + self.buttonBox.button( + QDialogButtonBox.StandardButton.Cancel).setDefault(True) self.cancelled = False self.exclude = True @@ -79,7 +81,8 @@ self.summaryList.headerItem().setText( self.summaryList.columnCount(), "") self.resultList.headerItem().setText(self.resultList.columnCount(), "") - self.resultList.header().setSortIndicator(0, Qt.DescendingOrder) + self.resultList.header().setSortIndicator( + 0, Qt.SortOrder.DescendingOrder) self.__menu = QMenu(self) self.filterItm = self.__menu.addAction( @@ -92,10 +95,12 @@ self.tr('Erase Timing Info'), self.__eraseTiming) self.__menu.addSeparator() self.__menu.addAction(self.tr('Erase All Infos'), self.__eraseAll) - self.resultList.setContextMenuPolicy(Qt.CustomContextMenu) + self.resultList.setContextMenuPolicy( + Qt.ContextMenuPolicy.CustomContextMenu) self.resultList.customContextMenuRequested.connect( self.__showContextMenu) - self.summaryList.setContextMenuPolicy(Qt.CustomContextMenu) + self.summaryList.setContextMenuPolicy( + Qt.ContextMenuPolicy.CustomContextMenu) self.summaryList.customContextMenuRequested.connect( self.__showContextMenu) @@ -125,7 +130,7 @@ functionName ]) for col in [0, 1, 2, 3, 4, 6]: - itm.setTextAlignment(col, Qt.AlignRight) + itm.setTextAlignment(col, Qt.AlignmentFlag.AlignRight) def __createSummaryItem(self, label, contents): """ @@ -135,7 +140,7 @@ @param contents text of the second column (string) """ itm = QTreeWidgetItem(self.summaryList, [label, contents]) - itm.setTextAlignment(1, Qt.AlignRight) + itm.setTextAlignment(1, Qt.AlignmentFlag.AlignRight) def __resortResultList(self): """ @@ -262,13 +267,18 @@ button. """ self.cancelled = True - self.buttonBox.button(QDialogButtonBox.Close).setEnabled(True) - self.buttonBox.button(QDialogButtonBox.Cancel).setEnabled(False) - self.buttonBox.button(QDialogButtonBox.Close).setDefault(True) + self.buttonBox.button( + QDialogButtonBox.StandardButton.Close).setEnabled(True) + self.buttonBox.button( + QDialogButtonBox.StandardButton.Cancel).setEnabled(False) + self.buttonBox.button( + QDialogButtonBox.StandardButton.Close).setDefault(True) QApplication.processEvents() - self.resultList.header().resizeSections(QHeaderView.ResizeToContents) + self.resultList.header().resizeSections( + QHeaderView.ResizeMode.ResizeToContents) self.resultList.header().setStretchLastSection(True) - self.summaryList.header().resizeSections(QHeaderView.ResizeToContents) + self.summaryList.header().resizeSections( + QHeaderView.ResizeMode.ResizeToContents) self.summaryList.header().setStretchLastSection(True) def __unfinish(self): @@ -276,9 +286,12 @@ Private slot called to revert the effects of the __finish slot. """ self.cancelled = False - self.buttonBox.button(QDialogButtonBox.Close).setEnabled(False) - self.buttonBox.button(QDialogButtonBox.Cancel).setEnabled(True) - self.buttonBox.button(QDialogButtonBox.Cancel).setDefault(True) + self.buttonBox.button( + QDialogButtonBox.StandardButton.Close).setEnabled(False) + self.buttonBox.button( + QDialogButtonBox.StandardButton.Cancel).setEnabled(True) + self.buttonBox.button( + QDialogButtonBox.StandardButton.Cancel).setDefault(True) def on_buttonBox_clicked(self, button): """ @@ -286,9 +299,13 @@ @param button button that was clicked (QAbstractButton) """ - if button == self.buttonBox.button(QDialogButtonBox.Close): + if button == self.buttonBox.button( + QDialogButtonBox.StandardButton.Close + ): self.close() - elif button == self.buttonBox.button(QDialogButtonBox.Cancel): + elif button == self.buttonBox.button( + QDialogButtonBox.StandardButton.Cancel + ): self.__finish() def __showContextMenu(self, coord):
--- a/eric6/DebugClients/Python/DebugClientBase.py Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/DebugClients/Python/DebugClientBase.py Sun Mar 28 15:00:11 2021 +0200 @@ -626,20 +626,27 @@ _locals = ( self.currentThread.getFrameLocals( self.framenr)) + # transfer all locals into a new globals + # to emulate Python scoping rules + _updatedGlobals = {} + _updatedGlobals.update(_globals) + _updatedGlobals.update(_locals) #- reset sys.stdout to our redirector #- (unconditionally) if "sys" in _globals: - __stdout = _globals["sys"].stdout - _globals["sys"].stdout = self.writestream - exec(code, _globals, _locals) # secok - _globals["sys"].stdout = __stdout + __stdout = _updatedGlobals["sys"].stdout + _updatedGlobals["sys"].stdout = ( + self.writestream + ) + exec(code, _updatedGlobals, _locals) # secok + _updatedGlobals["sys"].stdout = __stdout elif "sys" in _locals: __stdout = _locals["sys"].stdout _locals["sys"].stdout = self.writestream - exec(code, _globals, _locals) # secok + exec(code, _updatedGlobals, _locals) # secok _locals["sys"].stdout = __stdout else: - exec(code, _globals, _locals) # secok + exec(code, _updatedGlobals, _locals) # secok self.currentThread.storeFrameLocals(self.framenr) except SystemExit as exc:
--- a/eric6/DebugClients/Python/QProcessExtension.py Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/DebugClients/Python/QProcessExtension.py Sun Mar 28 15:00:11 2021 +0200 @@ -68,14 +68,14 @@ if len(args) > 2: mode = args[2] else: - mode = module.QIODevice.ReadWrite + mode = module.QIODevice.OpenModeFlag.ReadWrite else: program = self.program() arguments = self.arguments() if len(args) == 1: mode = args[0] else: - mode = module.QIODevice.ReadWrite + mode = module.QIODevice.OpenModeFlag.ReadWrite ok = isPythonProgram(program) if ok: if startsWithShebang(program):
--- a/eric6/Debugger/BreakPointModel.py Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Debugger/BreakPointModel.py Sun Mar 28 15:00:11 2021 +0200 @@ -43,13 +43,13 @@ self.tr('Enabled'), self.tr('Ignore Count'), ] - self.alignments = [Qt.Alignment(Qt.AlignLeft), - Qt.Alignment(Qt.AlignRight), - Qt.Alignment(Qt.AlignLeft), - Qt.Alignment(Qt.AlignHCenter), - Qt.Alignment(Qt.AlignHCenter), - Qt.Alignment(Qt.AlignRight), - Qt.Alignment(Qt.AlignHCenter), + self.alignments = [Qt.Alignment(Qt.AlignmentFlag.AlignLeft), + Qt.Alignment(Qt.AlignmentFlag.AlignRight), + Qt.Alignment(Qt.AlignmentFlag.AlignLeft), + Qt.Alignment(Qt.AlignmentFlag.AlignHCenter), + Qt.Alignment(Qt.AlignmentFlag.AlignHCenter), + Qt.Alignment(Qt.AlignmentFlag.AlignRight), + Qt.Alignment(Qt.AlignmentFlag.AlignHCenter), ] def columnCount(self, parent=None): @@ -78,7 +78,7 @@ else: return 0 - def data(self, index, role=Qt.DisplayRole): + def data(self, index, role=Qt.ItemDataRole.DisplayRole): """ Public method to get the requested data. @@ -92,7 +92,7 @@ if not index.isValid(): return None - if role == Qt.DisplayRole: + if role == Qt.ItemDataRole.DisplayRole: if index.column() == 0: filename = self.breakpoints[index.row()][0] if self.__project.isOpen(): @@ -102,21 +102,21 @@ elif index.column() in (1, 2, 5): return self.breakpoints[index.row()][index.column()] - if role == Qt.CheckStateRole: + if role == Qt.ItemDataRole.CheckStateRole: if index.column() in (3, 4): return self.breakpoints[index.row()][index.column()] - if role == Qt.ToolTipRole: + if role == Qt.ItemDataRole.ToolTipRole: if index.column() in (0, 2): return self.breakpoints[index.row()][index.column()] - if role == Qt.TextAlignmentRole: + if role == Qt.ItemDataRole.TextAlignmentRole: if index.column() < len(self.alignments): return self.alignments[index.column()] return None - def setData(self, index, value, role=Qt.EditRole): + def setData(self, index, value, role=Qt.ItemDataRole.EditRole): """ Public method to change data in the model. @@ -149,11 +149,12 @@ @rtype Qt.ItemFlags """ if not index.isValid(): - return Qt.ItemIsEnabled + return Qt.ItemFlag.ItemIsEnabled - return Qt.ItemIsEnabled | Qt.ItemIsSelectable + return Qt.ItemFlag.ItemIsEnabled | Qt.ItemFlag.ItemIsSelectable - def headerData(self, section, orientation, role=Qt.DisplayRole): + def headerData(self, section, orientation, + role=Qt.ItemDataRole.DisplayRole): """ Public method to get header data. @@ -166,7 +167,10 @@ @return header data @rtype str """ - if orientation == Qt.Horizontal and role == Qt.DisplayRole: + if ( + orientation == Qt.Orientation.Horizontal and + role == Qt.ItemDataRole.DisplayRole + ): if section >= len(self.header): return "" else:
--- a/eric6/Debugger/BreakPointViewer.py Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Debugger/BreakPointViewer.py Sun Mar 28 15:00:11 2021 +0200 @@ -46,12 +46,14 @@ self.setItemsExpandable(False) self.setRootIsDecorated(False) self.setAlternatingRowColors(True) - self.setSelectionMode(QAbstractItemView.ExtendedSelection) - self.setSelectionBehavior(QAbstractItemView.SelectRows) + self.setSelectionMode( + QAbstractItemView.SelectionMode.ExtendedSelection) + self.setSelectionBehavior( + QAbstractItemView.SelectionBehavior.SelectRows) self.setWindowTitle(self.tr("Breakpoints")) - self.setContextMenuPolicy(Qt.CustomContextMenu) + self.setContextMenuPolicy(Qt.ContextMenuPolicy.CustomContextMenu) self.customContextMenuRequested.connect(self.__showContextMenu) self.doubleClicked.connect(self.__doubleClicked) @@ -78,7 +80,7 @@ super(BreakPointViewer, self).setModel(self.sortingModel) header = self.header() - header.setSortIndicator(0, Qt.AscendingOrder) + header.setSortIndicator(0, Qt.SortOrder.AscendingOrder) header.setSortIndicatorShown(True) header.setSectionsClickable(True) @@ -98,7 +100,7 @@ Private slot to resize the view when items get added, edited or deleted. """ - self.header().resizeSections(QHeaderView.ResizeToContents) + self.header().resizeSections(QHeaderView.ResizeMode.ResizeToContents) self.header().setStretchLastSection(True) def __resort(self): @@ -144,10 +146,14 @@ if selected: flags = QItemSelectionModel.SelectionFlags( - QItemSelectionModel.ClearAndSelect | QItemSelectionModel.Rows) + QItemSelectionModel.SelectionFlag.ClearAndSelect | + QItemSelectionModel.SelectionFlag.Rows + ) else: flags = QItemSelectionModel.SelectionFlags( - QItemSelectionModel.Deselect | QItemSelectionModel.Rows) + QItemSelectionModel.SelectionFlag.Deselect | + QItemSelectionModel.SelectionFlag.Rows + ) self.selectionModel().select(index, flags) def __createPopupMenus(self): @@ -245,7 +251,7 @@ dlg = EditBreakpointDialog((self.fnHistory[0], None), None, self.condHistory, self, modal=1, addMode=1, filenameHistory=self.fnHistory) - if dlg.exec() == QDialog.Accepted: + if dlg.exec() == QDialog.DialogCode.Accepted: fn, line, cond, temp, enabled, count = dlg.getAddData() if fn is not None: if fn in self.fnHistory: @@ -306,7 +312,7 @@ dlg = EditBreakpointDialog( (fn, line), (cond, temp, enabled, count), self.condHistory, self, modal=True) - if dlg.exec() == QDialog.Accepted: + if dlg.exec() == QDialog.DialogCode.Accepted: cond, temp, enabled, count = dlg.getData() if cond: if cond in self.condHistory:
--- a/eric6/Debugger/CallStackViewer.py Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Debugger/CallStackViewer.py Sun Mar 28 15:00:11 2021 +0200 @@ -28,8 +28,8 @@ sourceFile = pyqtSignal(str, int) frameSelected = pyqtSignal(int) - FilenameRole = Qt.UserRole + 1 - LinenoRole = Qt.UserRole + 2 + FilenameRole = Qt.ItemDataRole.UserRole + 1 + LinenoRole = Qt.ItemDataRole.UserRole + 2 def __init__(self, debugServer, parent=None): """ @@ -61,7 +61,8 @@ self.__menu.addAction(self.tr("Clear"), self.__callStackList.clear) self.__menu.addSeparator() self.__menu.addAction(self.tr("Save"), self.__saveStackTrace) - self.__callStackList.setContextMenuPolicy(Qt.CustomContextMenu) + self.__callStackList.setContextMenuPolicy( + Qt.ContextMenuPolicy.CustomContextMenu) self.__callStackList.customContextMenuRequested.connect( self.__showContextMenu)
--- a/eric6/Debugger/CallTraceViewer.py Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Debugger/CallTraceViewer.py Sun Mar 28 15:00:11 2021 +0200 @@ -184,7 +184,7 @@ f.write("{0}\n\n".format(len(title) * "=")) itm = self.callTrace.topLevelItem(0) while itm is not None: - isCall = itm.data(0, Qt.UserRole) + isCall = itm.data(0, Qt.ItemDataRole.UserRole) if isCall: call = "->" else: @@ -287,7 +287,7 @@ self.__entryFormat.format(fromFile, fromLine, fromFunction), self.__entryFormat.format(toFile, toLine, toFunction)]) itm.setIcon(0, icon) - itm.setData(0, Qt.UserRole, isCall) + itm.setData(0, Qt.ItemDataRole.UserRole, isCall) itm.setExpanded(True) if isCall:
--- a/eric6/Debugger/DebugServer.py Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Debugger/DebugServer.py Sun Mar 28 15:00:11 2021 +0200 @@ -172,7 +172,7 @@ appendStdout = pyqtSignal(str) def __init__(self, originalPathString, preventPassiveDebugging=False, - project=None): + project=None, parent=None): """ Constructor @@ -183,8 +183,10 @@ @type bool (optional) @param project reference to the project object (defaults to None) @type Project (optional) + @param parent reference to the parent object + @type QObject """ - super(DebugServer, self).__init__() + super(DebugServer, self).__init__(parent) self.__originalPathString = originalPathString @@ -212,9 +214,11 @@ self.networkInterface = Preferences.getDebugger("NetworkInterface") if self.networkInterface == "all": - hostAddress = QHostAddress("0.0.0.0") # QHostAddress.Any) # secok + hostAddress = QHostAddress("0.0.0.0") + # QHostAddress.SpecialAddress.Any) # secok elif self.networkInterface == "allv6": - hostAddress = QHostAddress("::") # QHostAddress.AnyIPv6) + hostAddress = QHostAddress("::") + # QHostAddress.SpecialAddress.AnyIPv6) else: hostAddress = QHostAddress(self.networkInterface) self.networkInterfaceName, self.networkInterfaceIndex = ( @@ -480,7 +484,8 @@ 'DebugClient/Type', self.clientType) def startClient(self, unplanned=True, clType=None, forProject=False, - runInConsole=False, venvName="", workingDir=None): + runInConsole=False, venvName="", workingDir=None, + configOverride=None): """ Public method to start a debug client. @@ -497,6 +502,9 @@ @type str @param workingDir directory to start the debugger client in @type str + @param configOverride dictionary containing the global config override + data + @type dict """ self.running = False @@ -529,17 +537,20 @@ self.clientProcess, isNetworked, clientInterpreter = ( self.debuggerInterface.startRemote( self.serverPort(), runInConsole, venvName, - self.__originalPathString, workingDir=workingDir)) + self.__originalPathString, workingDir=workingDir, + configOverride=configOverride)) else: self.clientProcess, isNetworked, clientInterpreter = ( self.debuggerInterface.startRemoteForProject( self.serverPort(), runInConsole, venvName, - self.__originalPathString, workingDir=workingDir)) + self.__originalPathString, workingDir=workingDir, + configOverride=configOverride)) else: self.clientProcess, isNetworked, clientInterpreter = ( self.debuggerInterface.startRemote( self.serverPort(), runInConsole, venvName, - self.__originalPathString, workingDir=workingDir)) + self.__originalPathString, workingDir=workingDir, + configOverride=configOverride)) if self.clientProcess: self.clientProcess.readyReadStandardError.connect( @@ -929,7 +940,8 @@ def remoteLoad(self, venvName, fn, argv, wd, env, autoClearShell=True, tracePython=False, autoContinue=True, forProject=False, runInConsole=False, clientType="", enableCallTrace=False, - enableMultiprocess=False, multiprocessNoDebug=""): + enableMultiprocess=False, multiprocessNoDebug="", + configOverride=None): """ Public method to load a new program to debug. @@ -968,6 +980,9 @@ @param multiprocessNoDebug space separated list of programs not to be debugged @type str + @param configOverride dictionary containing the global config override + data + @type dict """ self.__autoClearShell = autoClearShell self.__multiprocessNoDebugList = [ @@ -995,7 +1010,8 @@ except KeyError: self.__setClientType('Python3') # assume it is a Python3 file self.startClient(False, forProject=forProject, - runInConsole=runInConsole, venvName=venvName) + runInConsole=runInConsole, venvName=venvName, + configOverride=configOverride) self.setCallTraceEnabled("", enableCallTrace) self.remoteEnvironment(env) @@ -1011,7 +1027,8 @@ self.__restoreNoDebugList() def remoteRun(self, venvName, fn, argv, wd, env, autoClearShell=True, - forProject=False, runInConsole=False, clientType=""): + forProject=False, runInConsole=False, clientType="", + configOverride=None): """ Public method to load a new program to run. @@ -1035,6 +1052,9 @@ @type bool @param clientType client type to be used @type str + @param configOverride dictionary containing the global config override + data + @type dict """ self.__autoClearShell = autoClearShell @@ -1059,7 +1079,8 @@ except KeyError: self.__setClientType('Python3') # assume it is a Python3 file self.startClient(False, forProject=forProject, - runInConsole=runInConsole, venvName=venvName) + runInConsole=runInConsole, venvName=venvName, + configOverride=configOverride) self.remoteEnvironment(env) @@ -1069,7 +1090,7 @@ def remoteCoverage(self, venvName, fn, argv, wd, env, autoClearShell=True, erase=False, forProject=False, - runInConsole=False, clientType=""): + runInConsole=False, clientType="", configOverride=None): """ Public method to load a new program to collect coverage data. @@ -1096,6 +1117,9 @@ @type bool @param clientType client type to be used @type str + @param configOverride dictionary containing the global config override + data + @type dict """ self.__autoClearShell = autoClearShell @@ -1120,7 +1144,8 @@ except KeyError: self.__setClientType('Python3') # assume it is a Python3 file self.startClient(False, forProject=forProject, - runInConsole=runInConsole, venvName=venvName) + runInConsole=runInConsole, venvName=venvName, + configOverride=configOverride) self.remoteEnvironment(env) @@ -1130,7 +1155,7 @@ def remoteProfile(self, venvName, fn, argv, wd, env, autoClearShell=True, erase=False, forProject=False, - runInConsole=False, clientType=""): + runInConsole=False, clientType="", configOverride=None): """ Public method to load a new program to collect profiling data. @@ -1157,6 +1182,9 @@ @type bool @param clientType client type to be used @type str + @param configOverride dictionary containing the global config override + data + @type dict """ self.__autoClearShell = autoClearShell @@ -1181,7 +1209,8 @@ except KeyError: self.__setClientType('Python3') # assume it is a Python3 file self.startClient(False, forProject=forProject, - runInConsole=runInConsole, venvName=venvName) + runInConsole=runInConsole, venvName=venvName, + configOverride=configOverride) self.remoteEnvironment(env)
--- a/eric6/Debugger/DebugUI.py Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Debugger/DebugUI.py Sun Mar 28 15:00:11 2021 +0200 @@ -8,6 +8,7 @@ """ import os +import copy from PyQt5.QtCore import pyqtSignal, pyqtSlot, QObject, Qt from PyQt5.QtGui import QKeySequence @@ -110,6 +111,12 @@ self.multiprocessNoDebugHistory = Preferences.toList( Preferences.Prefs.settings.value( 'DebugInfo/MultiprocessNoDebugHistory')) + self.overrideGlobalConfig = { + "enable": Preferences.toBool(Preferences.Prefs.settings.value( + 'DebugInfo/OverrideGlobal', False)), + "redirect": Preferences.toBool(Preferences.Prefs.settings.value( + 'DebugInfo/RedirectStdinStdout', True)), + } self.lastDebuggedFile = None self.lastStartAction = 0 # 0=None, 1=Script, 2=Project @@ -201,7 +208,7 @@ self.tr('Run Script'), UI.PixmapCache.getIcon("runScript"), self.tr('&Run Script...'), - Qt.Key_F2, 0, self, 'dbg_run_script') + Qt.Key.Key_F2, 0, self, 'dbg_run_script') self.runAct.setStatusTip(self.tr('Run the current Script')) self.runAct.setWhatsThis(self.tr( """<b>Run Script</b>""" @@ -215,8 +222,9 @@ self.runProjectAct = E5Action( self.tr('Run Project'), UI.PixmapCache.getIcon("runProject"), - self.tr('Run &Project...'), Qt.SHIFT + Qt.Key_F2, 0, self, - 'dbg_run_project') + self.tr('Run &Project...'), + Qt.Modifier.SHIFT + Qt.Key.Key_F2, + 0, self, 'dbg_run_project') self.runProjectAct.setStatusTip(self.tr('Run the current Project')) self.runProjectAct.setWhatsThis(self.tr( """<b>Run Project</b>""" @@ -293,7 +301,7 @@ self.debugAct = E5Action( self.tr('Debug Script'), UI.PixmapCache.getIcon("debugScript"), - self.tr('&Debug Script...'), Qt.Key_F5, 0, self, + self.tr('&Debug Script...'), Qt.Key.Key_F5, 0, self, 'dbg_debug_script') self.debugAct.setStatusTip(self.tr('Debug the current Script')) self.debugAct.setWhatsThis(self.tr( @@ -309,8 +317,9 @@ self.debugProjectAct = E5Action( self.tr('Debug Project'), UI.PixmapCache.getIcon("debugProject"), - self.tr('Debug &Project...'), Qt.SHIFT + Qt.Key_F5, 0, self, - 'dbg_debug_project') + self.tr('Debug &Project...'), + Qt.Modifier.SHIFT + Qt.Key.Key_F5, + 0, self, 'dbg_debug_project') self.debugProjectAct.setStatusTip(self.tr( 'Debug the current Project')) self.debugProjectAct.setWhatsThis(self.tr( @@ -326,7 +335,7 @@ self.restartAct = E5Action( self.tr('Restart'), UI.PixmapCache.getIcon("debugRestart"), - self.tr('Restart'), Qt.Key_F4, 0, self, 'dbg_restart_script') + self.tr('Restart'), Qt.Key.Key_F4, 0, self, 'dbg_restart_script') self.restartAct.setStatusTip(self.tr( 'Restart the last debugged script')) self.restartAct.setWhatsThis(self.tr( @@ -342,7 +351,7 @@ self.stopAct = E5Action( self.tr('Stop'), UI.PixmapCache.getIcon("stopScript"), - self.tr('Stop'), Qt.SHIFT + Qt.Key_F10, 0, + self.tr('Stop'), Qt.Modifier.SHIFT + Qt.Key.Key_F10, 0, self, 'dbg_stop_script') self.stopAct.setStatusTip(self.tr("""Stop the running script.""")) self.stopAct.setWhatsThis(self.tr( @@ -357,7 +366,7 @@ act = E5Action( self.tr('Continue'), UI.PixmapCache.getIcon("continue"), - self.tr('&Continue'), Qt.Key_F6, 0, + self.tr('&Continue'), Qt.Key.Key_F6, 0, self.debugActGrp, 'dbg_continue') act.setStatusTip( self.tr('Continue running the program from the current line')) @@ -373,8 +382,9 @@ act = E5Action( self.tr('Continue to Cursor'), UI.PixmapCache.getIcon("continueToCursor"), - self.tr('Continue &To Cursor'), Qt.SHIFT + Qt.Key_F6, 0, - self.debugActGrp, 'dbg_continue_to_cursor') + self.tr('Continue &To Cursor'), + Qt.Modifier.SHIFT + Qt.Key.Key_F6, + 0, self.debugActGrp, 'dbg_continue_to_cursor') act.setStatusTip(self.tr( """Continue running the program from the""" """ current line to the current cursor position""")) @@ -389,7 +399,7 @@ act = E5Action( self.tr('Continue Until'), UI.PixmapCache.getIcon("continueUntil"), - self.tr('Continue &Until'), Qt.CTRL + Qt.Key_F6, 0, + self.tr('Continue &Until'), Qt.Modifier.CTRL + Qt.Key.Key_F6, 0, self.debugActGrp, 'dbg_continue_until') act.setStatusTip(self.tr( """Continue running the program from the current line to the""" @@ -406,7 +416,7 @@ act = E5Action( self.tr('Move Instruction Pointer to Cursor'), UI.PixmapCache.getIcon("moveInstructionPointer"), - self.tr('&Jump To Cursor'), Qt.Key_F12, 0, + self.tr('&Jump To Cursor'), Qt.Key.Key_F12, 0, self.debugActGrp, 'dbg_jump_to_cursor') act.setStatusTip(self.tr( """Skip the code from the""" @@ -426,7 +436,7 @@ act = E5Action( self.tr('Single Step'), UI.PixmapCache.getIcon("step"), - self.tr('Sin&gle Step'), Qt.Key_F7, 0, + self.tr('Sin&gle Step'), Qt.Key.Key_F7, 0, self.debugActGrp, 'dbg_single_step') act.setStatusTip(self.tr('Execute a single Python statement')) act.setWhatsThis(self.tr( @@ -442,7 +452,7 @@ act = E5Action( self.tr('Step Over'), UI.PixmapCache.getIcon("stepOver"), - self.tr('Step &Over'), Qt.Key_F8, 0, + self.tr('Step &Over'), Qt.Key.Key_F8, 0, self.debugActGrp, 'dbg_step_over') act.setStatusTip(self.tr( """Execute a single Python statement staying""" @@ -461,7 +471,7 @@ act = E5Action( self.tr('Step Out'), UI.PixmapCache.getIcon("stepOut"), - self.tr('Step Ou&t'), Qt.Key_F9, 0, + self.tr('Step Ou&t'), Qt.Key.Key_F9, 0, self.debugActGrp, 'dbg_step_out') act.setStatusTip(self.tr( """Execute Python statements until leaving""" @@ -480,7 +490,7 @@ act = E5Action( self.tr('Stop'), UI.PixmapCache.getIcon("stepQuit"), - self.tr('&Stop'), Qt.Key_F10, 0, + self.tr('&Stop'), Qt.Key.Key_F10, 0, self.debugActGrp, 'dbg_stop') act.setStatusTip(self.tr('Stop debugging')) act.setWhatsThis(self.tr( @@ -1001,6 +1011,12 @@ Preferences.Prefs.settings.setValue( 'DebugInfo/MultiprocessNoDebugHistory', self.multiprocessNoDebugHistory) + Preferences.Prefs.settings.setValue( + 'DebugInfo/OverrideGlobal', + self.overrideGlobalConfig["enable"]) + Preferences.Prefs.settings.setValue( + 'DebugInfo/RedirectStdinStdout', + self.overrideGlobalConfig["redirect"]) def shutdownServer(self): """ @@ -1472,7 +1488,7 @@ dlg = EditBreakpointDialog( (fn, line), (cond, temp, enabled, count), [], self.ui, modal=True) - if dlg.exec() == QDialog.Accepted: + if dlg.exec() == QDialog.DialogCode.Accepted: cond, temp, enabled, count = dlg.getData() model.setBreakPointByIndex(index, fn, line, (cond, temp, enabled, count)) @@ -1509,7 +1525,7 @@ from .EditWatchpointDialog import EditWatchpointDialog dlg = EditWatchpointDialog( (cond, temp, enabled, count, special), self.ui) - if dlg.exec() == QDialog.Accepted: + if dlg.exec() == QDialog.DialogCode.Accepted: cond, temp, enabled, count, special = dlg.getData() # check for duplicates @@ -1545,7 +1561,7 @@ dlg = VariablesFilterDialog(self.ui, 'Filter Dialog', True) dlg.setSelection(self.__localsVarFilterList, self.__globalsVarFilterList) - if dlg.exec() == QDialog.Accepted: + if dlg.exec() == QDialog.DialogCode.Accepted: self.__localsVarFilterList, self.__globalsVarFilterList = ( dlg.getSelection() ) @@ -1558,7 +1574,7 @@ """ from .ExceptionsFilterDialog import ExceptionsFilterDialog dlg = ExceptionsFilterDialog(self.excList, ignore=False) - if dlg.exec() == QDialog.Accepted: + if dlg.exec() == QDialog.DialogCode.Accepted: self.excList = dlg.getExceptionsList()[:] # keep a copy def __configureIgnoredExceptions(self): @@ -1567,7 +1583,7 @@ """ from .ExceptionsFilterDialog import ExceptionsFilterDialog dlg = ExceptionsFilterDialog(self.excIgnoreList, ignore=True) - if dlg.exec() == QDialog.Accepted: + if dlg.exec() == QDialog.DialogCode.Accepted: self.excIgnoreList = dlg.getExceptionsList()[:] # keep a copy def __toggleBreakpoint(self): @@ -1688,10 +1704,12 @@ dlg = StartDialog( cap, self.lastUsedVenvName, self.argvHistory, self.wdHistory, self.envHistory, self.exceptions, self.ui, 2, - autoClearShell=self.autoClearShell) - if dlg.exec() == QDialog.Accepted: + autoClearShell=self.autoClearShell, + configOverride=self.overrideGlobalConfig) + if dlg.exec() == QDialog.DialogCode.Accepted: (lastUsedVenvName, argv, wd, env, exceptions, clearShell, console) = dlg.getData() + configOverride = dlg.getGlobalOverrideData() eraseCoverage = dlg.getCoverageData() if runProject: @@ -1714,7 +1732,8 @@ # save the info for later use self.project.setDbgInfo( lastUsedVenvName, argv, wd, env, exceptions, self.excList, - self.excIgnoreList, clearShell + self.excIgnoreList, clearShell, + configOverride=configOverride ) self.lastStartAction = 6 @@ -1760,6 +1779,9 @@ # Save the run in console flag self.runInConsole = console + # Save the global config override data + self.overrideGlobalConfig = copy.deepcopy(configOverride) + # Hide all error highlights self.viewmanager.unhighlight() @@ -1776,7 +1798,8 @@ lastUsedVenvName, fn, argv, wd, env, autoClearShell=self.autoClearShell, erase=eraseCoverage, forProject=runProject, runInConsole=console, - clientType=self.clientType) + clientType=self.clientType, + configOverride=self.overrideGlobalConfig) self.stopAct.setEnabled(True) @@ -1825,10 +1848,12 @@ dlg = StartDialog( cap, self.lastUsedVenvName, self.argvHistory, self.wdHistory, self.envHistory, self.exceptions, self.ui, 3, - autoClearShell=self.autoClearShell) - if dlg.exec() == QDialog.Accepted: + autoClearShell=self.autoClearShell, + configOverride=self.overrideGlobalConfig) + if dlg.exec() == QDialog.DialogCode.Accepted: (lastUsedVenvName, argv, wd, env, exceptions, clearShell, console) = dlg.getData() + configOverride = dlg.getGlobalOverrideData() eraseTimings = dlg.getProfilingData() if runProject: @@ -1851,7 +1876,8 @@ # save the info for later use self.project.setDbgInfo( lastUsedVenvName, argv, wd, env, exceptions, self.excList, - self.excIgnoreList, clearShell + self.excIgnoreList, clearShell, + configOverride=configOverride ) self.lastStartAction = 8 @@ -1897,6 +1923,9 @@ # Save the run in console flag self.runInConsole = console + # Save the global config override data + self.overrideGlobalConfig = copy.deepcopy(configOverride) + # Hide all error highlights self.viewmanager.unhighlight() @@ -1913,7 +1942,8 @@ lastUsedVenvName, fn, argv, wd, env, autoClearShell=self.autoClearShell, erase=eraseTimings, forProject=runProject, runInConsole=console, - clientType=self.clientType) + clientType=self.clientType, + configOverride=self.overrideGlobalConfig) self.stopAct.setEnabled(True) @@ -1962,10 +1992,12 @@ dlg = StartDialog( cap, self.lastUsedVenvName, self.argvHistory, self.wdHistory, self.envHistory, self.exceptions, self.ui, 1, - autoClearShell=self.autoClearShell) - if dlg.exec() == QDialog.Accepted: + autoClearShell=self.autoClearShell, + configOverride=self.overrideGlobalConfig) + if dlg.exec() == QDialog.DialogCode.Accepted: (lastUsedVenvName, argv, wd, env, exceptions, clearShell, console) = dlg.getData() + configOverride = dlg.getGlobalOverrideData() if runProject: fn = self.project.getMainScript(True) @@ -1987,7 +2019,8 @@ # save the info for later use self.project.setDbgInfo( lastUsedVenvName, argv, wd, env, exceptions, self.excList, - self.excIgnoreList, clearShell + self.excIgnoreList, clearShell, + configOverride=configOverride ) self.lastStartAction = 4 @@ -2031,6 +2064,9 @@ # Save the run in console flag self.runInConsole = console + # Save the global config override data + self.overrideGlobalConfig = copy.deepcopy(configOverride) + # Hide all error highlights self.viewmanager.unhighlight() @@ -2046,7 +2082,8 @@ self.debugServer.remoteRun( lastUsedVenvName, fn, argv, wd, env, autoClearShell=self.autoClearShell, forProject=runProject, - runInConsole=console, clientType=self.clientType) + runInConsole=console, clientType=self.clientType, + configOverride=self.overrideGlobalConfig) self.stopAct.setEnabled(True) @@ -2098,10 +2135,12 @@ tracePython=self.tracePython, autoClearShell=self.autoClearShell, autoContinue=self.autoContinue, enableMultiprocess=self.enableMultiprocess, - multiprocessNoDebugHistory=self.multiprocessNoDebugHistory) - if dlg.exec() == QDialog.Accepted: + multiprocessNoDebugHistory=self.multiprocessNoDebugHistory, + configOverride=self.overrideGlobalConfig) + if dlg.exec() == QDialog.DialogCode.Accepted: (lastUsedVenvName, argv, wd, env, exceptions, clearShell, console) = dlg.getData() + configOverride = dlg.getGlobalOverrideData() (tracePython, autoContinue, enableMultiprocess, multiprocessNoDebug) = dlg.getDebugData() @@ -2128,7 +2167,8 @@ self.excIgnoreList, clearShell, tracePython=tracePython, autoContinue=autoContinue, enableMultiprocess=enableMultiprocess, - multiprocessNoDebug=multiprocessNoDebug + multiprocessNoDebug=multiprocessNoDebug, + configOverride=configOverride ) self.lastStartAction = 2 @@ -2181,6 +2221,9 @@ self.enableMultiprocess = enableMultiprocess self.setMultiprocessNoDebugHistory(multiprocessNoDebug) + # Save the global config override data + self.overrideGlobalConfig = copy.deepcopy(configOverride) + # Hide all error highlights self.viewmanager.unhighlight() @@ -2207,7 +2250,8 @@ runInConsole=console, clientType=self.clientType, enableCallTrace=enableCallTrace, enableMultiprocess=enableMultiprocess, - multiprocessNoDebug=multiprocessNoDebug) + multiprocessNoDebug=multiprocessNoDebug, + configOverride=self.overrideGlobalConfig) if ( self.debugServer.isClientProcessUp() and @@ -2296,7 +2340,8 @@ clientType=self.clientType, enableCallTrace=enableCallTrace, enableMultiprocess=self.enableMultiprocess, - multiprocessNoDebug=multiprocessNoDebug) + multiprocessNoDebug=multiprocessNoDebug, + configOverride=self.overrideGlobalConfig) # Signal that we have started a debugging session self.debuggingStarted.emit(fn) @@ -2308,7 +2353,8 @@ autoClearShell=self.autoClearShell, forProject=forProject, runInConsole=self.runInConsole, - clientType=self.clientType) + clientType=self.clientType, + configOverride=self.overrideGlobalConfig) elif self.lastStartAction in [5, 6]: # Ask the client to coverage run the new program. @@ -2318,7 +2364,8 @@ erase=self.eraseCoverage, forProject=forProject, runInConsole=self.runInConsole, - clientType=self.clientType) + clientType=self.clientType, + configOverride=self.overrideGlobalConfig) elif self.lastStartAction in [7, 8]: # Ask the client to profile run the new program. @@ -2328,7 +2375,8 @@ erase=self.eraseTimings, forProject=forProject, runInConsole=self.runInConsole, - clientType=self.clientType) + clientType=self.clientType, + configOverride=self.overrideGlobalConfig) self.stopAct.setEnabled(True) @@ -2564,3 +2612,14 @@ @type bool """ self.enableMultiprocess = enableMultiprocess + + def setEnableGlobalConfigOverride(self, overrideData): + """ + Public method to initialize the global config override data. + + @param overrideData dictionary containing a flag indicating to enable + global config override and a flag indicating to redirect + stdin/stdout/stderr + @type dict + """ + self.overrideGlobalConfig = copy.deepcopy(overrideData)
--- a/eric6/Debugger/DebugViewer.py Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Debugger/DebugViewer.py Sun Mar 28 15:00:11 2021 +0200 @@ -50,8 +50,8 @@ sourceFile = pyqtSignal(str, int) preferencesChanged = pyqtSignal() - ThreadIdRole = Qt.UserRole + 1 - DebuggerStateRole = Qt.UserRole + 2 + ThreadIdRole = Qt.ItemDataRole.UserRole + 1 + DebuggerStateRole = Qt.ItemDataRole.UserRole + 2 # Map debug state to icon name StateIcon = { @@ -93,7 +93,7 @@ self.__mainLayout.setContentsMargins(0, 3, 0, 0) self.setLayout(self.__mainLayout) - self.__mainSplitter = QSplitter(Qt.Vertical, self) + self.__mainSplitter = QSplitter(Qt.Orientation.Vertical, self) self.__mainLayout.addWidget(self.__mainSplitter) # add the viewer showing the connected debug backends @@ -135,7 +135,7 @@ self.globalsFilterEdit = QLineEdit(self.glvWidget) self.globalsFilterEdit.setSizePolicy( - QSizePolicy.Expanding, QSizePolicy.Fixed) + QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Fixed) self.glvWidgetHLayout.addWidget(self.globalsFilterEdit) self.globalsFilterEdit.setToolTip( self.tr("Enter regular expression patterns separated by ';'" @@ -174,7 +174,7 @@ self.stackComboBox = QComboBox(self.lvWidget) self.stackComboBox.setSizePolicy( - QSizePolicy.Expanding, QSizePolicy.Fixed) + QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Fixed) self.lvWidgetHLayout1.addWidget(self.stackComboBox) self.sourceButton = QPushButton(self.tr('Source'), self.lvWidget) @@ -190,7 +190,7 @@ self.localsFilterEdit = QLineEdit(self.lvWidget) self.localsFilterEdit.setSizePolicy( - QSizePolicy.Expanding, QSizePolicy.Fixed) + QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Fixed) self.lvWidgetHLayout2.addWidget(self.localsFilterEdit) self.localsFilterEdit.setToolTip( self.tr( @@ -709,7 +709,7 @@ .format(debuggerId)) self.__debuggersList.header().resizeSections( - QHeaderView.ResizeToContents) + QHeaderView.ResizeMode.ResizeToContents) if self.__debuggersList.topLevelItemCount() == 1: # it is the only item, select it as the current one @@ -723,7 +723,7 @@ @type str """ debuggerItems = self.__debuggersList.findItems( - debuggerId, Qt.MatchExactly) + debuggerId, Qt.MatchFlag.MatchExactly) if debuggerItems: debuggerItem = debuggerItems[0] currentItem = self.__debuggersList.currentItem() @@ -802,7 +802,7 @@ debuggerItem = None if debuggerId: foundItems = self.__debuggersList.findItems( - debuggerId, Qt.MatchExactly) + debuggerId, Qt.MatchFlag.MatchExactly) if foundItems: debuggerItem = foundItems[0] if debuggerItem is None: @@ -821,7 +821,7 @@ debuggerItem.setText(1, stateText) self.__debuggersList.header().resizeSections( - QHeaderView.ResizeToContents) + QHeaderView.ResizeMode.ResizeToContents) def __removeDebugger(self, debuggerId): """ @@ -831,7 +831,7 @@ @type str """ foundItems = self.__debuggersList.findItems( - debuggerId, Qt.MatchExactly) + debuggerId, Qt.MatchFlag.MatchExactly) if foundItems: index = self.__debuggersList.indexOfTopLevelItem(foundItems[0]) itm = self.__debuggersList.takeTopLevelItem(index) @@ -852,7 +852,7 @@ debugStatus = -1 # i.e. running debuggerItems = self.__debuggersList.findItems( - debuggerId, Qt.MatchExactly) + debuggerId, Qt.MatchFlag.MatchExactly) if debuggerItems: debuggerItem = debuggerItems[0] @@ -890,7 +890,7 @@ debuggerItem.setExpanded(debuggerItem.childCount() > 0) self.__debuggersList.header().resizeSections( - QHeaderView.ResizeToContents) + QHeaderView.ResizeMode.ResizeToContents) self.__debuggersList.header().setStretchLastSection(True) self.__doDebuggersListUpdate = True @@ -918,7 +918,7 @@ debuggerItem = None if debuggerId: foundItems = self.__debuggersList.findItems( - debuggerId, Qt.MatchExactly) + debuggerId, Qt.MatchFlag.MatchExactly) if foundItems: debuggerItem = foundItems[0] if debuggerItem is None: @@ -944,4 +944,4 @@ childItem.setText(1, stateText) self.__debuggersList.header().resizeSections( - QHeaderView.ResizeToContents) + QHeaderView.ResizeMode.ResizeToContents)
--- a/eric6/Debugger/DebuggerInterfacePython.py Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Debugger/DebuggerInterfacePython.py Sun Mar 28 15:00:11 2021 +0200 @@ -153,7 +153,7 @@ return proc def startRemote(self, port, runInConsole, venvName, originalPathString, - workingDir=None): + workingDir=None, configOverride=None): """ Public method to start a remote Python interpreter. @@ -168,6 +168,9 @@ @type str @param workingDir directory to start the debugger client in @type str + @param configOverride dictionary containing the global config override + data + @type dict @return client process object, a flag to indicate a network connection and the name of the interpreter in case of a local execution @rtype tuple of (QProcess, bool, str) @@ -205,7 +208,10 @@ "DebugClients", "Python", "DebugClient.py") - redirect = str(Preferences.getDebugger("Python3Redirect")) + if configOverride and configOverride["enable"]: + redirect = str(configOverride["redirect"]) + else: + redirect = str(Preferences.getDebugger("Python3Redirect")) noencoding = (Preferences.getDebugger("Python3NoEncoding") and '--no-encoding' or '') multiprocessEnabled = ( @@ -328,7 +334,8 @@ return process, self.__isNetworked, interpreter def startRemoteForProject(self, port, runInConsole, venvName, - originalPathString, workingDir=None): + originalPathString, workingDir=None, + configOverride=None): """ Public method to start a remote Python interpreter for a project. @@ -343,6 +350,9 @@ @type str @param workingDir directory to start the debugger client in @type str + @param configOverride dictionary containing the global config override + data + @type dict @return client process object, a flag to indicate a network connection and the name of the interpreter in case of a local execution @rtype tuple of (QProcess, bool, str) @@ -361,7 +371,10 @@ if project.getProjectLanguage() == "Python3": venvName = Preferences.getDebugger("Python3VirtualEnv") - redirect = str(project.getDebugProperty("REDIRECT")) + if configOverride and configOverride["enable"]: + redirect = str(configOverride["redirect"]) + else: + redirect = str(project.getDebugProperty("REDIRECT")) noencoding = ( '--no-encoding' if project.getDebugProperty("NOENCODING") else '' )
--- a/eric6/Debugger/EditBreakpointDialog.py Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Debugger/EditBreakpointDialog.py Sun Mar 28 15:00:11 2021 +0200 @@ -45,9 +45,10 @@ self.filenamePicker.setMode(E5PathPickerModes.OpenFileMode) self.filenamePicker.setSizeAdjustPolicy( - QComboBox.AdjustToMinimumContentsLength) + QComboBox.SizeAdjustPolicy.AdjustToMinimumContentsLengthWithIcon) - self.okButton = self.buttonBox.button(QDialogButtonBox.Ok) + self.okButton = self.buttonBox.button( + QDialogButtonBox.StandardButton.Ok) fn, lineno = breakPointId
--- a/eric6/Debugger/EditBreakpointDialog.ui Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Debugger/EditBreakpointDialog.ui Sun Mar 28 15:00:11 2021 +0200 @@ -98,7 +98,7 @@ <bool>true</bool> </property> <property name="sizeAdjustPolicy"> - <enum>QComboBox::AdjustToMinimumContentsLength</enum> + <enum>QComboBox::AdjustToContents</enum> </property> </widget> </item>
--- a/eric6/Debugger/EditWatchpointDialog.py Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Debugger/EditWatchpointDialog.py Sun Mar 28 15:00:11 2021 +0200 @@ -33,7 +33,8 @@ self.setObjectName(name) self.setModal(modal) - self.buttonBox.button(QDialogButtonBox.Ok).setEnabled(False) + self.buttonBox.button( + QDialogButtonBox.StandardButton.Ok).setEnabled(False) # connect our widgets self.conditionEdit.textChanged.connect(self.__textChanged) @@ -77,15 +78,16 @@ """ if self.conditionButton.isChecked(): self.buttonBox.button( - QDialogButtonBox.Ok + QDialogButtonBox.StandardButton.Ok ).setEnabled(self.conditionEdit.text() != "") elif self.specialButton.isChecked(): self.buttonBox.button( - QDialogButtonBox.Ok + QDialogButtonBox.StandardButton.Ok ).setEnabled(self.specialEdit.text() != "") else: # should not happen - self.buttonBox.button(QDialogButtonBox.Ok).setEnabled(False) + self.buttonBox.button( + QDialogButtonBox.StandardButton.Ok).setEnabled(False) def getData(self): """
--- a/eric6/Debugger/ExceptionLogger.py Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Debugger/ExceptionLogger.py Sun Mar 28 15:00:11 2021 +0200 @@ -40,7 +40,7 @@ self.setHeaderLabels([self.tr("Exception")]) self.setSortingEnabled(False) - self.setContextMenuPolicy(Qt.CustomContextMenu) + self.setContextMenuPolicy(Qt.ContextMenuPolicy.CustomContextMenu) self.customContextMenuRequested.connect(self.__showContextMenu) self.itemDoubleClicked.connect(self.__itemDoubleClicked)
--- a/eric6/Debugger/ExceptionsFilterDialog.py Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Debugger/ExceptionsFilterDialog.py Sun Mar 28 15:00:11 2021 +0200 @@ -36,7 +36,8 @@ self.exceptionList.setToolTip( self.tr("List of ignored exceptions")) - self.okButton = self.buttonBox.button(QDialogButtonBox.Ok) + self.okButton = self.buttonBox.button( + QDialogButtonBox.StandardButton.Ok) @pyqtSlot() def on_exceptionList_itemSelectionChanged(self):
--- a/eric6/Debugger/StartCoverageDialog.ui Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Debugger/StartCoverageDialog.ui Sun Mar 28 15:00:11 2021 +0200 @@ -7,7 +7,7 @@ <x>0</x> <y>0</y> <width>550</width> - <height>228</height> + <height>303</height> </rect> </property> <property name="windowTitle"> @@ -16,7 +16,7 @@ <property name="sizeGripEnabled"> <bool>true</bool> </property> - <layout class="QVBoxLayout" name="verticalLayout"> + <layout class="QVBoxLayout" name="verticalLayout_2"> <item> <layout class="QGridLayout" name="gridLayout_3"> <item row="2" column="0"> @@ -133,6 +133,9 @@ <string><b>Virtual Environment</b> <p>Enter the virtual environment to be used. Leave it empty to use the default environment, i.e. the one configured globally or per project.</p></string> </property> + <property name="sizeAdjustPolicy"> + <enum>QComboBox::AdjustToContentsOnFirstShow</enum> + </property> </widget> </item> <item row="0" column="0"> @@ -158,6 +161,31 @@ </layout> </item> <item> + <widget class="QGroupBox" name="globalOverrideGroup"> + <property name="title"> + <string>Override Global Configuration</string> + </property> + <property name="checkable"> + <bool>true</bool> + </property> + <property name="checked"> + <bool>false</bool> + </property> + <layout class="QVBoxLayout" name="verticalLayout"> + <item> + <widget class="QCheckBox" name="redirectCheckBox"> + <property name="toolTip"> + <string>Select, to redirect stdin, stdout and stderr of the program being debugged to the eric IDE</string> + </property> + <property name="text"> + <string>Redirect stdin/stdout/stderr</string> + </property> + </widget> + </item> + </layout> + </widget> + </item> + <item> <layout class="QGridLayout" name="gridLayout_2"> <item row="0" column="0"> <widget class="QCheckBox" name="exceptionCheckBox"> @@ -254,6 +282,8 @@ <tabstop>cmdlineCombo</tabstop> <tabstop>workdirPicker</tabstop> <tabstop>environmentCombo</tabstop> + <tabstop>globalOverrideGroup</tabstop> + <tabstop>redirectCheckBox</tabstop> <tabstop>exceptionCheckBox</tabstop> <tabstop>clearShellCheckBox</tabstop> <tabstop>consoleCheckBox</tabstop>
--- a/eric6/Debugger/StartDebugDialog.ui Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Debugger/StartDebugDialog.ui Sun Mar 28 15:00:11 2021 +0200 @@ -7,7 +7,7 @@ <x>0</x> <y>0</y> <width>550</width> - <height>335</height> + <height>410</height> </rect> </property> <property name="windowTitle"> @@ -16,7 +16,7 @@ <property name="sizeGripEnabled"> <bool>true</bool> </property> - <layout class="QVBoxLayout" name="verticalLayout"> + <layout class="QVBoxLayout" name="verticalLayout_2"> <item> <layout class="QGridLayout" name="gridLayout_3"> <item row="0" column="0"> @@ -158,6 +158,31 @@ </layout> </item> <item> + <widget class="QGroupBox" name="globalOverrideGroup"> + <property name="title"> + <string>Override Global Configuration</string> + </property> + <property name="checkable"> + <bool>true</bool> + </property> + <property name="checked"> + <bool>false</bool> + </property> + <layout class="QVBoxLayout" name="verticalLayout"> + <item> + <widget class="QCheckBox" name="redirectCheckBox"> + <property name="toolTip"> + <string>Select, to redirect stdin, stdout and stderr of the program being debugged to the eric IDE</string> + </property> + <property name="text"> + <string>Redirect stdin/stdout/stderr</string> + </property> + </widget> + </item> + </layout> + </widget> + </item> + <item> <layout class="QGridLayout" name="gridLayout"> <item row="2" column="0"> <widget class="QCheckBox" name="tracePythonCheckBox"> @@ -254,7 +279,7 @@ <property name="checkable"> <bool>true</bool> </property> - <layout class="QHBoxLayout" name="horizontalLayout_2"> + <layout class="QHBoxLayout" name="horizontalLayout"> <item> <widget class="QLabel" name="TextLabel1_2"> <property name="text"> @@ -322,6 +347,8 @@ <tabstop>cmdlineCombo</tabstop> <tabstop>workdirPicker</tabstop> <tabstop>environmentCombo</tabstop> + <tabstop>globalOverrideGroup</tabstop> + <tabstop>redirectCheckBox</tabstop> <tabstop>exceptionCheckBox</tabstop> <tabstop>clearShellCheckBox</tabstop> <tabstop>consoleCheckBox</tabstop>
--- a/eric6/Debugger/StartDialog.py Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Debugger/StartDialog.py Sun Mar 28 15:00:11 2021 +0200 @@ -30,7 +30,8 @@ exceptions, parent=None, dialogType=0, modfuncList=None, tracePython=False, autoClearShell=True, autoContinue=True, - enableMultiprocess=False, multiprocessNoDebugHistory=None): + enableMultiprocess=False, multiprocessNoDebugHistory=None, + configOverride=None): """ Constructor @@ -74,6 +75,9 @@ @param multiprocessNoDebugHistory list of lists with programs not to be debugged @type list of str + @param configOverride dictionary containing the global config override + data + @type dict """ super(StartDialog, self).__init__(parent) self.setModal(True) @@ -101,14 +105,15 @@ self.ui.workdirPicker.setMode(E5PathPickerModes.DirectoryMode) self.ui.workdirPicker.setDefaultDirectory( Preferences.getMultiProject("Workspace")) - self.ui.workdirPicker.setInsertPolicy(QComboBox.InsertAtTop) + self.ui.workdirPicker.setInsertPolicy( + QComboBox.InsertPolicy.InsertAtTop) self.ui.workdirPicker.setSizeAdjustPolicy( - QComboBox.AdjustToMinimumContentsLength) + QComboBox.SizeAdjustPolicy.AdjustToMinimumContentsLengthWithIcon) self.clearButton = self.ui.buttonBox.addButton( - self.tr("Clear Histories"), QDialogButtonBox.ActionRole) + self.tr("Clear Histories"), QDialogButtonBox.ButtonRole.ActionRole) self.editButton = self.ui.buttonBox.addButton( - self.tr("Edit History"), QDialogButtonBox.ActionRole) + self.tr("Edit History"), QDialogButtonBox.ButtonRole.ActionRole) self.setWindowTitle(caption) self.ui.cmdlineCombo.clear() @@ -128,6 +133,8 @@ self.ui.consoleCheckBox.setChecked(False) venvIndex = max(0, self.ui.venvComboBox.findText(lastUsedVenvName)) self.ui.venvComboBox.setCurrentIndex(venvIndex) + self.ui.globalOverrideGroup.setChecked(configOverride["enable"]) + self.ui.redirectCheckBox.setChecked(configOverride["redirect"]) if dialogType == 0: # start debug dialog enableMultiprocessGlobal = Preferences.getDebugger( @@ -161,8 +168,9 @@ """ Private slot to enable/disable the OK button. """ - self.ui.buttonBox.button(QDialogButtonBox.Ok).setDisabled( - self.ui.modFuncCombo.currentText() == "") + self.ui.buttonBox.button( + QDialogButtonBox.StandardButton.Ok).setDisabled( + self.ui.modFuncCombo.currentText() == "") def getData(self): """ @@ -185,7 +193,21 @@ self.ui.clearShellCheckBox.isChecked(), self.ui.consoleCheckBox.isChecked(), ) + + def getGlobalOverrideData(self): + """ + Public method to retrieve the global configuration override data + entered into this dialog. + @return dictionary containing a flag indicating to activate the global + override and a flag indicating a redirect of stdin/stdout/stderr + @rtype dict + """ + return { + "enable": self.ui.globalOverrideGroup.isChecked(), + "redirect": self.ui.redirectCheckBox.isChecked(), + } + def getDebugData(self): """ Public method to retrieve the debug related data entered into this @@ -296,7 +318,7 @@ if history: from .StartHistoryEditDialog import StartHistoryEditDialog dlg = StartHistoryEditDialog(history, self) - if dlg.exec() == QDialog.Accepted: + if dlg.exec() == QDialog.DialogCode.Accepted: history = dlg.getHistory() combo = combos[historiesIndex] if combo:
--- a/eric6/Debugger/StartHistoryEditDialog.py Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Debugger/StartHistoryEditDialog.py Sun Mar 28 15:00:11 2021 +0200 @@ -34,7 +34,7 @@ self.historyList.addItems(history) for row in range(self.historyList.count()): itm = self.historyList.item(row) - flags = itm.flags() | Qt.ItemIsEditable + flags = itm.flags() | Qt.ItemFlag.ItemIsEditable itm.setFlags(flags) self.__updateEditButtons() @@ -65,7 +65,7 @@ self, self.tr("Edit History Entry"), self.tr("Enter the new text:"), - QLineEdit.Normal, + QLineEdit.EchoMode.Normal, itm.text()) if ok: itm.setText(historyText)
--- a/eric6/Debugger/StartProfileDialog.ui Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Debugger/StartProfileDialog.ui Sun Mar 28 15:00:11 2021 +0200 @@ -7,7 +7,7 @@ <x>0</x> <y>0</y> <width>550</width> - <height>228</height> + <height>303</height> </rect> </property> <property name="windowTitle"> @@ -16,7 +16,7 @@ <property name="sizeGripEnabled"> <bool>true</bool> </property> - <layout class="QVBoxLayout" name="verticalLayout"> + <layout class="QVBoxLayout" name="verticalLayout_2"> <item> <layout class="QGridLayout" name="gridLayout_3"> <item row="0" column="0"> @@ -158,6 +158,31 @@ </layout> </item> <item> + <widget class="QGroupBox" name="globalOverrideGroup"> + <property name="title"> + <string>Override Global Configuration</string> + </property> + <property name="checkable"> + <bool>true</bool> + </property> + <property name="checked"> + <bool>false</bool> + </property> + <layout class="QVBoxLayout" name="verticalLayout"> + <item> + <widget class="QCheckBox" name="redirectCheckBox"> + <property name="toolTip"> + <string>Select, to redirect stdin, stdout and stderr of the program being debugged to the eric IDE</string> + </property> + <property name="text"> + <string>Redirect stdin/stdout/stderr</string> + </property> + </widget> + </item> + </layout> + </widget> + </item> + <item> <layout class="QGridLayout" name="gridLayout_2"> <item row="0" column="0"> <widget class="QCheckBox" name="exceptionCheckBox"> @@ -254,6 +279,8 @@ <tabstop>cmdlineCombo</tabstop> <tabstop>workdirPicker</tabstop> <tabstop>environmentCombo</tabstop> + <tabstop>globalOverrideGroup</tabstop> + <tabstop>redirectCheckBox</tabstop> <tabstop>exceptionCheckBox</tabstop> <tabstop>clearShellCheckBox</tabstop> <tabstop>consoleCheckBox</tabstop>
--- a/eric6/Debugger/StartRunDialog.ui Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Debugger/StartRunDialog.ui Sun Mar 28 15:00:11 2021 +0200 @@ -7,7 +7,7 @@ <x>0</x> <y>0</y> <width>550</width> - <height>228</height> + <height>303</height> </rect> </property> <property name="windowTitle"> @@ -16,7 +16,7 @@ <property name="sizeGripEnabled"> <bool>true</bool> </property> - <layout class="QVBoxLayout" name="verticalLayout"> + <layout class="QVBoxLayout" name="verticalLayout_2"> <item> <layout class="QGridLayout" name="gridLayout_2"> <item row="0" column="0"> @@ -158,6 +158,31 @@ </layout> </item> <item> + <widget class="QGroupBox" name="globalOverrideGroup"> + <property name="title"> + <string>Override Global Configuration</string> + </property> + <property name="checkable"> + <bool>true</bool> + </property> + <property name="checked"> + <bool>false</bool> + </property> + <layout class="QVBoxLayout" name="verticalLayout"> + <item> + <widget class="QCheckBox" name="redirectCheckBox"> + <property name="toolTip"> + <string>Select, to redirect stdin, stdout and stderr of the program being debugged to the eric IDE</string> + </property> + <property name="text"> + <string>Redirect stdin/stdout/stderr</string> + </property> + </widget> + </item> + </layout> + </widget> + </item> + <item> <layout class="QGridLayout" name="gridLayout"> <item row="0" column="0"> <widget class="QCheckBox" name="exceptionCheckBox"> @@ -237,6 +262,8 @@ <tabstop>cmdlineCombo</tabstop> <tabstop>workdirPicker</tabstop> <tabstop>environmentCombo</tabstop> + <tabstop>globalOverrideGroup</tabstop> + <tabstop>redirectCheckBox</tabstop> <tabstop>exceptionCheckBox</tabstop> <tabstop>clearShellCheckBox</tabstop> <tabstop>consoleCheckBox</tabstop>
--- a/eric6/Debugger/VariablesFilterDialog.py Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Debugger/VariablesFilterDialog.py Sun Mar 28 15:00:11 2021 +0200 @@ -38,15 +38,16 @@ self.setupUi(self) self.defaultButton = self.buttonBox.addButton( - self.tr("Save Default"), QDialogButtonBox.ActionRole) + self.tr("Save Default"), QDialogButtonBox.ButtonRole.ActionRole) #populate the list widgets and set the default selection for widget in self.localsList, self.globalsList: for varType, varTypeStr in ConfigVarTypeDispStrings.items(): itm = QListWidgetItem(self.tr(varTypeStr), widget) - itm.setData(Qt.UserRole, varType) - itm.setFlags(Qt.ItemIsEnabled | Qt.ItemIsUserCheckable) - itm.setCheckState(Qt.Unchecked) + itm.setData(Qt.ItemDataRole.UserRole, varType) + itm.setFlags(Qt.ItemFlag.ItemIsEnabled | + Qt.ItemFlag.ItemIsUserCheckable) + itm.setCheckState(Qt.CheckState.Unchecked) widget.addItem(itm) lDefaultFilter, gDefaultFilter = Preferences.getVarFilters() @@ -64,14 +65,14 @@ lList = [] for row in range(self.localsList.count()): itm = self.localsList.item(row) - if itm.checkState() == Qt.Unchecked: - lList.append(itm.data(Qt.UserRole)) + if itm.checkState() == Qt.CheckState.Unchecked: + lList.append(itm.data(Qt.ItemDataRole.UserRole)) gList = [] for row in range(self.globalsList.count()): itm = self.globalsList.item(row) - if itm.checkState() == Qt.Unchecked: - gList.append(itm.data(Qt.UserRole)) + if itm.checkState() == Qt.CheckState.Unchecked: + gList.append(itm.data(Qt.ItemDataRole.UserRole)) return (lList, gList) def setSelection(self, lList, gList): @@ -85,17 +86,17 @@ """ for row in range(self.localsList.count()): itm = self.localsList.item(row) - if itm.data(Qt.UserRole) in lList: - itm.setCheckState(Qt.Unchecked) + if itm.data(Qt.ItemDataRole.UserRole) in lList: + itm.setCheckState(Qt.CheckState.Unchecked) else: - itm.setCheckState(Qt.Checked) + itm.setCheckState(Qt.CheckState.Checked) for row in range(self.globalsList.count()): itm = self.globalsList.item(row) - if itm.data(Qt.UserRole) in gList: - itm.setCheckState(Qt.Unchecked) + if itm.data(Qt.ItemDataRole.UserRole) in gList: + itm.setCheckState(Qt.CheckState.Unchecked) else: - itm.setCheckState(Qt.Checked) + itm.setCheckState(Qt.CheckState.Checked) def on_buttonBox_clicked(self, button): """
--- a/eric6/Debugger/VariablesViewer.py Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Debugger/VariablesViewer.py Sun Mar 28 15:00:11 2021 +0200 @@ -25,7 +25,7 @@ import Preferences import Utilities -SORT_ROLE = Qt.UserRole +SORT_ROLE = Qt.ItemDataRole.UserRole class VariableItem(object): @@ -554,9 +554,9 @@ @rtype QtCore.Qt.ItemFlag """ if not index.isValid(): - return Qt.NoItemFlags + return Qt.ItemFlag.NoItemFlags - return Qt.ItemIsEnabled | Qt.ItemIsSelectable + return Qt.ItemFlag.ItemIsEnabled | Qt.ItemFlag.ItemIsSelectable def hasChildren(self, parent=QModelIndex()): """ @@ -619,7 +619,7 @@ row = parentNode.parent.children.index(parentNode) return self.createIndex(row, 0, parentNode) - def data(self, index, role=Qt.DisplayRole): + def data(self, index, role=Qt.ItemDataRole.DisplayRole): """ Public method get the role data of item. @@ -636,7 +636,9 @@ node = index.internalPointer() column = index.column() - if role in (Qt.DisplayRole, SORT_ROLE, Qt.EditRole): + if role in ( + Qt.ItemDataRole.DisplayRole, SORT_ROLE, Qt.ItemDataRole.EditRole + ): try: if column == 0: # Sort first column with values from third column @@ -654,13 +656,13 @@ except AttributeError: return ['None', '', '', ''][column] - elif role == Qt.BackgroundRole: + elif role == Qt.ItemDataRole.BackgroundRole: if node in node.parent.changedItems: return self.__bgColorChanged elif node in node.parent.newItems: return self.__bgColorNew - elif role == Qt.ToolTipRole: + elif role == Qt.ItemDataRole.ToolTipRole: if column == 0: tooltip = node.name + node.indicator elif column == 1: @@ -701,7 +703,8 @@ return None - def headerData(self, section, orientation, role=Qt.DisplayRole): + def headerData(self, section, orientation, + role=Qt.ItemDataRole.DisplayRole): """ Public method get the header names. @@ -714,7 +717,10 @@ @return header name @rtype str or None """ - if role != Qt.DisplayRole or orientation != Qt.Horizontal: + if ( + role != Qt.ItemDataRole.DisplayRole or + orientation != Qt.Orientation.Horizontal + ): return None if section == 0: @@ -952,7 +958,8 @@ self.setSortingEnabled(True) self.setAlternatingRowColors(True) - self.setSelectionBehavior(QAbstractItemView.SelectRows) + self.setSelectionBehavior( + QAbstractItemView.SelectionBehavior.SelectRows) if self.__globalScope: self.setWindowTitle(self.tr("Global Variables")) @@ -970,7 +977,7 @@ )) header = self.header() - header.setSortIndicator(0, Qt.AscendingOrder) + header.setSortIndicator(0, Qt.SortOrder.AscendingOrder) header.setSortIndicatorShown(True) try: @@ -985,7 +992,7 @@ header.sortIndicatorChanged.connect(lambda *x: self.varModel.getMore()) self.__createPopupMenus() - self.setContextMenuPolicy(Qt.CustomContextMenu) + self.setContextMenuPolicy(Qt.ContextMenuPolicy.CustomContextMenu) self.customContextMenuRequested.connect(self.__showContextMenu) self.resortEnabled = True
--- a/eric6/Debugger/WatchPointModel.py Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Debugger/WatchPointModel.py Sun Mar 28 15:00:11 2021 +0200 @@ -37,11 +37,11 @@ self.tr('Enabled'), self.tr('Ignore Count'), ] - self.alignments = [Qt.Alignment(Qt.AlignLeft), - Qt.Alignment(Qt.AlignLeft), - Qt.Alignment(Qt.AlignHCenter), - Qt.Alignment(Qt.AlignHCenter), - Qt.Alignment(Qt.AlignRight), + self.alignments = [Qt.Alignment(Qt.AlignmentFlag.AlignLeft), + Qt.Alignment(Qt.AlignmentFlag.AlignLeft), + Qt.Alignment(Qt.AlignmentFlag.AlignHCenter), + Qt.Alignment(Qt.AlignmentFlag.AlignHCenter), + Qt.Alignment(Qt.AlignmentFlag.AlignRight), ] def columnCount(self, parent=None): @@ -77,19 +77,19 @@ if not index.isValid(): return None - if role == Qt.DisplayRole: + if role == Qt.ItemDataRole.DisplayRole: if index.column() in [0, 1, 4]: return self.watchpoints[index.row()][index.column()] - if role == Qt.CheckStateRole: + if role == Qt.ItemDataRole.CheckStateRole: if index.column() in [2, 3]: return self.watchpoints[index.row()][index.column()] - if role == Qt.ToolTipRole: + if role == Qt.ItemDataRole.ToolTipRole: if index.column() in [0, 1]: return self.watchpoints[index.row()][index.column()] - if role == Qt.TextAlignmentRole: + if role == Qt.ItemDataRole.TextAlignmentRole: if index.column() < len(self.alignments): return self.alignments[index.column()] @@ -103,11 +103,12 @@ @return item flags for the given index (Qt.ItemFlags) """ if not index.isValid(): - return Qt.ItemIsEnabled + return Qt.ItemFlag.ItemIsEnabled - return Qt.ItemIsEnabled | Qt.ItemIsSelectable + return Qt.ItemFlag.ItemIsEnabled | Qt.ItemFlag.ItemIsSelectable - def headerData(self, section, orientation, role=Qt.DisplayRole): + def headerData(self, section, orientation, + role=Qt.ItemDataRole.DisplayRole): """ Public method to get header data. @@ -116,7 +117,10 @@ @param role role of the requested data (Qt.ItemDataRole) @return header data """ - if orientation == Qt.Horizontal and role == Qt.DisplayRole: + if ( + orientation == Qt.Orientation.Horizontal and + role == Qt.ItemDataRole.DisplayRole + ): if section >= len(self.header): return "" else:
--- a/eric6/Debugger/WatchPointViewer.py Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Debugger/WatchPointViewer.py Sun Mar 28 15:00:11 2021 +0200 @@ -41,12 +41,14 @@ self.setItemsExpandable(False) self.setRootIsDecorated(False) self.setAlternatingRowColors(True) - self.setSelectionMode(QAbstractItemView.ExtendedSelection) - self.setSelectionBehavior(QAbstractItemView.SelectRows) + self.setSelectionMode( + QAbstractItemView.SelectionMode.ExtendedSelection) + self.setSelectionBehavior( + QAbstractItemView.SelectionBehavior.SelectRows) self.setWindowTitle(self.tr("Watchpoints")) - self.setContextMenuPolicy(Qt.CustomContextMenu) + self.setContextMenuPolicy(Qt.ContextMenuPolicy.CustomContextMenu) self.customContextMenuRequested.connect(self.__showContextMenu) self.doubleClicked.connect(self.__doubleClicked) @@ -66,7 +68,7 @@ super(WatchPointViewer, self).setModel(self.sortingModel) header = self.header() - header.setSortIndicator(0, Qt.AscendingOrder) + header.setSortIndicator(0, Qt.SortOrder.AscendingOrder) header.setSortIndicatorShown(True) header.setSectionsClickable(True) @@ -86,7 +88,7 @@ Private slot to resize the view when items get added, edited or deleted. """ - self.header().resizeSections(QHeaderView.ResizeToContents) + self.header().resizeSections(QHeaderView.ResizeMode.ResizeToContents) self.header().setStretchLastSection(True) def __resort(self): @@ -126,10 +128,12 @@ if selected: flags = QItemSelectionModel.SelectionFlags( - QItemSelectionModel.ClearAndSelect | QItemSelectionModel.Rows) + QItemSelectionModel.SelectionFlag.ClearAndSelect | + QItemSelectionModel.SelectionFlag.Rows) else: flags = QItemSelectionModel.SelectionFlags( - QItemSelectionModel.Deselect | QItemSelectionModel.Rows) + QItemSelectionModel.SelectionFlag.Deselect | + QItemSelectionModel.SelectionFlag.Rows) self.selectionModel().select(index, flags) def __createPopupMenus(self): @@ -259,7 +263,7 @@ """ from .EditWatchpointDialog import EditWatchpointDialog dlg = EditWatchpointDialog(("", False, True, 0, ""), self) - if dlg.exec() == QDialog.Accepted: + if dlg.exec() == QDialog.DialogCode.Accepted: cond, temp, enabled, ignorecount, special = dlg.getData() if not self.__findDuplicates(cond, special, True): self.__model.addWatchPoint(cond, special, @@ -301,7 +305,7 @@ from .EditWatchpointDialog import EditWatchpointDialog dlg = EditWatchpointDialog( (cond, temp, enabled, count, special), self) - if dlg.exec() == QDialog.Accepted: + if dlg.exec() == QDialog.DialogCode.Accepted: cond, temp, enabled, count, special = dlg.getData() if not self.__findDuplicates(cond, special, True, sindex): self.__model.setWatchPointByIndex(
--- a/eric6/Documentation/Help/source.qhp Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Documentation/Help/source.qhp Sun Mar 28 15:00:11 2021 +0200 @@ -310,6 +310,7 @@ </section> <section title="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Complexity" ref="index-eric6.Plugins.CheckerPlugins.CodeStyleChecker.Complexity.html"> <section title="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Complexity.ComplexityChecker" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Complexity.ComplexityChecker.html" /> + <section title="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Complexity.mccabe" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Complexity.mccabe.html" /> <section title="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Complexity.translations" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Complexity.translations.html" /> </section> <section title="eric6.Plugins.CheckerPlugins.CodeStyleChecker.DocStyle" ref="index-eric6.Plugins.CheckerPlugins.CodeStyleChecker.DocStyle.html"> @@ -319,12 +320,17 @@ <section title="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Miscellaneous" ref="index-eric6.Plugins.CheckerPlugins.CodeStyleChecker.Miscellaneous.html"> <section title="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Miscellaneous.MiscellaneousChecker" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Miscellaneous.MiscellaneousChecker.html" /> <section title="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Miscellaneous.MiscellaneousDefaults" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Miscellaneous.MiscellaneousDefaults.html" /> + <section title="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Miscellaneous.eradicate" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Miscellaneous.eradicate.html" /> <section title="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Miscellaneous.translations" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Miscellaneous.translations.html" /> </section> <section title="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Naming" ref="index-eric6.Plugins.CheckerPlugins.CodeStyleChecker.Naming.html"> <section title="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Naming.NamingStyleChecker" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Naming.NamingStyleChecker.html" /> <section title="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Naming.translations" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Naming.translations.html" /> </section> + <section title="eric6.Plugins.CheckerPlugins.CodeStyleChecker.PathLib" ref="index-eric6.Plugins.CheckerPlugins.CodeStyleChecker.PathLib.html"> + <section title="eric6.Plugins.CheckerPlugins.CodeStyleChecker.PathLib.PathlibChecker" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.PathLib.PathlibChecker.html" /> + <section title="eric6.Plugins.CheckerPlugins.CodeStyleChecker.PathLib.translations" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.PathLib.translations.html" /> + </section> <section title="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security" ref="index-eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.html"> <section title="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks" ref="index-eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.html"> <section title="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.__init__" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.__init__.html" /> @@ -368,8 +374,6 @@ <section title="eric6.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleCodeSelectionDialog" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleCodeSelectionDialog.html" /> <section title="eric6.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleFixer" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleFixer.html" /> <section title="eric6.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleStatisticsDialog" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleStatisticsDialog.html" /> - <section title="eric6.Plugins.CheckerPlugins.CodeStyleChecker.eradicate" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.eradicate.html" /> - <section title="eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.html" /> <section title="eric6.Plugins.CheckerPlugins.CodeStyleChecker.pycodestyle" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.pycodestyle.html" /> <section title="eric6.Plugins.CheckerPlugins.CodeStyleChecker.translations" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.translations.html" /> </section> @@ -1452,11 +1456,11 @@ <keyword name="APIsManager (Module)" id="APIsManager (Module)" ref="eric6.QScintilla.APIsManager.html" /> <keyword name="APIsManager.getAPIs" id="APIsManager.getAPIs" ref="eric6.QScintilla.APIsManager.html#APIsManager.getAPIs" /> <keyword name="APIsManager.reloadAPIs" id="APIsManager.reloadAPIs" ref="eric6.QScintilla.APIsManager.html#APIsManager.reloadAPIs" /> - <keyword name="ASTVisitor" id="ASTVisitor" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.html#ASTVisitor" /> - <keyword name="ASTVisitor (Constructor)" id="ASTVisitor (Constructor)" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.html#ASTVisitor.__init__" /> - <keyword name="ASTVisitor.default" id="ASTVisitor.default" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.html#ASTVisitor.default" /> - <keyword name="ASTVisitor.dispatch" id="ASTVisitor.dispatch" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.html#ASTVisitor.dispatch" /> - <keyword name="ASTVisitor.preorder" id="ASTVisitor.preorder" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.html#ASTVisitor.preorder" /> + <keyword name="ASTVisitor" id="ASTVisitor" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Complexity.mccabe.html#ASTVisitor" /> + <keyword name="ASTVisitor (Constructor)" id="ASTVisitor (Constructor)" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Complexity.mccabe.html#ASTVisitor.__init__" /> + <keyword name="ASTVisitor.default" id="ASTVisitor.default" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Complexity.mccabe.html#ASTVisitor.default" /> + <keyword name="ASTVisitor.dispatch" id="ASTVisitor.dispatch" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Complexity.mccabe.html#ASTVisitor.dispatch" /> + <keyword name="ASTVisitor.preorder" id="ASTVisitor.preorder" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Complexity.mccabe.html#ASTVisitor.preorder" /> <keyword name="AboutDialog" id="AboutDialog" ref="eric6.Plugins.AboutPlugin.AboutDialog.html#AboutDialog" /> <keyword name="AboutDialog (Constructor)" id="AboutDialog (Constructor)" ref="eric6.Plugins.AboutPlugin.AboutDialog.html#AboutDialog.__init__" /> <keyword name="AboutDialog (Module)" id="AboutDialog (Module)" ref="eric6.Plugins.AboutPlugin.AboutDialog.html" /> @@ -3472,6 +3476,7 @@ <keyword name="DebugUI.setAutoClearShell" id="DebugUI.setAutoClearShell" ref="eric6.Debugger.DebugUI.html#DebugUI.setAutoClearShell" /> <keyword name="DebugUI.setAutoContinue" id="DebugUI.setAutoContinue" ref="eric6.Debugger.DebugUI.html#DebugUI.setAutoContinue" /> <keyword name="DebugUI.setDebugActionsEnabled" id="DebugUI.setDebugActionsEnabled" ref="eric6.Debugger.DebugUI.html#DebugUI.setDebugActionsEnabled" /> + <keyword name="DebugUI.setEnableGlobalConfigOverride" id="DebugUI.setEnableGlobalConfigOverride" ref="eric6.Debugger.DebugUI.html#DebugUI.setEnableGlobalConfigOverride" /> <keyword name="DebugUI.setEnableMultiprocess" id="DebugUI.setEnableMultiprocess" ref="eric6.Debugger.DebugUI.html#DebugUI.setEnableMultiprocess" /> <keyword name="DebugUI.setEnvHistory" id="DebugUI.setEnvHistory" ref="eric6.Debugger.DebugUI.html#DebugUI.setEnvHistory" /> <keyword name="DebugUI.setExcIgnoreList" id="DebugUI.setExcIgnoreList" ref="eric6.Debugger.DebugUI.html#DebugUI.setExcIgnoreList" /> @@ -4046,7 +4051,6 @@ <keyword name="E5ErrorMessageFilterDialog" id="E5ErrorMessageFilterDialog" ref="eric6.E5Gui.E5ErrorMessageFilterDialog.html#E5ErrorMessageFilterDialog" /> <keyword name="E5ErrorMessageFilterDialog (Constructor)" id="E5ErrorMessageFilterDialog (Constructor)" ref="eric6.E5Gui.E5ErrorMessageFilterDialog.html#E5ErrorMessageFilterDialog.__init__" /> <keyword name="E5ErrorMessageFilterDialog (Module)" id="E5ErrorMessageFilterDialog (Module)" ref="eric6.E5Gui.E5ErrorMessageFilterDialog.html" /> - <keyword name="E5ErrorMessageFilterDialog.__setToDefault" id="E5ErrorMessageFilterDialog.__setToDefault" ref="eric6.E5Gui.E5ErrorMessageFilterDialog.html#E5ErrorMessageFilterDialog.__setToDefault" /> <keyword name="E5ErrorMessageFilterDialog.getFilters" id="E5ErrorMessageFilterDialog.getFilters" ref="eric6.E5Gui.E5ErrorMessageFilterDialog.html#E5ErrorMessageFilterDialog.getFilters" /> <keyword name="E5FileCompleter" id="E5FileCompleter" ref="eric6.E5Gui.E5Completers.html#E5FileCompleter" /> <keyword name="E5FileCompleter (Constructor)" id="E5FileCompleter (Constructor)" ref="eric6.E5Gui.E5Completers.html#E5FileCompleter.__init__" /> @@ -5524,15 +5528,15 @@ <keyword name="Enum" id="Enum" ref="eric6.Utilities.ClassBrowsers.protoclbr.html#Enum" /> <keyword name="Enum (Constructor)" id="Enum (Constructor)" ref="eric6.Utilities.ClassBrowsers.ClbrBaseClasses.html#Enum.__init__" /> <keyword name="Enum (Constructor)" id="Enum (Constructor)" ref="eric6.Utilities.ClassBrowsers.protoclbr.html#Enum.__init__" /> - <keyword name="Eradicator" id="Eradicator" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.eradicate.html#Eradicator" /> - <keyword name="Eradicator.comment_contains_code" id="Eradicator.comment_contains_code" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.eradicate.html#Eradicator.comment_contains_code" /> - <keyword name="Eradicator.commented_out_code_line_numbers" id="Eradicator.commented_out_code_line_numbers" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.eradicate.html#Eradicator.commented_out_code_line_numbers" /> - <keyword name="Eradicator.detect_encoding" id="Eradicator.detect_encoding" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.eradicate.html#Eradicator.detect_encoding" /> - <keyword name="Eradicator.filter_commented_out_code" id="Eradicator.filter_commented_out_code" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.eradicate.html#Eradicator.filter_commented_out_code" /> - <keyword name="Eradicator.fix_file" id="Eradicator.fix_file" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.eradicate.html#Eradicator.fix_file" /> - <keyword name="Eradicator.multiline_case" id="Eradicator.multiline_case" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.eradicate.html#Eradicator.multiline_case" /> - <keyword name="Eradicator.open_with_encoding" id="Eradicator.open_with_encoding" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.eradicate.html#Eradicator.open_with_encoding" /> - <keyword name="Eradicator.update_whitelist" id="Eradicator.update_whitelist" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.eradicate.html#Eradicator.update_whitelist" /> + <keyword name="Eradicator" id="Eradicator" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Miscellaneous.eradicate.html#Eradicator" /> + <keyword name="Eradicator.comment_contains_code" id="Eradicator.comment_contains_code" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Miscellaneous.eradicate.html#Eradicator.comment_contains_code" /> + <keyword name="Eradicator.commented_out_code_line_numbers" id="Eradicator.commented_out_code_line_numbers" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Miscellaneous.eradicate.html#Eradicator.commented_out_code_line_numbers" /> + <keyword name="Eradicator.detect_encoding" id="Eradicator.detect_encoding" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Miscellaneous.eradicate.html#Eradicator.detect_encoding" /> + <keyword name="Eradicator.filter_commented_out_code" id="Eradicator.filter_commented_out_code" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Miscellaneous.eradicate.html#Eradicator.filter_commented_out_code" /> + <keyword name="Eradicator.fix_file" id="Eradicator.fix_file" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Miscellaneous.eradicate.html#Eradicator.fix_file" /> + <keyword name="Eradicator.multiline_case" id="Eradicator.multiline_case" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Miscellaneous.eradicate.html#Eradicator.multiline_case" /> + <keyword name="Eradicator.open_with_encoding" id="Eradicator.open_with_encoding" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Miscellaneous.eradicate.html#Eradicator.open_with_encoding" /> + <keyword name="Eradicator.update_whitelist" id="Eradicator.update_whitelist" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Miscellaneous.eradicate.html#Eradicator.update_whitelist" /> <keyword name="EricPluginWizard (Package)" id="EricPluginWizard (Package)" ref="index-eric6.Plugins.WizardPlugins.EricPluginWizard.html" /> <keyword name="EricSchemeHandler" id="EricSchemeHandler" ref="eric6.WebBrowser.Network.EricSchemeHandler.html#EricSchemeHandler" /> <keyword name="EricSchemeHandler (Constructor)" id="EricSchemeHandler (Constructor)" ref="eric6.WebBrowser.Network.EricSchemeHandler.html#EricSchemeHandler.__init__" /> @@ -9452,6 +9456,7 @@ <keyword name="LexerPygments.isStringStyle" id="LexerPygments.isStringStyle" ref="eric6.QScintilla.Lexers.LexerPygments.html#LexerPygments.isStringStyle" /> <keyword name="LexerPygments.language" id="LexerPygments.language" ref="eric6.QScintilla.Lexers.LexerPygments.html#LexerPygments.language" /> <keyword name="LexerPygments.name" id="LexerPygments.name" ref="eric6.QScintilla.Lexers.LexerPygments.html#LexerPygments.name" /> + <keyword name="LexerPygments.readSettings" id="LexerPygments.readSettings" ref="eric6.QScintilla.Lexers.LexerPygments.html#LexerPygments.readSettings" /> <keyword name="LexerPygments.styleText" id="LexerPygments.styleText" ref="eric6.QScintilla.Lexers.LexerPygments.html#LexerPygments.styleText" /> <keyword name="LexerPython" id="LexerPython" ref="eric6.QScintilla.Lexers.LexerPython.html#LexerPython" /> <keyword name="LexerPython (Constructor)" id="LexerPython (Constructor)" ref="eric6.QScintilla.Lexers.LexerPython.html#LexerPython.__init__" /> @@ -10098,6 +10103,7 @@ <keyword name="MiniEditor.textForFind" id="MiniEditor.textForFind" ref="eric6.QScintilla.MiniEditor.html#MiniEditor.textForFind" /> <keyword name="MiniScintilla" id="MiniScintilla" ref="eric6.QScintilla.MiniEditor.html#MiniScintilla" /> <keyword name="MiniScintilla (Constructor)" id="MiniScintilla (Constructor)" ref="eric6.QScintilla.MiniEditor.html#MiniScintilla.__init__" /> + <keyword name="MiniScintilla.editorCommand" id="MiniScintilla.editorCommand" ref="eric6.QScintilla.MiniEditor.html#MiniScintilla.editorCommand" /> <keyword name="MiniScintilla.encloseSelectedText" id="MiniScintilla.encloseSelectedText" ref="eric6.QScintilla.MiniEditor.html#MiniScintilla.encloseSelectedText" /> <keyword name="MiniScintilla.focusInEvent" id="MiniScintilla.focusInEvent" ref="eric6.QScintilla.MiniEditor.html#MiniScintilla.focusInEvent" /> <keyword name="MiniScintilla.focusOutEvent" id="MiniScintilla.focusOutEvent" ref="eric6.QScintilla.MiniEditor.html#MiniScintilla.focusOutEvent" /> @@ -10329,6 +10335,11 @@ <keyword name="NameFinder.getNames" id="NameFinder.getNames" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Miscellaneous.MiscellaneousChecker.html#NameFinder.getNames" /> <keyword name="NameFinder.visit" id="NameFinder.visit" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Miscellaneous.MiscellaneousChecker.html#NameFinder.visit" /> <keyword name="NameFinder.visit_Name" id="NameFinder.visit_Name" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Miscellaneous.MiscellaneousChecker.html#NameFinder.visit_Name" /> + <keyword name="NameResolver" id="NameResolver" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.PathLib.PathlibChecker.html#NameResolver" /> + <keyword name="NameResolver (Constructor)" id="NameResolver (Constructor)" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.PathLib.PathlibChecker.html#NameResolver.__init__" /> + <keyword name="NameResolver.name" id="NameResolver.name" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.PathLib.PathlibChecker.html#NameResolver.name" /> + <keyword name="NameResolver.visit_Attribute" id="NameResolver.visit_Attribute" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.PathLib.PathlibChecker.html#NameResolver.visit_Attribute" /> + <keyword name="NameResolver.visit_Name" id="NameResolver.visit_Name" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.PathLib.PathlibChecker.html#NameResolver.visit_Name" /> <keyword name="Naming (Package)" id="Naming (Package)" ref="index-eric6.Plugins.CheckerPlugins.CodeStyleChecker.Naming.html" /> <keyword name="NamingStyleChecker" id="NamingStyleChecker" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Naming.NamingStyleChecker.html#NamingStyleChecker" /> <keyword name="NamingStyleChecker (Constructor)" id="NamingStyleChecker (Constructor)" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Naming.NamingStyleChecker.html#NamingStyleChecker.__init__" /> @@ -10752,30 +10763,45 @@ <keyword name="PasswordsDialog (Module)" id="PasswordsDialog (Module)" ref="eric6.WebBrowser.Passwords.PasswordsDialog.html" /> <keyword name="PasswordsDialog.__calculateHeaderSizes" id="PasswordsDialog.__calculateHeaderSizes" ref="eric6.WebBrowser.Passwords.PasswordsDialog.html#PasswordsDialog.__calculateHeaderSizes" /> <keyword name="PasswordsDialog.on_passwordsButton_clicked" id="PasswordsDialog.on_passwordsButton_clicked" ref="eric6.WebBrowser.Passwords.PasswordsDialog.html#PasswordsDialog.on_passwordsButton_clicked" /> - <keyword name="PathGraph" id="PathGraph" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.html#PathGraph" /> - <keyword name="PathGraph (Constructor)" id="PathGraph (Constructor)" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.html#PathGraph.__init__" /> - <keyword name="PathGraph.complexity" id="PathGraph.complexity" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.html#PathGraph.complexity" /> - <keyword name="PathGraph.connect" id="PathGraph.connect" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.html#PathGraph.connect" /> - <keyword name="PathGraph.to_dot" id="PathGraph.to_dot" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.html#PathGraph.to_dot" /> - <keyword name="PathGraphingAstVisitor" id="PathGraphingAstVisitor" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.html#PathGraphingAstVisitor" /> - <keyword name="PathGraphingAstVisitor (Constructor)" id="PathGraphingAstVisitor (Constructor)" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.html#PathGraphingAstVisitor.__init__" /> - <keyword name="PathGraphingAstVisitor._subgraph" id="PathGraphingAstVisitor._subgraph" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.html#PathGraphingAstVisitor._subgraph" /> - <keyword name="PathGraphingAstVisitor._subgraph_parse" id="PathGraphingAstVisitor._subgraph_parse" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.html#PathGraphingAstVisitor._subgraph_parse" /> - <keyword name="PathGraphingAstVisitor.appendPathNode" id="PathGraphingAstVisitor.appendPathNode" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.html#PathGraphingAstVisitor.appendPathNode" /> - <keyword name="PathGraphingAstVisitor.default" id="PathGraphingAstVisitor.default" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.html#PathGraphingAstVisitor.default" /> - <keyword name="PathGraphingAstVisitor.dispatch_list" id="PathGraphingAstVisitor.dispatch_list" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.html#PathGraphingAstVisitor.dispatch_list" /> - <keyword name="PathGraphingAstVisitor.reset" id="PathGraphingAstVisitor.reset" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.html#PathGraphingAstVisitor.reset" /> - <keyword name="PathGraphingAstVisitor.visitClassDef" id="PathGraphingAstVisitor.visitClassDef" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.html#PathGraphingAstVisitor.visitClassDef" /> - <keyword name="PathGraphingAstVisitor.visitFunctionDef" id="PathGraphingAstVisitor.visitFunctionDef" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.html#PathGraphingAstVisitor.visitFunctionDef" /> - <keyword name="PathGraphingAstVisitor.visitIf" id="PathGraphingAstVisitor.visitIf" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.html#PathGraphingAstVisitor.visitIf" /> - <keyword name="PathGraphingAstVisitor.visitLoop" id="PathGraphingAstVisitor.visitLoop" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.html#PathGraphingAstVisitor.visitLoop" /> - <keyword name="PathGraphingAstVisitor.visitSimpleStatement" id="PathGraphingAstVisitor.visitSimpleStatement" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.html#PathGraphingAstVisitor.visitSimpleStatement" /> - <keyword name="PathGraphingAstVisitor.visitTryExcept" id="PathGraphingAstVisitor.visitTryExcept" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.html#PathGraphingAstVisitor.visitTryExcept" /> - <keyword name="PathGraphingAstVisitor.visitWith" id="PathGraphingAstVisitor.visitWith" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.html#PathGraphingAstVisitor.visitWith" /> - <keyword name="PathNode" id="PathNode" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.html#PathNode" /> - <keyword name="PathNode (Constructor)" id="PathNode (Constructor)" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.html#PathNode.__init__" /> - <keyword name="PathNode.dot_id" id="PathNode.dot_id" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.html#PathNode.dot_id" /> - <keyword name="PathNode.to_dot" id="PathNode.to_dot" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.html#PathNode.to_dot" /> + <keyword name="PathGraph" id="PathGraph" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Complexity.mccabe.html#PathGraph" /> + <keyword name="PathGraph (Constructor)" id="PathGraph (Constructor)" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Complexity.mccabe.html#PathGraph.__init__" /> + <keyword name="PathGraph.complexity" id="PathGraph.complexity" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Complexity.mccabe.html#PathGraph.complexity" /> + <keyword name="PathGraph.connect" id="PathGraph.connect" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Complexity.mccabe.html#PathGraph.connect" /> + <keyword name="PathGraph.to_dot" id="PathGraph.to_dot" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Complexity.mccabe.html#PathGraph.to_dot" /> + <keyword name="PathGraphingAstVisitor" id="PathGraphingAstVisitor" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Complexity.mccabe.html#PathGraphingAstVisitor" /> + <keyword name="PathGraphingAstVisitor (Constructor)" id="PathGraphingAstVisitor (Constructor)" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Complexity.mccabe.html#PathGraphingAstVisitor.__init__" /> + <keyword name="PathGraphingAstVisitor._subgraph" id="PathGraphingAstVisitor._subgraph" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Complexity.mccabe.html#PathGraphingAstVisitor._subgraph" /> + <keyword name="PathGraphingAstVisitor._subgraph_parse" id="PathGraphingAstVisitor._subgraph_parse" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Complexity.mccabe.html#PathGraphingAstVisitor._subgraph_parse" /> + <keyword name="PathGraphingAstVisitor.appendPathNode" id="PathGraphingAstVisitor.appendPathNode" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Complexity.mccabe.html#PathGraphingAstVisitor.appendPathNode" /> + <keyword name="PathGraphingAstVisitor.default" id="PathGraphingAstVisitor.default" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Complexity.mccabe.html#PathGraphingAstVisitor.default" /> + <keyword name="PathGraphingAstVisitor.dispatch_list" id="PathGraphingAstVisitor.dispatch_list" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Complexity.mccabe.html#PathGraphingAstVisitor.dispatch_list" /> + <keyword name="PathGraphingAstVisitor.reset" id="PathGraphingAstVisitor.reset" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Complexity.mccabe.html#PathGraphingAstVisitor.reset" /> + <keyword name="PathGraphingAstVisitor.visitClassDef" id="PathGraphingAstVisitor.visitClassDef" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Complexity.mccabe.html#PathGraphingAstVisitor.visitClassDef" /> + <keyword name="PathGraphingAstVisitor.visitFunctionDef" id="PathGraphingAstVisitor.visitFunctionDef" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Complexity.mccabe.html#PathGraphingAstVisitor.visitFunctionDef" /> + <keyword name="PathGraphingAstVisitor.visitIf" id="PathGraphingAstVisitor.visitIf" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Complexity.mccabe.html#PathGraphingAstVisitor.visitIf" /> + <keyword name="PathGraphingAstVisitor.visitLoop" id="PathGraphingAstVisitor.visitLoop" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Complexity.mccabe.html#PathGraphingAstVisitor.visitLoop" /> + <keyword name="PathGraphingAstVisitor.visitSimpleStatement" id="PathGraphingAstVisitor.visitSimpleStatement" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Complexity.mccabe.html#PathGraphingAstVisitor.visitSimpleStatement" /> + <keyword name="PathGraphingAstVisitor.visitTryExcept" id="PathGraphingAstVisitor.visitTryExcept" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Complexity.mccabe.html#PathGraphingAstVisitor.visitTryExcept" /> + <keyword name="PathGraphingAstVisitor.visitWith" id="PathGraphingAstVisitor.visitWith" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Complexity.mccabe.html#PathGraphingAstVisitor.visitWith" /> + <keyword name="PathLib (Package)" id="PathLib (Package)" ref="index-eric6.Plugins.CheckerPlugins.CodeStyleChecker.PathLib.html" /> + <keyword name="PathNode" id="PathNode" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Complexity.mccabe.html#PathNode" /> + <keyword name="PathNode (Constructor)" id="PathNode (Constructor)" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Complexity.mccabe.html#PathNode.__init__" /> + <keyword name="PathNode.dot_id" id="PathNode.dot_id" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Complexity.mccabe.html#PathNode.dot_id" /> + <keyword name="PathNode.to_dot" id="PathNode.to_dot" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Complexity.mccabe.html#PathNode.to_dot" /> + <keyword name="PathlibChecker" id="PathlibChecker" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.PathLib.PathlibChecker.html#PathlibChecker" /> + <keyword name="PathlibChecker (Constructor)" id="PathlibChecker (Constructor)" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.PathLib.PathlibChecker.html#PathlibChecker.__init__" /> + <keyword name="PathlibChecker (Module)" id="PathlibChecker (Module)" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.PathLib.PathlibChecker.html" /> + <keyword name="PathlibChecker.__checkForReplacement" id="PathlibChecker.__checkForReplacement" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.PathLib.PathlibChecker.html#PathlibChecker.__checkForReplacement" /> + <keyword name="PathlibChecker.__error" id="PathlibChecker.__error" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.PathLib.PathlibChecker.html#PathlibChecker.__error" /> + <keyword name="PathlibChecker.__generateTree" id="PathlibChecker.__generateTree" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.PathLib.PathlibChecker.html#PathlibChecker.__generateTree" /> + <keyword name="PathlibChecker.__ignoreCode" id="PathlibChecker.__ignoreCode" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.PathLib.PathlibChecker.html#PathlibChecker.__ignoreCode" /> + <keyword name="PathlibChecker.__reportInvalidSyntax" id="PathlibChecker.__reportInvalidSyntax" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.PathLib.PathlibChecker.html#PathlibChecker.__reportInvalidSyntax" /> + <keyword name="PathlibChecker.run" id="PathlibChecker.run" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.PathLib.PathlibChecker.html#PathlibChecker.run" /> + <keyword name="PathlibVisitor" id="PathlibVisitor" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.PathLib.PathlibChecker.html#PathlibVisitor" /> + <keyword name="PathlibVisitor (Constructor)" id="PathlibVisitor (Constructor)" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.PathLib.PathlibChecker.html#PathlibVisitor.__init__" /> + <keyword name="PathlibVisitor.visit_Call" id="PathlibVisitor.visit_Call" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.PathLib.PathlibChecker.html#PathlibVisitor.visit_Call" /> + <keyword name="PathlibVisitor.visit_Import" id="PathlibVisitor.visit_Import" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.PathLib.PathlibChecker.html#PathlibVisitor.visit_Import" /> + <keyword name="PathlibVisitor.visit_ImportFrom" id="PathlibVisitor.visit_ImportFrom" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.PathLib.PathlibChecker.html#PathlibVisitor.visit_ImportFrom" /> <keyword name="PersonalDataDialog" id="PersonalDataDialog" ref="eric6.WebBrowser.PersonalInformationManager.PersonalDataDialog.html#PersonalDataDialog" /> <keyword name="PersonalDataDialog (Constructor)" id="PersonalDataDialog (Constructor)" ref="eric6.WebBrowser.PersonalInformationManager.PersonalDataDialog.html#PersonalDataDialog.__init__" /> <keyword name="PersonalDataDialog (Module)" id="PersonalDataDialog (Module)" ref="eric6.WebBrowser.PersonalInformationManager.PersonalDataDialog.html" /> @@ -10894,6 +10920,7 @@ <keyword name="PipPackagesWidget.__populateEnvironments" id="PipPackagesWidget.__populateEnvironments" ref="eric6.PipInterface.PipPackagesWidget.html#PipPackagesWidget.__populateEnvironments" /> <keyword name="PipPackagesWidget.__purgeCache" id="PipPackagesWidget.__purgeCache" ref="eric6.PipInterface.PipPackagesWidget.html#PipPackagesWidget.__purgeCache" /> <keyword name="PipPackagesWidget.__refreshPackagesList" id="PipPackagesWidget.__refreshPackagesList" ref="eric6.PipInterface.PipPackagesWidget.html#PipPackagesWidget.__refreshPackagesList" /> + <keyword name="PipPackagesWidget.__reinstallPackages" id="PipPackagesWidget.__reinstallPackages" ref="eric6.PipInterface.PipPackagesWidget.html#PipPackagesWidget.__reinstallPackages" /> <keyword name="PipPackagesWidget.__removeCachedFiles" id="PipPackagesWidget.__removeCachedFiles" ref="eric6.PipInterface.PipPackagesWidget.html#PipPackagesWidget.__removeCachedFiles" /> <keyword name="PipPackagesWidget.__repairPip" id="PipPackagesWidget.__repairPip" ref="eric6.PipInterface.PipPackagesWidget.html#PipPackagesWidget.__repairPip" /> <keyword name="PipPackagesWidget.__search" id="PipPackagesWidget.__search" ref="eric6.PipInterface.PipPackagesWidget.html#PipPackagesWidget.__search" /> @@ -13661,6 +13688,7 @@ <keyword name="StartDialog.getCoverageData" id="StartDialog.getCoverageData" ref="eric6.Debugger.StartDialog.html#StartDialog.getCoverageData" /> <keyword name="StartDialog.getData" id="StartDialog.getData" ref="eric6.Debugger.StartDialog.html#StartDialog.getData" /> <keyword name="StartDialog.getDebugData" id="StartDialog.getDebugData" ref="eric6.Debugger.StartDialog.html#StartDialog.getDebugData" /> + <keyword name="StartDialog.getGlobalOverrideData" id="StartDialog.getGlobalOverrideData" ref="eric6.Debugger.StartDialog.html#StartDialog.getGlobalOverrideData" /> <keyword name="StartDialog.getHistories" id="StartDialog.getHistories" ref="eric6.Debugger.StartDialog.html#StartDialog.getHistories" /> <keyword name="StartDialog.getProfilingData" id="StartDialog.getProfilingData" ref="eric6.Debugger.StartDialog.html#StartDialog.getProfilingData" /> <keyword name="StartDialog.historiesModified" id="StartDialog.historiesModified" ref="eric6.Debugger.StartDialog.html#StartDialog.historiesModified" /> @@ -14742,12 +14770,12 @@ <keyword name="TRPreviewer.__initToolbars" id="TRPreviewer.__initToolbars" ref="eric6.Tools.TRPreviewer.html#TRPreviewer.__initToolbars" /> <keyword name="TRPreviewer.__openTranslation" id="TRPreviewer.__openTranslation" ref="eric6.Tools.TRPreviewer.html#TRPreviewer.__openTranslation" /> <keyword name="TRPreviewer.__openWidget" id="TRPreviewer.__openWidget" ref="eric6.Tools.TRPreviewer.html#TRPreviewer.__openWidget" /> + <keyword name="TRPreviewer.__setTranslation" id="TRPreviewer.__setTranslation" ref="eric6.Tools.TRPreviewer.html#TRPreviewer.__setTranslation" /> <keyword name="TRPreviewer.__showWindowMenu" id="TRPreviewer.__showWindowMenu" ref="eric6.Tools.TRPreviewer.html#TRPreviewer.__showWindowMenu" /> <keyword name="TRPreviewer.__updateActions" id="TRPreviewer.__updateActions" ref="eric6.Tools.TRPreviewer.html#TRPreviewer.__updateActions" /> <keyword name="TRPreviewer.__whatsThis" id="TRPreviewer.__whatsThis" ref="eric6.Tools.TRPreviewer.html#TRPreviewer.__whatsThis" /> <keyword name="TRPreviewer.closeEvent" id="TRPreviewer.closeEvent" ref="eric6.Tools.TRPreviewer.html#TRPreviewer.closeEvent" /> <keyword name="TRPreviewer.reloadTranslations" id="TRPreviewer.reloadTranslations" ref="eric6.Tools.TRPreviewer.html#TRPreviewer.reloadTranslations" /> - <keyword name="TRPreviewer.setTranslation" id="TRPreviewer.setTranslation" ref="eric6.Tools.TRPreviewer.html#TRPreviewer.setTranslation" /> <keyword name="TRPreviewer.show" id="TRPreviewer.show" ref="eric6.Tools.TRPreviewer.html#TRPreviewer.show" /> <keyword name="TRSingleApplication (Module)" id="TRSingleApplication (Module)" ref="eric6.Tools.TRSingleApplication.html" /> <keyword name="TRSingleApplicationClient" id="TRSingleApplicationClient" ref="eric6.Tools.TRSingleApplication.html#TRSingleApplicationClient" /> @@ -17539,7 +17567,7 @@ <keyword name="encryptData" id="encryptData" ref="eric6.Utilities.crypto.py3AES.html#encryptData" /> <keyword name="engineDisplayName" id="engineDisplayName" ref="eric6.Plugins.UiExtensionPlugins.Translator.TranslatorEngines.__init__.html#engineDisplayName" /> <keyword name="ensureUniqueFilename" id="ensureUniqueFilename" ref="eric6.WebBrowser.Tools.WebBrowserTools.html#ensureUniqueFilename" /> - <keyword name="eradicate (Module)" id="eradicate (Module)" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.eradicate.html" /> + <keyword name="eradicate (Module)" id="eradicate (Module)" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Miscellaneous.eradicate.html" /> <keyword name="eric6 (Module)" id="eric6 (Module)" ref="eric6.eric6.html" /> <keyword name="eric6 (Package)" id="eric6 (Package)" ref="index-eric6.html" /> <keyword name="eric6_api (Module)" id="eric6_api (Module)" ref="eric6.eric6_api.html" /> @@ -17940,7 +17968,7 @@ <keyword name="main" id="main" ref="cleanupSource.html#main" /> <keyword name="main" id="main" ref="compileUiFiles.html#main" /> <keyword name="main" id="main" ref="create_windows_links.html#main" /> - <keyword name="main" id="main" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.eradicate.html#main" /> + <keyword name="main" id="main" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Miscellaneous.eradicate.html#main" /> <keyword name="main" id="main" ref="eric6.Plugins.VcsPlugins.vcsMercurial.HisteditExtension.HgHisteditEditor.html#main" /> <keyword name="main" id="main" ref="eric6.Plugins.WizardPlugins.QRegularExpressionWizard.QRegularExpressionWizardServer.html#main" /> <keyword name="main" id="main" ref="eric6.eric6.html#main" /> @@ -17976,7 +18004,7 @@ <keyword name="makoTemplates (Module)" id="makoTemplates (Module)" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.makoTemplates.html" /> <keyword name="maximum_doc_length" id="maximum_doc_length" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.pycodestyle.html#maximum_doc_length" /> <keyword name="maximum_line_length" id="maximum_line_length" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.pycodestyle.html#maximum_line_length" /> - <keyword name="mccabe (Module)" id="mccabe (Module)" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.html" /> + <keyword name="mccabe (Module)" id="mccabe (Module)" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Complexity.mccabe.html" /> <keyword name="messageHandler" id="messageHandler" ref="eric6.E5Gui.E5ErrorMessage.html#messageHandler" /> <keyword name="messageHandlerInstalled" id="messageHandlerInstalled" ref="eric6.E5Gui.E5ErrorMessage.html#messageHandlerInstalled" /> <keyword name="mimeType" id="mimeType" ref="eric6.Utilities.MimeTypes.html#mimeType" /> @@ -18248,6 +18276,7 @@ <keyword name="translations (Module)" id="translations (Module)" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.DocStyle.translations.html" /> <keyword name="translations (Module)" id="translations (Module)" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Miscellaneous.translations.html" /> <keyword name="translations (Module)" id="translations (Module)" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Naming.translations.html" /> + <keyword name="translations (Module)" id="translations (Module)" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.PathLib.translations.html" /> <keyword name="translations (Module)" id="translations (Module)" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.translations.html" /> <keyword name="translations (Module)" id="translations (Module)" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.translations.html" /> <keyword name="tryExcept (Module)" id="tryExcept (Module)" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.tryExcept.html" /> @@ -18574,14 +18603,18 @@ <file>eric6.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleFixer.html</file> <file>eric6.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleStatisticsDialog.html</file> <file>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Complexity.ComplexityChecker.html</file> + <file>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Complexity.mccabe.html</file> <file>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Complexity.translations.html</file> <file>eric6.Plugins.CheckerPlugins.CodeStyleChecker.DocStyle.DocStyleChecker.html</file> <file>eric6.Plugins.CheckerPlugins.CodeStyleChecker.DocStyle.translations.html</file> <file>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Miscellaneous.MiscellaneousChecker.html</file> <file>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Miscellaneous.MiscellaneousDefaults.html</file> + <file>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Miscellaneous.eradicate.html</file> <file>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Miscellaneous.translations.html</file> <file>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Naming.NamingStyleChecker.html</file> <file>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Naming.translations.html</file> + <file>eric6.Plugins.CheckerPlugins.CodeStyleChecker.PathLib.PathlibChecker.html</file> + <file>eric6.Plugins.CheckerPlugins.CodeStyleChecker.PathLib.translations.html</file> <file>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.__init__.html</file> <file>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.assert.html</file> <file>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.awsHardcodedPassword.html</file> @@ -18614,8 +18647,6 @@ <file>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityNodeVisitor.html</file> <file>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityUtils.html</file> <file>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.translations.html</file> - <file>eric6.Plugins.CheckerPlugins.CodeStyleChecker.eradicate.html</file> - <file>eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.html</file> <file>eric6.Plugins.CheckerPlugins.CodeStyleChecker.pycodestyle.html</file> <file>eric6.Plugins.CheckerPlugins.CodeStyleChecker.translations.html</file> <file>eric6.Plugins.CheckerPlugins.SyntaxChecker.SyntaxCheck.html</file> @@ -19454,6 +19485,7 @@ <file>index-eric6.Plugins.CheckerPlugins.CodeStyleChecker.DocStyle.html</file> <file>index-eric6.Plugins.CheckerPlugins.CodeStyleChecker.Miscellaneous.html</file> <file>index-eric6.Plugins.CheckerPlugins.CodeStyleChecker.Naming.html</file> + <file>index-eric6.Plugins.CheckerPlugins.CodeStyleChecker.PathLib.html</file> <file>index-eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.html</file> <file>index-eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.html</file> <file>index-eric6.Plugins.CheckerPlugins.CodeStyleChecker.html</file>
--- a/eric6/Documentation/Source/eric6.Debugger.BreakPointModel.html Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Documentation/Source/eric6.Debugger.BreakPointModel.html Sun Mar 28 15:00:11 2021 +0200 @@ -252,7 +252,7 @@ </dl> <a NAME="BreakPointModel.data" ID="BreakPointModel.data"></a> <h4>BreakPointModel.data</h4> -<b>data</b>(<i>index, role=Qt.DisplayRole</i>) +<b>data</b>(<i>index, role=Qt.ItemDataRole.DisplayRole</i>) <p> Public method to get the requested data. @@ -446,7 +446,7 @@ </dl> <a NAME="BreakPointModel.headerData" ID="BreakPointModel.headerData"></a> <h4>BreakPointModel.headerData</h4> -<b>headerData</b>(<i>section, orientation, role=Qt.DisplayRole</i>) +<b>headerData</b>(<i>section, orientation, role=Qt.ItemDataRole.DisplayRole</i>) <p> Public method to get header data. @@ -637,7 +637,7 @@ </dl> <a NAME="BreakPointModel.setData" ID="BreakPointModel.setData"></a> <h4>BreakPointModel.setData</h4> -<b>setData</b>(<i>index, value, role=Qt.EditRole</i>) +<b>setData</b>(<i>index, value, role=Qt.ItemDataRole.EditRole</i>) <p> Public method to change data in the model.
--- a/eric6/Documentation/Source/eric6.Debugger.DebugServer.html Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Documentation/Source/eric6.Debugger.DebugServer.html Sun Mar 28 15:00:11 2021 +0200 @@ -765,7 +765,7 @@ <a NAME="DebugServer.__init__" ID="DebugServer.__init__"></a> <h4>DebugServer (Constructor)</h4> -<b>DebugServer</b>(<i>originalPathString, preventPassiveDebugging=False, project=None</i>) +<b>DebugServer</b>(<i>originalPathString, preventPassiveDebugging=False, project=None, parent=None</i>) <p> Constructor @@ -785,6 +785,10 @@ <dd> reference to the project object (defaults to None) </dd> +<dt><i>parent</i> (QObject)</dt> +<dd> +reference to the parent object +</dd> </dl> <a NAME="DebugServer.__addBreakPoints" ID="DebugServer.__addBreakPoints"></a> <h4>DebugServer.__addBreakPoints</h4> @@ -2073,7 +2077,7 @@ </dl> <a NAME="DebugServer.remoteCoverage" ID="DebugServer.remoteCoverage"></a> <h4>DebugServer.remoteCoverage</h4> -<b>remoteCoverage</b>(<i>venvName, fn, argv, wd, env, autoClearShell=True, erase=False, forProject=False, runInConsole=False, clientType=""</i>) +<b>remoteCoverage</b>(<i>venvName, fn, argv, wd, env, autoClearShell=True, erase=False, forProject=False, runInConsole=False, clientType="", configOverride=None</i>) <p> Public method to load a new program to collect coverage data. @@ -2123,6 +2127,11 @@ <dd> client type to be used </dd> +<dt><i>configOverride</i> (dict)</dt> +<dd> +dictionary containing the global config override + data +</dd> </dl> <a NAME="DebugServer.remoteEnvironment" ID="DebugServer.remoteEnvironment"></a> <h4>DebugServer.remoteEnvironment</h4> @@ -2140,7 +2149,7 @@ </dl> <a NAME="DebugServer.remoteLoad" ID="DebugServer.remoteLoad"></a> <h4>DebugServer.remoteLoad</h4> -<b>remoteLoad</b>(<i>venvName, fn, argv, wd, env, autoClearShell=True, tracePython=False, autoContinue=True, forProject=False, runInConsole=False, clientType="", enableCallTrace=False, enableMultiprocess=False, multiprocessNoDebug=""</i>) +<b>remoteLoad</b>(<i>venvName, fn, argv, wd, env, autoClearShell=True, tracePython=False, autoContinue=True, forProject=False, runInConsole=False, clientType="", enableCallTrace=False, enableMultiprocess=False, multiprocessNoDebug="", configOverride=None</i>) <p> Public method to load a new program to debug. @@ -2210,6 +2219,11 @@ space separated list of programs not to be debugged </dd> +<dt><i>configOverride</i> (dict)</dt> +<dd> +dictionary containing the global config override + data +</dd> </dl> <a NAME="DebugServer.remoteMoveIP" ID="DebugServer.remoteMoveIP"></a> <h4>DebugServer.remoteMoveIP</h4> @@ -2231,7 +2245,7 @@ </dl> <a NAME="DebugServer.remoteProfile" ID="DebugServer.remoteProfile"></a> <h4>DebugServer.remoteProfile</h4> -<b>remoteProfile</b>(<i>venvName, fn, argv, wd, env, autoClearShell=True, erase=False, forProject=False, runInConsole=False, clientType=""</i>) +<b>remoteProfile</b>(<i>venvName, fn, argv, wd, env, autoClearShell=True, erase=False, forProject=False, runInConsole=False, clientType="", configOverride=None</i>) <p> Public method to load a new program to collect profiling data. @@ -2281,6 +2295,11 @@ <dd> client type to be used </dd> +<dt><i>configOverride</i> (dict)</dt> +<dd> +dictionary containing the global config override + data +</dd> </dl> <a NAME="DebugServer.remoteRawInput" ID="DebugServer.remoteRawInput"></a> <h4>DebugServer.remoteRawInput</h4> @@ -2302,7 +2321,7 @@ </dl> <a NAME="DebugServer.remoteRun" ID="DebugServer.remoteRun"></a> <h4>DebugServer.remoteRun</h4> -<b>remoteRun</b>(<i>venvName, fn, argv, wd, env, autoClearShell=True, forProject=False, runInConsole=False, clientType=""</i>) +<b>remoteRun</b>(<i>venvName, fn, argv, wd, env, autoClearShell=True, forProject=False, runInConsole=False, clientType="", configOverride=None</i>) <p> Public method to load a new program to run. @@ -2347,6 +2366,11 @@ <dd> client type to be used </dd> +<dt><i>configOverride</i> (dict)</dt> +<dd> +dictionary containing the global config override + data +</dd> </dl> <a NAME="DebugServer.remoteSetThread" ID="DebugServer.remoteSetThread"></a> <h4>DebugServer.remoteSetThread</h4> @@ -3206,7 +3230,7 @@ </p> <a NAME="DebugServer.startClient" ID="DebugServer.startClient"></a> <h4>DebugServer.startClient</h4> -<b>startClient</b>(<i>unplanned=True, clType=None, forProject=False, runInConsole=False, venvName="", workingDir=None</i>) +<b>startClient</b>(<i>unplanned=True, clType=None, forProject=False, runInConsole=False, venvName="", workingDir=None, configOverride=None</i>) <p> Public method to start a debug client. @@ -3238,6 +3262,11 @@ <dd> directory to start the debugger client in </dd> +<dt><i>configOverride</i> (dict)</dt> +<dd> +dictionary containing the global config override + data +</dd> </dl> <a NAME="DebugServer.unregisterDebuggerInterface" ID="DebugServer.unregisterDebuggerInterface"></a> <h4>DebugServer.unregisterDebuggerInterface</h4>
--- a/eric6/Documentation/Source/eric6.Debugger.DebugUI.html Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Documentation/Source/eric6.Debugger.DebugUI.html Sun Mar 28 15:00:11 2021 +0200 @@ -399,6 +399,10 @@ <td>Public method to set the enabled state of the debug actions.</td> </tr> <tr> +<td><a href="#DebugUI.setEnableGlobalConfigOverride">setEnableGlobalConfigOverride</a></td> +<td>Public method to initialize the global config override data.</td> +</tr> +<tr> <td><a href="#DebugUI.setEnableMultiprocess">setEnableMultiprocess</a></td> <td>Public slot to initialize the enableMultiprocess flag.</td> </tr> @@ -1434,6 +1438,22 @@ enable state to be set </dd> </dl> +<a NAME="DebugUI.setEnableGlobalConfigOverride" ID="DebugUI.setEnableGlobalConfigOverride"></a> +<h4>DebugUI.setEnableGlobalConfigOverride</h4> +<b>setEnableGlobalConfigOverride</b>(<i>overrideData</i>) + +<p> + Public method to initialize the global config override data. +</p> +<dl> + +<dt><i>overrideData</i> (dict)</dt> +<dd> +dictionary containing a flag indicating to enable + global config override and a flag indicating to redirect + stdin/stdout/stderr +</dd> +</dl> <a NAME="DebugUI.setEnableMultiprocess" ID="DebugUI.setEnableMultiprocess"></a> <h4>DebugUI.setEnableMultiprocess</h4> <b>setEnableMultiprocess</b>(<i>enableMultiprocess</i>)
--- a/eric6/Documentation/Source/eric6.Debugger.DebuggerInterfacePython.html Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Documentation/Source/eric6.Debugger.DebuggerInterfacePython.html Sun Mar 28 15:00:11 2021 +0200 @@ -1424,7 +1424,7 @@ </p> <a NAME="DebuggerInterfacePython.startRemote" ID="DebuggerInterfacePython.startRemote"></a> <h4>DebuggerInterfacePython.startRemote</h4> -<b>startRemote</b>(<i>port, runInConsole, venvName, originalPathString, workingDir=None</i>) +<b>startRemote</b>(<i>port, runInConsole, venvName, originalPathString, workingDir=None, configOverride=None</i>) <p> Public method to start a remote Python interpreter. @@ -1452,6 +1452,11 @@ <dd> directory to start the debugger client in </dd> +<dt><i>configOverride</i> (dict)</dt> +<dd> +dictionary containing the global config override + data +</dd> </dl> <dl> <dt>Return:</dt> @@ -1468,7 +1473,7 @@ </dl> <a NAME="DebuggerInterfacePython.startRemoteForProject" ID="DebuggerInterfacePython.startRemoteForProject"></a> <h4>DebuggerInterfacePython.startRemoteForProject</h4> -<b>startRemoteForProject</b>(<i>port, runInConsole, venvName, originalPathString, workingDir=None</i>) +<b>startRemoteForProject</b>(<i>port, runInConsole, venvName, originalPathString, workingDir=None, configOverride=None</i>) <p> Public method to start a remote Python interpreter for a project. @@ -1496,6 +1501,11 @@ <dd> directory to start the debugger client in </dd> +<dt><i>configOverride</i> (dict)</dt> +<dd> +dictionary containing the global config override + data +</dd> </dl> <dl> <dt>Return:</dt>
--- a/eric6/Documentation/Source/eric6.Debugger.StartDialog.html Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Documentation/Source/eric6.Debugger.StartDialog.html Sun Mar 28 15:00:11 2021 +0200 @@ -103,6 +103,10 @@ <td>Public method to retrieve the debug related data entered into this dialog.</td> </tr> <tr> +<td><a href="#StartDialog.getGlobalOverrideData">getGlobalOverrideData</a></td> +<td>Public method to retrieve the global configuration override data entered into this dialog.</td> +</tr> +<tr> <td><a href="#StartDialog.getHistories">getHistories</a></td> <td>Public method to get the lists of histories.</td> </tr> @@ -131,7 +135,7 @@ <a NAME="StartDialog.__init__" ID="StartDialog.__init__"></a> <h4>StartDialog (Constructor)</h4> -<b>StartDialog</b>(<i>caption, lastUsedVenvName, argvList, wdList, envList, exceptions, parent=None, dialogType=0, modfuncList=None, tracePython=False, autoClearShell=True, autoContinue=True, enableMultiprocess=False, multiprocessNoDebugHistory=None</i>) +<b>StartDialog</b>(<i>caption, lastUsedVenvName, argvList, wdList, envList, exceptions, parent=None, dialogType=0, modfuncList=None, tracePython=False, autoClearShell=True, autoContinue=True, enableMultiprocess=False, multiprocessNoDebugHistory=None, configOverride=None</i>) <p> Constructor @@ -206,6 +210,11 @@ list of lists with programs not to be debugged </dd> +<dt><i>configOverride</i> (dict)</dt> +<dd> +dictionary containing the global config override + data +</dd> </dl> <a NAME="StartDialog.__clearHistories" ID="StartDialog.__clearHistories"></a> <h4>StartDialog.__clearHistories</h4> @@ -305,6 +314,27 @@ tuple of (bool, bool, bool, str) </dd> </dl> +<a NAME="StartDialog.getGlobalOverrideData" ID="StartDialog.getGlobalOverrideData"></a> +<h4>StartDialog.getGlobalOverrideData</h4> +<b>getGlobalOverrideData</b>(<i></i>) + +<p> + Public method to retrieve the global configuration override data + entered into this dialog. +</p> +<dl> +<dt>Return:</dt> +<dd> +dictionary containing a flag indicating to activate the global + override and a flag indicating a redirect of stdin/stdout/stderr +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +dict +</dd> +</dl> <a NAME="StartDialog.getHistories" ID="StartDialog.getHistories"></a> <h4>StartDialog.getHistories</h4> <b>getHistories</b>(<i></i>)
--- a/eric6/Documentation/Source/eric6.Debugger.VariablesViewer.html Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Documentation/Source/eric6.Debugger.VariablesViewer.html Sun Mar 28 15:00:11 2021 +0200 @@ -483,7 +483,7 @@ </dl> <a NAME="VariablesModel.data" ID="VariablesModel.data"></a> <h4>VariablesModel.data</h4> -<b>data</b>(<i>index, role=Qt.DisplayRole</i>) +<b>data</b>(<i>index, role=Qt.ItemDataRole.DisplayRole</i>) <p> Public method get the role data of item. @@ -579,7 +579,7 @@ </dl> <a NAME="VariablesModel.headerData" ID="VariablesModel.headerData"></a> <h4>VariablesModel.headerData</h4> -<b>headerData</b>(<i>section, orientation, role=Qt.DisplayRole</i>) +<b>headerData</b>(<i>section, orientation, role=Qt.ItemDataRole.DisplayRole</i>) <p> Public method get the header names.
--- a/eric6/Documentation/Source/eric6.Debugger.WatchPointModel.html Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Documentation/Source/eric6.Debugger.WatchPointModel.html Sun Mar 28 15:00:11 2021 +0200 @@ -405,7 +405,7 @@ </dl> <a NAME="WatchPointModel.headerData" ID="WatchPointModel.headerData"></a> <h4>WatchPointModel.headerData</h4> -<b>headerData</b>(<i>section, orientation, role=Qt.DisplayRole</i>) +<b>headerData</b>(<i>section, orientation, role=Qt.ItemDataRole.DisplayRole</i>) <p> Public method to get header data.
--- a/eric6/Documentation/Source/eric6.E5Gui.E5Completers.html Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Documentation/Source/eric6.E5Gui.E5Completers.html Sun Mar 28 15:00:11 2021 +0200 @@ -97,7 +97,7 @@ <a NAME="E5DirCompleter.__init__" ID="E5DirCompleter.__init__"></a> <h4>E5DirCompleter (Constructor)</h4> -<b>E5DirCompleter</b>(<i>parent=None, completionMode=QCompleter.PopupCompletion, showHidden=False</i>) +<b>E5DirCompleter</b>(<i>parent=None, completionMode=QCompleter.CompletionMode.PopupCompletion, showHidden=False</i>) <p> Constructor @@ -198,7 +198,7 @@ <a NAME="E5FileCompleter.__init__" ID="E5FileCompleter.__init__"></a> <h4>E5FileCompleter (Constructor)</h4> -<b>E5FileCompleter</b>(<i>parent=None, completionMode=QCompleter.PopupCompletion, showHidden=False</i>) +<b>E5FileCompleter</b>(<i>parent=None, completionMode=QCompleter.CompletionMode.PopupCompletion, showHidden=False</i>) <p> Constructor @@ -291,7 +291,7 @@ <a NAME="E5StringListCompleter.__init__" ID="E5StringListCompleter.__init__"></a> <h4>E5StringListCompleter (Constructor)</h4> -<b>E5StringListCompleter</b>(<i>parent=None, strings=None, completionMode=QCompleter.PopupCompletion</i>) +<b>E5StringListCompleter</b>(<i>parent=None, strings=None, completionMode=QCompleter.CompletionMode.PopupCompletion</i>) <p> Constructor
--- a/eric6/Documentation/Source/eric6.E5Gui.E5ErrorMessageFilterDialog.html Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Documentation/Source/eric6.E5Gui.E5ErrorMessageFilterDialog.html Sun Mar 28 15:00:11 2021 +0200 @@ -73,10 +73,6 @@ <td>Constructor</td> </tr> <tr> -<td><a href="#E5ErrorMessageFilterDialog.__setToDefault">__setToDefault</a></td> -<td>Private slot to set the message list to the default values.</td> -</tr> -<tr> <td><a href="#E5ErrorMessageFilterDialog.getFilters">getFilters</a></td> <td>Public method to get the list of message filters.</td> </tr> @@ -89,7 +85,7 @@ <a NAME="E5ErrorMessageFilterDialog.__init__" ID="E5ErrorMessageFilterDialog.__init__"></a> <h4>E5ErrorMessageFilterDialog (Constructor)</h4> -<b>E5ErrorMessageFilterDialog</b>(<i>messageFilters, defaultFilters, parent=None</i>) +<b>E5ErrorMessageFilterDialog</b>(<i>messageFilters, parent=None</i>) <p> Constructor @@ -100,22 +96,11 @@ <dd> list of message filters to be edited </dd> -<dt><i>defaultFilters</i> (list of str)</dt> -<dd> -list of default message filters -</dd> <dt><i>parent</i> (QWidget)</dt> <dd> reference to the parent widget </dd> </dl> -<a NAME="E5ErrorMessageFilterDialog.__setToDefault" ID="E5ErrorMessageFilterDialog.__setToDefault"></a> -<h4>E5ErrorMessageFilterDialog.__setToDefault</h4> -<b>__setToDefault</b>(<i></i>) - -<p> - Private slot to set the message list to the default values. -</p> <a NAME="E5ErrorMessageFilterDialog.getFilters" ID="E5ErrorMessageFilterDialog.getFilters"></a> <h4>E5ErrorMessageFilterDialog.getFilters</h4> <b>getFilters</b>(<i></i>)
--- a/eric6/Documentation/Source/eric6.E5Gui.E5FileDialog.html Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Documentation/Source/eric6.E5Gui.E5FileDialog.html Sun Mar 28 15:00:11 2021 +0200 @@ -105,7 +105,7 @@ <hr /> <a NAME="getExistingDirectory" ID="getExistingDirectory"></a> <h2>getExistingDirectory</h2> -<b>getExistingDirectory</b>(<i>parent=None, caption="", directory="", options=QFileDialog.ShowDirsOnly</i>) +<b>getExistingDirectory</b>(<i>parent=None, caption="", directory="", options=QFileDialog.Option.ShowDirsOnly</i>) <p> Module function to get the name of a directory.
--- a/eric6/Documentation/Source/eric6.E5Gui.E5ListSelectionDialog.html Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Documentation/Source/eric6.E5Gui.E5ListSelectionDialog.html Sun Mar 28 15:00:11 2021 +0200 @@ -93,7 +93,8 @@ <a NAME="E5ListSelectionDialog.__init__" ID="E5ListSelectionDialog.__init__"></a> <h4>E5ListSelectionDialog (Constructor)</h4> -<b>E5ListSelectionDialog</b>(<i>entries, selectionMode=QAbstractItemView.ExtendedSelection, title="", message="", checkBoxSelection=False, parent=None</i>) +<b>E5ListSelectionDialog</b>(<i>entries, selectionMode=QAbstractItemView.SelectionMode + .ExtendedSelection, title="", message="", checkBoxSelection=False, parent=None</i>) <p> Constructor
--- a/eric6/Documentation/Source/eric6.E5Gui.E5MessageBox.html Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Documentation/Source/eric6.E5Gui.E5MessageBox.html Sun Mar 28 15:00:11 2021 +0200 @@ -113,7 +113,7 @@ <a NAME="E5MessageBox.__init__" ID="E5MessageBox.__init__"></a> <h4>E5MessageBox (Constructor)</h4> -<b>E5MessageBox</b>(<i>icon, title, text, modal=False, buttons=QMessageBox.NoButton, parent=None</i>) +<b>E5MessageBox</b>(<i>icon, title, text, modal=False, buttons=QMessageBox.StandardButton.NoButton, parent=None</i>) <p> Constructor @@ -150,7 +150,7 @@ <hr /> <a NAME="__messageBox" ID="__messageBox"></a> <h2>__messageBox</h2> -<b>__messageBox</b>(<i>parent, title, text, icon, buttons=QMessageBox.Ok, defaultButton=QMessageBox.NoButton, textFormat=Qt.AutoText</i>) +<b>__messageBox</b>(<i>parent, title, text, icon, buttons=QMessageBox.StandardButton.Ok, defaultButton=QMessageBox.StandardButton.NoButton, textFormat=Qt.TextFormat.AutoText</i>) <p> Private module function to show a modal message box. @@ -199,7 +199,7 @@ <hr /> <a NAME="critical" ID="critical"></a> <h2>critical</h2> -<b>critical</b>(<i>parent, title, text, buttons=QMessageBox.Ok, defaultButton=QMessageBox.NoButton</i>) +<b>critical</b>(<i>parent, title, text, buttons=QMessageBox.StandardButton.Ok, defaultButton=QMessageBox.StandardButton.NoButton</i>) <p> Function to show a modal critical message box. @@ -240,7 +240,7 @@ <hr /> <a NAME="information" ID="information"></a> <h2>information</h2> -<b>information</b>(<i>parent, title, text, buttons=QMessageBox.Ok, defaultButton=QMessageBox.NoButton</i>) +<b>information</b>(<i>parent, title, text, buttons=QMessageBox.StandardButton.Ok, defaultButton=QMessageBox.StandardButton.NoButton</i>) <p> Function to show a modal information message box. @@ -281,7 +281,7 @@ <hr /> <a NAME="okToClearData" ID="okToClearData"></a> <h2>okToClearData</h2> -<b>okToClearData</b>(<i>parent, title, text, saveFunc, textFormat=Qt.AutoText</i>) +<b>okToClearData</b>(<i>parent, title, text, saveFunc, textFormat=Qt.TextFormat.AutoText</i>) <p> Function to show a model message box to ask for clearing the data. @@ -321,7 +321,7 @@ <hr /> <a NAME="question" ID="question"></a> <h2>question</h2> -<b>question</b>(<i>parent, title, text, buttons=QMessageBox.Ok, defaultButton=QMessageBox.NoButton</i>) +<b>question</b>(<i>parent, title, text, buttons=QMessageBox.StandardButton.Ok, defaultButton=QMessageBox.StandardButton.NoButton</i>) <p> Function to show a modal question message box. @@ -362,7 +362,7 @@ <hr /> <a NAME="retryAbort" ID="retryAbort"></a> <h2>retryAbort</h2> -<b>retryAbort</b>(<i>parent, title, text, icon=Question, textFormat=Qt.AutoText</i>) +<b>retryAbort</b>(<i>parent, title, text, icon=Question, textFormat=Qt.TextFormat.AutoText</i>) <p> Function to show a model abort/retry message box. @@ -409,7 +409,7 @@ <hr /> <a NAME="warning" ID="warning"></a> <h2>warning</h2> -<b>warning</b>(<i>parent, title, text, buttons=QMessageBox.Ok, defaultButton=QMessageBox.NoButton</i>) +<b>warning</b>(<i>parent, title, text, buttons=QMessageBox.StandardButton.Ok, defaultButton=QMessageBox.StandardButton.NoButton</i>) <p> Function to show a modal warning message box. @@ -450,7 +450,7 @@ <hr /> <a NAME="yesNo" ID="yesNo"></a> <h2>yesNo</h2> -<b>yesNo</b>(<i>parent, title, text, icon=Question, yesDefault=False, textFormat=Qt.AutoText</i>) +<b>yesNo</b>(<i>parent, title, text, icon=Question, yesDefault=False, textFormat=Qt.TextFormat.AutoText</i>) <p> Function to show a model yes/no message box.
--- a/eric6/Documentation/Source/eric6.E5Gui.E5OverrideCursor.html Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Documentation/Source/eric6.E5Gui.E5OverrideCursor.html Sun Mar 28 15:00:11 2021 +0200 @@ -98,7 +98,7 @@ <a NAME="E5OverrideCursor.__init__" ID="E5OverrideCursor.__init__"></a> <h4>E5OverrideCursor (Constructor)</h4> -<b>E5OverrideCursor</b>(<i>cursorShape=Qt.WaitCursor</i>) +<b>E5OverrideCursor</b>(<i>cursorShape=Qt.CursorShape.WaitCursor</i>) <p> Constructor @@ -210,7 +210,7 @@ <a NAME="E5OverrideCursorProcess.__init__" ID="E5OverrideCursorProcess.__init__"></a> <h4>E5OverrideCursorProcess (Constructor)</h4> -<b>E5OverrideCursorProcess</b>(<i>parent=None, cursorShape=Qt.WaitCursor</i>) +<b>E5OverrideCursorProcess</b>(<i>parent=None, cursorShape=Qt.CursorShape.WaitCursor</i>) <p> Constructor
--- a/eric6/Documentation/Source/eric6.E5Gui.E5TextInputDialog.html Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Documentation/Source/eric6.E5Gui.E5TextInputDialog.html Sun Mar 28 15:00:11 2021 +0200 @@ -225,7 +225,7 @@ <hr /> <a NAME="getText" ID="getText"></a> <h2>getText</h2> -<b>getText</b>(<i>parent, title, label, mode=QLineEdit.Normal, text="", minimumWidth=300</i>) +<b>getText</b>(<i>parent, title, label, mode=QLineEdit.EchoMode.Normal, text="", minimumWidth=300</i>) <p> Function to get create a dialog to enter some text and return it.
--- a/eric6/Documentation/Source/eric6.HexEdit.HexEditChunks.html Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Documentation/Source/eric6.HexEdit.HexEditChunks.html Sun Mar 28 15:00:11 2021 +0200 @@ -104,9 +104,9 @@ interface. When the app uses a QByteArray or Python bytearray interface, QBuffer is used to provide again a QIODevice like interface. No data will be changed, therefore HexEditChunks opens the QIODevice in - QIODevice.ReadOnly mode. After every access HexEditChunks closes the - QIODevice. That's why external applications can overwrite files while - HexEditWidget shows them. + QIODevice.OpenModeFlag.ReadOnly mode. After every access HexEditChunks + closes the QIODevice. That's why external applications can overwrite + files while HexEditWidget shows them. </p> <p> When the the user starts to edit the data, HexEditChunks creates a local
--- a/eric6/Documentation/Source/eric6.MicroPython.MicroPythonWidget.html Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Documentation/Source/eric6.MicroPython.MicroPythonWidget.html Sun Mar 28 15:00:11 2021 +0200 @@ -539,9 +539,9 @@ </p> <p> Note: this is a hack because QTextEdit does not allow filtering of - QEvent.MouseButtonRelease. To make middle button paste work, we had - to intercept the protected event method (some kind of reimplementing - it). + QEvent.Type.MouseButtonRelease. To make middle button paste work, we + had to intercept the protected event method (some kind of + reimplementing it). </p> <dl>
--- a/eric6/Documentation/Source/eric6.MicroPython.UF2FlashDialog.html Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Documentation/Source/eric6.MicroPython.UF2FlashDialog.html Sun Mar 28 15:00:11 2021 +0200 @@ -195,7 +195,7 @@ </dl> <a NAME="UF2FlashDialog.__showNoVolumeInformation" ID="UF2FlashDialog.__showNoVolumeInformation"></a> <h4>UF2FlashDialog.__showNoVolumeInformation</h4> -<b>__showNoVolumeInformation</b>(<i>volumes</i>) +<b>__showNoVolumeInformation</b>(<i>volumes, boardType</i>) <p> Private method to show information about the expected boot volume(s). @@ -206,6 +206,10 @@ <dd> list of expected volume names </dd> +<dt><i>boardType</i> (str)</dt> +<dd> +type of the board to show instructions for +</dd> </dl> <a NAME="UF2FlashDialog.__showSpecificInstructions" ID="UF2FlashDialog.__showSpecificInstructions"></a> <h4>UF2FlashDialog.__showSpecificInstructions</h4>
--- a/eric6/Documentation/Source/eric6.Network.IRC.IrcIdentitiesEditDialog.html Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Documentation/Source/eric6.Network.IRC.IrcIdentitiesEditDialog.html Sun Mar 28 15:00:11 2021 +0200 @@ -275,16 +275,16 @@ </p> <a NAME="IrcIdentitiesEditDialog.on_identitiesCombo_currentIndexChanged" ID="IrcIdentitiesEditDialog.on_identitiesCombo_currentIndexChanged"></a> <h4>IrcIdentitiesEditDialog.on_identitiesCombo_currentIndexChanged</h4> -<b>on_identitiesCombo_currentIndexChanged</b>(<i>identity</i>) +<b>on_identitiesCombo_currentIndexChanged</b>(<i>index</i>) <p> Private slot to handle the selection of an identity. </p> <dl> -<dt><i>identity</i></dt> +<dt><i>index</i> (int)</dt> <dd> -selected identity (string) +index of the selected entry </dd> </dl> <a NAME="IrcIdentitiesEditDialog.on_nicknameAddButton_clicked" ID="IrcIdentitiesEditDialog.on_nicknameAddButton_clicked"></a>
--- a/eric6/Documentation/Source/eric6.Network.IRC.IrcNetworkEditDialog.html Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Documentation/Source/eric6.Network.IRC.IrcNetworkEditDialog.html Sun Mar 28 15:00:11 2021 +0200 @@ -268,16 +268,16 @@ </p> <a NAME="IrcNetworkEditDialog.on_identityCombo_currentIndexChanged" ID="IrcNetworkEditDialog.on_identityCombo_currentIndexChanged"></a> <h4>IrcNetworkEditDialog.on_identityCombo_currentIndexChanged</h4> -<b>on_identityCombo_currentIndexChanged</b>(<i>identity</i>) +<b>on_identityCombo_currentIndexChanged</b>(<i>index</i>) <p> Private slot to handle the selection of an identity. </p> <dl> -<dt><i>identity</i></dt> +<dt><i>index</i> (int)</dt> <dd> -selected entity (string) +index of the selected entry </dd> </dl> <a NAME="IrcNetworkEditDialog.on_networkEdit_textChanged" ID="IrcNetworkEditDialog.on_networkEdit_textChanged"></a>
--- a/eric6/Documentation/Source/eric6.Network.IRC.IrcNetworkWidget.html Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Documentation/Source/eric6.Network.IRC.IrcNetworkWidget.html Sun Mar 28 15:00:11 2021 +0200 @@ -539,21 +539,21 @@ </dl> <a NAME="IrcNetworkWidget.on_networkCombo_currentIndexChanged" ID="IrcNetworkWidget.on_networkCombo_currentIndexChanged"></a> <h4>IrcNetworkWidget.on_networkCombo_currentIndexChanged</h4> -<b>on_networkCombo_currentIndexChanged</b>(<i>networkName</i>) +<b>on_networkCombo_currentIndexChanged</b>(<i>index</i>) <p> Private slot to handle selections of a network. </p> <dl> -<dt><i>networkName</i></dt> +<dt><i>index</i> (int)</dt> <dd> -selected network name (string) +index of the selected entry </dd> </dl> <a NAME="IrcNetworkWidget.on_nickCombo_currentIndexChanged" ID="IrcNetworkWidget.on_nickCombo_currentIndexChanged"></a> <h4>IrcNetworkWidget.on_nickCombo_currentIndexChanged</h4> -<b>on_nickCombo_currentIndexChanged</b>(<i>nick=""</i>) +<b>on_nickCombo_currentIndexChanged</b>(<i>nick=0</i>) <p> Private slot to use another nick name. @@ -562,7 +562,7 @@ <dt><i>nick</i></dt> <dd> -nick name to use (string) +index of the selected nick name (unused) </dd> </dl> <a NAME="IrcNetworkWidget.setConnected" ID="IrcNetworkWidget.setConnected"></a>
--- a/eric6/Documentation/Source/eric6.PipInterface.Pip.html Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Documentation/Source/eric6.PipInterface.Pip.html Sun Mar 28 15:00:11 2021 +0200 @@ -571,7 +571,7 @@ </dl> <a NAME="Pip.installPackages" ID="Pip.installPackages"></a> <h4>Pip.installPackages</h4> -<b>installPackages</b>(<i>packages, venvName="", userSite=False, interpreter=""</i>) +<b>installPackages</b>(<i>packages, venvName="", userSite=False, interpreter="", forceReinstall=False</i>) <p> Public method to install the given list of packages. @@ -595,6 +595,11 @@ <dd> interpreter to be used for execution </dd> +<dt><i>forceReinstall</i> (bool)</dt> +<dd> +flag indicating to force a reinstall of + the packages +</dd> </dl> <a NAME="Pip.installPip" ID="Pip.installPip"></a> <h4>Pip.installPip</h4>
--- a/eric6/Documentation/Source/eric6.PipInterface.PipPackagesWidget.html Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Documentation/Source/eric6.PipInterface.PipPackagesWidget.html Sun Mar 28 15:00:11 2021 +0200 @@ -153,6 +153,10 @@ <td>Private method to referesh the packages list.</td> </tr> <tr> +<td><a href="#PipPackagesWidget.__reinstallPackages">__reinstallPackages</a></td> +<td>Private slot to force a re-installation of the selected packages.</td> +</tr> +<tr> <td><a href="#PipPackagesWidget.__removeCachedFiles">__removeCachedFiles</a></td> <td>Private slot to remove files from the pip cache.</td> </tr> @@ -513,6 +517,13 @@ <p> Private method to referesh the packages list. </p> +<a NAME="PipPackagesWidget.__reinstallPackages" ID="PipPackagesWidget.__reinstallPackages"></a> +<h4>PipPackagesWidget.__reinstallPackages</h4> +<b>__reinstallPackages</b>(<i></i>) + +<p> + Private slot to force a re-installation of the selected packages. +</p> <a NAME="PipPackagesWidget.__removeCachedFiles" ID="PipPackagesWidget.__removeCachedFiles"></a> <h4>PipPackagesWidget.__removeCachedFiles</h4> <b>__removeCachedFiles</b>(<i></i>)
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/eric6/Documentation/Source/eric6.Plugins.CheckerPlugins.CodeStyleChecker.Complexity.mccabe.html Sun Mar 28 15:00:11 2021 +0200 @@ -0,0 +1,393 @@ +<!DOCTYPE html> +<html><head> +<title>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Complexity.mccabe</title> +<meta charset="UTF-8"> +<style> +body { + background: #EDECE6; + margin: 0em 1em 10em 1em; + color: black; +} + +h1 { color: white; background: #85774A; } +h2 { color: white; background: #85774A; } +h3 { color: white; background: #9D936E; } +h4 { color: white; background: #9D936E; } + +a { color: #BA6D36; } + +</style> +</head> +<body> +<a NAME="top" ID="top"></a> +<h1>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Complexity.mccabe</h1> + +<h3>Global Attributes</h3> + +<table> +<tr><td>__version__</td></tr> +</table> +<h3>Classes</h3> + +<table> + +<tr> +<td><a href="#ASTVisitor">ASTVisitor</a></td> +<td>Performs a depth-first walk of the AST.</td> +</tr> +<tr> +<td><a href="#PathGraph">PathGraph</a></td> +<td></td> +</tr> +<tr> +<td><a href="#PathGraphingAstVisitor">PathGraphingAstVisitor</a></td> +<td>A visitor for a parsed Abstract Syntax Tree which finds executable statements.</td> +</tr> +<tr> +<td><a href="#PathNode">PathNode</a></td> +<td></td> +</tr> +</table> +<h3>Functions</h3> + +<table> +<tr><td>None</td></tr> +</table> +<hr /> +<hr /> +<a NAME="ASTVisitor" ID="ASTVisitor"></a> +<h2>ASTVisitor</h2> + +<p> +Performs a depth-first walk of the AST. +</p> +<h3>Derived from</h3> +object +<h3>Class Attributes</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Class Methods</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Methods</h3> + +<table> + +<tr> +<td><a href="#ASTVisitor.__init__">ASTVisitor</a></td> +<td></td> +</tr> +<tr> +<td><a href="#ASTVisitor.default">default</a></td> +<td></td> +</tr> +<tr> +<td><a href="#ASTVisitor.dispatch">dispatch</a></td> +<td></td> +</tr> +<tr> +<td><a href="#ASTVisitor.preorder">preorder</a></td> +<td>Do preorder walk of tree using visitor</td> +</tr> +</table> +<h3>Static Methods</h3> + +<table> +<tr><td>None</td></tr> +</table> + +<a NAME="ASTVisitor.__init__" ID="ASTVisitor.__init__"></a> +<h4>ASTVisitor (Constructor)</h4> +<b>ASTVisitor</b>(<i></i>) + +<a NAME="ASTVisitor.default" ID="ASTVisitor.default"></a> +<h4>ASTVisitor.default</h4> +<b>default</b>(<i>node, *args</i>) + +<a NAME="ASTVisitor.dispatch" ID="ASTVisitor.dispatch"></a> +<h4>ASTVisitor.dispatch</h4> +<b>dispatch</b>(<i>node, *args</i>) + +<a NAME="ASTVisitor.preorder" ID="ASTVisitor.preorder"></a> +<h4>ASTVisitor.preorder</h4> +<b>preorder</b>(<i>tree, visitor, *args</i>) + +<p> +Do preorder walk of tree using visitor +</p> +<div align="right"><a href="#top">Up</a></div> +<hr /> +<hr /> +<a NAME="PathGraph" ID="PathGraph"></a> +<h2>PathGraph</h2> + +<h3>Derived from</h3> +object +<h3>Class Attributes</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Class Methods</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Methods</h3> + +<table> + +<tr> +<td><a href="#PathGraph.__init__">PathGraph</a></td> +<td></td> +</tr> +<tr> +<td><a href="#PathGraph.complexity">complexity</a></td> +<td>Return the McCabe complexity for the graph.</td> +</tr> +<tr> +<td><a href="#PathGraph.connect">connect</a></td> +<td></td> +</tr> +<tr> +<td><a href="#PathGraph.to_dot">to_dot</a></td> +<td></td> +</tr> +</table> +<h3>Static Methods</h3> + +<table> +<tr><td>None</td></tr> +</table> + +<a NAME="PathGraph.__init__" ID="PathGraph.__init__"></a> +<h4>PathGraph (Constructor)</h4> +<b>PathGraph</b>(<i>name, entity, lineno, column=0</i>) + +<a NAME="PathGraph.complexity" ID="PathGraph.complexity"></a> +<h4>PathGraph.complexity</h4> +<b>complexity</b>(<i></i>) + +<p> + Return the McCabe complexity for the graph. + V-E+2 +</p> +<a NAME="PathGraph.connect" ID="PathGraph.connect"></a> +<h4>PathGraph.connect</h4> +<b>connect</b>(<i>n1, n2</i>) + +<a NAME="PathGraph.to_dot" ID="PathGraph.to_dot"></a> +<h4>PathGraph.to_dot</h4> +<b>to_dot</b>(<i></i>) + +<div align="right"><a href="#top">Up</a></div> +<hr /> +<hr /> +<a NAME="PathGraphingAstVisitor" ID="PathGraphingAstVisitor"></a> +<h2>PathGraphingAstVisitor</h2> + +<p> + A visitor for a parsed Abstract Syntax Tree which finds executable + statements. +</p> +<h3>Derived from</h3> +ASTVisitor +<h3>Class Attributes</h3> + +<table> +<tr><td>visitAsyncFor</td></tr><tr><td>visitAsyncFunctionDef</td></tr><tr><td>visitAsyncWith</td></tr><tr><td>visitTry</td></tr> +</table> +<h3>Class Methods</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Methods</h3> + +<table> + +<tr> +<td><a href="#PathGraphingAstVisitor.__init__">PathGraphingAstVisitor</a></td> +<td></td> +</tr> +<tr> +<td><a href="#PathGraphingAstVisitor._subgraph">_subgraph</a></td> +<td>create the subgraphs representing any `if` and `for` statements</td> +</tr> +<tr> +<td><a href="#PathGraphingAstVisitor._subgraph_parse">_subgraph_parse</a></td> +<td>parse the body and any `else` block of `if` and `for` statements</td> +</tr> +<tr> +<td><a href="#PathGraphingAstVisitor.appendPathNode">appendPathNode</a></td> +<td></td> +</tr> +<tr> +<td><a href="#PathGraphingAstVisitor.default">default</a></td> +<td></td> +</tr> +<tr> +<td><a href="#PathGraphingAstVisitor.dispatch_list">dispatch_list</a></td> +<td></td> +</tr> +<tr> +<td><a href="#PathGraphingAstVisitor.reset">reset</a></td> +<td></td> +</tr> +<tr> +<td><a href="#PathGraphingAstVisitor.visitClassDef">visitClassDef</a></td> +<td></td> +</tr> +<tr> +<td><a href="#PathGraphingAstVisitor.visitFunctionDef">visitFunctionDef</a></td> +<td></td> +</tr> +<tr> +<td><a href="#PathGraphingAstVisitor.visitIf">visitIf</a></td> +<td></td> +</tr> +<tr> +<td><a href="#PathGraphingAstVisitor.visitLoop">visitLoop</a></td> +<td></td> +</tr> +<tr> +<td><a href="#PathGraphingAstVisitor.visitSimpleStatement">visitSimpleStatement</a></td> +<td></td> +</tr> +<tr> +<td><a href="#PathGraphingAstVisitor.visitTryExcept">visitTryExcept</a></td> +<td></td> +</tr> +<tr> +<td><a href="#PathGraphingAstVisitor.visitWith">visitWith</a></td> +<td></td> +</tr> +</table> +<h3>Static Methods</h3> + +<table> +<tr><td>None</td></tr> +</table> + +<a NAME="PathGraphingAstVisitor.__init__" ID="PathGraphingAstVisitor.__init__"></a> +<h4>PathGraphingAstVisitor (Constructor)</h4> +<b>PathGraphingAstVisitor</b>(<i></i>) + +<a NAME="PathGraphingAstVisitor._subgraph" ID="PathGraphingAstVisitor._subgraph"></a> +<h4>PathGraphingAstVisitor._subgraph</h4> +<b>_subgraph</b>(<i>node, name, extra_blocks=()</i>) + +<p> +create the subgraphs representing any `if` and `for` statements +</p> +<a NAME="PathGraphingAstVisitor._subgraph_parse" ID="PathGraphingAstVisitor._subgraph_parse"></a> +<h4>PathGraphingAstVisitor._subgraph_parse</h4> +<b>_subgraph_parse</b>(<i>node, pathnode, extra_blocks</i>) + +<p> +parse the body and any `else` block of `if` and `for` statements +</p> +<a NAME="PathGraphingAstVisitor.appendPathNode" ID="PathGraphingAstVisitor.appendPathNode"></a> +<h4>PathGraphingAstVisitor.appendPathNode</h4> +<b>appendPathNode</b>(<i>name</i>) + +<a NAME="PathGraphingAstVisitor.default" ID="PathGraphingAstVisitor.default"></a> +<h4>PathGraphingAstVisitor.default</h4> +<b>default</b>(<i>node, *args</i>) + +<a NAME="PathGraphingAstVisitor.dispatch_list" ID="PathGraphingAstVisitor.dispatch_list"></a> +<h4>PathGraphingAstVisitor.dispatch_list</h4> +<b>dispatch_list</b>(<i>node_list</i>) + +<a NAME="PathGraphingAstVisitor.reset" ID="PathGraphingAstVisitor.reset"></a> +<h4>PathGraphingAstVisitor.reset</h4> +<b>reset</b>(<i></i>) + +<a NAME="PathGraphingAstVisitor.visitClassDef" ID="PathGraphingAstVisitor.visitClassDef"></a> +<h4>PathGraphingAstVisitor.visitClassDef</h4> +<b>visitClassDef</b>(<i>node</i>) + +<a NAME="PathGraphingAstVisitor.visitFunctionDef" ID="PathGraphingAstVisitor.visitFunctionDef"></a> +<h4>PathGraphingAstVisitor.visitFunctionDef</h4> +<b>visitFunctionDef</b>(<i>node</i>) + +<a NAME="PathGraphingAstVisitor.visitIf" ID="PathGraphingAstVisitor.visitIf"></a> +<h4>PathGraphingAstVisitor.visitIf</h4> +<b>visitIf</b>(<i>node</i>) + +<a NAME="PathGraphingAstVisitor.visitLoop" ID="PathGraphingAstVisitor.visitLoop"></a> +<h4>PathGraphingAstVisitor.visitLoop</h4> +<b>visitLoop</b>(<i>node</i>) + +<a NAME="PathGraphingAstVisitor.visitSimpleStatement" ID="PathGraphingAstVisitor.visitSimpleStatement"></a> +<h4>PathGraphingAstVisitor.visitSimpleStatement</h4> +<b>visitSimpleStatement</b>(<i>node</i>) + +<a NAME="PathGraphingAstVisitor.visitTryExcept" ID="PathGraphingAstVisitor.visitTryExcept"></a> +<h4>PathGraphingAstVisitor.visitTryExcept</h4> +<b>visitTryExcept</b>(<i>node</i>) + +<a NAME="PathGraphingAstVisitor.visitWith" ID="PathGraphingAstVisitor.visitWith"></a> +<h4>PathGraphingAstVisitor.visitWith</h4> +<b>visitWith</b>(<i>node</i>) + +<div align="right"><a href="#top">Up</a></div> +<hr /> +<hr /> +<a NAME="PathNode" ID="PathNode"></a> +<h2>PathNode</h2> + +<h3>Derived from</h3> +object +<h3>Class Attributes</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Class Methods</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Methods</h3> + +<table> + +<tr> +<td><a href="#PathNode.__init__">PathNode</a></td> +<td></td> +</tr> +<tr> +<td><a href="#PathNode.dot_id">dot_id</a></td> +<td></td> +</tr> +<tr> +<td><a href="#PathNode.to_dot">to_dot</a></td> +<td></td> +</tr> +</table> +<h3>Static Methods</h3> + +<table> +<tr><td>None</td></tr> +</table> + +<a NAME="PathNode.__init__" ID="PathNode.__init__"></a> +<h4>PathNode (Constructor)</h4> +<b>PathNode</b>(<i>name, look="circle"</i>) + +<a NAME="PathNode.dot_id" ID="PathNode.dot_id"></a> +<h4>PathNode.dot_id</h4> +<b>dot_id</b>(<i></i>) + +<a NAME="PathNode.to_dot" ID="PathNode.to_dot"></a> +<h4>PathNode.to_dot</h4> +<b>to_dot</b>(<i></i>) + +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/eric6/Documentation/Source/eric6.Plugins.CheckerPlugins.CodeStyleChecker.Miscellaneous.eradicate.html Sun Mar 28 15:00:11 2021 +0200 @@ -0,0 +1,182 @@ +<!DOCTYPE html> +<html><head> +<title>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Miscellaneous.eradicate</title> +<meta charset="UTF-8"> +<style> +body { + background: #EDECE6; + margin: 0em 1em 10em 1em; + color: black; +} + +h1 { color: white; background: #85774A; } +h2 { color: white; background: #85774A; } +h3 { color: white; background: #9D936E; } +h4 { color: white; background: #9D936E; } + +a { color: #BA6D36; } + +</style> +</head> +<body> +<a NAME="top" ID="top"></a> +<h1>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Miscellaneous.eradicate</h1> + +<p> +Removes commented-out Python code. +</p> +<h3>Global Attributes</h3> + +<table> +<tr><td>__version__</td></tr> +</table> +<h3>Classes</h3> + +<table> + +<tr> +<td><a href="#Eradicator">Eradicator</a></td> +<td>Eradicate comments.</td> +</tr> +</table> +<h3>Functions</h3> + +<table> + +<tr> +<td><a href="#main">main</a></td> +<td>Main entry point.</td> +</tr> +</table> +<hr /> +<hr /> +<a NAME="Eradicator" ID="Eradicator"></a> +<h2>Eradicator</h2> + +<p> +Eradicate comments. +</p> +<h3>Derived from</h3> +object +<h3>Class Attributes</h3> + +<table> +<tr><td>BRACKET_REGEX</td></tr><tr><td>CODE_INDICATORS</td></tr><tr><td>CODE_KEYWORDS</td></tr><tr><td>CODE_KEYWORDS_AGGR</td></tr><tr><td>CODING_COMMENT_REGEX</td></tr><tr><td>DEFAULT_WHITELIST</td></tr><tr><td>DEF_STATEMENT_REGEX</td></tr><tr><td>FOR_STATEMENT_REGEX</td></tr><tr><td>HASH_NUMBER</td></tr><tr><td>MULTILINE_ASSIGNMENT_REGEX</td></tr><tr><td>PARTIAL_DICTIONARY_REGEX</td></tr><tr><td>PRINT_RETURN_REGEX</td></tr><tr><td>WHITELIST_REGEX</td></tr><tr><td>WHITESPACE_HASH</td></tr><tr><td>WITH_STATEMENT_REGEX</td></tr> +</table> +<h3>Class Methods</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Methods</h3> + +<table> + +<tr> +<td><a href="#Eradicator.comment_contains_code">comment_contains_code</a></td> +<td>Return True comment contains code.</td> +</tr> +<tr> +<td><a href="#Eradicator.commented_out_code_line_numbers">commented_out_code_line_numbers</a></td> +<td>Yield line numbers of commented-out code.</td> +</tr> +<tr> +<td><a href="#Eradicator.detect_encoding">detect_encoding</a></td> +<td>Return file encoding.</td> +</tr> +<tr> +<td><a href="#Eradicator.filter_commented_out_code">filter_commented_out_code</a></td> +<td>Yield code with commented out code removed.</td> +</tr> +<tr> +<td><a href="#Eradicator.fix_file">fix_file</a></td> +<td>Run filter_commented_out_code() on file.</td> +</tr> +<tr> +<td><a href="#Eradicator.multiline_case">multiline_case</a></td> +<td>Return True if line is probably part of some multiline code.</td> +</tr> +<tr> +<td><a href="#Eradicator.open_with_encoding">open_with_encoding</a></td> +<td>Return opened file with a specific encoding.</td> +</tr> +<tr> +<td><a href="#Eradicator.update_whitelist">update_whitelist</a></td> +<td>Updates the whitelist.</td> +</tr> +</table> +<h3>Static Methods</h3> + +<table> +<tr><td>None</td></tr> +</table> + +<a NAME="Eradicator.comment_contains_code" ID="Eradicator.comment_contains_code"></a> +<h4>Eradicator.comment_contains_code</h4> +<b>comment_contains_code</b>(<i>line, aggressive=True</i>) + +<p> +Return True comment contains code. +</p> +<a NAME="Eradicator.commented_out_code_line_numbers" ID="Eradicator.commented_out_code_line_numbers"></a> +<h4>Eradicator.commented_out_code_line_numbers</h4> +<b>commented_out_code_line_numbers</b>(<i>source, aggressive=True</i>) + +<p> +Yield line numbers of commented-out code. +</p> +<a NAME="Eradicator.detect_encoding" ID="Eradicator.detect_encoding"></a> +<h4>Eradicator.detect_encoding</h4> +<b>detect_encoding</b>(<i>filename</i>) + +<p> +Return file encoding. +</p> +<a NAME="Eradicator.filter_commented_out_code" ID="Eradicator.filter_commented_out_code"></a> +<h4>Eradicator.filter_commented_out_code</h4> +<b>filter_commented_out_code</b>(<i>source, aggressive=True</i>) + +<p> +Yield code with commented out code removed. +</p> +<a NAME="Eradicator.fix_file" ID="Eradicator.fix_file"></a> +<h4>Eradicator.fix_file</h4> +<b>fix_file</b>(<i>filename, args, standard_out</i>) + +<p> +Run filter_commented_out_code() on file. +</p> +<a NAME="Eradicator.multiline_case" ID="Eradicator.multiline_case"></a> +<h4>Eradicator.multiline_case</h4> +<b>multiline_case</b>(<i>line, aggressive=True</i>) + +<p> +Return True if line is probably part of some multiline code. +</p> +<a NAME="Eradicator.open_with_encoding" ID="Eradicator.open_with_encoding"></a> +<h4>Eradicator.open_with_encoding</h4> +<b>open_with_encoding</b>(<i>filename, encoding, mode='r'</i>) + +<p> +Return opened file with a specific encoding. +</p> +<a NAME="Eradicator.update_whitelist" ID="Eradicator.update_whitelist"></a> +<h4>Eradicator.update_whitelist</h4> +<b>update_whitelist</b>(<i>new_whitelist, extend_default=True</i>) + +<p> +Updates the whitelist. +</p> +<div align="right"><a href="#top">Up</a></div> +<hr /> +<hr /> +<a NAME="main" ID="main"></a> +<h2>main</h2> +<b>main</b>(<i>argv, standard_out, standard_error</i>) + +<p> +Main entry point. +</p> +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/eric6/Documentation/Source/eric6.Plugins.CheckerPlugins.CodeStyleChecker.PathLib.PathlibChecker.html Sun Mar 28 15:00:11 2021 +0200 @@ -0,0 +1,471 @@ +<!DOCTYPE html> +<html><head> +<title>eric6.Plugins.CheckerPlugins.CodeStyleChecker.PathLib.PathlibChecker</title> +<meta charset="UTF-8"> +<style> +body { + background: #EDECE6; + margin: 0em 1em 10em 1em; + color: black; +} + +h1 { color: white; background: #85774A; } +h2 { color: white; background: #85774A; } +h3 { color: white; background: #9D936E; } +h4 { color: white; background: #9D936E; } + +a { color: #BA6D36; } + +</style> +</head> +<body> +<a NAME="top" ID="top"></a> +<h1>eric6.Plugins.CheckerPlugins.CodeStyleChecker.PathLib.PathlibChecker</h1> + +<p> +Module implementing the checker for functions that can be replaced by use of +the pathlib module. +</p> +<h3>Global Attributes</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Classes</h3> + +<table> + +<tr> +<td><a href="#NameResolver">NameResolver</a></td> +<td>Class to resolve a Name or Attribute node.</td> +</tr> +<tr> +<td><a href="#PathlibChecker">PathlibChecker</a></td> +<td>Class implementing a checker for functions that can be replaced by use of the pathlib module.</td> +</tr> +<tr> +<td><a href="#PathlibVisitor">PathlibVisitor</a></td> +<td>Class to traverse the AST node tree and check for potential issues.</td> +</tr> +</table> +<h3>Functions</h3> + +<table> +<tr><td>None</td></tr> +</table> +<hr /> +<hr /> +<a NAME="NameResolver" ID="NameResolver"></a> +<h2>NameResolver</h2> + +<p> + Class to resolve a Name or Attribute node. +</p> +<h3>Derived from</h3> +ast.NodeVisitor +<h3>Class Attributes</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Class Methods</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Methods</h3> + +<table> + +<tr> +<td><a href="#NameResolver.__init__">NameResolver</a></td> +<td>Constructor</td> +</tr> +<tr> +<td><a href="#NameResolver.name">name</a></td> +<td>Public method to resolve the name.</td> +</tr> +<tr> +<td><a href="#NameResolver.visit_Attribute">visit_Attribute</a></td> +<td>Public method to handle the Attribute AST node.</td> +</tr> +<tr> +<td><a href="#NameResolver.visit_Name">visit_Name</a></td> +<td>Public method to handle the Name AST node.</td> +</tr> +</table> +<h3>Static Methods</h3> + +<table> +<tr><td>None</td></tr> +</table> + +<a NAME="NameResolver.__init__" ID="NameResolver.__init__"></a> +<h4>NameResolver (Constructor)</h4> +<b>NameResolver</b>(<i>importAlias</i>) + +<p> + Constructor +</p> +<dl> + +<dt><i>importAlias</i> (dict)</dt> +<dd> +reference to the import aliases dictionary +</dd> +</dl> +<a NAME="NameResolver.name" ID="NameResolver.name"></a> +<h4>NameResolver.name</h4> +<b>name</b>(<i></i>) + +<p> + Public method to resolve the name. +</p> +<dl> +<dt>Return:</dt> +<dd> +resolved name +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +str +</dd> +</dl> +<a NAME="NameResolver.visit_Attribute" ID="NameResolver.visit_Attribute"></a> +<h4>NameResolver.visit_Attribute</h4> +<b>visit_Attribute</b>(<i>node</i>) + +<p> + Public method to handle the Attribute AST node. +</p> +<dl> + +<dt><i>node</i> (ast.Attribute)</dt> +<dd> +reference to the Attribute AST node +</dd> +</dl> +<a NAME="NameResolver.visit_Name" ID="NameResolver.visit_Name"></a> +<h4>NameResolver.visit_Name</h4> +<b>visit_Name</b>(<i>node</i>) + +<p> + Public method to handle the Name AST node. +</p> +<dl> + +<dt><i>node</i> (ast.Name)</dt> +<dd> +reference to the Name AST node +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +<hr /> +<a NAME="PathlibChecker" ID="PathlibChecker"></a> +<h2>PathlibChecker</h2> + +<p> + Class implementing a checker for functions that can be replaced by use of + the pathlib module. +</p> +<h3>Derived from</h3> +object +<h3>Class Attributes</h3> + +<table> +<tr><td>Codes</td></tr><tr><td>Function2Code</td></tr> +</table> +<h3>Class Methods</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Methods</h3> + +<table> + +<tr> +<td><a href="#PathlibChecker.__init__">PathlibChecker</a></td> +<td>Constructor</td> +</tr> +<tr> +<td><a href="#PathlibChecker.__checkForReplacement">__checkForReplacement</a></td> +<td>Private method to check the given node for the need for a replacement.</td> +</tr> +<tr> +<td><a href="#PathlibChecker.__error">__error</a></td> +<td>Private method to record an issue.</td> +</tr> +<tr> +<td><a href="#PathlibChecker.__generateTree">__generateTree</a></td> +<td>Private method to generate an AST for our source.</td> +</tr> +<tr> +<td><a href="#PathlibChecker.__ignoreCode">__ignoreCode</a></td> +<td>Private method to check if the message code should be ignored.</td> +</tr> +<tr> +<td><a href="#PathlibChecker.__reportInvalidSyntax">__reportInvalidSyntax</a></td> +<td>Private method to report a syntax error.</td> +</tr> +<tr> +<td><a href="#PathlibChecker.run">run</a></td> +<td>Public method to check the given source against functions to be replaced by 'pathlib' equivalents.</td> +</tr> +</table> +<h3>Static Methods</h3> + +<table> +<tr><td>None</td></tr> +</table> + +<a NAME="PathlibChecker.__init__" ID="PathlibChecker.__init__"></a> +<h4>PathlibChecker (Constructor)</h4> +<b>PathlibChecker</b>(<i>source, filename, selected, ignored, expected, repeat</i>) + +<p> + Constructor +</p> +<dl> + +<dt><i>source</i> (list of str)</dt> +<dd> +source code to be checked +</dd> +<dt><i>filename</i> (str)</dt> +<dd> +name of the source file +</dd> +<dt><i>selected</i> (list of str)</dt> +<dd> +list of selected codes +</dd> +<dt><i>ignored</i> (list of str)</dt> +<dd> +list of codes to be ignored +</dd> +<dt><i>expected</i> (list of str)</dt> +<dd> +list of expected codes +</dd> +<dt><i>repeat</i> (bool)</dt> +<dd> +flag indicating to report each occurrence of a code +</dd> +</dl> +<a NAME="PathlibChecker.__checkForReplacement" ID="PathlibChecker.__checkForReplacement"></a> +<h4>PathlibChecker.__checkForReplacement</h4> +<b>__checkForReplacement</b>(<i>node, name</i>) + +<p> + Private method to check the given node for the need for a + replacement. +</p> +<dl> + +<dt><i>node</i> (ast.AST)</dt> +<dd> +reference to the AST node to check +</dd> +<dt><i>name</i> (str)</dt> +<dd> +resolved name of the node +</dd> +</dl> +<a NAME="PathlibChecker.__error" ID="PathlibChecker.__error"></a> +<h4>PathlibChecker.__error</h4> +<b>__error</b>(<i>lineNumber, offset, code, *args</i>) + +<p> + Private method to record an issue. +</p> +<dl> + +<dt><i>lineNumber</i> (int)</dt> +<dd> +line number of the issue +</dd> +<dt><i>offset</i> (int)</dt> +<dd> +position within line of the issue +</dd> +<dt><i>code</i> (str)</dt> +<dd> +message code +</dd> +<dt><i>args</i> (list)</dt> +<dd> +arguments for the message +</dd> +</dl> +<a NAME="PathlibChecker.__generateTree" ID="PathlibChecker.__generateTree"></a> +<h4>PathlibChecker.__generateTree</h4> +<b>__generateTree</b>(<i></i>) + +<p> + Private method to generate an AST for our source. +</p> +<dl> +<dt>Return:</dt> +<dd> +generated AST +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +ast.AST +</dd> +</dl> +<a NAME="PathlibChecker.__ignoreCode" ID="PathlibChecker.__ignoreCode"></a> +<h4>PathlibChecker.__ignoreCode</h4> +<b>__ignoreCode</b>(<i>code</i>) + +<p> + Private method to check if the message code should be ignored. +</p> +<dl> + +<dt><i>code</i> (str)</dt> +<dd> +message code to check for +</dd> +</dl> +<dl> +<dt>Return:</dt> +<dd> +flag indicating to ignore the given code +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +bool +</dd> +</dl> +<a NAME="PathlibChecker.__reportInvalidSyntax" ID="PathlibChecker.__reportInvalidSyntax"></a> +<h4>PathlibChecker.__reportInvalidSyntax</h4> +<b>__reportInvalidSyntax</b>(<i></i>) + +<p> + Private method to report a syntax error. +</p> +<a NAME="PathlibChecker.run" ID="PathlibChecker.run"></a> +<h4>PathlibChecker.run</h4> +<b>run</b>(<i></i>) + +<p> + Public method to check the given source against functions + to be replaced by 'pathlib' equivalents. +</p> +<div align="right"><a href="#top">Up</a></div> +<hr /> +<hr /> +<a NAME="PathlibVisitor" ID="PathlibVisitor"></a> +<h2>PathlibVisitor</h2> + +<p> + Class to traverse the AST node tree and check for potential issues. +</p> +<h3>Derived from</h3> +ast.NodeVisitor +<h3>Class Attributes</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Class Methods</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Methods</h3> + +<table> + +<tr> +<td><a href="#PathlibVisitor.__init__">PathlibVisitor</a></td> +<td>Constructor</td> +</tr> +<tr> +<td><a href="#PathlibVisitor.visit_Call">visit_Call</a></td> +<td>Public method to handle the Call AST node.</td> +</tr> +<tr> +<td><a href="#PathlibVisitor.visit_Import">visit_Import</a></td> +<td>Public method to handle the Import AST node.</td> +</tr> +<tr> +<td><a href="#PathlibVisitor.visit_ImportFrom">visit_ImportFrom</a></td> +<td>Public method handle the ImportFrom AST node.</td> +</tr> +</table> +<h3>Static Methods</h3> + +<table> +<tr><td>None</td></tr> +</table> + +<a NAME="PathlibVisitor.__init__" ID="PathlibVisitor.__init__"></a> +<h4>PathlibVisitor (Constructor)</h4> +<b>PathlibVisitor</b>(<i>checkCallback</i>) + +<p> + Constructor +</p> +<dl> + +<dt><i>checkCallback</i> (func)</dt> +<dd> +callback function taking a reference to the + AST node and the resolved name +</dd> +</dl> +<a NAME="PathlibVisitor.visit_Call" ID="PathlibVisitor.visit_Call"></a> +<h4>PathlibVisitor.visit_Call</h4> +<b>visit_Call</b>(<i>node</i>) + +<p> + Public method to handle the Call AST node. +</p> +<dl> + +<dt><i>node</i> (ast.Call)</dt> +<dd> +reference to the Call AST node +</dd> +</dl> +<a NAME="PathlibVisitor.visit_Import" ID="PathlibVisitor.visit_Import"></a> +<h4>PathlibVisitor.visit_Import</h4> +<b>visit_Import</b>(<i>node</i>) + +<p> + Public method to handle the Import AST node. +</p> +<dl> + +<dt><i>node</i> (ast.Import)</dt> +<dd> +reference to the Import AST node +</dd> +</dl> +<a NAME="PathlibVisitor.visit_ImportFrom" ID="PathlibVisitor.visit_ImportFrom"></a> +<h4>PathlibVisitor.visit_ImportFrom</h4> +<b>visit_ImportFrom</b>(<i>node</i>) + +<p> + Public method handle the ImportFrom AST node. +</p> +<dl> + +<dt><i>node</i> (ast.ImportFrom)</dt> +<dd> +reference to the ImportFrom AST node +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/eric6/Documentation/Source/eric6.Plugins.CheckerPlugins.CodeStyleChecker.PathLib.translations.html Sun Mar 28 15:00:11 2021 +0200 @@ -0,0 +1,45 @@ +<!DOCTYPE html> +<html><head> +<title>eric6.Plugins.CheckerPlugins.CodeStyleChecker.PathLib.translations</title> +<meta charset="UTF-8"> +<style> +body { + background: #EDECE6; + margin: 0em 1em 10em 1em; + color: black; +} + +h1 { color: white; background: #85774A; } +h2 { color: white; background: #85774A; } +h3 { color: white; background: #9D936E; } +h4 { color: white; background: #9D936E; } + +a { color: #BA6D36; } + +</style> +</head> +<body> +<a NAME="top" ID="top"></a> +<h1>eric6.Plugins.CheckerPlugins.CodeStyleChecker.PathLib.translations</h1> + +<p> +Module implementing message translations for the code style plugin messages +(miscellaneous part). +</p> +<h3>Global Attributes</h3> + +<table> +<tr><td>_pathlibMessages</td></tr> +</table> +<h3>Classes</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Functions</h3> + +<table> +<tr><td>None</td></tr> +</table> +<hr /> +</body></html> \ No newline at end of file
--- a/eric6/Documentation/Source/eric6.Plugins.CheckerPlugins.CodeStyleChecker.eradicate.html Sat Mar 06 10:00:52 2021 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,182 +0,0 @@ -<!DOCTYPE html> -<html><head> -<title>eric6.Plugins.CheckerPlugins.CodeStyleChecker.eradicate</title> -<meta charset="UTF-8"> -<style> -body { - background: #EDECE6; - margin: 0em 1em 10em 1em; - color: black; -} - -h1 { color: white; background: #85774A; } -h2 { color: white; background: #85774A; } -h3 { color: white; background: #9D936E; } -h4 { color: white; background: #9D936E; } - -a { color: #BA6D36; } - -</style> -</head> -<body> -<a NAME="top" ID="top"></a> -<h1>eric6.Plugins.CheckerPlugins.CodeStyleChecker.eradicate</h1> - -<p> -Removes commented-out Python code. -</p> -<h3>Global Attributes</h3> - -<table> -<tr><td>__version__</td></tr> -</table> -<h3>Classes</h3> - -<table> - -<tr> -<td><a href="#Eradicator">Eradicator</a></td> -<td>Eradicate comments.</td> -</tr> -</table> -<h3>Functions</h3> - -<table> - -<tr> -<td><a href="#main">main</a></td> -<td>Main entry point.</td> -</tr> -</table> -<hr /> -<hr /> -<a NAME="Eradicator" ID="Eradicator"></a> -<h2>Eradicator</h2> - -<p> -Eradicate comments. -</p> -<h3>Derived from</h3> -object -<h3>Class Attributes</h3> - -<table> -<tr><td>BRACKET_REGEX</td></tr><tr><td>CODE_INDICATORS</td></tr><tr><td>CODE_KEYWORDS</td></tr><tr><td>CODE_KEYWORDS_AGGR</td></tr><tr><td>CODING_COMMENT_REGEX</td></tr><tr><td>DEFAULT_WHITELIST</td></tr><tr><td>DEF_STATEMENT_REGEX</td></tr><tr><td>FOR_STATEMENT_REGEX</td></tr><tr><td>HASH_NUMBER</td></tr><tr><td>MULTILINE_ASSIGNMENT_REGEX</td></tr><tr><td>PARTIAL_DICTIONARY_REGEX</td></tr><tr><td>PRINT_RETURN_REGEX</td></tr><tr><td>WHITELIST_REGEX</td></tr><tr><td>WHITESPACE_HASH</td></tr><tr><td>WITH_STATEMENT_REGEX</td></tr> -</table> -<h3>Class Methods</h3> - -<table> -<tr><td>None</td></tr> -</table> -<h3>Methods</h3> - -<table> - -<tr> -<td><a href="#Eradicator.comment_contains_code">comment_contains_code</a></td> -<td>Return True comment contains code.</td> -</tr> -<tr> -<td><a href="#Eradicator.commented_out_code_line_numbers">commented_out_code_line_numbers</a></td> -<td>Yield line numbers of commented-out code.</td> -</tr> -<tr> -<td><a href="#Eradicator.detect_encoding">detect_encoding</a></td> -<td>Return file encoding.</td> -</tr> -<tr> -<td><a href="#Eradicator.filter_commented_out_code">filter_commented_out_code</a></td> -<td>Yield code with commented out code removed.</td> -</tr> -<tr> -<td><a href="#Eradicator.fix_file">fix_file</a></td> -<td>Run filter_commented_out_code() on file.</td> -</tr> -<tr> -<td><a href="#Eradicator.multiline_case">multiline_case</a></td> -<td>Return True if line is probably part of some multiline code.</td> -</tr> -<tr> -<td><a href="#Eradicator.open_with_encoding">open_with_encoding</a></td> -<td>Return opened file with a specific encoding.</td> -</tr> -<tr> -<td><a href="#Eradicator.update_whitelist">update_whitelist</a></td> -<td>Updates the whitelist.</td> -</tr> -</table> -<h3>Static Methods</h3> - -<table> -<tr><td>None</td></tr> -</table> - -<a NAME="Eradicator.comment_contains_code" ID="Eradicator.comment_contains_code"></a> -<h4>Eradicator.comment_contains_code</h4> -<b>comment_contains_code</b>(<i>line, aggressive=True</i>) - -<p> -Return True comment contains code. -</p> -<a NAME="Eradicator.commented_out_code_line_numbers" ID="Eradicator.commented_out_code_line_numbers"></a> -<h4>Eradicator.commented_out_code_line_numbers</h4> -<b>commented_out_code_line_numbers</b>(<i>source, aggressive=True</i>) - -<p> -Yield line numbers of commented-out code. -</p> -<a NAME="Eradicator.detect_encoding" ID="Eradicator.detect_encoding"></a> -<h4>Eradicator.detect_encoding</h4> -<b>detect_encoding</b>(<i>filename</i>) - -<p> -Return file encoding. -</p> -<a NAME="Eradicator.filter_commented_out_code" ID="Eradicator.filter_commented_out_code"></a> -<h4>Eradicator.filter_commented_out_code</h4> -<b>filter_commented_out_code</b>(<i>source, aggressive=True</i>) - -<p> -Yield code with commented out code removed. -</p> -<a NAME="Eradicator.fix_file" ID="Eradicator.fix_file"></a> -<h4>Eradicator.fix_file</h4> -<b>fix_file</b>(<i>filename, args, standard_out</i>) - -<p> -Run filter_commented_out_code() on file. -</p> -<a NAME="Eradicator.multiline_case" ID="Eradicator.multiline_case"></a> -<h4>Eradicator.multiline_case</h4> -<b>multiline_case</b>(<i>line, aggressive=True</i>) - -<p> -Return True if line is probably part of some multiline code. -</p> -<a NAME="Eradicator.open_with_encoding" ID="Eradicator.open_with_encoding"></a> -<h4>Eradicator.open_with_encoding</h4> -<b>open_with_encoding</b>(<i>filename, encoding, mode='r'</i>) - -<p> -Return opened file with a specific encoding. -</p> -<a NAME="Eradicator.update_whitelist" ID="Eradicator.update_whitelist"></a> -<h4>Eradicator.update_whitelist</h4> -<b>update_whitelist</b>(<i>new_whitelist, extend_default=True</i>) - -<p> -Updates the whitelist. -</p> -<div align="right"><a href="#top">Up</a></div> -<hr /> -<hr /> -<a NAME="main" ID="main"></a> -<h2>main</h2> -<b>main</b>(<i>argv, standard_out, standard_error</i>) - -<p> -Main entry point. -</p> -<div align="right"><a href="#top">Up</a></div> -<hr /> -</body></html> \ No newline at end of file
--- a/eric6/Documentation/Source/eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.html Sat Mar 06 10:00:52 2021 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,393 +0,0 @@ -<!DOCTYPE html> -<html><head> -<title>eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe</title> -<meta charset="UTF-8"> -<style> -body { - background: #EDECE6; - margin: 0em 1em 10em 1em; - color: black; -} - -h1 { color: white; background: #85774A; } -h2 { color: white; background: #85774A; } -h3 { color: white; background: #9D936E; } -h4 { color: white; background: #9D936E; } - -a { color: #BA6D36; } - -</style> -</head> -<body> -<a NAME="top" ID="top"></a> -<h1>eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe</h1> - -<h3>Global Attributes</h3> - -<table> -<tr><td>__version__</td></tr> -</table> -<h3>Classes</h3> - -<table> - -<tr> -<td><a href="#ASTVisitor">ASTVisitor</a></td> -<td>Performs a depth-first walk of the AST.</td> -</tr> -<tr> -<td><a href="#PathGraph">PathGraph</a></td> -<td></td> -</tr> -<tr> -<td><a href="#PathGraphingAstVisitor">PathGraphingAstVisitor</a></td> -<td>A visitor for a parsed Abstract Syntax Tree which finds executable statements.</td> -</tr> -<tr> -<td><a href="#PathNode">PathNode</a></td> -<td></td> -</tr> -</table> -<h3>Functions</h3> - -<table> -<tr><td>None</td></tr> -</table> -<hr /> -<hr /> -<a NAME="ASTVisitor" ID="ASTVisitor"></a> -<h2>ASTVisitor</h2> - -<p> -Performs a depth-first walk of the AST. -</p> -<h3>Derived from</h3> -object -<h3>Class Attributes</h3> - -<table> -<tr><td>None</td></tr> -</table> -<h3>Class Methods</h3> - -<table> -<tr><td>None</td></tr> -</table> -<h3>Methods</h3> - -<table> - -<tr> -<td><a href="#ASTVisitor.__init__">ASTVisitor</a></td> -<td></td> -</tr> -<tr> -<td><a href="#ASTVisitor.default">default</a></td> -<td></td> -</tr> -<tr> -<td><a href="#ASTVisitor.dispatch">dispatch</a></td> -<td></td> -</tr> -<tr> -<td><a href="#ASTVisitor.preorder">preorder</a></td> -<td>Do preorder walk of tree using visitor</td> -</tr> -</table> -<h3>Static Methods</h3> - -<table> -<tr><td>None</td></tr> -</table> - -<a NAME="ASTVisitor.__init__" ID="ASTVisitor.__init__"></a> -<h4>ASTVisitor (Constructor)</h4> -<b>ASTVisitor</b>(<i></i>) - -<a NAME="ASTVisitor.default" ID="ASTVisitor.default"></a> -<h4>ASTVisitor.default</h4> -<b>default</b>(<i>node, *args</i>) - -<a NAME="ASTVisitor.dispatch" ID="ASTVisitor.dispatch"></a> -<h4>ASTVisitor.dispatch</h4> -<b>dispatch</b>(<i>node, *args</i>) - -<a NAME="ASTVisitor.preorder" ID="ASTVisitor.preorder"></a> -<h4>ASTVisitor.preorder</h4> -<b>preorder</b>(<i>tree, visitor, *args</i>) - -<p> -Do preorder walk of tree using visitor -</p> -<div align="right"><a href="#top">Up</a></div> -<hr /> -<hr /> -<a NAME="PathGraph" ID="PathGraph"></a> -<h2>PathGraph</h2> - -<h3>Derived from</h3> -object -<h3>Class Attributes</h3> - -<table> -<tr><td>None</td></tr> -</table> -<h3>Class Methods</h3> - -<table> -<tr><td>None</td></tr> -</table> -<h3>Methods</h3> - -<table> - -<tr> -<td><a href="#PathGraph.__init__">PathGraph</a></td> -<td></td> -</tr> -<tr> -<td><a href="#PathGraph.complexity">complexity</a></td> -<td>Return the McCabe complexity for the graph.</td> -</tr> -<tr> -<td><a href="#PathGraph.connect">connect</a></td> -<td></td> -</tr> -<tr> -<td><a href="#PathGraph.to_dot">to_dot</a></td> -<td></td> -</tr> -</table> -<h3>Static Methods</h3> - -<table> -<tr><td>None</td></tr> -</table> - -<a NAME="PathGraph.__init__" ID="PathGraph.__init__"></a> -<h4>PathGraph (Constructor)</h4> -<b>PathGraph</b>(<i>name, entity, lineno, column=0</i>) - -<a NAME="PathGraph.complexity" ID="PathGraph.complexity"></a> -<h4>PathGraph.complexity</h4> -<b>complexity</b>(<i></i>) - -<p> - Return the McCabe complexity for the graph. - V-E+2 -</p> -<a NAME="PathGraph.connect" ID="PathGraph.connect"></a> -<h4>PathGraph.connect</h4> -<b>connect</b>(<i>n1, n2</i>) - -<a NAME="PathGraph.to_dot" ID="PathGraph.to_dot"></a> -<h4>PathGraph.to_dot</h4> -<b>to_dot</b>(<i></i>) - -<div align="right"><a href="#top">Up</a></div> -<hr /> -<hr /> -<a NAME="PathGraphingAstVisitor" ID="PathGraphingAstVisitor"></a> -<h2>PathGraphingAstVisitor</h2> - -<p> - A visitor for a parsed Abstract Syntax Tree which finds executable - statements. -</p> -<h3>Derived from</h3> -ASTVisitor -<h3>Class Attributes</h3> - -<table> -<tr><td>visitAsyncFor</td></tr><tr><td>visitAsyncFunctionDef</td></tr><tr><td>visitAsyncWith</td></tr><tr><td>visitTry</td></tr> -</table> -<h3>Class Methods</h3> - -<table> -<tr><td>None</td></tr> -</table> -<h3>Methods</h3> - -<table> - -<tr> -<td><a href="#PathGraphingAstVisitor.__init__">PathGraphingAstVisitor</a></td> -<td></td> -</tr> -<tr> -<td><a href="#PathGraphingAstVisitor._subgraph">_subgraph</a></td> -<td>create the subgraphs representing any `if` and `for` statements</td> -</tr> -<tr> -<td><a href="#PathGraphingAstVisitor._subgraph_parse">_subgraph_parse</a></td> -<td>parse the body and any `else` block of `if` and `for` statements</td> -</tr> -<tr> -<td><a href="#PathGraphingAstVisitor.appendPathNode">appendPathNode</a></td> -<td></td> -</tr> -<tr> -<td><a href="#PathGraphingAstVisitor.default">default</a></td> -<td></td> -</tr> -<tr> -<td><a href="#PathGraphingAstVisitor.dispatch_list">dispatch_list</a></td> -<td></td> -</tr> -<tr> -<td><a href="#PathGraphingAstVisitor.reset">reset</a></td> -<td></td> -</tr> -<tr> -<td><a href="#PathGraphingAstVisitor.visitClassDef">visitClassDef</a></td> -<td></td> -</tr> -<tr> -<td><a href="#PathGraphingAstVisitor.visitFunctionDef">visitFunctionDef</a></td> -<td></td> -</tr> -<tr> -<td><a href="#PathGraphingAstVisitor.visitIf">visitIf</a></td> -<td></td> -</tr> -<tr> -<td><a href="#PathGraphingAstVisitor.visitLoop">visitLoop</a></td> -<td></td> -</tr> -<tr> -<td><a href="#PathGraphingAstVisitor.visitSimpleStatement">visitSimpleStatement</a></td> -<td></td> -</tr> -<tr> -<td><a href="#PathGraphingAstVisitor.visitTryExcept">visitTryExcept</a></td> -<td></td> -</tr> -<tr> -<td><a href="#PathGraphingAstVisitor.visitWith">visitWith</a></td> -<td></td> -</tr> -</table> -<h3>Static Methods</h3> - -<table> -<tr><td>None</td></tr> -</table> - -<a NAME="PathGraphingAstVisitor.__init__" ID="PathGraphingAstVisitor.__init__"></a> -<h4>PathGraphingAstVisitor (Constructor)</h4> -<b>PathGraphingAstVisitor</b>(<i></i>) - -<a NAME="PathGraphingAstVisitor._subgraph" ID="PathGraphingAstVisitor._subgraph"></a> -<h4>PathGraphingAstVisitor._subgraph</h4> -<b>_subgraph</b>(<i>node, name, extra_blocks=()</i>) - -<p> -create the subgraphs representing any `if` and `for` statements -</p> -<a NAME="PathGraphingAstVisitor._subgraph_parse" ID="PathGraphingAstVisitor._subgraph_parse"></a> -<h4>PathGraphingAstVisitor._subgraph_parse</h4> -<b>_subgraph_parse</b>(<i>node, pathnode, extra_blocks</i>) - -<p> -parse the body and any `else` block of `if` and `for` statements -</p> -<a NAME="PathGraphingAstVisitor.appendPathNode" ID="PathGraphingAstVisitor.appendPathNode"></a> -<h4>PathGraphingAstVisitor.appendPathNode</h4> -<b>appendPathNode</b>(<i>name</i>) - -<a NAME="PathGraphingAstVisitor.default" ID="PathGraphingAstVisitor.default"></a> -<h4>PathGraphingAstVisitor.default</h4> -<b>default</b>(<i>node, *args</i>) - -<a NAME="PathGraphingAstVisitor.dispatch_list" ID="PathGraphingAstVisitor.dispatch_list"></a> -<h4>PathGraphingAstVisitor.dispatch_list</h4> -<b>dispatch_list</b>(<i>node_list</i>) - -<a NAME="PathGraphingAstVisitor.reset" ID="PathGraphingAstVisitor.reset"></a> -<h4>PathGraphingAstVisitor.reset</h4> -<b>reset</b>(<i></i>) - -<a NAME="PathGraphingAstVisitor.visitClassDef" ID="PathGraphingAstVisitor.visitClassDef"></a> -<h4>PathGraphingAstVisitor.visitClassDef</h4> -<b>visitClassDef</b>(<i>node</i>) - -<a NAME="PathGraphingAstVisitor.visitFunctionDef" ID="PathGraphingAstVisitor.visitFunctionDef"></a> -<h4>PathGraphingAstVisitor.visitFunctionDef</h4> -<b>visitFunctionDef</b>(<i>node</i>) - -<a NAME="PathGraphingAstVisitor.visitIf" ID="PathGraphingAstVisitor.visitIf"></a> -<h4>PathGraphingAstVisitor.visitIf</h4> -<b>visitIf</b>(<i>node</i>) - -<a NAME="PathGraphingAstVisitor.visitLoop" ID="PathGraphingAstVisitor.visitLoop"></a> -<h4>PathGraphingAstVisitor.visitLoop</h4> -<b>visitLoop</b>(<i>node</i>) - -<a NAME="PathGraphingAstVisitor.visitSimpleStatement" ID="PathGraphingAstVisitor.visitSimpleStatement"></a> -<h4>PathGraphingAstVisitor.visitSimpleStatement</h4> -<b>visitSimpleStatement</b>(<i>node</i>) - -<a NAME="PathGraphingAstVisitor.visitTryExcept" ID="PathGraphingAstVisitor.visitTryExcept"></a> -<h4>PathGraphingAstVisitor.visitTryExcept</h4> -<b>visitTryExcept</b>(<i>node</i>) - -<a NAME="PathGraphingAstVisitor.visitWith" ID="PathGraphingAstVisitor.visitWith"></a> -<h4>PathGraphingAstVisitor.visitWith</h4> -<b>visitWith</b>(<i>node</i>) - -<div align="right"><a href="#top">Up</a></div> -<hr /> -<hr /> -<a NAME="PathNode" ID="PathNode"></a> -<h2>PathNode</h2> - -<h3>Derived from</h3> -object -<h3>Class Attributes</h3> - -<table> -<tr><td>None</td></tr> -</table> -<h3>Class Methods</h3> - -<table> -<tr><td>None</td></tr> -</table> -<h3>Methods</h3> - -<table> - -<tr> -<td><a href="#PathNode.__init__">PathNode</a></td> -<td></td> -</tr> -<tr> -<td><a href="#PathNode.dot_id">dot_id</a></td> -<td></td> -</tr> -<tr> -<td><a href="#PathNode.to_dot">to_dot</a></td> -<td></td> -</tr> -</table> -<h3>Static Methods</h3> - -<table> -<tr><td>None</td></tr> -</table> - -<a NAME="PathNode.__init__" ID="PathNode.__init__"></a> -<h4>PathNode (Constructor)</h4> -<b>PathNode</b>(<i>name, look="circle"</i>) - -<a NAME="PathNode.dot_id" ID="PathNode.dot_id"></a> -<h4>PathNode.dot_id</h4> -<b>dot_id</b>(<i></i>) - -<a NAME="PathNode.to_dot" ID="PathNode.to_dot"></a> -<h4>PathNode.to_dot</h4> -<b>to_dot</b>(<i></i>) - -<div align="right"><a href="#top">Up</a></div> -<hr /> -</body></html> \ No newline at end of file
--- a/eric6/Documentation/Source/eric6.Plugins.CheckerPlugins.CodeStyleChecker.translations.html Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Documentation/Source/eric6.Plugins.CheckerPlugins.CodeStyleChecker.translations.html Sun Mar 28 15:00:11 2021 +0200 @@ -28,7 +28,7 @@ <h3>Global Attributes</h3> <table> -<tr><td>_messages</td></tr><tr><td>_messages_sample_args</td></tr><tr><td>messageCatalogs</td></tr><tr><td>messageSampleArgsCatalog</td></tr> +<tr><td>_fixMessages</td></tr><tr><td>_fixMessagesSampleArgs</td></tr><tr><td>_pycodestyleErrorMessages</td></tr><tr><td>_pycodestyleErrorMessagesSampleArgs</td></tr><tr><td>_pycodestyleWarningMessages</td></tr><tr><td>_pycodestyleWarningMessagesSampleArgs</td></tr><tr><td>messageCatalogs</td></tr><tr><td>messageCategoryRe</td></tr><tr><td>messageSampleArgsCatalog</td></tr> </table> <h3>Classes</h3>
--- a/eric6/Documentation/Source/eric6.Plugins.VcsPlugins.vcsGit.GitCommitDialog.html Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Documentation/Source/eric6.Plugins.VcsPlugins.vcsGit.GitCommitDialog.html Sun Mar 28 15:00:11 2021 +0200 @@ -213,16 +213,16 @@ </p> <a NAME="GitCommitDialog.on_recentComboBox_activated" ID="GitCommitDialog.on_recentComboBox_activated"></a> <h4>GitCommitDialog.on_recentComboBox_activated</h4> -<b>on_recentComboBox_activated</b>(<i>txt</i>) +<b>on_recentComboBox_activated</b>(<i>index</i>) <p> Private slot to select a commit message from recent ones. </p> <dl> -<dt><i>txt</i></dt> +<dt><i>index</i> (int)</dt> <dd> -text of the selected entry (string) +index of the selected entry </dd> </dl> <a NAME="GitCommitDialog.resetAuthor" ID="GitCommitDialog.resetAuthor"></a>
--- a/eric6/Documentation/Source/eric6.Plugins.VcsPlugins.vcsGit.GitLogBrowserDialog.html Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Documentation/Source/eric6.Plugins.VcsPlugins.vcsGit.GitLogBrowserDialog.html Sun Mar 28 15:00:11 2021 +0200 @@ -1261,16 +1261,16 @@ </p> <a NAME="GitLogBrowserDialog.on_fieldCombo_activated" ID="GitLogBrowserDialog.on_fieldCombo_activated"></a> <h4>GitLogBrowserDialog.on_fieldCombo_activated</h4> -<b>on_fieldCombo_activated</b>(<i>txt</i>) +<b>on_fieldCombo_activated</b>(<i>index</i>) <p> Private slot called, when a new filter field is selected. </p> <dl> -<dt><i>txt</i></dt> +<dt><i>index</i> (int)</dt> <dd> -text of the selected field (string) +index of the selected entry </dd> </dl> <a NAME="GitLogBrowserDialog.on_filesTree_currentItemChanged" ID="GitLogBrowserDialog.on_filesTree_currentItemChanged"></a>
--- a/eric6/Documentation/Source/eric6.Plugins.VcsPlugins.vcsGit.GitStatusDialog.html Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Documentation/Source/eric6.Plugins.VcsPlugins.vcsGit.GitStatusDialog.html Sun Mar 28 15:00:11 2021 +0200 @@ -831,16 +831,16 @@ </p> <a NAME="GitStatusDialog.on_statusFilterCombo_activated" ID="GitStatusDialog.on_statusFilterCombo_activated"></a> <h4>GitStatusDialog.on_statusFilterCombo_activated</h4> -<b>on_statusFilterCombo_activated</b>(<i>txt</i>) +<b>on_statusFilterCombo_activated</b>(<i>index</i>) <p> Private slot to react to the selection of a status filter. </p> <dl> -<dt><i>txt</i></dt> +<dt><i>index</i> (int)</dt> <dd> -selected status filter (string) +index of the selected entry </dd> </dl> <a NAME="GitStatusDialog.on_statusList_itemSelectionChanged" ID="GitStatusDialog.on_statusList_itemSelectionChanged"></a>
--- a/eric6/Documentation/Source/eric6.Plugins.VcsPlugins.vcsMercurial.GpgExtension.HgGpgSignaturesDialog.html Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Documentation/Source/eric6.Plugins.VcsPlugins.vcsMercurial.GpgExtension.HgGpgSignaturesDialog.html Sun Mar 28 15:00:11 2021 +0200 @@ -262,16 +262,16 @@ </dl> <a NAME="HgGpgSignaturesDialog.on_categoryCombo_activated" ID="HgGpgSignaturesDialog.on_categoryCombo_activated"></a> <h4>HgGpgSignaturesDialog.on_categoryCombo_activated</h4> -<b>on_categoryCombo_activated</b>(<i>txt</i>) +<b>on_categoryCombo_activated</b>(<i>index</i>) <p> Private slot called, when a new filter category is selected. </p> <dl> -<dt><i>txt</i></dt> +<dt><i>index</i> (int)</dt> <dd> -text of the selected category (string) +index of the selected entry </dd> </dl> <a NAME="HgGpgSignaturesDialog.on_rxEdit_textChanged" ID="HgGpgSignaturesDialog.on_rxEdit_textChanged"></a>
--- a/eric6/Documentation/Source/eric6.Plugins.VcsPlugins.vcsMercurial.HgBookmarkDialog.html Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Documentation/Source/eric6.Plugins.VcsPlugins.vcsMercurial.HgBookmarkDialog.html Sun Mar 28 15:00:11 2021 +0200 @@ -275,16 +275,16 @@ </dl> <a NAME="HgBookmarkDialog.on_nameCombo_activated" ID="HgBookmarkDialog.on_nameCombo_activated"></a> <h4>HgBookmarkDialog.on_nameCombo_activated</h4> -<b>on_nameCombo_activated</b>(<i>txt</i>) +<b>on_nameCombo_activated</b>(<i>index</i>) <p> Private slot to handle changes of the selected bookmark name. </p> <dl> -<dt><i>txt</i></dt> +<dt><i>index</i> (int)</dt> <dd> -selected combo entry (string) +index of the selected entry </dd> </dl> <a NAME="HgBookmarkDialog.on_nameEdit_textChanged" ID="HgBookmarkDialog.on_nameEdit_textChanged"></a>
--- a/eric6/Documentation/Source/eric6.Plugins.VcsPlugins.vcsMercurial.HgCommitDialog.html Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Documentation/Source/eric6.Plugins.VcsPlugins.vcsMercurial.HgCommitDialog.html Sun Mar 28 15:00:11 2021 +0200 @@ -196,16 +196,16 @@ </p> <a NAME="HgCommitDialog.on_recentComboBox_activated" ID="HgCommitDialog.on_recentComboBox_activated"></a> <h4>HgCommitDialog.on_recentComboBox_activated</h4> -<b>on_recentComboBox_activated</b>(<i>txt</i>) +<b>on_recentComboBox_activated</b>(<i>index</i>) <p> Private slot to select a commit message from recent ones. </p> <dl> -<dt><i>txt</i></dt> +<dt><i>index</i> (int)</dt> <dd> -text of the selected entry (string) +index of the selected entry </dd> </dl> <a NAME="HgCommitDialog.showEvent" ID="HgCommitDialog.showEvent"></a>
--- a/eric6/Documentation/Source/eric6.Plugins.VcsPlugins.vcsMercurial.HgLogBrowserDialog.html Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Documentation/Source/eric6.Plugins.VcsPlugins.vcsMercurial.HgLogBrowserDialog.html Sun Mar 28 15:00:11 2021 +0200 @@ -1153,16 +1153,16 @@ </dl> <a NAME="HgLogBrowserDialog.on_branchCombo_activated" ID="HgLogBrowserDialog.on_branchCombo_activated"></a> <h4>HgLogBrowserDialog.on_branchCombo_activated</h4> -<b>on_branchCombo_activated</b>(<i>txt</i>) +<b>on_branchCombo_activated</b>(<i>index</i>) <p> Private slot called, when a new branch is selected. </p> <dl> -<dt><i>txt</i></dt> +<dt><i>index</i> (int)</dt> <dd> -text of the selected branch (string) +index of the selected entry </dd> </dl> <a NAME="HgLogBrowserDialog.on_buttonBox_clicked" ID="HgLogBrowserDialog.on_buttonBox_clicked"></a> @@ -1202,16 +1202,16 @@ </p> <a NAME="HgLogBrowserDialog.on_fieldCombo_activated" ID="HgLogBrowserDialog.on_fieldCombo_activated"></a> <h4>HgLogBrowserDialog.on_fieldCombo_activated</h4> -<b>on_fieldCombo_activated</b>(<i>txt</i>) +<b>on_fieldCombo_activated</b>(<i>index</i>) <p> Private slot called, when a new filter field is selected. </p> <dl> -<dt><i>txt</i></dt> +<dt><i>index</i> (int)</dt> <dd> -text of the selected field (string) +index of the selected entry </dd> </dl> <a NAME="HgLogBrowserDialog.on_filesTree_currentItemChanged" ID="HgLogBrowserDialog.on_filesTree_currentItemChanged"></a>
--- a/eric6/Documentation/Source/eric6.Plugins.VcsPlugins.vcsMercurial.HgPhaseDialog.html Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Documentation/Source/eric6.Plugins.VcsPlugins.vcsMercurial.HgPhaseDialog.html Sun Mar 28 15:00:11 2021 +0200 @@ -133,16 +133,16 @@ </dl> <a NAME="HgPhaseDialog.on_phaseCombo_activated" ID="HgPhaseDialog.on_phaseCombo_activated"></a> <h4>HgPhaseDialog.on_phaseCombo_activated</h4> -<b>on_phaseCombo_activated</b>(<i>txt</i>) +<b>on_phaseCombo_activated</b>(<i>index</i>) <p> Private slot to react upon changes of the phase. </p> <dl> -<dt><i>txt</i></dt> +<dt><i>index</i> (int)</dt> <dd> -activated entry (string) +index of the selected entry </dd> </dl> <a NAME="HgPhaseDialog.on_revisionsEdit_textChanged" ID="HgPhaseDialog.on_revisionsEdit_textChanged"></a>
--- a/eric6/Documentation/Source/eric6.Plugins.VcsPlugins.vcsMercurial.HgStatusDialog.html Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Documentation/Source/eric6.Plugins.VcsPlugins.vcsMercurial.HgStatusDialog.html Sun Mar 28 15:00:11 2021 +0200 @@ -570,16 +570,16 @@ </p> <a NAME="HgStatusDialog.on_statusFilterCombo_activated" ID="HgStatusDialog.on_statusFilterCombo_activated"></a> <h4>HgStatusDialog.on_statusFilterCombo_activated</h4> -<b>on_statusFilterCombo_activated</b>(<i>txt</i>) +<b>on_statusFilterCombo_activated</b>(<i>index</i>) <p> Private slot to react to the selection of a status filter. </p> <dl> -<dt><i>txt</i></dt> +<dt><i>index</i> (int)</dt> <dd> -selected status filter (string) +index of the selected entry </dd> </dl> <a NAME="HgStatusDialog.on_statusList_itemSelectionChanged" ID="HgStatusDialog.on_statusList_itemSelectionChanged"></a>
--- a/eric6/Documentation/Source/eric6.Plugins.VcsPlugins.vcsMercurial.HgUserConfigHostFingerprintDialog.html Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Documentation/Source/eric6.Plugins.VcsPlugins.vcsMercurial.HgUserConfigHostFingerprintDialog.html Sun Mar 28 15:00:11 2021 +0200 @@ -167,16 +167,16 @@ </dl> <a NAME="HgUserConfigHostFingerprintDialog.on_hashComboBox_currentIndexChanged" ID="HgUserConfigHostFingerprintDialog.on_hashComboBox_currentIndexChanged"></a> <h4>HgUserConfigHostFingerprintDialog.on_hashComboBox_currentIndexChanged</h4> -<b>on_hashComboBox_currentIndexChanged</b>(<i>txt</i>) +<b>on_hashComboBox_currentIndexChanged</b>(<i>index</i>) <p> Private slot to handle changes of the hash combo. </p> <dl> -<dt><i>txt</i> (str)</dt> +<dt><i>index</i> (int)</dt> <dd> -current text +current index </dd> </dl> <a NAME="HgUserConfigHostFingerprintDialog.on_hostEdit_textChanged" ID="HgUserConfigHostFingerprintDialog.on_hostEdit_textChanged"></a>
--- a/eric6/Documentation/Source/eric6.Plugins.VcsPlugins.vcsMercurial.HisteditExtension.HgHisteditCommitEditor.html Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Documentation/Source/eric6.Plugins.VcsPlugins.vcsMercurial.HisteditExtension.HgHisteditCommitEditor.html Sun Mar 28 15:00:11 2021 +0200 @@ -138,16 +138,16 @@ </p> <a NAME="HgHisteditCommitEditor.on_recentComboBox_activated" ID="HgHisteditCommitEditor.on_recentComboBox_activated"></a> <h4>HgHisteditCommitEditor.on_recentComboBox_activated</h4> -<b>on_recentComboBox_activated</b>(<i>txt</i>) +<b>on_recentComboBox_activated</b>(<i>index</i>) <p> Private slot to select a commit message from recent ones. </p> <dl> -<dt><i>txt</i></dt> +<dt><i>index</i> (int)</dt> <dd> -text of the selected entry (string) +index of the selected entry </dd> </dl> <div align="right"><a href="#top">Up</a></div>
--- a/eric6/Documentation/Source/eric6.Plugins.VcsPlugins.vcsMercurial.QueuesExtension.HgQueuesDefineGuardsDialog.html Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Documentation/Source/eric6.Plugins.VcsPlugins.vcsMercurial.QueuesExtension.HgQueuesDefineGuardsDialog.html Sun Mar 28 15:00:11 2021 +0200 @@ -230,7 +230,7 @@ </p> <a NAME="HgQueuesDefineGuardsDialog.on_patchSelector_activated" ID="HgQueuesDefineGuardsDialog.on_patchSelector_activated"></a> <h4>HgQueuesDefineGuardsDialog.on_patchSelector_activated</h4> -<b>on_patchSelector_activated</b>(<i>patch</i>) +<b>on_patchSelector_activated</b>(<i>index</i>) <p> Private slot to get the list of guards defined for the given patch @@ -238,9 +238,9 @@ </p> <dl> -<dt><i>patch</i></dt> +<dt><i>index</i> (int)</dt> <dd> -selected patch name (empty for current patch) +index of the selected entry </dd> </dl> <a NAME="HgQueuesDefineGuardsDialog.on_removeButton_clicked" ID="HgQueuesDefineGuardsDialog.on_removeButton_clicked"></a>
--- a/eric6/Documentation/Source/eric6.Plugins.VcsPlugins.vcsMercurial.QueuesExtension.HgQueuesListGuardsDialog.html Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Documentation/Source/eric6.Plugins.VcsPlugins.vcsMercurial.QueuesExtension.HgQueuesListGuardsDialog.html Sun Mar 28 15:00:11 2021 +0200 @@ -129,16 +129,16 @@ </dl> <a NAME="HgQueuesListGuardsDialog.on_patchSelector_activated" ID="HgQueuesListGuardsDialog.on_patchSelector_activated"></a> <h4>HgQueuesListGuardsDialog.on_patchSelector_activated</h4> -<b>on_patchSelector_activated</b>(<i>patch</i>) +<b>on_patchSelector_activated</b>(<i>index</i>) <p> Private slot to get the list of guards for the given patch name. </p> <dl> -<dt><i>patch</i></dt> +<dt><i>index</i> (int)</dt> <dd> -selected patch name (empty for current patch) +index of the selected entry </dd> </dl> <a NAME="HgQueuesListGuardsDialog.start" ID="HgQueuesListGuardsDialog.start"></a>
--- a/eric6/Documentation/Source/eric6.Plugins.VcsPlugins.vcsMercurial.QueuesExtension.HgQueuesRenamePatchDialog.html Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Documentation/Source/eric6.Plugins.VcsPlugins.vcsMercurial.QueuesExtension.HgQueuesRenamePatchDialog.html Sun Mar 28 15:00:11 2021 +0200 @@ -143,16 +143,16 @@ </dl> <a NAME="HgQueuesRenamePatchDialog.on_nameCombo_currentIndexChanged" ID="HgQueuesRenamePatchDialog.on_nameCombo_currentIndexChanged"></a> <h4>HgQueuesRenamePatchDialog.on_nameCombo_currentIndexChanged</h4> -<b>on_nameCombo_currentIndexChanged</b>(<i>txt</i>) +<b>on_nameCombo_currentIndexChanged</b>(<i>index</i>) <p> Private slot to handle changes of the selected patch name. </p> <dl> -<dt><i>txt</i></dt> +<dt><i>index</i> (int)</dt> <dd> -selected patch name (string) +current index </dd> </dl> <a NAME="HgQueuesRenamePatchDialog.on_nameEdit_textChanged" ID="HgQueuesRenamePatchDialog.on_nameEdit_textChanged"></a>
--- a/eric6/Documentation/Source/eric6.Plugins.VcsPlugins.vcsPySvn.SvnCommitDialog.html Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Documentation/Source/eric6.Plugins.VcsPlugins.vcsPySvn.SvnCommitDialog.html Sun Mar 28 15:00:11 2021 +0200 @@ -215,16 +215,16 @@ </p> <a NAME="SvnCommitDialog.on_recentComboBox_activated" ID="SvnCommitDialog.on_recentComboBox_activated"></a> <h4>SvnCommitDialog.on_recentComboBox_activated</h4> -<b>on_recentComboBox_activated</b>(<i>txt</i>) +<b>on_recentComboBox_activated</b>(<i>index</i>) <p> Private slot to select a commit message from recent ones. </p> <dl> -<dt><i>txt</i></dt> +<dt><i>index</i> (int)</dt> <dd> -selected recent commit message (string) +index of the selected entry </dd> </dl> <a NAME="SvnCommitDialog.showEvent" ID="SvnCommitDialog.showEvent"></a>
--- a/eric6/Documentation/Source/eric6.Plugins.VcsPlugins.vcsPySvn.SvnLogBrowserDialog.html Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Documentation/Source/eric6.Plugins.VcsPlugins.vcsPySvn.SvnLogBrowserDialog.html Sun Mar 28 15:00:11 2021 +0200 @@ -450,16 +450,16 @@ </p> <a NAME="SvnLogBrowserDialog.on_fieldCombo_activated" ID="SvnLogBrowserDialog.on_fieldCombo_activated"></a> <h4>SvnLogBrowserDialog.on_fieldCombo_activated</h4> -<b>on_fieldCombo_activated</b>(<i>txt</i>) +<b>on_fieldCombo_activated</b>(<i>index</i>) <p> Private slot called, when a new filter field is selected. </p> <dl> -<dt><i>txt</i></dt> +<dt><i>index</i> (int)</dt> <dd> -text of the selected field (string) +index of the selected entry </dd> </dl> <a NAME="SvnLogBrowserDialog.on_fromDate_dateChanged" ID="SvnLogBrowserDialog.on_fromDate_dateChanged"></a>
--- a/eric6/Documentation/Source/eric6.Plugins.VcsPlugins.vcsPySvn.SvnNewProjectOptionsDialog.html Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Documentation/Source/eric6.Plugins.VcsPlugins.vcsPySvn.SvnNewProjectOptionsDialog.html Sun Mar 28 15:00:11 2021 +0200 @@ -153,16 +153,16 @@ </dl> <a NAME="SvnNewProjectOptionsDialog.on_protocolCombo_activated" ID="SvnNewProjectOptionsDialog.on_protocolCombo_activated"></a> <h4>SvnNewProjectOptionsDialog.on_protocolCombo_activated</h4> -<b>on_protocolCombo_activated</b>(<i>protocol</i>) +<b>on_protocolCombo_activated</b>(<i>index</i>) <p> Private slot to switch the status of the directory selection button. </p> <dl> -<dt><i>protocol</i></dt> +<dt><i>index</i> (int)</dt> <dd> -name of the selected protocol (string) +index of the selected entry </dd> </dl> <a NAME="SvnNewProjectOptionsDialog.on_vcsProjectDirPicker_textChanged" ID="SvnNewProjectOptionsDialog.on_vcsProjectDirPicker_textChanged"></a>
--- a/eric6/Documentation/Source/eric6.Plugins.VcsPlugins.vcsPySvn.SvnOptionsDialog.html Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Documentation/Source/eric6.Plugins.VcsPlugins.vcsPySvn.SvnOptionsDialog.html Sun Mar 28 15:00:11 2021 +0200 @@ -134,16 +134,16 @@ </dl> <a NAME="SvnOptionsDialog.on_protocolCombo_activated" ID="SvnOptionsDialog.on_protocolCombo_activated"></a> <h4>SvnOptionsDialog.on_protocolCombo_activated</h4> -<b>on_protocolCombo_activated</b>(<i>protocol</i>) +<b>on_protocolCombo_activated</b>(<i>index</i>) <p> Private slot to switch the status of the directory selection button. </p> <dl> -<dt><i>protocol</i></dt> +<dt><i>index</i> (int)</dt> <dd> -selected protocol (string) +index of the selected entry </dd> </dl> <a NAME="SvnOptionsDialog.on_vcsUrlPicker_pickerButtonClicked" ID="SvnOptionsDialog.on_vcsUrlPicker_pickerButtonClicked"></a>
--- a/eric6/Documentation/Source/eric6.Plugins.VcsPlugins.vcsPySvn.SvnRepoBrowserDialog.html Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Documentation/Source/eric6.Plugins.VcsPlugins.vcsPySvn.SvnRepoBrowserDialog.html Sun Mar 28 15:00:11 2021 +0200 @@ -326,16 +326,16 @@ </p> <a NAME="SvnRepoBrowserDialog.on_urlCombo_currentIndexChanged" ID="SvnRepoBrowserDialog.on_urlCombo_currentIndexChanged"></a> <h4>SvnRepoBrowserDialog.on_urlCombo_currentIndexChanged</h4> -<b>on_urlCombo_currentIndexChanged</b>(<i>text</i>) +<b>on_urlCombo_currentIndexChanged</b>(<i>index</i>) <p> Private slot called, when a new repository URL is entered or selected. </p> <dl> -<dt><i>text</i></dt> +<dt><i>index</i> (int)</dt> <dd> -the text of the current item (string) +of the current item </dd> </dl> <a NAME="SvnRepoBrowserDialog.start" ID="SvnRepoBrowserDialog.start"></a>
--- a/eric6/Documentation/Source/eric6.Plugins.VcsPlugins.vcsPySvn.SvnStatusDialog.html Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Documentation/Source/eric6.Plugins.VcsPlugins.vcsPySvn.SvnStatusDialog.html Sun Mar 28 15:00:11 2021 +0200 @@ -678,16 +678,16 @@ </p> <a NAME="SvnStatusDialog.on_statusFilterCombo_activated" ID="SvnStatusDialog.on_statusFilterCombo_activated"></a> <h4>SvnStatusDialog.on_statusFilterCombo_activated</h4> -<b>on_statusFilterCombo_activated</b>(<i>txt</i>) +<b>on_statusFilterCombo_activated</b>(<i>index</i>) <p> Private slot to react to the selection of a status filter. </p> <dl> -<dt><i>txt</i></dt> +<dt><i>index</i> (int)</dt> <dd> -selected status filter (string) +index of the selected entry </dd> </dl> <a NAME="SvnStatusDialog.on_statusList_itemChanged" ID="SvnStatusDialog.on_statusList_itemChanged"></a>
--- a/eric6/Documentation/Source/eric6.Plugins.VcsPlugins.vcsPySvn.SvnUrlSelectionDialog.html Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Documentation/Source/eric6.Plugins.VcsPlugins.vcsPySvn.SvnUrlSelectionDialog.html Sun Mar 28 15:00:11 2021 +0200 @@ -160,30 +160,30 @@ </dl> <a NAME="SvnUrlSelectionDialog.on_typeCombo1_currentIndexChanged" ID="SvnUrlSelectionDialog.on_typeCombo1_currentIndexChanged"></a> <h4>SvnUrlSelectionDialog.on_typeCombo1_currentIndexChanged</h4> -<b>on_typeCombo1_currentIndexChanged</b>(<i>type_</i>) +<b>on_typeCombo1_currentIndexChanged</b>(<i>index</i>) <p> Private slot called when the selected type was changed. </p> <dl> -<dt><i>type_</i></dt> +<dt><i>index</i> (int)</dt> <dd> -selected type (string) +index of the current item </dd> </dl> <a NAME="SvnUrlSelectionDialog.on_typeCombo2_currentIndexChanged" ID="SvnUrlSelectionDialog.on_typeCombo2_currentIndexChanged"></a> <h4>SvnUrlSelectionDialog.on_typeCombo2_currentIndexChanged</h4> -<b>on_typeCombo2_currentIndexChanged</b>(<i>type_</i>) +<b>on_typeCombo2_currentIndexChanged</b>(<i>index</i>) <p> Private slot called when the selected type was changed. </p> <dl> -<dt><i>type_</i></dt> +<dt><i>index</i> (int)</dt> <dd> -selected type (string) +index of the current item </dd> </dl> <div align="right"><a href="#top">Up</a></div>
--- a/eric6/Documentation/Source/eric6.Plugins.VcsPlugins.vcsSubversion.SvnCommitDialog.html Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Documentation/Source/eric6.Plugins.VcsPlugins.vcsSubversion.SvnCommitDialog.html Sun Mar 28 15:00:11 2021 +0200 @@ -211,16 +211,16 @@ </p> <a NAME="SvnCommitDialog.on_recentComboBox_activated" ID="SvnCommitDialog.on_recentComboBox_activated"></a> <h4>SvnCommitDialog.on_recentComboBox_activated</h4> -<b>on_recentComboBox_activated</b>(<i>txt</i>) +<b>on_recentComboBox_activated</b>(<i>index</i>) <p> Private slot to select a commit message from recent ones. </p> <dl> -<dt><i>txt</i></dt> +<dt><i>index</i> (int)</dt> <dd> -text of the combo (string) +index of the selected entry </dd> </dl> <a NAME="SvnCommitDialog.showEvent" ID="SvnCommitDialog.showEvent"></a>
--- a/eric6/Documentation/Source/eric6.Plugins.VcsPlugins.vcsSubversion.SvnLogBrowserDialog.html Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Documentation/Source/eric6.Plugins.VcsPlugins.vcsSubversion.SvnLogBrowserDialog.html Sun Mar 28 15:00:11 2021 +0200 @@ -532,16 +532,16 @@ </p> <a NAME="SvnLogBrowserDialog.on_fieldCombo_activated" ID="SvnLogBrowserDialog.on_fieldCombo_activated"></a> <h4>SvnLogBrowserDialog.on_fieldCombo_activated</h4> -<b>on_fieldCombo_activated</b>(<i>txt</i>) +<b>on_fieldCombo_activated</b>(<i>index</i>) <p> Private slot called, when a new filter field is selected. </p> <dl> -<dt><i>txt</i></dt> +<dt><i>index</i> (int)</dt> <dd> -text of the selected field (string) +index of the selected entry </dd> </dl> <a NAME="SvnLogBrowserDialog.on_fromDate_dateChanged" ID="SvnLogBrowserDialog.on_fromDate_dateChanged"></a>
--- a/eric6/Documentation/Source/eric6.Plugins.VcsPlugins.vcsSubversion.SvnNewProjectOptionsDialog.html Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Documentation/Source/eric6.Plugins.VcsPlugins.vcsSubversion.SvnNewProjectOptionsDialog.html Sun Mar 28 15:00:11 2021 +0200 @@ -153,16 +153,16 @@ </dl> <a NAME="SvnNewProjectOptionsDialog.on_protocolCombo_activated" ID="SvnNewProjectOptionsDialog.on_protocolCombo_activated"></a> <h4>SvnNewProjectOptionsDialog.on_protocolCombo_activated</h4> -<b>on_protocolCombo_activated</b>(<i>protocol</i>) +<b>on_protocolCombo_activated</b>(<i>index</i>) <p> Private slot to switch the status of the directory selection button. </p> <dl> -<dt><i>protocol</i></dt> +<dt><i>index</i> (int)</dt> <dd> -selected protocol (string) +index of the selected entry </dd> </dl> <a NAME="SvnNewProjectOptionsDialog.on_vcsProjectDirPicker_textChanged" ID="SvnNewProjectOptionsDialog.on_vcsProjectDirPicker_textChanged"></a>
--- a/eric6/Documentation/Source/eric6.Plugins.VcsPlugins.vcsSubversion.SvnOptionsDialog.html Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Documentation/Source/eric6.Plugins.VcsPlugins.vcsSubversion.SvnOptionsDialog.html Sun Mar 28 15:00:11 2021 +0200 @@ -134,16 +134,16 @@ </dl> <a NAME="SvnOptionsDialog.on_protocolCombo_activated" ID="SvnOptionsDialog.on_protocolCombo_activated"></a> <h4>SvnOptionsDialog.on_protocolCombo_activated</h4> -<b>on_protocolCombo_activated</b>(<i>protocol</i>) +<b>on_protocolCombo_activated</b>(<i>index</i>) <p> Private slot to switch the status of the directory selection button. </p> <dl> -<dt><i>protocol</i></dt> +<dt><i>index</i> (int)</dt> <dd> -selected protocol (string) +index of the selected entry </dd> </dl> <a NAME="SvnOptionsDialog.on_vcsUrlPicker_pickerButtonClicked" ID="SvnOptionsDialog.on_vcsUrlPicker_pickerButtonClicked"></a>
--- a/eric6/Documentation/Source/eric6.Plugins.VcsPlugins.vcsSubversion.SvnRepoBrowserDialog.html Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Documentation/Source/eric6.Plugins.VcsPlugins.vcsSubversion.SvnRepoBrowserDialog.html Sun Mar 28 15:00:11 2021 +0200 @@ -467,16 +467,16 @@ </p> <a NAME="SvnRepoBrowserDialog.on_urlCombo_currentIndexChanged" ID="SvnRepoBrowserDialog.on_urlCombo_currentIndexChanged"></a> <h4>SvnRepoBrowserDialog.on_urlCombo_currentIndexChanged</h4> -<b>on_urlCombo_currentIndexChanged</b>(<i>text</i>) +<b>on_urlCombo_currentIndexChanged</b>(<i>index</i>) <p> Private slot called, when a new repository URL is entered or selected. </p> <dl> -<dt><i>text</i></dt> +<dt><i>index</i> (int)</dt> <dd> -the text of the current item (string) +index of the current item </dd> </dl> <a NAME="SvnRepoBrowserDialog.start" ID="SvnRepoBrowserDialog.start"></a>
--- a/eric6/Documentation/Source/eric6.Plugins.VcsPlugins.vcsSubversion.SvnStatusDialog.html Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Documentation/Source/eric6.Plugins.VcsPlugins.vcsSubversion.SvnStatusDialog.html Sun Mar 28 15:00:11 2021 +0200 @@ -784,16 +784,16 @@ </p> <a NAME="SvnStatusDialog.on_statusFilterCombo_activated" ID="SvnStatusDialog.on_statusFilterCombo_activated"></a> <h4>SvnStatusDialog.on_statusFilterCombo_activated</h4> -<b>on_statusFilterCombo_activated</b>(<i>txt</i>) +<b>on_statusFilterCombo_activated</b>(<i>index</i>) <p> Private slot to react to the selection of a status filter. </p> <dl> -<dt><i>txt</i></dt> +<dt><i>index</i> (int)</dt> <dd> -selected status filter (string) +index of the selected entry </dd> </dl> <a NAME="SvnStatusDialog.on_statusList_itemChanged" ID="SvnStatusDialog.on_statusList_itemChanged"></a>
--- a/eric6/Documentation/Source/eric6.Plugins.VcsPlugins.vcsSubversion.SvnUrlSelectionDialog.html Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Documentation/Source/eric6.Plugins.VcsPlugins.vcsSubversion.SvnUrlSelectionDialog.html Sun Mar 28 15:00:11 2021 +0200 @@ -160,30 +160,30 @@ </dl> <a NAME="SvnUrlSelectionDialog.on_typeCombo1_currentIndexChanged" ID="SvnUrlSelectionDialog.on_typeCombo1_currentIndexChanged"></a> <h4>SvnUrlSelectionDialog.on_typeCombo1_currentIndexChanged</h4> -<b>on_typeCombo1_currentIndexChanged</b>(<i>type_</i>) +<b>on_typeCombo1_currentIndexChanged</b>(<i>index</i>) <p> Private slot called when the selected type was changed. </p> <dl> -<dt><i>type_</i></dt> +<dt><i>index</i> (int)</dt> <dd> -selected type (string) +index of the current item </dd> </dl> <a NAME="SvnUrlSelectionDialog.on_typeCombo2_currentIndexChanged" ID="SvnUrlSelectionDialog.on_typeCombo2_currentIndexChanged"></a> <h4>SvnUrlSelectionDialog.on_typeCombo2_currentIndexChanged</h4> -<b>on_typeCombo2_currentIndexChanged</b>(<i>type_</i>) +<b>on_typeCombo2_currentIndexChanged</b>(<i>index</i>) <p> Private slot called when the selected type was changed. </p> <dl> -<dt><i>type_</i></dt> +<dt><i>index</i> (int)</dt> <dd> -selected type (string) +index of the current item </dd> </dl> <div align="right"><a href="#top">Up</a></div>
--- a/eric6/Documentation/Source/eric6.Plugins.ViewManagerPlugins.Listspace.Listspace.html Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Documentation/Source/eric6.Plugins.ViewManagerPlugins.Listspace.Listspace.html Sun Mar 28 15:00:11 2021 +0200 @@ -790,7 +790,7 @@ <dl> <dt>Return Type:</dt> <dd> -Qt.Horizontal or Qt.Vertical +Qt.Orientation.Horizontal or Qt.Orientation.Vertical </dd> </dl> <a NAME="Listspace.mainWidget" ID="Listspace.mainWidget"></a> @@ -896,7 +896,7 @@ </p> <dl> -<dt><i>orientation</i> (Qt.Horizontal or Qt.Vertical)</dt> +<dt><i>orientation</i> (Qt.Orientation.Horizontal or Qt.Orientation.Vertical)</dt> <dd> orientation of the split </dd>
--- a/eric6/Documentation/Source/eric6.Plugins.ViewManagerPlugins.Tabview.Tabview.html Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Documentation/Source/eric6.Plugins.ViewManagerPlugins.Tabview.Tabview.html Sun Mar 28 15:00:11 2021 +0200 @@ -1405,7 +1405,7 @@ <dl> <dt>Return Type:</dt> <dd> -Qt.Horizontal or Qt.Vertical +Qt.Orientation.Horizontal or Qt.Orientation.Vertical </dd> </dl> <a NAME="Tabview.getTabWidgetById" ID="Tabview.getTabWidgetById"></a> @@ -1574,7 +1574,7 @@ </p> <dl> -<dt><i>orientation</i> (Qt.Horizontal or Qt.Vertical)</dt> +<dt><i>orientation</i> (Qt.Orientation.Horizontal or Qt.Orientation.Vertical)</dt> <dd> orientation of the split </dd>
--- a/eric6/Documentation/Source/eric6.Plugins.WizardPlugins.FileDialogWizard.FileDialogWizardDialog.html Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Documentation/Source/eric6.Plugins.WizardPlugins.FileDialogWizard.FileDialogWizardDialog.html Sun Mar 28 15:00:11 2021 +0200 @@ -253,16 +253,16 @@ </dl> <a NAME="FileDialogWizardDialog.on_pyqtComboBox_currentIndexChanged" ID="FileDialogWizardDialog.on_pyqtComboBox_currentIndexChanged"></a> <h4>FileDialogWizardDialog.on_pyqtComboBox_currentIndexChanged</h4> -<b>on_pyqtComboBox_currentIndexChanged</b>(<i>txt</i>) +<b>on_pyqtComboBox_currentIndexChanged</b>(<i>index</i>) <p> Private slot to setup the dialog for the selected PyQt variant. </p> <dl> -<dt><i>txt</i></dt> +<dt><i>index</i> (int)</dt> <dd> -text of the selected combo box entry (string) +index of the current item </dd> </dl> <div align="right"><a href="#top">Up</a></div>
--- a/eric6/Documentation/Source/eric6.Preferences.ConfigurationPages.DebuggerGeneralPage.html Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Documentation/Source/eric6.Preferences.ConfigurationPages.DebuggerGeneralPage.html Sun Mar 28 15:00:11 2021 +0200 @@ -260,7 +260,7 @@ </dl> <a NAME="PreviewModel.data" ID="PreviewModel.data"></a> <h4>PreviewModel.data</h4> -<b>data</b>(<i>index, role=Qt.DisplayRole</i>) +<b>data</b>(<i>index, role=Qt.ItemDataRole.DisplayRole</i>) <p> Public Qt slot get the role data of item.
--- a/eric6/Documentation/Source/eric6.Preferences.ConfigurationPages.EditorAPIsPage.html Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Documentation/Source/eric6.Preferences.ConfigurationPages.EditorAPIsPage.html Sun Mar 28 15:00:11 2021 +0200 @@ -291,16 +291,16 @@ </dl> <a NAME="EditorAPIsPage.on_apiLanguageComboBox_activated" ID="EditorAPIsPage.on_apiLanguageComboBox_activated"></a> <h4>EditorAPIsPage.on_apiLanguageComboBox_activated</h4> -<b>on_apiLanguageComboBox_activated</b>(<i>language</i>) +<b>on_apiLanguageComboBox_activated</b>(<i>index</i>) <p> Private slot to fill the api listbox of the api page. </p> <dl> -<dt><i>language</i> (str)</dt> +<dt><i>index</i> (int)</dt> <dd> -selected API language +index of the selected entry </dd> </dl> <a NAME="EditorAPIsPage.on_apiList_itemSelectionChanged" ID="EditorAPIsPage.on_apiList_itemSelectionChanged"></a>
--- a/eric6/Documentation/Source/eric6.Preferences.ConfigurationPages.EditorExportersPage.html Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Documentation/Source/eric6.Preferences.ConfigurationPages.EditorExportersPage.html Sun Mar 28 15:00:11 2021 +0200 @@ -104,16 +104,16 @@ </p> <a NAME="EditorExportersPage.on_exportersCombo_activated" ID="EditorExportersPage.on_exportersCombo_activated"></a> <h4>EditorExportersPage.on_exportersCombo_activated</h4> -<b>on_exportersCombo_activated</b>(<i>exporter</i>) +<b>on_exportersCombo_activated</b>(<i>index</i>) <p> Private slot to select the page related to the selected exporter. </p> <dl> -<dt><i>exporter</i></dt> +<dt><i>index</i> (int)</dt> <dd> -name of the selected exporter (string) +index of the selected entry </dd> </dl> <a NAME="EditorExportersPage.on_rtfFontButton_clicked" ID="EditorExportersPage.on_rtfFontButton_clicked"></a>
--- a/eric6/Documentation/Source/eric6.Preferences.ConfigurationPages.EditorHighlightersPage.html Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Documentation/Source/eric6.Preferences.ConfigurationPages.EditorHighlightersPage.html Sun Mar 28 15:00:11 2021 +0200 @@ -138,16 +138,16 @@ </p> <a NAME="EditorHighlightersPage.on_editorLexerCombo_currentIndexChanged" ID="EditorHighlightersPage.on_editorLexerCombo_currentIndexChanged"></a> <h4>EditorHighlightersPage.on_editorLexerCombo_currentIndexChanged</h4> -<b>on_editorLexerCombo_currentIndexChanged</b>(<i>text</i>) +<b>on_editorLexerCombo_currentIndexChanged</b>(<i>index</i>) <p> Private slot to handle the selection of a lexer. </p> <dl> -<dt><i>text</i></dt> +<dt><i>index</i> (int)</dt> <dd> -text of the lexer combo (string) +index of the current item </dd> </dl> <a NAME="EditorHighlightersPage.on_editorLexerList_itemActivated" ID="EditorHighlightersPage.on_editorLexerList_itemActivated"></a>
--- a/eric6/Documentation/Source/eric6.Preferences.ConfigurationPages.EditorHighlightingStylesPage.html Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Documentation/Source/eric6.Preferences.ConfigurationPages.EditorHighlightingStylesPage.html Sun Mar 28 15:00:11 2021 +0200 @@ -551,16 +551,16 @@ </p> <a NAME="EditorHighlightingStylesPage.on_lexerLanguageComboBox_activated" ID="EditorHighlightingStylesPage.on_lexerLanguageComboBox_activated"></a> <h4>EditorHighlightingStylesPage.on_lexerLanguageComboBox_activated</h4> -<b>on_lexerLanguageComboBox_activated</b>(<i>language</i>) +<b>on_lexerLanguageComboBox_activated</b>(<i>index</i>) <p> Private slot to fill the style combo of the source page. </p> <dl> -<dt><i>language</i></dt> +<dt><i>index</i> (int)</dt> <dd> -The lexer language (string) +index of the selected entry </dd> </dl> <a NAME="EditorHighlightingStylesPage.on_styleElementList_currentItemChanged" ID="EditorHighlightingStylesPage.on_styleElementList_currentItemChanged"></a>
--- a/eric6/Documentation/Source/eric6.Preferences.ConfigurationPages.EditorKeywordsPage.html Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Documentation/Source/eric6.Preferences.ConfigurationPages.EditorKeywordsPage.html Sun Mar 28 15:00:11 2021 +0200 @@ -127,16 +127,16 @@ </p> <a NAME="EditorKeywordsPage.on_languageCombo_activated" ID="EditorKeywordsPage.on_languageCombo_activated"></a> <h4>EditorKeywordsPage.on_languageCombo_activated</h4> -<b>on_languageCombo_activated</b>(<i>language</i>) +<b>on_languageCombo_activated</b>(<i>index</i>) <p> Private slot to fill the keywords edit. </p> <dl> -<dt><i>language</i> (str)</dt> +<dt><i>index</i> (int)</dt> <dd> -selected language +index of the selected entry </dd> </dl> <a NAME="EditorKeywordsPage.on_setSpinBox_valueChanged" ID="EditorKeywordsPage.on_setSpinBox_valueChanged"></a>
--- a/eric6/Documentation/Source/eric6.Preferences.ConfigurationPages.EditorLanguageTabIndentOverrideDialog.html Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Documentation/Source/eric6.Preferences.ConfigurationPages.EditorLanguageTabIndentOverrideDialog.html Sun Mar 28 15:00:11 2021 +0200 @@ -176,30 +176,30 @@ </dl> <a NAME="EditorLanguageTabIndentOverrideDialog.on_languageComboBox_currentIndexChanged" ID="EditorLanguageTabIndentOverrideDialog.on_languageComboBox_currentIndexChanged"></a> <h4>EditorLanguageTabIndentOverrideDialog.on_languageComboBox_currentIndexChanged</h4> -<b>on_languageComboBox_currentIndexChanged</b>(<i>lang</i>) +<b>on_languageComboBox_currentIndexChanged</b>(<i>index</i>) <p> Private slot to handle the selection of a language. </p> <dl> -<dt><i>lang</i> (str)</dt> +<dt><i>index</i> (int)</dt> <dd> -selected language +index of the current item </dd> </dl> <a NAME="EditorLanguageTabIndentOverrideDialog.on_pygmentsLexerCombo_currentIndexChanged" ID="EditorLanguageTabIndentOverrideDialog.on_pygmentsLexerCombo_currentIndexChanged"></a> <h4>EditorLanguageTabIndentOverrideDialog.on_pygmentsLexerCombo_currentIndexChanged</h4> -<b>on_pygmentsLexerCombo_currentIndexChanged</b>(<i>lang</i>) +<b>on_pygmentsLexerCombo_currentIndexChanged</b>(<i>index</i>) <p> Private slot to handle the selection of a language. </p> <dl> -<dt><i>lang</i> (str)</dt> +<dt><i>index</i> (int)</dt> <dd> -selected language +index of the current item </dd> </dl> <div align="right"><a href="#top">Up</a></div>
--- a/eric6/Documentation/Source/eric6.Preferences.ConfigurationPages.EditorTypingPage.html Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Documentation/Source/eric6.Preferences.ConfigurationPages.EditorTypingPage.html Sun Mar 28 15:00:11 2021 +0200 @@ -100,16 +100,16 @@ </p> <a NAME="EditorTypingPage.on_languageCombo_activated" ID="EditorTypingPage.on_languageCombo_activated"></a> <h4>EditorTypingPage.on_languageCombo_activated</h4> -<b>on_languageCombo_activated</b>(<i>language</i>) +<b>on_languageCombo_activated</b>(<i>index</i>) <p> Private slot to select the page related to the selected language. </p> <dl> -<dt><i>language</i></dt> +<dt><i>index</i> (int)</dt> <dd> -name of the selected language (string) +index of the selected entry </dd> </dl> <a NAME="EditorTypingPage.save" ID="EditorTypingPage.save"></a>
--- a/eric6/Documentation/Source/eric6.Project.AddDirectoryDialog.html Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Documentation/Source/eric6.Project.AddDirectoryDialog.html Sun Mar 28 15:00:11 2021 +0200 @@ -138,16 +138,16 @@ </dl> <a NAME="AddDirectoryDialog.on_filterComboBox_highlighted" ID="AddDirectoryDialog.on_filterComboBox_highlighted"></a> <h4>AddDirectoryDialog.on_filterComboBox_highlighted</h4> -<b>on_filterComboBox_highlighted</b>(<i>fileType</i>) +<b>on_filterComboBox_highlighted</b>(<i>index</i>) <p> Private slot to handle the selection of a file type. </p> <dl> -<dt><i>fileType</i></dt> +<dt><i>index</i> (int)</dt> <dd> -the selected file type (string) +index of the selected entry </dd> </dl> <a NAME="AddDirectoryDialog.on_sourceDirPicker_textChanged" ID="AddDirectoryDialog.on_sourceDirPicker_textChanged"></a>
--- a/eric6/Documentation/Source/eric6.Project.LexerAssociationDialog.html Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Documentation/Source/eric6.Project.LexerAssociationDialog.html Sun Mar 28 15:00:11 2021 +0200 @@ -138,16 +138,16 @@ </p> <a NAME="LexerAssociationDialog.on_editorLexerCombo_currentIndexChanged" ID="LexerAssociationDialog.on_editorLexerCombo_currentIndexChanged"></a> <h4>LexerAssociationDialog.on_editorLexerCombo_currentIndexChanged</h4> -<b>on_editorLexerCombo_currentIndexChanged</b>(<i>text</i>) +<b>on_editorLexerCombo_currentIndexChanged</b>(<i>index</i>) <p> Private slot to handle the selection of a lexer. </p> <dl> -<dt><i>text</i></dt> +<dt><i>index</i> (int)</dt> <dd> -text of the line edit (string) +index of the current item </dd> </dl> <a NAME="LexerAssociationDialog.on_editorLexerList_itemActivated" ID="LexerAssociationDialog.on_editorLexerList_itemActivated"></a>
--- a/eric6/Documentation/Source/eric6.Project.Project.html Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Documentation/Source/eric6.Project.Project.html Sun Mar 28 15:00:11 2021 +0200 @@ -3873,7 +3873,7 @@ </dl> <a NAME="Project.setDbgInfo" ID="Project.setDbgInfo"></a> <h4>Project.setDbgInfo</h4> -<b>setDbgInfo</b>(<i>venvName, argv, wd, env, excReporting, excList, excIgnoreList, autoClearShell, tracePython=None, autoContinue=None, enableMultiprocess=None, multiprocessNoDebug=None</i>) +<b>setDbgInfo</b>(<i>venvName, argv, wd, env, excReporting, excList, excIgnoreList, autoClearShell, tracePython=None, autoContinue=None, enableMultiprocess=None, multiprocessNoDebug=None, configOverride=None</i>) <p> Public method to set the debugging information. @@ -3933,6 +3933,11 @@ list of programs not to be debugged in multi process mode </dd> +<dt><i>configOverride</i> (dict)</dt> +<dd> +dictionary containing the global config override + data +</dd> </dl> <a NAME="Project.setDirty" ID="Project.setDirty"></a> <h4>Project.setDirty</h4>
--- a/eric6/Documentation/Source/eric6.Project.PropertiesDialog.html Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Documentation/Source/eric6.Project.PropertiesDialog.html Sun Mar 28 15:00:11 2021 +0200 @@ -191,16 +191,16 @@ </dl> <a NAME="PropertiesDialog.on_languageComboBox_currentIndexChanged" ID="PropertiesDialog.on_languageComboBox_currentIndexChanged"></a> <h4>PropertiesDialog.on_languageComboBox_currentIndexChanged</h4> -<b>on_languageComboBox_currentIndexChanged</b>(<i>language</i>) +<b>on_languageComboBox_currentIndexChanged</b>(<i>index</i>) <p> Private slot handling the selection of a programming language. </p> <dl> -<dt><i>language</i></dt> +<dt><i>index</i> (int)</dt> <dd> -selected programming language (string) +index of the current item </dd> </dl> <a NAME="PropertiesDialog.on_mainscriptPicker_aboutToShowPathPickerDialog" ID="PropertiesDialog.on_mainscriptPicker_aboutToShowPathPickerDialog"></a>
--- a/eric6/Documentation/Source/eric6.QScintilla.Lexers.LexerPygments.html Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Documentation/Source/eric6.QScintilla.Lexers.LexerPygments.html Sun Mar 28 15:00:11 2021 +0200 @@ -121,6 +121,10 @@ <td>Public method to get the name of the pygments lexer.</td> </tr> <tr> +<td><a href="#LexerPygments.readSettings">readSettings</a></td> +<td>Public method to read the lexer settings.</td> +</tr> +<tr> <td><a href="#LexerPygments.styleText">styleText</a></td> <td>Public method to perform the styling.</td> </tr> @@ -369,6 +373,27 @@ name of the pygments lexer (string) </dd> </dl> +<a NAME="LexerPygments.readSettings" ID="LexerPygments.readSettings"></a> +<h4>LexerPygments.readSettings</h4> +<b>readSettings</b>(<i>qs, prefix="/Scintilla"</i>) + +<p> + Public method to read the lexer settings. +</p> +<p> + Note: Overridden to treat the Pygments lexer specially. +</p> +<dl> + +<dt><i>qs</i> (QSettings)</dt> +<dd> +reference to the settings object +</dd> +<dt><i>prefix</i> (str (optional))</dt> +<dd> +prefix for the settings key (defaults to "/Scintilla") +</dd> +</dl> <a NAME="LexerPygments.styleText" ID="LexerPygments.styleText"></a> <h4>LexerPygments.styleText</h4> <b>styleText</b>(<i>start, end</i>)
--- a/eric6/Documentation/Source/eric6.QScintilla.MiniEditor.html Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Documentation/Source/eric6.QScintilla.MiniEditor.html Sun Mar 28 15:00:11 2021 +0200 @@ -1605,6 +1605,10 @@ <td>Constructor</td> </tr> <tr> +<td><a href="#MiniScintilla.editorCommand">editorCommand</a></td> +<td>Public method to perform a simple editor command.</td> +</tr> +<tr> <td><a href="#MiniScintilla.encloseSelectedText">encloseSelectedText</a></td> <td>Local function to enclose the current selection with some characters.</td> </tr> @@ -1649,6 +1653,20 @@ parent widget </dd> </dl> +<a NAME="MiniScintilla.editorCommand" ID="MiniScintilla.editorCommand"></a> +<h4>MiniScintilla.editorCommand</h4> +<b>editorCommand</b>(<i>cmd</i>) + +<p> + Public method to perform a simple editor command. +</p> +<dl> + +<dt><i>cmd</i></dt> +<dd> +the scintilla command to be performed (integer) +</dd> +</dl> <a NAME="MiniScintilla.encloseSelectedText" ID="MiniScintilla.encloseSelectedText"></a> <h4>MiniScintilla.encloseSelectedText</h4> <b>encloseSelectedText</b>(<i></i>)
--- a/eric6/Documentation/Source/eric6.QScintilla.Printer.html Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Documentation/Source/eric6.QScintilla.Printer.html Sun Mar 28 15:00:11 2021 +0200 @@ -85,7 +85,7 @@ <a NAME="Printer.__init__" ID="Printer.__init__"></a> <h4>Printer (Constructor)</h4> -<b>Printer</b>(<i>mode=QPrinter.ScreenResolution</i>) +<b>Printer</b>(<i>mode=QPrinter.PrinterMode.ScreenResolution</i>) <p> Constructor
--- a/eric6/Documentation/Source/eric6.SqlBrowser.SqlConnectionDialog.html Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Documentation/Source/eric6.SqlBrowser.SqlConnectionDialog.html Sun Mar 28 15:00:11 2021 +0200 @@ -147,16 +147,16 @@ </dl> <a NAME="SqlConnectionDialog.on_driverCombo_activated" ID="SqlConnectionDialog.on_driverCombo_activated"></a> <h4>SqlConnectionDialog.on_driverCombo_activated</h4> -<b>on_driverCombo_activated</b>(<i>txt</i>) +<b>on_driverCombo_activated</b>(<i>index</i>) <p> Private slot handling the selection of a database driver. </p> <dl> -<dt><i>txt</i></dt> +<dt><i>index</i> (int)</dt> <dd> -text of the driver combo (string) +index of the selected entry </dd> </dl> <div align="right"><a href="#top">Up</a></div>
--- a/eric6/Documentation/Source/eric6.Tools.TRPreviewer.html Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Documentation/Source/eric6.Tools.TRPreviewer.html Sun Mar 28 15:00:11 2021 +0200 @@ -117,6 +117,10 @@ <td>Private slot to handle the Open Dialog action.</td> </tr> <tr> +<td><a href="#TRPreviewer.__setTranslation">__setTranslation</a></td> +<td>Private slot to activate a translation.</td> +</tr> +<tr> <td><a href="#TRPreviewer.__showWindowMenu">__showWindowMenu</a></td> <td>Private slot to handle the aboutToShow signal of the window menu.</td> </tr> @@ -137,10 +141,6 @@ <td>Public slot to reload all translations.</td> </tr> <tr> -<td><a href="#TRPreviewer.setTranslation">setTranslation</a></td> -<td>Public slot to activate a translation.</td> -</tr> -<tr> <td><a href="#TRPreviewer.show">show</a></td> <td>Public slot to show this dialog.</td> </tr> @@ -222,6 +222,20 @@ <p> Private slot to handle the Open Dialog action. </p> +<a NAME="TRPreviewer.__setTranslation" ID="TRPreviewer.__setTranslation"></a> +<h4>TRPreviewer.__setTranslation</h4> +<b>__setTranslation</b>(<i>index</i>) + +<p> + Private slot to activate a translation. +</p> +<dl> + +<dt><i>index</i> (int)</dt> +<dd> +index of the selected entry +</dd> +</dl> <a NAME="TRPreviewer.__showWindowMenu" ID="TRPreviewer.__showWindowMenu"></a> <h4>TRPreviewer.__showWindowMenu</h4> <b>__showWindowMenu</b>(<i></i>) @@ -264,20 +278,6 @@ <p> Public slot to reload all translations. </p> -<a NAME="TRPreviewer.setTranslation" ID="TRPreviewer.setTranslation"></a> -<h4>TRPreviewer.setTranslation</h4> -<b>setTranslation</b>(<i>name</i>) - -<p> - Public slot to activate a translation. -</p> -<dl> - -<dt><i>name</i></dt> -<dd> -name (language) of the translation (string) -</dd> -</dl> <a NAME="TRPreviewer.show" ID="TRPreviewer.show"></a> <h4>TRPreviewer.show</h4> <b>show</b>(<i></i>)
--- a/eric6/Documentation/Source/eric6.Tools.UIPreviewer.html Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Documentation/Source/eric6.Tools.UIPreviewer.html Sun Mar 28 15:00:11 2021 +0200 @@ -200,16 +200,16 @@ </p> <a NAME="UIPreviewer.__guiStyleSelected" ID="UIPreviewer.__guiStyleSelected"></a> <h4>UIPreviewer.__guiStyleSelected</h4> -<b>__guiStyleSelected</b>(<i>selectedStyle</i>) +<b>__guiStyleSelected</b>(<i>index</i>) <p> Private slot to handle the selection of a GUI style. </p> <dl> -<dt><i>selectedStyle</i></dt> +<dt><i>index</i> (int)</dt> <dd> -name of the selected style (string) +index of the selected entry </dd> </dl> <a NAME="UIPreviewer.__handleCloseEvent" ID="UIPreviewer.__handleCloseEvent"></a>
--- a/eric6/Documentation/Source/eric6.UI.BrowserModel.html Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Documentation/Source/eric6.UI.BrowserModel.html Sun Mar 28 15:00:11 2021 +0200 @@ -2559,7 +2559,7 @@ </dl> <a NAME="BrowserModel.headerData" ID="BrowserModel.headerData"></a> <h4>BrowserModel.headerData</h4> -<b>headerData</b>(<i>section, orientation, role=Qt.DisplayRole</i>) +<b>headerData</b>(<i>section, orientation, role=Qt.ItemDataRole.DisplayRole</i>) <p> Public method to get the header data.
--- a/eric6/Documentation/Source/eric6.UI.NumbersWidget.html Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Documentation/Source/eric6.UI.NumbersWidget.html Sun Mar 28 15:00:11 2021 +0200 @@ -159,7 +159,7 @@ </dl> <a NAME="BinaryModel.data" ID="BinaryModel.data"></a> <h4>BinaryModel.data</h4> -<b>data</b>(<i>index, role=Qt.DisplayRole</i>) +<b>data</b>(<i>index, role=Qt.ItemDataRole.DisplayRole</i>) <p> Public method to get data from the model. @@ -216,7 +216,7 @@ </dl> <a NAME="BinaryModel.headerData" ID="BinaryModel.headerData"></a> <h4>BinaryModel.headerData</h4> -<b>headerData</b>(<i>section, orientation, role=Qt.DisplayRole</i>) +<b>headerData</b>(<i>section, orientation, role=Qt.ItemDataRole.DisplayRole</i>) <p> Public method to get header data from the model. @@ -233,7 +233,7 @@ </dd> <dt><i>role</i></dt> <dd> -role of the data to retrieve (integer) +role of the data to retrieve (Qt.ItemDataRole) </dd> </dl> <dl> @@ -296,7 +296,7 @@ </dl> <a NAME="BinaryModel.setData" ID="BinaryModel.setData"></a> <h4>BinaryModel.setData</h4> -<b>setData</b>(<i>index, value, role=Qt.EditRole</i>) +<b>setData</b>(<i>index, value, role=Qt.ItemDataRole.EditRole</i>) <p> Public method to set the data of a node cell.
--- a/eric6/Documentation/Source/eric6.UI.SymbolsWidget.html Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Documentation/Source/eric6.UI.SymbolsWidget.html Sun Mar 28 15:00:11 2021 +0200 @@ -275,7 +275,7 @@ </dl> <a NAME="SymbolsModel.data" ID="SymbolsModel.data"></a> <h4>SymbolsModel.data</h4> -<b>data</b>(<i>index, role=Qt.DisplayRole</i>) +<b>data</b>(<i>index, role=Qt.ItemDataRole.DisplayRole</i>) <p> Public method to get data from the model. @@ -365,7 +365,7 @@ </dl> <a NAME="SymbolsModel.headerData" ID="SymbolsModel.headerData"></a> <h4>SymbolsModel.headerData</h4> -<b>headerData</b>(<i>section, orientation, role=Qt.DisplayRole</i>) +<b>headerData</b>(<i>section, orientation, role=Qt.ItemDataRole.DisplayRole</i>) <p> Public method to get header data from the model. @@ -382,7 +382,7 @@ </dd> <dt><i>role</i></dt> <dd> -role of the data to retrieve (integer) +role of the data to retrieve (Qt.ItemDataRole) </dd> </dl> <dl>
--- a/eric6/Documentation/Source/eric6.ViewManager.ViewManager.html Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Documentation/Source/eric6.ViewManager.ViewManager.html Sun Mar 28 15:00:11 2021 +0200 @@ -3412,7 +3412,8 @@ <dl> <dt>Return:</dt> <dd> -orientation of the split (Qt.Horizontal or Qt.Vertical) +orientation of the split (Qt.Orientation.Horizontal or + Qt.Orientation.Vertical) </dd> </dl> <a NAME="ViewManager.handleResetUI" ID="ViewManager.handleResetUI"></a> @@ -4312,7 +4313,7 @@ <dt><i>orientation</i></dt> <dd> orientation of the split - (Qt.Horizontal or Qt.Vertical) + (Qt.Orientation.Horizontal or Qt.Orientation.Vertical) </dd> </dl> <a NAME="ViewManager.shareConnected" ID="ViewManager.shareConnected"></a>
--- a/eric6/Documentation/Source/eric6.WebBrowser.Bookmarks.BookmarksModel.html Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Documentation/Source/eric6.WebBrowser.Bookmarks.BookmarksModel.html Sun Mar 28 15:00:11 2021 +0200 @@ -213,7 +213,7 @@ </dl> <a NAME="BookmarksModel.data" ID="BookmarksModel.data"></a> <h4>BookmarksModel.data</h4> -<b>data</b>(<i>index, role=Qt.DisplayRole</i>) +<b>data</b>(<i>index, role=Qt.ItemDataRole.DisplayRole</i>) <p> Public method to get data from the model. @@ -363,7 +363,7 @@ </dl> <a NAME="BookmarksModel.headerData" ID="BookmarksModel.headerData"></a> <h4>BookmarksModel.headerData</h4> -<b>headerData</b>(<i>section, orientation, role=Qt.DisplayRole</i>) +<b>headerData</b>(<i>section, orientation, role=Qt.ItemDataRole.DisplayRole</i>) <p> Public method to get the header data. @@ -380,7 +380,7 @@ </dd> <dt><i>role</i></dt> <dd> -data role (integer) +data role (Qt.ItemDataRole) </dd> </dl> <dl> @@ -560,7 +560,7 @@ </dl> <a NAME="BookmarksModel.setData" ID="BookmarksModel.setData"></a> <h4>BookmarksModel.setData</h4> -<b>setData</b>(<i>index, value, role=Qt.EditRole</i>) +<b>setData</b>(<i>index, value, role=Qt.ItemDataRole.EditRole</i>) <p> Public method to set the data of a node cell.
--- a/eric6/Documentation/Source/eric6.WebBrowser.CookieJar.CookieExceptionsModel.html Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Documentation/Source/eric6.WebBrowser.CookieJar.CookieExceptionsModel.html Sun Mar 28 15:00:11 2021 +0200 @@ -235,7 +235,7 @@ </dd> <dt><i>role</i></dt> <dd> -role of the data to retrieve (integer) +role of the data to retrieve (Qt.ItemDataRole) </dd> </dl> <dl>
--- a/eric6/Documentation/Source/eric6.WebBrowser.History.HistoryCompleter.html Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Documentation/Source/eric6.WebBrowser.History.HistoryCompleter.html Sun Mar 28 15:00:11 2021 +0200 @@ -245,7 +245,7 @@ </dl> <a NAME="HistoryCompletionModel.data" ID="HistoryCompletionModel.data"></a> <h4>HistoryCompletionModel.data</h4> -<b>data</b>(<i>index, role=Qt.DisplayRole</i>) +<b>data</b>(<i>index, role=Qt.ItemDataRole.DisplayRole</i>) <p> Public method to get data from the model.
--- a/eric6/Documentation/Source/eric6.WebBrowser.History.HistoryFilterModel.html Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Documentation/Source/eric6.WebBrowser.History.HistoryFilterModel.html Sun Mar 28 15:00:11 2021 +0200 @@ -402,7 +402,7 @@ </dl> <a NAME="HistoryFilterModel.data" ID="HistoryFilterModel.data"></a> <h4>HistoryFilterModel.data</h4> -<b>data</b>(<i>index, role=Qt.DisplayRole</i>) +<b>data</b>(<i>index, role=Qt.ItemDataRole.DisplayRole</i>) <p> Public method to get data from the model. @@ -426,7 +426,7 @@ </dl> <a NAME="HistoryFilterModel.headerData" ID="HistoryFilterModel.headerData"></a> <h4>HistoryFilterModel.headerData</h4> -<b>headerData</b>(<i>section, orientation, role=Qt.DisplayRole</i>) +<b>headerData</b>(<i>section, orientation, role=Qt.ItemDataRole.DisplayRole</i>) <p> Public method to get the header data. @@ -443,7 +443,7 @@ </dd> <dt><i>role</i></dt> <dd> -data role (integer) +data role (Qt.ItemDataRole) </dd> </dl> <dl>
--- a/eric6/Documentation/Source/eric6.WebBrowser.History.HistoryModel.html Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Documentation/Source/eric6.WebBrowser.History.HistoryModel.html Sun Mar 28 15:00:11 2021 +0200 @@ -152,7 +152,7 @@ </dl> <a NAME="HistoryModel.data" ID="HistoryModel.data"></a> <h4>HistoryModel.data</h4> -<b>data</b>(<i>index, role=Qt.DisplayRole</i>) +<b>data</b>(<i>index, role=Qt.ItemDataRole.DisplayRole</i>) <p> Public method to get data from the model. @@ -197,7 +197,7 @@ </dl> <a NAME="HistoryModel.headerData" ID="HistoryModel.headerData"></a> <h4>HistoryModel.headerData</h4> -<b>headerData</b>(<i>section, orientation, role=Qt.DisplayRole</i>) +<b>headerData</b>(<i>section, orientation, role=Qt.ItemDataRole.DisplayRole</i>) <p> Public method to get the header data. @@ -214,7 +214,7 @@ </dd> <dt><i>role</i></dt> <dd> -data role (integer) +data role (Qt.ItemDataRole) </dd> </dl> <dl>
--- a/eric6/Documentation/Source/eric6.WebBrowser.History.HistoryTreeModel.html Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Documentation/Source/eric6.WebBrowser.History.HistoryTreeModel.html Sun Mar 28 15:00:11 2021 +0200 @@ -255,7 +255,7 @@ </dl> <a NAME="HistoryTreeModel.data" ID="HistoryTreeModel.data"></a> <h4>HistoryTreeModel.data</h4> -<b>data</b>(<i>index, role=Qt.DisplayRole</i>) +<b>data</b>(<i>index, role=Qt.ItemDataRole.DisplayRole</i>) <p> Public method to get data from the model. @@ -319,7 +319,7 @@ </dl> <a NAME="HistoryTreeModel.headerData" ID="HistoryTreeModel.headerData"></a> <h4>HistoryTreeModel.headerData</h4> -<b>headerData</b>(<i>section, orientation, role=Qt.DisplayRole</i>) +<b>headerData</b>(<i>section, orientation, role=Qt.ItemDataRole.DisplayRole</i>) <p> Public method to get the header data. @@ -336,7 +336,7 @@ </dd> <dt><i>role</i></dt> <dd> -data role (integer) +data role (Qt.ItemDataRole) </dd> </dl> <dl>
--- a/eric6/Documentation/Source/eric6.WebBrowser.OpenSearch.OpenSearchEngineModel.html Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Documentation/Source/eric6.WebBrowser.OpenSearch.OpenSearchEngineModel.html Sun Mar 28 15:00:11 2021 +0200 @@ -203,7 +203,7 @@ </dl> <a NAME="OpenSearchEngineModel.headerData" ID="OpenSearchEngineModel.headerData"></a> <h4>OpenSearchEngineModel.headerData</h4> -<b>headerData</b>(<i>section, orientation, role=Qt.DisplayRole</i>) +<b>headerData</b>(<i>section, orientation, role=Qt.ItemDataRole.DisplayRole</i>) <p> Public method to get the header data. @@ -220,7 +220,7 @@ </dd> <dt><i>role</i></dt> <dd> -data role (integer) +data role (Qt.ItemDataRole) </dd> </dl> <dl> @@ -279,7 +279,7 @@ </dl> <a NAME="OpenSearchEngineModel.setData" ID="OpenSearchEngineModel.setData"></a> <h4>OpenSearchEngineModel.setData</h4> -<b>setData</b>(<i>index, value, role=Qt.EditRole</i>) +<b>setData</b>(<i>index, value, role=Qt.ItemDataRole.EditRole</i>) <p> Public method to set the data of a model cell.
--- a/eric6/Documentation/Source/eric6.WebBrowser.Passwords.PasswordModel.html Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Documentation/Source/eric6.WebBrowser.Passwords.PasswordModel.html Sun Mar 28 15:00:11 2021 +0200 @@ -182,7 +182,7 @@ </dl> <a NAME="PasswordModel.headerData" ID="PasswordModel.headerData"></a> <h4>PasswordModel.headerData</h4> -<b>headerData</b>(<i>section, orientation, role=Qt.DisplayRole</i>) +<b>headerData</b>(<i>section, orientation, role=Qt.ItemDataRole.DisplayRole</i>) <p> Public method to get the header data. @@ -199,7 +199,7 @@ </dd> <dt><i>role</i></dt> <dd> -data role (integer) +data role (Qt.ItemDataRole) </dd> </dl> <dl>
--- a/eric6/Documentation/Source/eric6.WebBrowser.UserAgent.UserAgentModel.html Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Documentation/Source/eric6.WebBrowser.UserAgent.UserAgentModel.html Sun Mar 28 15:00:11 2021 +0200 @@ -174,7 +174,7 @@ </dl> <a NAME="UserAgentModel.headerData" ID="UserAgentModel.headerData"></a> <h4>UserAgentModel.headerData</h4> -<b>headerData</b>(<i>section, orientation, role=Qt.DisplayRole</i>) +<b>headerData</b>(<i>section, orientation, role=Qt.ItemDataRole.DisplayRole</i>) <p> Public method to get the header data. @@ -191,7 +191,7 @@ </dd> <dt><i>role</i></dt> <dd> -data role (integer) +data role (Qt.ItemDataRole) </dd> </dl> <dl>
--- a/eric6/Documentation/Source/eric6.WebBrowser.WebBrowserPage.html Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Documentation/Source/eric6.WebBrowser.WebBrowserPage.html Sun Mar 28 15:00:11 2021 +0200 @@ -484,7 +484,7 @@ </p> <a NAME="WebBrowserPage.execJavaScript" ID="WebBrowserPage.execJavaScript"></a> <h4>WebBrowserPage.execJavaScript</h4> -<b>execJavaScript</b>(<i>script, worldId=QWebEngineScript.MainWorld, timeout=500</i>) +<b>execJavaScript</b>(<i>script, worldId=QWebEngineScript.ScriptWorldId.MainWorld, timeout=500</i>) <p> Public method to execute a JavaScript function synchroneously. @@ -495,7 +495,7 @@ <dd> JavaScript script source to be executed </dd> -<dt><i>worldId</i> (int)</dt> +<dt><i>worldId</i> (QWebEngineScript.ScriptWorldId)</dt> <dd> ID to run the script under </dd>
--- a/eric6/Documentation/Source/eric6.WebBrowser.WebBrowserTabWidget.html Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Documentation/Source/eric6.WebBrowser.WebBrowserTabWidget.html Sun Mar 28 15:00:11 2021 +0200 @@ -395,7 +395,7 @@ </dl> <a NAME="WebBrowserTabWidget.__elide" ID="WebBrowserTabWidget.__elide"></a> <h4>WebBrowserTabWidget.__elide</h4> -<b>__elide</b>(<i>txt, mode=Qt.ElideRight, length=40</i>) +<b>__elide</b>(<i>txt, mode=Qt.TextElideMode.ElideRight, length=40</i>) <p> Private method to elide some text.
--- a/eric6/Documentation/Source/eric6.WebBrowser.WebBrowserWindow.html Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Documentation/Source/eric6.WebBrowser.WebBrowserWindow.html Sun Mar 28 15:00:11 2021 +0200 @@ -1780,16 +1780,16 @@ </dl> <a NAME="WebBrowserWindow.__filterQtHelpDocumentation" ID="WebBrowserWindow.__filterQtHelpDocumentation"></a> <h4>WebBrowserWindow.__filterQtHelpDocumentation</h4> -<b>__filterQtHelpDocumentation</b>(<i>customFilter</i>) +<b>__filterQtHelpDocumentation</b>(<i>index</i>) <p> Private slot to filter the QtHelp documentation. </p> <dl> -<dt><i>customFilter</i></dt> +<dt><i>index</i> (int)</dt> <dd> -name of filter to be applied (string) +index of the selected entry </dd> </dl> <a NAME="WebBrowserWindow.__find" ID="WebBrowserWindow.__find"></a>
--- a/eric6/Documentation/Source/eric6.WebBrowser.ZoomManager.ZoomValuesModel.html Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Documentation/Source/eric6.WebBrowser.ZoomManager.ZoomValuesModel.html Sun Mar 28 15:00:11 2021 +0200 @@ -174,7 +174,7 @@ </dl> <a NAME="ZoomValuesModel.headerData" ID="ZoomValuesModel.headerData"></a> <h4>ZoomValuesModel.headerData</h4> -<b>headerData</b>(<i>section, orientation, role=Qt.DisplayRole</i>) +<b>headerData</b>(<i>section, orientation, role=Qt.ItemDataRole.DisplayRole</i>) <p> Public method to get the header data. @@ -191,7 +191,7 @@ </dd> <dt><i>role</i></dt> <dd> -data role (integer) +data role (Qt.ItemDataRole) </dd> </dl> <dl>
--- a/eric6/Documentation/Source/index-eric6.Plugins.CheckerPlugins.CodeStyleChecker.Complexity.html Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Documentation/Source/index-eric6.Plugins.CheckerPlugins.CodeStyleChecker.Complexity.html Sun Mar 28 15:00:11 2021 +0200 @@ -34,6 +34,10 @@ <td>Module implementing a checker for code complexity.</td> </tr> <tr> +<td><a href="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Complexity.mccabe.html">mccabe</a></td> +<td></td> +</tr> +<tr> <td><a href="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Complexity.translations.html">translations</a></td> <td>Module implementing message translations for the code style plugin messages (code complexity part).</td> </tr>
--- a/eric6/Documentation/Source/index-eric6.Plugins.CheckerPlugins.CodeStyleChecker.Miscellaneous.html Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Documentation/Source/index-eric6.Plugins.CheckerPlugins.CodeStyleChecker.Miscellaneous.html Sun Mar 28 15:00:11 2021 +0200 @@ -38,6 +38,10 @@ <td>Module implementing complex defaults for the miscellaneous checker.</td> </tr> <tr> +<td><a href="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Miscellaneous.eradicate.html">eradicate</a></td> +<td>Removes commented-out Python code.</td> +</tr> +<tr> <td><a href="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Miscellaneous.translations.html">translations</a></td> <td>Module implementing message translations for the code style plugin messages (miscellaneous part).</td> </tr>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/eric6/Documentation/Source/index-eric6.Plugins.CheckerPlugins.CodeStyleChecker.PathLib.html Sun Mar 28 15:00:11 2021 +0200 @@ -0,0 +1,42 @@ +<!DOCTYPE html> +<html><head> +<title>eric6.Plugins.CheckerPlugins.CodeStyleChecker.PathLib</title> +<meta charset="UTF-8"> +<style> +body { + background: #EDECE6; + margin: 0em 1em 10em 1em; + color: black; +} + +h1 { color: white; background: #85774A; } +h2 { color: white; background: #85774A; } +h3 { color: white; background: #9D936E; } +h4 { color: white; background: #9D936E; } + +a { color: #BA6D36; } + +</style> +</head> +<body> +<h1>eric6.Plugins.CheckerPlugins.CodeStyleChecker.PathLib</h1> + +<p> +Package implementing the checker for functions that can be replaced by use of +the pathlib module. +</p> + + +<h3>Modules</h3> +<table> + +<tr> +<td><a href="eric6.Plugins.CheckerPlugins.CodeStyleChecker.PathLib.PathlibChecker.html">PathlibChecker</a></td> +<td>Module implementing the checker for functions that can be replaced by use of the pathlib module.</td> +</tr> +<tr> +<td><a href="eric6.Plugins.CheckerPlugins.CodeStyleChecker.PathLib.translations.html">translations</a></td> +<td>Module implementing message translations for the code style plugin messages (miscellaneous part).</td> +</tr> +</table> +</body></html> \ No newline at end of file
--- a/eric6/Documentation/Source/index-eric6.Plugins.CheckerPlugins.CodeStyleChecker.html Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/Documentation/Source/index-eric6.Plugins.CheckerPlugins.CodeStyleChecker.html Sun Mar 28 15:00:11 2021 +0200 @@ -49,6 +49,10 @@ <td>Package implementing the naming style checker.</td> </tr> <tr> +<td><a href="index-eric6.Plugins.CheckerPlugins.CodeStyleChecker.PathLib.html">PathLib</a></td> +<td>Package implementing the checker for functions that can be replaced by use of the pathlib module.</td> +</tr> +<tr> <td><a href="index-eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.html">Security</a></td> <td>Package implementing the security checker.</td> </tr> @@ -86,14 +90,6 @@ <td>Module implementing a dialog showing statistical data for the last code style checker run.</td> </tr> <tr> -<td><a href="eric6.Plugins.CheckerPlugins.CodeStyleChecker.eradicate.html">eradicate</a></td> -<td>Removes commented-out Python code.</td> -</tr> -<tr> -<td><a href="eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.html">mccabe</a></td> -<td></td> -</tr> -<tr> <td><a href="eric6.Plugins.CheckerPlugins.CodeStyleChecker.pycodestyle.html">pycodestyle</a></td> <td></td> </tr>
--- a/eric6/E5Graphics/E5ArrowItem.py Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/E5Graphics/E5ArrowItem.py Sun Mar 28 15:00:11 2021 +0200 @@ -51,14 +51,15 @@ self._type = arrowType if colors is None: - self._colors = (QColor(Qt.black), QColor(Qt.white)) + self._colors = (QColor(Qt.GlobalColor.black), + QColor(Qt.GlobalColor.white)) else: self._colors = colors self._halfLength = 13.0 - self.setFlag(QGraphicsItem.ItemIsMovable, True) - self.setFlag(QGraphicsItem.ItemIsSelectable, True) + self.setFlag(QGraphicsItem.GraphicsItemFlag.ItemIsMovable, True) + self.setFlag(QGraphicsItem.GraphicsItemFlag.ItemIsSelectable, True) def setPoints(self, xa, ya, xb, yb): """ @@ -116,8 +117,8 @@ @param widget optional reference to the widget painted on (QWidget) """ if ( - (option.state & QStyle.State_Selected) == - QStyle.State(QStyle.State_Selected) + (option.state & QStyle.StateFlag.State_Selected) == + QStyle.State(QStyle.StateFlag.State_Selected) ): width = 2 else: @@ -126,8 +127,8 @@ # draw the line first line = QLineF(self._origin, self._end) painter.setPen( - QPen(self._colors[0], width, Qt.SolidLine, Qt.FlatCap, - Qt.MiterJoin)) + QPen(self._colors[0], width, Qt.PenStyle.SolidLine, + Qt.PenCapStyle.FlatCap, Qt.PenJoinStyle.MiterJoin)) painter.drawLine(line) # draw the arrow head
--- a/eric6/E5Graphics/E5GraphicsView.py Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/E5Graphics/E5GraphicsView.py Sun Mar 28 15:00:11 2021 +0200 @@ -47,12 +47,14 @@ self.__initialSceneSize = self.scene().sceneRect().size() self.setBackgroundBrush(QBrush(self.getBackgroundColor())) - self.setRenderHint(QPainter.Antialiasing, True) - self.setDragMode(QGraphicsView.RubberBandDrag) - self.setAlignment(Qt.Alignment(Qt.AlignLeft | Qt.AlignTop)) - self.setHorizontalScrollBarPolicy(Qt.ScrollBarAlwaysOn) - self.setVerticalScrollBarPolicy(Qt.ScrollBarAlwaysOn) - self.setViewportUpdateMode(QGraphicsView.SmartViewportUpdate) + self.setRenderHint(QPainter.RenderHint.Antialiasing, True) + self.setDragMode(QGraphicsView.DragMode.RubberBandDrag) + self.setAlignment(Qt.Alignment( + Qt.AlignmentFlag.AlignLeft | Qt.AlignmentFlag.AlignTop)) + self.setHorizontalScrollBarPolicy(Qt.ScrollBarPolicy.ScrollBarAlwaysOn) + self.setVerticalScrollBarPolicy(Qt.ScrollBarPolicy.ScrollBarAlwaysOn) + self.setViewportUpdateMode( + QGraphicsView.ViewportUpdateMode.SmartViewportUpdate) self.setWhatsThis(self.tr( "<b>Graphics View</b>\n" @@ -305,7 +307,7 @@ paintDevice.setViewBox(rect) paintDevice.setFileName(filename) painter = QPainter(paintDevice) - painter.setRenderHint(QPainter.Antialiasing, True) + painter.setRenderHint(QPainter.RenderHint.Antialiasing, True) self.scene().render(painter, QRectF(), rect) # step 3: reselect the widgets @@ -420,7 +422,7 @@ marginX + width, marginY + height + 2) painter.setFont(font) painter.drawText(marginX, marginY + height + 4, width, - fontHeight, Qt.AlignRight, s) + fontHeight, Qt.AlignmentFlag.AlignRight, s) if not finishX or not finishY: printer.newPage() page += 1
--- a/eric6/E5Gui/E5Action.py Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/E5Gui/E5Action.py Sun Mar 28 15:00:11 2021 +0200 @@ -180,7 +180,8 @@ """ Private slot to add the primary keyboard accelerator to the tooltip. """ - shortcut = self.shortcut().toString(QKeySequence.NativeText) + shortcut = self.shortcut().toString( + QKeySequence.SequenceFormat.NativeText) if shortcut: if e5App().isLeftToRight(): fmt = "{0} ({1})"
--- a/eric6/E5Gui/E5AnimatedWidget.py Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/E5Gui/E5AnimatedWidget.py Sun Mar 28 15:00:11 2021 +0200 @@ -61,7 +61,7 @@ """ Public slot to start the animation. """ - if self.__timeline.state() == QTimeLine.Running: + if self.__timeline.state() == QTimeLine.State.Running: return shown = 0 @@ -77,7 +77,7 @@ self.__startY = hidden self.__stepHeight = self.__widget.height() / 100.0 - self.__timeline.setDirection(QTimeLine.Forward) + self.__timeline.setDirection(QTimeLine.Direction.Forward) self.__timeline.start() @pyqtSlot(int) @@ -97,10 +97,10 @@ """ Public slot to hide the animated widget. """ - if self.__timeline.state() == QTimeLine.Running: + if self.__timeline.state() == QTimeLine.State.Running: return - self.__timeline.setDirection(QTimeLine.Backward) + self.__timeline.setDirection(QTimeLine.Direction.Backward) self.__timeline.finished.connect(self.close) self.__timeline.start()
--- a/eric6/E5Gui/E5Application.py Sat Mar 06 10:00:52 2021 +0100 +++ b/eric6/E5Gui/E5Application.py Sun Mar 28 15:00:11 2021 +0200 @@ -11,8 +11,10 @@ from PyQt5.QtGui import QPalette from PyQt5.QtWidgets import QApplication -QCoreApplication.setAttribute(Qt.AA_EnableHighDpiScaling, True) -QCoreApplication.setAttribute(Qt.AA_ShareOpenGLContexts, True)