Fri, 30 Sep 2016 19:52:42 +0200
Updated the source docu.
--- a/APIs/Python3/eric6.api Fri Sep 30 19:52:16 2016 +0200 +++ b/APIs/Python3/eric6.api Fri Sep 30 19:52:42 2016 +0200 @@ -251,25 +251,36 @@ eric6.DebugClients.Python2.DebugThread.DebugThread.trace_dispatch?4(frame, event, arg) eric6.DebugClients.Python2.DebugThread.DebugThread?1(dbgClient, targ=None, args=None, kwargs=None, mainThread=False) eric6.DebugClients.Python2.DebugUtilities.prepareJsonCommand?4(method, params) +eric6.DebugClients.Python2.DebugVariables.ArrayResolver.TypeCodeMap?7 +eric6.DebugClients.Python2.DebugVariables.ArrayResolver.getDictionary?4(var) +eric6.DebugClients.Python2.DebugVariables.ArrayResolver.resolve?4(var, attribute) eric6.DebugClients.Python2.DebugVariables.BaseResolver.getDictionary?4(var) eric6.DebugClients.Python2.DebugVariables.BaseResolver.resolve?4(var, attribute) eric6.DebugClients.Python2.DebugVariables.DefaultResolver.getDictionary?4(var) eric6.DebugClients.Python2.DebugVariables.DefaultResolver.resolve?4(var, attribute) eric6.DebugClients.Python2.DebugVariables.DictResolver.getDictionary?4(var) +eric6.DebugClients.Python2.DebugVariables.DictResolver.keyToStr?4(key) eric6.DebugClients.Python2.DebugVariables.DictResolver.resolve?4(var, attribute) eric6.DebugClients.Python2.DebugVariables.ListResolver.getDictionary?4(var) eric6.DebugClients.Python2.DebugVariables.ListResolver.resolve?4(var, attribute) eric6.DebugClients.Python2.DebugVariables.MaxItemsToHandle?7 +eric6.DebugClients.Python2.DebugVariables.MultiValueDictResolver.getDictionary?4(var) +eric6.DebugClients.Python2.DebugVariables.MultiValueDictResolver.resolve?4(var, attribute) +eric6.DebugClients.Python2.DebugVariables.NdArrayResolver.getDictionary?4(var) +eric6.DebugClients.Python2.DebugVariables.NdArrayResolver.resolve?4(var, attribute) eric6.DebugClients.Python2.DebugVariables.SetResolver.getDictionary?4(var) eric6.DebugClients.Python2.DebugVariables.SetResolver.resolve?4(var, attribute) eric6.DebugClients.Python2.DebugVariables.TooLargeAttribute?7 eric6.DebugClients.Python2.DebugVariables.TooLargeMessage?7 eric6.DebugClients.Python2.DebugVariables._TypeMap?8 eric6.DebugClients.Python2.DebugVariables._initTypeMap?5() +eric6.DebugClients.Python2.DebugVariables.arrayResolver?7 eric6.DebugClients.Python2.DebugVariables.defaultResolver?7 eric6.DebugClients.Python2.DebugVariables.dictResolver?7 eric6.DebugClients.Python2.DebugVariables.getType?4(obj) eric6.DebugClients.Python2.DebugVariables.listResolver?7 +eric6.DebugClients.Python2.DebugVariables.multiValueDictResolver?7 +eric6.DebugClients.Python2.DebugVariables.ndarrayResolver?7 eric6.DebugClients.Python2.DebugVariables.setResolver?7 eric6.DebugClients.Python2.FlexCompleter.Completer._callable_postfix?5(val, word) eric6.DebugClients.Python2.FlexCompleter.Completer.attr_matches?4(text) @@ -431,25 +442,36 @@ eric6.DebugClients.Python3.DebugUtilities.formatargvalues?4(args, varargs, varkw, locals, formatarg=str, formatvarargs=lambda name: '*' + name, formatvarkw=lambda name: '**' + name, formatvalue=lambda value: '=' + repr(value)) eric6.DebugClients.Python3.DebugUtilities.getargvalues?4(frame) eric6.DebugClients.Python3.DebugUtilities.prepareJsonCommand?4(method, params) +eric6.DebugClients.Python3.DebugVariables.ArrayResolver.TypeCodeMap?7 +eric6.DebugClients.Python3.DebugVariables.ArrayResolver.getDictionary?4(var) +eric6.DebugClients.Python3.DebugVariables.ArrayResolver.resolve?4(var, attribute) eric6.DebugClients.Python3.DebugVariables.BaseResolver.getDictionary?4(var) eric6.DebugClients.Python3.DebugVariables.BaseResolver.resolve?4(var, attribute) eric6.DebugClients.Python3.DebugVariables.DefaultResolver.getDictionary?4(var) eric6.DebugClients.Python3.DebugVariables.DefaultResolver.resolve?4(var, attribute) eric6.DebugClients.Python3.DebugVariables.DictResolver.getDictionary?4(var) +eric6.DebugClients.Python3.DebugVariables.DictResolver.keyToStr?4(key) eric6.DebugClients.Python3.DebugVariables.DictResolver.resolve?4(var, attribute) eric6.DebugClients.Python3.DebugVariables.ListResolver.getDictionary?4(var) eric6.DebugClients.Python3.DebugVariables.ListResolver.resolve?4(var, attribute) eric6.DebugClients.Python3.DebugVariables.MaxItemsToHandle?7 +eric6.DebugClients.Python3.DebugVariables.MultiValueDictResolver.getDictionary?4(var) +eric6.DebugClients.Python3.DebugVariables.MultiValueDictResolver.resolve?4(var, attribute) +eric6.DebugClients.Python3.DebugVariables.NdArrayResolver.getDictionary?4(var) +eric6.DebugClients.Python3.DebugVariables.NdArrayResolver.resolve?4(var, attribute) eric6.DebugClients.Python3.DebugVariables.SetResolver.getDictionary?4(var) eric6.DebugClients.Python3.DebugVariables.SetResolver.resolve?4(var, attribute) eric6.DebugClients.Python3.DebugVariables.TooLargeAttribute?7 eric6.DebugClients.Python3.DebugVariables.TooLargeMessage?7 eric6.DebugClients.Python3.DebugVariables._TypeMap?8 eric6.DebugClients.Python3.DebugVariables._initTypeMap?5() +eric6.DebugClients.Python3.DebugVariables.arrayResolver?7 eric6.DebugClients.Python3.DebugVariables.defaultResolver?7 eric6.DebugClients.Python3.DebugVariables.dictResolver?7 eric6.DebugClients.Python3.DebugVariables.getType?4(obj) eric6.DebugClients.Python3.DebugVariables.listResolver?7 +eric6.DebugClients.Python3.DebugVariables.multiValueDictResolver?7 +eric6.DebugClients.Python3.DebugVariables.ndarrayResolver?7 eric6.DebugClients.Python3.DebugVariables.setResolver?7 eric6.DebugClients.Python3.FlexCompleter.Completer._callable_postfix?5(val, word) eric6.DebugClients.Python3.FlexCompleter.Completer.attr_matches?4(text) @@ -10540,6 +10562,29 @@ eric6.WebBrowser.Tools.DelayedFileWatcher.DelayedFileWatcher.delayedDirectoryChanged?7 eric6.WebBrowser.Tools.DelayedFileWatcher.DelayedFileWatcher.delayedFileChanged?7 eric6.WebBrowser.Tools.DelayedFileWatcher.DelayedFileWatcher?1(paths=None, parent=None) +eric6.WebBrowser.Tools.FilePrinter.FilePrinter.ApplicationDeletesFiles?7 +eric6.WebBrowser.Tools.FilePrinter.FilePrinter.ApplicationSelectsPages?7 +eric6.WebBrowser.Tools.FilePrinter.FilePrinter.SystemDeletesFiles?7 +eric6.WebBrowser.Tools.FilePrinter.FilePrinter.SystemSelectsPages?7 +eric6.WebBrowser.Tools.FilePrinter.FilePrinter._copies?5(printer, variant) +eric6.WebBrowser.Tools.FilePrinter.FilePrinter._cupsOptions?5(printer) +eric6.WebBrowser.Tools.FilePrinter.FilePrinter._deleteFile?5(printer, fileDeletePolicy, variant) +eric6.WebBrowser.Tools.FilePrinter.FilePrinter._destination?5(printer, variant) +eric6.WebBrowser.Tools.FilePrinter.FilePrinter._doPrintFile?5(printer, fileName, fileDeletePolicy, pageSelectPolicy, pageRange) +eric6.WebBrowser.Tools.FilePrinter.FilePrinter._jobname?5(printer, variant) +eric6.WebBrowser.Tools.FilePrinter.FilePrinter._mediaPageSize?5(printer) +eric6.WebBrowser.Tools.FilePrinter.FilePrinter._mediaPaperSource?5(printer) +eric6.WebBrowser.Tools.FilePrinter.FilePrinter._optionCollateCopies?5(printer) +eric6.WebBrowser.Tools.FilePrinter.FilePrinter._optionCupsProperties?5(printer) +eric6.WebBrowser.Tools.FilePrinter.FilePrinter._optionDoubleSidedPrinting?5(printer) +eric6.WebBrowser.Tools.FilePrinter.FilePrinter._optionMedia?5(printer) +eric6.WebBrowser.Tools.FilePrinter.FilePrinter._optionPageOrder?5(printer) +eric6.WebBrowser.Tools.FilePrinter.FilePrinter._pages?5(printer, pageSelectPolicy, pageRange, useCupsOptions, variant) +eric6.WebBrowser.Tools.FilePrinter.FilePrinter._printArguments?5(printer, fileDeletePolicy, pageSelectPolicy, useCupsOptions, pageRange, variant) +eric6.WebBrowser.Tools.FilePrinter.FilePrinter?1() +eric6.WebBrowser.Tools.FilePrinter._FilePrintJobs?8 +eric6.WebBrowser.Tools.FilePrinter.isCupsAvailable?4() +eric6.WebBrowser.Tools.FilePrinter.printFile?4(printer, fileName, fileDeletePolicy=FilePrinter.ApplicationDeletesFiles, pageSelectPolicy=FilePrinter.ApplicationSelectsPages, pageRange="") eric6.WebBrowser.Tools.PrintToPdfDialog.PrintToPdfDialog.getData?4() eric6.WebBrowser.Tools.PrintToPdfDialog.PrintToPdfDialog.on_pageLayoutButton_clicked?4() eric6.WebBrowser.Tools.PrintToPdfDialog.PrintToPdfDialog?1(filePath, parent=None)
--- a/APIs/Python3/eric6.bas Fri Sep 30 19:52:16 2016 +0200 +++ b/APIs/Python3/eric6.bas Fri Sep 30 19:52:42 2016 +0200 @@ -25,6 +25,7 @@ ApplicationPage ConfigurationPageBase Ui_ApplicationPage ArgumentsError RuntimeError ArrayElementVarItem VariableItem +ArrayResolver BaseResolver AssociationItem E5ArrowItem Attribute ClbrBaseClasses.Attribute VisibilityMixin AuthenticationDialog QDialog Ui_AuthenticationDialog @@ -513,7 +514,9 @@ MultiProjectPage ConfigurationPageBase Ui_MultiProjectPage MultiProjectReader XMLStreamReaderBase MultiProjectWriter XMLStreamWriterBase +MultiValueDictResolver DictResolver NannyNag Exception +NdArrayResolver BaseResolver NetworkAccessManager QNetworkAccessManager NetworkAccessManagerProxy QNetworkAccessManager NetworkDiskCache QNetworkDiskCache
--- a/Documentation/Help/source.qhp Fri Sep 30 19:52:16 2016 +0200 +++ b/Documentation/Help/source.qhp Fri Sep 30 19:52:42 2016 +0200 @@ -1240,6 +1240,7 @@ </section> <section title="eric6.WebBrowser.Tools" ref="index-eric6.WebBrowser.Tools.html"> <section title="eric6.WebBrowser.Tools.DelayedFileWatcher" ref="eric6.WebBrowser.Tools.DelayedFileWatcher.html" /> + <section title="eric6.WebBrowser.Tools.FilePrinter" ref="eric6.WebBrowser.Tools.FilePrinter.html" /> <section title="eric6.WebBrowser.Tools.PrintToPdfDialog" ref="eric6.WebBrowser.Tools.PrintToPdfDialog.html" /> <section title="eric6.WebBrowser.Tools.Scripts" ref="eric6.WebBrowser.Tools.Scripts.html" /> <section title="eric6.WebBrowser.Tools.WebBrowserTools" ref="eric6.WebBrowser.Tools.WebBrowserTools.html" /> @@ -1835,6 +1836,14 @@ <keyword name="ArgumentsError.__str__" id="ArgumentsError.__str__" ref="eric6.E5Gui.E5Action.html#ArgumentsError.__str__" /> <keyword name="ArrayElementVarItem" id="ArrayElementVarItem" ref="eric6.Debugger.VariablesViewer.html#ArrayElementVarItem" /> <keyword name="ArrayElementVarItem (Constructor)" id="ArrayElementVarItem (Constructor)" ref="eric6.Debugger.VariablesViewer.html#ArrayElementVarItem.__init__" /> + <keyword name="ArrayItemsContainer" id="ArrayItemsContainer" ref="eric6.DebugClients.Python2.DebugVariables.html#ArrayItemsContainer" /> + <keyword name="ArrayItemsContainer" id="ArrayItemsContainer" ref="eric6.DebugClients.Python3.DebugVariables.html#ArrayItemsContainer" /> + <keyword name="ArrayResolver" id="ArrayResolver" ref="eric6.DebugClients.Python2.DebugVariables.html#ArrayResolver" /> + <keyword name="ArrayResolver" id="ArrayResolver" ref="eric6.DebugClients.Python3.DebugVariables.html#ArrayResolver" /> + <keyword name="ArrayResolver.getDictionary" id="ArrayResolver.getDictionary" ref="eric6.DebugClients.Python2.DebugVariables.html#ArrayResolver.getDictionary" /> + <keyword name="ArrayResolver.getDictionary" id="ArrayResolver.getDictionary" ref="eric6.DebugClients.Python3.DebugVariables.html#ArrayResolver.getDictionary" /> + <keyword name="ArrayResolver.resolve" id="ArrayResolver.resolve" ref="eric6.DebugClients.Python2.DebugVariables.html#ArrayResolver.resolve" /> + <keyword name="ArrayResolver.resolve" id="ArrayResolver.resolve" ref="eric6.DebugClients.Python3.DebugVariables.html#ArrayResolver.resolve" /> <keyword name="AssociationItem" id="AssociationItem" ref="eric6.Graphics.AssociationItem.html#AssociationItem" /> <keyword name="AssociationItem (Constructor)" id="AssociationItem (Constructor)" ref="eric6.Graphics.AssociationItem.html#AssociationItem.__init__" /> <keyword name="AssociationItem (Module)" id="AssociationItem (Module)" ref="eric6.Graphics.AssociationItem.html" /> @@ -3931,10 +3940,10 @@ <keyword name="DeleteFilesConfirmationDialog.on_buttonBox_clicked" id="DeleteFilesConfirmationDialog.on_buttonBox_clicked" ref="eric6.UI.DeleteFilesConfirmationDialog.html#DeleteFilesConfirmationDialog.on_buttonBox_clicked" /> <keyword name="DictResolver" id="DictResolver" ref="eric6.DebugClients.Python2.DebugVariables.html#DictResolver" /> <keyword name="DictResolver" id="DictResolver" ref="eric6.DebugClients.Python3.DebugVariables.html#DictResolver" /> - <keyword name="DictResolver.__keyToStr" id="DictResolver.__keyToStr" ref="eric6.DebugClients.Python2.DebugVariables.html#DictResolver.__keyToStr" /> - <keyword name="DictResolver.__keyToStr" id="DictResolver.__keyToStr" ref="eric6.DebugClients.Python3.DebugVariables.html#DictResolver.__keyToStr" /> <keyword name="DictResolver.getDictionary" id="DictResolver.getDictionary" ref="eric6.DebugClients.Python2.DebugVariables.html#DictResolver.getDictionary" /> <keyword name="DictResolver.getDictionary" id="DictResolver.getDictionary" ref="eric6.DebugClients.Python3.DebugVariables.html#DictResolver.getDictionary" /> + <keyword name="DictResolver.keyToStr" id="DictResolver.keyToStr" ref="eric6.DebugClients.Python2.DebugVariables.html#DictResolver.keyToStr" /> + <keyword name="DictResolver.keyToStr" id="DictResolver.keyToStr" ref="eric6.DebugClients.Python3.DebugVariables.html#DictResolver.keyToStr" /> <keyword name="DictResolver.resolve" id="DictResolver.resolve" ref="eric6.DebugClients.Python2.DebugVariables.html#DictResolver.resolve" /> <keyword name="DictResolver.resolve" id="DictResolver.resolve" ref="eric6.DebugClients.Python3.DebugVariables.html#DictResolver.resolve" /> <keyword name="DiffDialog" id="DiffDialog" ref="eric6.UI.DiffDialog.html#DiffDialog" /> @@ -5849,6 +5858,27 @@ <keyword name="FileDialogWizardDialog.on_bTest_clicked" id="FileDialogWizardDialog.on_bTest_clicked" ref="eric6.Plugins.WizardPlugins.FileDialogWizard.FileDialogWizardDialog.html#FileDialogWizardDialog.on_bTest_clicked" /> <keyword name="FileDialogWizardDialog.on_buttonBox_clicked" id="FileDialogWizardDialog.on_buttonBox_clicked" ref="eric6.Plugins.WizardPlugins.FileDialogWizard.FileDialogWizardDialog.html#FileDialogWizardDialog.on_buttonBox_clicked" /> <keyword name="FileDialogWizardDialog.on_pyqtComboBox_currentIndexChanged" id="FileDialogWizardDialog.on_pyqtComboBox_currentIndexChanged" ref="eric6.Plugins.WizardPlugins.FileDialogWizard.FileDialogWizardDialog.html#FileDialogWizardDialog.on_pyqtComboBox_currentIndexChanged" /> + <keyword name="FilePrinter" id="FilePrinter" ref="eric6.WebBrowser.Tools.FilePrinter.html#FilePrinter" /> + <keyword name="FilePrinter (Constructor)" id="FilePrinter (Constructor)" ref="eric6.WebBrowser.Tools.FilePrinter.html#FilePrinter.__init__" /> + <keyword name="FilePrinter (Module)" id="FilePrinter (Module)" ref="eric6.WebBrowser.Tools.FilePrinter.html" /> + <keyword name="FilePrinter.__doCleanup" id="FilePrinter.__doCleanup" ref="eric6.WebBrowser.Tools.FilePrinter.html#FilePrinter.__doCleanup" /> + <keyword name="FilePrinter.__processError" id="FilePrinter.__processError" ref="eric6.WebBrowser.Tools.FilePrinter.html#FilePrinter.__processError" /> + <keyword name="FilePrinter.__processFinished" id="FilePrinter.__processFinished" ref="eric6.WebBrowser.Tools.FilePrinter.html#FilePrinter.__processFinished" /> + <keyword name="FilePrinter._copies" id="FilePrinter._copies" ref="eric6.WebBrowser.Tools.FilePrinter.html#FilePrinter._copies" /> + <keyword name="FilePrinter._cupsOptions" id="FilePrinter._cupsOptions" ref="eric6.WebBrowser.Tools.FilePrinter.html#FilePrinter._cupsOptions" /> + <keyword name="FilePrinter._deleteFile" id="FilePrinter._deleteFile" ref="eric6.WebBrowser.Tools.FilePrinter.html#FilePrinter._deleteFile" /> + <keyword name="FilePrinter._destination" id="FilePrinter._destination" ref="eric6.WebBrowser.Tools.FilePrinter.html#FilePrinter._destination" /> + <keyword name="FilePrinter._doPrintFile" id="FilePrinter._doPrintFile" ref="eric6.WebBrowser.Tools.FilePrinter.html#FilePrinter._doPrintFile" /> + <keyword name="FilePrinter._jobname" id="FilePrinter._jobname" ref="eric6.WebBrowser.Tools.FilePrinter.html#FilePrinter._jobname" /> + <keyword name="FilePrinter._mediaPageSize" id="FilePrinter._mediaPageSize" ref="eric6.WebBrowser.Tools.FilePrinter.html#FilePrinter._mediaPageSize" /> + <keyword name="FilePrinter._mediaPaperSource" id="FilePrinter._mediaPaperSource" ref="eric6.WebBrowser.Tools.FilePrinter.html#FilePrinter._mediaPaperSource" /> + <keyword name="FilePrinter._optionCollateCopies" id="FilePrinter._optionCollateCopies" ref="eric6.WebBrowser.Tools.FilePrinter.html#FilePrinter._optionCollateCopies" /> + <keyword name="FilePrinter._optionCupsProperties" id="FilePrinter._optionCupsProperties" ref="eric6.WebBrowser.Tools.FilePrinter.html#FilePrinter._optionCupsProperties" /> + <keyword name="FilePrinter._optionDoubleSidedPrinting" id="FilePrinter._optionDoubleSidedPrinting" ref="eric6.WebBrowser.Tools.FilePrinter.html#FilePrinter._optionDoubleSidedPrinting" /> + <keyword name="FilePrinter._optionMedia" id="FilePrinter._optionMedia" ref="eric6.WebBrowser.Tools.FilePrinter.html#FilePrinter._optionMedia" /> + <keyword name="FilePrinter._optionPageOrder" id="FilePrinter._optionPageOrder" ref="eric6.WebBrowser.Tools.FilePrinter.html#FilePrinter._optionPageOrder" /> + <keyword name="FilePrinter._pages" id="FilePrinter._pages" ref="eric6.WebBrowser.Tools.FilePrinter.html#FilePrinter._pages" /> + <keyword name="FilePrinter._printArguments" id="FilePrinter._printArguments" ref="eric6.WebBrowser.Tools.FilePrinter.html#FilePrinter._printArguments" /> <keyword name="FileReply" id="FileReply" ref="eric6.Helpviewer.Network.FileReply.html#FileReply" /> <keyword name="FileReply (Constructor)" id="FileReply (Constructor)" ref="eric6.Helpviewer.Network.FileReply.html#FileReply.__init__" /> <keyword name="FileReply (Module)" id="FileReply (Module)" ref="eric6.Helpviewer.Network.FileReply.html" /> @@ -9784,6 +9814,12 @@ <keyword name="MultiProjectWriter (Constructor)" id="MultiProjectWriter (Constructor)" ref="eric6.E5XML.MultiProjectWriter.html#MultiProjectWriter.__init__" /> <keyword name="MultiProjectWriter (Module)" id="MultiProjectWriter (Module)" ref="eric6.E5XML.MultiProjectWriter.html" /> <keyword name="MultiProjectWriter.writeXML" id="MultiProjectWriter.writeXML" ref="eric6.E5XML.MultiProjectWriter.html#MultiProjectWriter.writeXML" /> + <keyword name="MultiValueDictResolver" id="MultiValueDictResolver" ref="eric6.DebugClients.Python2.DebugVariables.html#MultiValueDictResolver" /> + <keyword name="MultiValueDictResolver" id="MultiValueDictResolver" ref="eric6.DebugClients.Python3.DebugVariables.html#MultiValueDictResolver" /> + <keyword name="MultiValueDictResolver.getDictionary" id="MultiValueDictResolver.getDictionary" ref="eric6.DebugClients.Python2.DebugVariables.html#MultiValueDictResolver.getDictionary" /> + <keyword name="MultiValueDictResolver.getDictionary" id="MultiValueDictResolver.getDictionary" ref="eric6.DebugClients.Python3.DebugVariables.html#MultiValueDictResolver.getDictionary" /> + <keyword name="MultiValueDictResolver.resolve" id="MultiValueDictResolver.resolve" ref="eric6.DebugClients.Python2.DebugVariables.html#MultiValueDictResolver.resolve" /> + <keyword name="MultiValueDictResolver.resolve" id="MultiValueDictResolver.resolve" ref="eric6.DebugClients.Python3.DebugVariables.html#MultiValueDictResolver.resolve" /> <keyword name="NamingStyleChecker" id="NamingStyleChecker" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.NamingStyleChecker.html#NamingStyleChecker" /> <keyword name="NamingStyleChecker (Constructor)" id="NamingStyleChecker (Constructor)" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.NamingStyleChecker.html#NamingStyleChecker.__init__" /> <keyword name="NamingStyleChecker (Module)" id="NamingStyleChecker (Module)" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.NamingStyleChecker.html" /> @@ -9808,6 +9844,16 @@ <keyword name="NannyNag.get_line" id="NannyNag.get_line" ref="eric6.Plugins.CheckerPlugins.Tabnanny.Tabnanny.html#NannyNag.get_line" /> <keyword name="NannyNag.get_lineno" id="NannyNag.get_lineno" ref="eric6.Plugins.CheckerPlugins.Tabnanny.Tabnanny.html#NannyNag.get_lineno" /> <keyword name="NannyNag.get_msg" id="NannyNag.get_msg" ref="eric6.Plugins.CheckerPlugins.Tabnanny.Tabnanny.html#NannyNag.get_msg" /> + <keyword name="NdArrayItemsContainer" id="NdArrayItemsContainer" ref="eric6.DebugClients.Python2.DebugVariables.html#NdArrayItemsContainer" /> + <keyword name="NdArrayItemsContainer" id="NdArrayItemsContainer" ref="eric6.DebugClients.Python3.DebugVariables.html#NdArrayItemsContainer" /> + <keyword name="NdArrayResolver" id="NdArrayResolver" ref="eric6.DebugClients.Python2.DebugVariables.html#NdArrayResolver" /> + <keyword name="NdArrayResolver" id="NdArrayResolver" ref="eric6.DebugClients.Python3.DebugVariables.html#NdArrayResolver" /> + <keyword name="NdArrayResolver.__isNumeric" id="NdArrayResolver.__isNumeric" ref="eric6.DebugClients.Python2.DebugVariables.html#NdArrayResolver.__isNumeric" /> + <keyword name="NdArrayResolver.__isNumeric" id="NdArrayResolver.__isNumeric" ref="eric6.DebugClients.Python3.DebugVariables.html#NdArrayResolver.__isNumeric" /> + <keyword name="NdArrayResolver.getDictionary" id="NdArrayResolver.getDictionary" ref="eric6.DebugClients.Python2.DebugVariables.html#NdArrayResolver.getDictionary" /> + <keyword name="NdArrayResolver.getDictionary" id="NdArrayResolver.getDictionary" ref="eric6.DebugClients.Python3.DebugVariables.html#NdArrayResolver.getDictionary" /> + <keyword name="NdArrayResolver.resolve" id="NdArrayResolver.resolve" ref="eric6.DebugClients.Python2.DebugVariables.html#NdArrayResolver.resolve" /> + <keyword name="NdArrayResolver.resolve" id="NdArrayResolver.resolve" ref="eric6.DebugClients.Python3.DebugVariables.html#NdArrayResolver.resolve" /> <keyword name="Network (Package)" id="Network (Package)" ref="index-eric6.Helpviewer.Network.html" /> <keyword name="Network (Package)" id="Network (Package)" ref="index-eric6.Network.html" /> <keyword name="Network (Package)" id="Network (Package)" ref="index-eric6.WebBrowser.Network.html" /> @@ -15431,7 +15477,8 @@ <keyword name="WebBrowserTabWidget.__navigationMenuTriggered" id="WebBrowserTabWidget.__navigationMenuTriggered" ref="eric6.WebBrowser.WebBrowserTabWidget.html#WebBrowserTabWidget.__navigationMenuTriggered" /> <keyword name="WebBrowserTabWidget.__newBrowser" id="WebBrowserTabWidget.__newBrowser" ref="eric6.WebBrowser.WebBrowserTabWidget.html#WebBrowserTabWidget.__newBrowser" /> <keyword name="WebBrowserTabWidget.__pathSelected" id="WebBrowserTabWidget.__pathSelected" ref="eric6.WebBrowser.WebBrowserTabWidget.html#WebBrowserTabWidget.__pathSelected" /> - <keyword name="WebBrowserTabWidget.__pdfGenerated" id="WebBrowserTabWidget.__pdfGenerated" ref="eric6.WebBrowser.WebBrowserTabWidget.html#WebBrowserTabWidget.__pdfGenerated" /> + <keyword name="WebBrowserTabWidget.__pdfGeneratedForPrinting" id="WebBrowserTabWidget.__pdfGeneratedForPrinting" ref="eric6.WebBrowser.WebBrowserTabWidget.html#WebBrowserTabWidget.__pdfGeneratedForPrinting" /> + <keyword name="WebBrowserTabWidget.__pdfGeneratedForSave" id="WebBrowserTabWidget.__pdfGeneratedForSave" ref="eric6.WebBrowser.WebBrowserTabWidget.html#WebBrowserTabWidget.__pdfGeneratedForSave" /> <keyword name="WebBrowserTabWidget.__recentlyAudibleChanged" id="WebBrowserTabWidget.__recentlyAudibleChanged" ref="eric6.WebBrowser.WebBrowserTabWidget.html#WebBrowserTabWidget.__recentlyAudibleChanged" /> <keyword name="WebBrowserTabWidget.__showContextMenu" id="WebBrowserTabWidget.__showContextMenu" ref="eric6.WebBrowser.WebBrowserTabWidget.html#WebBrowserTabWidget.__showContextMenu" /> <keyword name="WebBrowserTabWidget.__showNavigationMenu" id="WebBrowserTabWidget.__showNavigationMenu" ref="eric6.WebBrowser.WebBrowserTabWidget.html#WebBrowserTabWidget.__showNavigationMenu" /> @@ -16501,6 +16548,7 @@ <keyword name="ircFilter" id="ircFilter" ref="eric6.Network.IRC.IrcUtilities.html#ircFilter" /> <keyword name="ircTimestamp" id="ircTimestamp" ref="eric6.Network.IRC.IrcUtilities.html#ircTimestamp" /> <keyword name="isConfigured" id="isConfigured" ref="eric6.Preferences.__init__.html#isConfigured" /> + <keyword name="isCupsAvailable" id="isCupsAvailable" ref="eric6.WebBrowser.Tools.FilePrinter.html#isCupsAvailable" /> <keyword name="isExecutable" id="isExecutable" ref="eric6.Utilities.__init__.html#isExecutable" /> <keyword name="isLinuxPlatform" id="isLinuxPlatform" ref="eric6.Globals.__init__.html#isLinuxPlatform" /> <keyword name="isMacPlatform" id="isMacPlatform" ref="eric6.Globals.__init__.html#isMacPlatform" /> @@ -16601,6 +16649,7 @@ <keyword name="prepareUninstall" id="prepareUninstall" ref="eric6.Plugins.PluginVcsSubversion.html#prepareUninstall" /> <keyword name="previewPix" id="previewPix" ref="eric6.Plugins.PluginVmListspace.html#previewPix" /> <keyword name="previewPix" id="previewPix" ref="eric6.Plugins.PluginVmTabview.html#previewPix" /> + <keyword name="printFile" id="printFile" ref="eric6.WebBrowser.Tools.FilePrinter.html#printFile" /> <keyword name="printerr" id="printerr" ref="eric6.DebugClients.Python2.DebugBase.html#printerr" /> <keyword name="printerr" id="printerr" ref="eric6.DebugClients.Python3.DebugBase.html#printerr" /> <keyword name="process_options" id="process_options" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.pycodestyle.html#process_options" /> @@ -17785,6 +17834,7 @@ <file>eric6.WebBrowser.Sync.SyncManager.html</file> <file>eric6.WebBrowser.TabManager.TabManagerWidget.html</file> <file>eric6.WebBrowser.Tools.DelayedFileWatcher.html</file> + <file>eric6.WebBrowser.Tools.FilePrinter.html</file> <file>eric6.WebBrowser.Tools.PrintToPdfDialog.html</file> <file>eric6.WebBrowser.Tools.Scripts.html</file> <file>eric6.WebBrowser.Tools.WebBrowserTools.html</file>
--- a/Documentation/Source/eric6.DebugClients.Python2.DebugVariables.html Fri Sep 30 19:52:16 2016 +0200 +++ b/Documentation/Source/eric6.DebugClients.Python2.DebugVariables.html Fri Sep 30 19:52:42 2016 +0200 @@ -25,11 +25,17 @@ </p> <h3>Global Attributes</h3> <table> -<tr><td>MaxItemsToHandle</td></tr><tr><td>TooLargeAttribute</td></tr><tr><td>TooLargeMessage</td></tr><tr><td>_TypeMap</td></tr><tr><td>defaultResolver</td></tr><tr><td>dictResolver</td></tr><tr><td>listResolver</td></tr><tr><td>setResolver</td></tr> +<tr><td>MaxItemsToHandle</td></tr><tr><td>TooLargeAttribute</td></tr><tr><td>TooLargeMessage</td></tr><tr><td>_TypeMap</td></tr><tr><td>arrayResolver</td></tr><tr><td>defaultResolver</td></tr><tr><td>dictResolver</td></tr><tr><td>listResolver</td></tr><tr><td>multiValueDictResolver</td></tr><tr><td>ndarrayResolver</td></tr><tr><td>setResolver</td></tr> </table> <h3>Classes</h3> <table> <tr> +<td><a href="#ArrayItemsContainer">ArrayItemsContainer</a></td> +<td>Class to store array.array items.</td> +</tr><tr> +<td><a href="#ArrayResolver">ArrayResolver</a></td> +<td>Class used to resolve from array.array including some meta data.</td> +</tr><tr> <td><a href="#BaseResolver">BaseResolver</a></td> <td>Base class of the resolver class tree.</td> </tr><tr> @@ -42,6 +48,15 @@ <td><a href="#ListResolver">ListResolver</a></td> <td>Class used to resolve from a tuple or list.</td> </tr><tr> +<td><a href="#MultiValueDictResolver">MultiValueDictResolver</a></td> +<td>Class used to resolve from Django multi value dictionaries.</td> +</tr><tr> +<td><a href="#NdArrayItemsContainer">NdArrayItemsContainer</a></td> +<td>Class to store ndarray items.</td> +</tr><tr> +<td><a href="#NdArrayResolver">NdArrayResolver</a></td> +<td>Class used to resolve from numpy ndarray including some meta data.</td> +</tr><tr> <td><a href="#SetResolver">SetResolver</a></td> <td>Class used to resolve from a set or frozenset.</td> </tr> @@ -57,6 +72,107 @@ </tr> </table> <hr /><hr /> +<a NAME="ArrayItemsContainer" ID="ArrayItemsContainer"></a> +<h2>ArrayItemsContainer</h2> +<p> + Class to store array.array items. +</p> +<h3>Derived from</h3> +None +<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>None</td></tr> +</table> +<h3>Static Methods</h3> +<table> +<tr><td>None</td></tr> +</table> + +<div align="right"><a href="#top">Up</a></div> +<hr /><hr /> +<a NAME="ArrayResolver" ID="ArrayResolver"></a> +<h2>ArrayResolver</h2> +<p> + Class used to resolve from array.array including some meta data. +</p> +<h3>Derived from</h3> +BaseResolver +<h3>Class Attributes</h3> +<table> +<tr><td>TypeCodeMap</td></tr> +</table> +<h3>Class Methods</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Methods</h3> +<table> +<tr> +<td><a href="#ArrayResolver.getDictionary">getDictionary</a></td> +<td>Public method to get the attributes of a variable as a dictionary.</td> +</tr><tr> +<td><a href="#ArrayResolver.resolve">resolve</a></td> +<td>Public method to get an attribute from a variable.</td> +</tr> +</table> +<h3>Static Methods</h3> +<table> +<tr><td>None</td></tr> +</table> +<a NAME="ArrayResolver.getDictionary" ID="ArrayResolver.getDictionary"></a> +<h4>ArrayResolver.getDictionary</h4> +<b>getDictionary</b>(<i>var</i>) +<p> + Public method to get the attributes of a variable as a dictionary. +</p><dl> +<dt><i>var</i> (any)</dt> +<dd> +variable to be converted +</dd> +</dl><dl> +<dt>Returns:</dt> +<dd> +dictionary containing the variable attributes +</dd> +</dl><dl> +<dt>Return Type:</dt> +<dd> +dict +</dd> +</dl><a NAME="ArrayResolver.resolve" ID="ArrayResolver.resolve"></a> +<h4>ArrayResolver.resolve</h4> +<b>resolve</b>(<i>var, attribute</i>) +<p> + Public method to get an attribute from a variable. +</p><dl> +<dt><i>var</i> (tuple or list)</dt> +<dd> +variable to extract an attribute or value from +</dd><dt><i>attribute</i> (str)</dt> +<dd> +id of the value to extract +</dd> +</dl><dl> +<dt>Returns:</dt> +<dd> +value of the attribute +</dd> +</dl><dl> +<dt>Return Type:</dt> +<dd> +any +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /><hr /> <a NAME="BaseResolver" ID="BaseResolver"></a> <h2>BaseResolver</h2> <p> @@ -237,12 +353,12 @@ <h3>Methods</h3> <table> <tr> -<td><a href="#DictResolver.__keyToStr">__keyToStr</a></td> -<td>Private method to get a string representation for a key.</td> -</tr><tr> <td><a href="#DictResolver.getDictionary">getDictionary</a></td> <td>Public method to get the attributes of a variable as a dictionary.</td> </tr><tr> +<td><a href="#DictResolver.keyToStr">keyToStr</a></td> +<td>Public method to get a string representation for a key.</td> +</tr><tr> <td><a href="#DictResolver.resolve">resolve</a></td> <td>Public method to get an attribute from a variable.</td> </tr> @@ -251,27 +367,7 @@ <table> <tr><td>None</td></tr> </table> -<a NAME="DictResolver.__keyToStr" ID="DictResolver.__keyToStr"></a> -<h4>DictResolver.__keyToStr</h4> -<b>__keyToStr</b>(<i>key</i>) -<p> - Private method to get a string representation for a key. -</p><dl> -<dt><i>key</i> (any)</dt> -<dd> -key to be converted -</dd> -</dl><dl> -<dt>Returns:</dt> -<dd> -string representation of the given key -</dd> -</dl><dl> -<dt>Return Type:</dt> -<dd> -str -</dd> -</dl><a NAME="DictResolver.getDictionary" ID="DictResolver.getDictionary"></a> +<a NAME="DictResolver.getDictionary" ID="DictResolver.getDictionary"></a> <h4>DictResolver.getDictionary</h4> <b>getDictionary</b>(<i>var</i>) <p> @@ -291,6 +387,26 @@ <dd> dict </dd> +</dl><a NAME="DictResolver.keyToStr" ID="DictResolver.keyToStr"></a> +<h4>DictResolver.keyToStr</h4> +<b>keyToStr</b>(<i>key</i>) +<p> + Public method to get a string representation for a key. +</p><dl> +<dt><i>key</i> (any)</dt> +<dd> +key to be converted +</dd> +</dl><dl> +<dt>Returns:</dt> +<dd> +string representation of the given key +</dd> +</dl><dl> +<dt>Return Type:</dt> +<dd> +str +</dd> </dl><a NAME="DictResolver.resolve" ID="DictResolver.resolve"></a> <h4>DictResolver.resolve</h4> <b>resolve</b>(<i>var, attribute</i>) @@ -392,6 +508,205 @@ </dl> <div align="right"><a href="#top">Up</a></div> <hr /><hr /> +<a NAME="MultiValueDictResolver" ID="MultiValueDictResolver"></a> +<h2>MultiValueDictResolver</h2> +<p> + Class used to resolve from Django multi value dictionaries. +</p> +<h3>Derived from</h3> +DictResolver +<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="#MultiValueDictResolver.getDictionary">getDictionary</a></td> +<td>Public method to get the attributes of a variable as a dictionary.</td> +</tr><tr> +<td><a href="#MultiValueDictResolver.resolve">resolve</a></td> +<td>Public method to get an attribute from a variable.</td> +</tr> +</table> +<h3>Static Methods</h3> +<table> +<tr><td>None</td></tr> +</table> +<a NAME="MultiValueDictResolver.getDictionary" ID="MultiValueDictResolver.getDictionary"></a> +<h4>MultiValueDictResolver.getDictionary</h4> +<b>getDictionary</b>(<i>var</i>) +<p> + Public method to get the attributes of a variable as a dictionary. +</p><dl> +<dt><i>var</i> (any)</dt> +<dd> +variable to be converted +</dd> +</dl><dl> +<dt>Returns:</dt> +<dd> +dictionary containing the variable attributes +</dd> +</dl><dl> +<dt>Return Type:</dt> +<dd> +dict +</dd> +</dl><a NAME="MultiValueDictResolver.resolve" ID="MultiValueDictResolver.resolve"></a> +<h4>MultiValueDictResolver.resolve</h4> +<b>resolve</b>(<i>var, attribute</i>) +<p> + Public method to get an attribute from a variable. +</p><dl> +<dt><i>var</i> (dict)</dt> +<dd> +variable to extract an attribute or value from +</dd><dt><i>attribute</i> (str)</dt> +<dd> +name of the attribute to extract +</dd> +</dl><dl> +<dt>Returns:</dt> +<dd> +value of the attribute +</dd> +</dl><dl> +<dt>Return Type:</dt> +<dd> +any +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /><hr /> +<a NAME="NdArrayItemsContainer" ID="NdArrayItemsContainer"></a> +<h2>NdArrayItemsContainer</h2> +<p> + Class to store ndarray items. +</p> +<h3>Derived from</h3> +None +<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>None</td></tr> +</table> +<h3>Static Methods</h3> +<table> +<tr><td>None</td></tr> +</table> + +<div align="right"><a href="#top">Up</a></div> +<hr /><hr /> +<a NAME="NdArrayResolver" ID="NdArrayResolver"></a> +<h2>NdArrayResolver</h2> +<p> + Class used to resolve from numpy ndarray including some meta data. +</p> +<h3>Derived from</h3> +BaseResolver +<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="#NdArrayResolver.__isNumeric">__isNumeric</a></td> +<td>Private method to check, if an array is of a numeric type.</td> +</tr><tr> +<td><a href="#NdArrayResolver.getDictionary">getDictionary</a></td> +<td>Public method to get the attributes of a variable as a dictionary.</td> +</tr><tr> +<td><a href="#NdArrayResolver.resolve">resolve</a></td> +<td>Public method to get an attribute from a variable.</td> +</tr> +</table> +<h3>Static Methods</h3> +<table> +<tr><td>None</td></tr> +</table> +<a NAME="NdArrayResolver.__isNumeric" ID="NdArrayResolver.__isNumeric"></a> +<h4>NdArrayResolver.__isNumeric</h4> +<b>__isNumeric</b>(<i>arr</i>) +<p> + Private method to check, if an array is of a numeric type. +</p><dl> +<dt><i>arr</i> (ndarray)</dt> +<dd> +array to check +</dd> +</dl><dl> +<dt>Returns:</dt> +<dd> +flag indicating a numeric array +</dd> +</dl><dl> +<dt>Return Type:</dt> +<dd> +bool +</dd> +</dl><a NAME="NdArrayResolver.getDictionary" ID="NdArrayResolver.getDictionary"></a> +<h4>NdArrayResolver.getDictionary</h4> +<b>getDictionary</b>(<i>var</i>) +<p> + Public method to get the attributes of a variable as a dictionary. +</p><dl> +<dt><i>var</i> (any)</dt> +<dd> +variable to be converted +</dd> +</dl><dl> +<dt>Returns:</dt> +<dd> +dictionary containing the variable attributes +</dd> +</dl><dl> +<dt>Return Type:</dt> +<dd> +dict +</dd> +</dl><a NAME="NdArrayResolver.resolve" ID="NdArrayResolver.resolve"></a> +<h4>NdArrayResolver.resolve</h4> +<b>resolve</b>(<i>var, attribute</i>) +<p> + Public method to get an attribute from a variable. +</p><dl> +<dt><i>var</i> (tuple or list)</dt> +<dd> +variable to extract an attribute or value from +</dd><dt><i>attribute</i> (str)</dt> +<dd> +id of the value to extract +</dd> +</dl><dl> +<dt>Returns:</dt> +<dd> +value of the attribute +</dd> +</dl><dl> +<dt>Return Type:</dt> +<dd> +any +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /><hr /> <a NAME="SetResolver" ID="SetResolver"></a> <h2>SetResolver</h2> <p>
--- a/Documentation/Source/eric6.DebugClients.Python3.DebugVariables.html Fri Sep 30 19:52:16 2016 +0200 +++ b/Documentation/Source/eric6.DebugClients.Python3.DebugVariables.html Fri Sep 30 19:52:42 2016 +0200 @@ -25,11 +25,17 @@ </p> <h3>Global Attributes</h3> <table> -<tr><td>MaxItemsToHandle</td></tr><tr><td>TooLargeAttribute</td></tr><tr><td>TooLargeMessage</td></tr><tr><td>_TypeMap</td></tr><tr><td>defaultResolver</td></tr><tr><td>dictResolver</td></tr><tr><td>listResolver</td></tr><tr><td>setResolver</td></tr> +<tr><td>MaxItemsToHandle</td></tr><tr><td>TooLargeAttribute</td></tr><tr><td>TooLargeMessage</td></tr><tr><td>_TypeMap</td></tr><tr><td>arrayResolver</td></tr><tr><td>defaultResolver</td></tr><tr><td>dictResolver</td></tr><tr><td>listResolver</td></tr><tr><td>multiValueDictResolver</td></tr><tr><td>ndarrayResolver</td></tr><tr><td>setResolver</td></tr> </table> <h3>Classes</h3> <table> <tr> +<td><a href="#ArrayItemsContainer">ArrayItemsContainer</a></td> +<td>Class to store array.array items.</td> +</tr><tr> +<td><a href="#ArrayResolver">ArrayResolver</a></td> +<td>Class used to resolve from array.array including some meta data.</td> +</tr><tr> <td><a href="#BaseResolver">BaseResolver</a></td> <td>Base class of the resolver class tree.</td> </tr><tr> @@ -42,6 +48,15 @@ <td><a href="#ListResolver">ListResolver</a></td> <td>Class used to resolve from a tuple or list.</td> </tr><tr> +<td><a href="#MultiValueDictResolver">MultiValueDictResolver</a></td> +<td>Class used to resolve from Django multi value dictionaries.</td> +</tr><tr> +<td><a href="#NdArrayItemsContainer">NdArrayItemsContainer</a></td> +<td>Class to store ndarray items.</td> +</tr><tr> +<td><a href="#NdArrayResolver">NdArrayResolver</a></td> +<td>Class used to resolve from numpy ndarray including some meta data.</td> +</tr><tr> <td><a href="#SetResolver">SetResolver</a></td> <td>Class used to resolve from a set or frozenset.</td> </tr> @@ -57,6 +72,107 @@ </tr> </table> <hr /><hr /> +<a NAME="ArrayItemsContainer" ID="ArrayItemsContainer"></a> +<h2>ArrayItemsContainer</h2> +<p> + Class to store array.array items. +</p> +<h3>Derived from</h3> +None +<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>None</td></tr> +</table> +<h3>Static Methods</h3> +<table> +<tr><td>None</td></tr> +</table> + +<div align="right"><a href="#top">Up</a></div> +<hr /><hr /> +<a NAME="ArrayResolver" ID="ArrayResolver"></a> +<h2>ArrayResolver</h2> +<p> + Class used to resolve from array.array including some meta data. +</p> +<h3>Derived from</h3> +BaseResolver +<h3>Class Attributes</h3> +<table> +<tr><td>TypeCodeMap</td></tr> +</table> +<h3>Class Methods</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Methods</h3> +<table> +<tr> +<td><a href="#ArrayResolver.getDictionary">getDictionary</a></td> +<td>Public method to get the attributes of a variable as a dictionary.</td> +</tr><tr> +<td><a href="#ArrayResolver.resolve">resolve</a></td> +<td>Public method to get an attribute from a variable.</td> +</tr> +</table> +<h3>Static Methods</h3> +<table> +<tr><td>None</td></tr> +</table> +<a NAME="ArrayResolver.getDictionary" ID="ArrayResolver.getDictionary"></a> +<h4>ArrayResolver.getDictionary</h4> +<b>getDictionary</b>(<i>var</i>) +<p> + Public method to get the attributes of a variable as a dictionary. +</p><dl> +<dt><i>var</i> (any)</dt> +<dd> +variable to be converted +</dd> +</dl><dl> +<dt>Returns:</dt> +<dd> +dictionary containing the variable attributes +</dd> +</dl><dl> +<dt>Return Type:</dt> +<dd> +dict +</dd> +</dl><a NAME="ArrayResolver.resolve" ID="ArrayResolver.resolve"></a> +<h4>ArrayResolver.resolve</h4> +<b>resolve</b>(<i>var, attribute</i>) +<p> + Public method to get an attribute from a variable. +</p><dl> +<dt><i>var</i> (tuple or list)</dt> +<dd> +variable to extract an attribute or value from +</dd><dt><i>attribute</i> (str)</dt> +<dd> +id of the value to extract +</dd> +</dl><dl> +<dt>Returns:</dt> +<dd> +value of the attribute +</dd> +</dl><dl> +<dt>Return Type:</dt> +<dd> +any +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /><hr /> <a NAME="BaseResolver" ID="BaseResolver"></a> <h2>BaseResolver</h2> <p> @@ -237,12 +353,12 @@ <h3>Methods</h3> <table> <tr> -<td><a href="#DictResolver.__keyToStr">__keyToStr</a></td> -<td>Private method to get a string representation for a key.</td> -</tr><tr> <td><a href="#DictResolver.getDictionary">getDictionary</a></td> <td>Public method to get the attributes of a variable as a dictionary.</td> </tr><tr> +<td><a href="#DictResolver.keyToStr">keyToStr</a></td> +<td>Public method to get a string representation for a key.</td> +</tr><tr> <td><a href="#DictResolver.resolve">resolve</a></td> <td>Public method to get an attribute from a variable.</td> </tr> @@ -251,27 +367,7 @@ <table> <tr><td>None</td></tr> </table> -<a NAME="DictResolver.__keyToStr" ID="DictResolver.__keyToStr"></a> -<h4>DictResolver.__keyToStr</h4> -<b>__keyToStr</b>(<i>key</i>) -<p> - Private method to get a string representation for a key. -</p><dl> -<dt><i>key</i> (any)</dt> -<dd> -key to be converted -</dd> -</dl><dl> -<dt>Returns:</dt> -<dd> -string representation of the given key -</dd> -</dl><dl> -<dt>Return Type:</dt> -<dd> -str -</dd> -</dl><a NAME="DictResolver.getDictionary" ID="DictResolver.getDictionary"></a> +<a NAME="DictResolver.getDictionary" ID="DictResolver.getDictionary"></a> <h4>DictResolver.getDictionary</h4> <b>getDictionary</b>(<i>var</i>) <p> @@ -291,6 +387,26 @@ <dd> dict </dd> +</dl><a NAME="DictResolver.keyToStr" ID="DictResolver.keyToStr"></a> +<h4>DictResolver.keyToStr</h4> +<b>keyToStr</b>(<i>key</i>) +<p> + Public method to get a string representation for a key. +</p><dl> +<dt><i>key</i> (any)</dt> +<dd> +key to be converted +</dd> +</dl><dl> +<dt>Returns:</dt> +<dd> +string representation of the given key +</dd> +</dl><dl> +<dt>Return Type:</dt> +<dd> +str +</dd> </dl><a NAME="DictResolver.resolve" ID="DictResolver.resolve"></a> <h4>DictResolver.resolve</h4> <b>resolve</b>(<i>var, attribute</i>) @@ -392,6 +508,205 @@ </dl> <div align="right"><a href="#top">Up</a></div> <hr /><hr /> +<a NAME="MultiValueDictResolver" ID="MultiValueDictResolver"></a> +<h2>MultiValueDictResolver</h2> +<p> + Class used to resolve from Django multi value dictionaries. +</p> +<h3>Derived from</h3> +DictResolver +<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="#MultiValueDictResolver.getDictionary">getDictionary</a></td> +<td>Public method to get the attributes of a variable as a dictionary.</td> +</tr><tr> +<td><a href="#MultiValueDictResolver.resolve">resolve</a></td> +<td>Public method to get an attribute from a variable.</td> +</tr> +</table> +<h3>Static Methods</h3> +<table> +<tr><td>None</td></tr> +</table> +<a NAME="MultiValueDictResolver.getDictionary" ID="MultiValueDictResolver.getDictionary"></a> +<h4>MultiValueDictResolver.getDictionary</h4> +<b>getDictionary</b>(<i>var</i>) +<p> + Public method to get the attributes of a variable as a dictionary. +</p><dl> +<dt><i>var</i> (any)</dt> +<dd> +variable to be converted +</dd> +</dl><dl> +<dt>Returns:</dt> +<dd> +dictionary containing the variable attributes +</dd> +</dl><dl> +<dt>Return Type:</dt> +<dd> +dict +</dd> +</dl><a NAME="MultiValueDictResolver.resolve" ID="MultiValueDictResolver.resolve"></a> +<h4>MultiValueDictResolver.resolve</h4> +<b>resolve</b>(<i>var, attribute</i>) +<p> + Public method to get an attribute from a variable. +</p><dl> +<dt><i>var</i> (dict)</dt> +<dd> +variable to extract an attribute or value from +</dd><dt><i>attribute</i> (str)</dt> +<dd> +name of the attribute to extract +</dd> +</dl><dl> +<dt>Returns:</dt> +<dd> +value of the attribute +</dd> +</dl><dl> +<dt>Return Type:</dt> +<dd> +any +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /><hr /> +<a NAME="NdArrayItemsContainer" ID="NdArrayItemsContainer"></a> +<h2>NdArrayItemsContainer</h2> +<p> + Class to store ndarray items. +</p> +<h3>Derived from</h3> +None +<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>None</td></tr> +</table> +<h3>Static Methods</h3> +<table> +<tr><td>None</td></tr> +</table> + +<div align="right"><a href="#top">Up</a></div> +<hr /><hr /> +<a NAME="NdArrayResolver" ID="NdArrayResolver"></a> +<h2>NdArrayResolver</h2> +<p> + Class used to resolve from numpy ndarray including some meta data. +</p> +<h3>Derived from</h3> +BaseResolver +<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="#NdArrayResolver.__isNumeric">__isNumeric</a></td> +<td>Private method to check, if an array is of a numeric type.</td> +</tr><tr> +<td><a href="#NdArrayResolver.getDictionary">getDictionary</a></td> +<td>Public method to get the attributes of a variable as a dictionary.</td> +</tr><tr> +<td><a href="#NdArrayResolver.resolve">resolve</a></td> +<td>Public method to get an attribute from a variable.</td> +</tr> +</table> +<h3>Static Methods</h3> +<table> +<tr><td>None</td></tr> +</table> +<a NAME="NdArrayResolver.__isNumeric" ID="NdArrayResolver.__isNumeric"></a> +<h4>NdArrayResolver.__isNumeric</h4> +<b>__isNumeric</b>(<i>arr</i>) +<p> + Private method to check, if an array is of a numeric type. +</p><dl> +<dt><i>arr</i> (ndarray)</dt> +<dd> +array to check +</dd> +</dl><dl> +<dt>Returns:</dt> +<dd> +flag indicating a numeric array +</dd> +</dl><dl> +<dt>Return Type:</dt> +<dd> +bool +</dd> +</dl><a NAME="NdArrayResolver.getDictionary" ID="NdArrayResolver.getDictionary"></a> +<h4>NdArrayResolver.getDictionary</h4> +<b>getDictionary</b>(<i>var</i>) +<p> + Public method to get the attributes of a variable as a dictionary. +</p><dl> +<dt><i>var</i> (any)</dt> +<dd> +variable to be converted +</dd> +</dl><dl> +<dt>Returns:</dt> +<dd> +dictionary containing the variable attributes +</dd> +</dl><dl> +<dt>Return Type:</dt> +<dd> +dict +</dd> +</dl><a NAME="NdArrayResolver.resolve" ID="NdArrayResolver.resolve"></a> +<h4>NdArrayResolver.resolve</h4> +<b>resolve</b>(<i>var, attribute</i>) +<p> + Public method to get an attribute from a variable. +</p><dl> +<dt><i>var</i> (tuple or list)</dt> +<dd> +variable to extract an attribute or value from +</dd><dt><i>attribute</i> (str)</dt> +<dd> +id of the value to extract +</dd> +</dl><dl> +<dt>Returns:</dt> +<dd> +value of the attribute +</dd> +</dl><dl> +<dt>Return Type:</dt> +<dd> +any +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /><hr /> <a NAME="SetResolver" ID="SetResolver"></a> <h2>SetResolver</h2> <p>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Documentation/Source/eric6.WebBrowser.Tools.FilePrinter.html Fri Sep 30 19:52:42 2016 +0200 @@ -0,0 +1,587 @@ +<!DOCTYPE html> +<html><head> +<title>eric6.WebBrowser.Tools.FilePrinter</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.WebBrowser.Tools.FilePrinter</h1> +<p> +Module implementing an object for printing of files. +</p> +<h3>Global Attributes</h3> +<table> +<tr><td>_FilePrintJobs</td></tr> +</table> +<h3>Classes</h3> +<table> +<tr> +<td><a href="#FilePrinter">FilePrinter</a></td> +<td>Class implementing methods for printing on *nix systems.</td> +</tr> +</table> +<h3>Functions</h3> +<table> +<tr> +<td><a href="#isCupsAvailable">isCupsAvailable</a></td> +<td>Static method to test the availability of CUPS.</td> +</tr><tr> +<td><a href="#printFile">printFile</a></td> +<td>Static method to print a file.</td> +</tr> +</table> +<hr /><hr /> +<a NAME="FilePrinter" ID="FilePrinter"></a> +<h2>FilePrinter</h2> +<p> + Class implementing methods for printing on *nix systems. +</p> +<h3>Derived from</h3> +object +<h3>Class Attributes</h3> +<table> +<tr><td>ApplicationDeletesFiles</td></tr><tr><td>ApplicationSelectsPages</td></tr><tr><td>SystemDeletesFiles</td></tr><tr><td>SystemSelectsPages</td></tr> +</table> +<h3>Class Methods</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Methods</h3> +<table> +<tr> +<td><a href="#FilePrinter.__init__">FilePrinter</a></td> +<td>Constructor</td> +</tr><tr> +<td><a href="#FilePrinter.__doCleanup">__doCleanup</a></td> +<td>Private method to perform some internal cleanup actions.</td> +</tr><tr> +<td><a href="#FilePrinter.__processError">__processError</a></td> +<td>Private slot handling process errors.</td> +</tr><tr> +<td><a href="#FilePrinter.__processFinished">__processFinished</a></td> +<td>Private slot handling the end of the process.</td> +</tr><tr> +<td><a href="#FilePrinter._copies">_copies</a></td> +<td>Protected method to assemble the number of copies arguments.</td> +</tr><tr> +<td><a href="#FilePrinter._cupsOptions">_cupsOptions</a></td> +<td>Protected method to assemble the CUPS specific arguments.</td> +</tr><tr> +<td><a href="#FilePrinter._deleteFile">_deleteFile</a></td> +<td>Protected method to assemble the jobname arguments.</td> +</tr><tr> +<td><a href="#FilePrinter._destination">_destination</a></td> +<td>Protected method to assemble the printer destination arguments.</td> +</tr><tr> +<td><a href="#FilePrinter._doPrintFile">_doPrintFile</a></td> +<td>Protected method to print a file</td> +</tr><tr> +<td><a href="#FilePrinter._jobname">_jobname</a></td> +<td>Protected method to assemble the jobname arguments.</td> +</tr><tr> +<td><a href="#FilePrinter._mediaPageSize">_mediaPageSize</a></td> +<td>Protected method to get the page size argument.</td> +</tr><tr> +<td><a href="#FilePrinter._mediaPaperSource">_mediaPaperSource</a></td> +<td>Protected method to get the paper source argument.</td> +</tr><tr> +<td><a href="#FilePrinter._optionCollateCopies">_optionCollateCopies</a></td> +<td>Protected method to assemble the collate copies arguments.</td> +</tr><tr> +<td><a href="#FilePrinter._optionCupsProperties">_optionCupsProperties</a></td> +<td>Protected method to assemble the CUPS properties arguments.</td> +</tr><tr> +<td><a href="#FilePrinter._optionDoubleSidedPrinting">_optionDoubleSidedPrinting</a></td> +<td>Protected method to assemble the double sided printing arguments.</td> +</tr><tr> +<td><a href="#FilePrinter._optionMedia">_optionMedia</a></td> +<td>Protected method to assemble the print media arguments.</td> +</tr><tr> +<td><a href="#FilePrinter._optionPageOrder">_optionPageOrder</a></td> +<td>Protected method to assemble the page order arguments.</td> +</tr><tr> +<td><a href="#FilePrinter._pages">_pages</a></td> +<td>Protected method to assemble the page range(s) arguments.</td> +</tr><tr> +<td><a href="#FilePrinter._printArguments">_printArguments</a></td> +<td>Protected method to assemble the command line arguments for the print command.</td> +</tr> +</table> +<h3>Static Methods</h3> +<table> +<tr><td>None</td></tr> +</table> +<a NAME="FilePrinter.__init__" ID="FilePrinter.__init__"></a> +<h4>FilePrinter (Constructor)</h4> +<b>FilePrinter</b>(<i></i>) +<p> + Constructor +</p><a NAME="FilePrinter.__doCleanup" ID="FilePrinter.__doCleanup"></a> +<h4>FilePrinter.__doCleanup</h4> +<b>__doCleanup</b>(<i>deleteFile</i>) +<p> + Private method to perform some internal cleanup actions. +</p><dl> +<dt><i>deleteFile</i> (bool)</dt> +<dd> +flag indicating to delete the print file +</dd> +</dl><a NAME="FilePrinter.__processError" ID="FilePrinter.__processError"></a> +<h4>FilePrinter.__processError</h4> +<b>__processError</b>(<i>error</i>) +<p> + Private slot handling process errors. +</p><dl> +<dt><i>error</i> (QProcess.ProcessError)</dt> +<dd> +error value +</dd> +</dl><a NAME="FilePrinter.__processFinished" ID="FilePrinter.__processFinished"></a> +<h4>FilePrinter.__processFinished</h4> +<b>__processFinished</b>(<i>exitCode, exitStatus</i>) +<p> + Private slot handling the end of the process. +</p><dl> +<dt><i>exitCode</i> (int)</dt> +<dd> +exit code of the process +</dd><dt><i>exitStatus</i> (QProcess.ExitStatus)</dt> +<dd> +exit status of the process +</dd> +</dl><a NAME="FilePrinter._copies" ID="FilePrinter._copies"></a> +<h4>FilePrinter._copies</h4> +<b>_copies</b>(<i>printer, variant</i>) +<p> + Protected method to assemble the number of copies arguments. +</p><dl> +<dt><i>printer</i> (QPrinter)</dt> +<dd> +reference to the printer to print to +</dd><dt><i>variant</i> (str)</dt> +<dd> +string identifying the print command variant +</dd> +</dl><dl> +<dt>Returns:</dt> +<dd> +assembled number of copies arguments +</dd> +</dl><dl> +<dt>Return Type:</dt> +<dd> +list of str +</dd> +</dl><a NAME="FilePrinter._cupsOptions" ID="FilePrinter._cupsOptions"></a> +<h4>FilePrinter._cupsOptions</h4> +<b>_cupsOptions</b>(<i>printer</i>) +<p> + Protected method to assemble the CUPS specific arguments. +</p><dl> +<dt><i>printer</i> (QPrinter)</dt> +<dd> +reference to the printer to print to +</dd> +</dl><dl> +<dt>Returns:</dt> +<dd> +assembled CUPS arguments +</dd> +</dl><dl> +<dt>Return Type:</dt> +<dd> +list of str +</dd> +</dl><a NAME="FilePrinter._deleteFile" ID="FilePrinter._deleteFile"></a> +<h4>FilePrinter._deleteFile</h4> +<b>_deleteFile</b>(<i>printer, fileDeletePolicy, variant</i>) +<p> + Protected method to assemble the jobname arguments. +</p><dl> +<dt><i>printer</i> (QPrinter)</dt> +<dd> +reference to the printer to print to +</dd><dt><i>fileDeletePolicy</i> (int (0 or 1))</dt> +<dd> +policy determining who deletes the file to be + printed (application or system) +</dd><dt><i>variant</i> (str)</dt> +<dd> +string identifying the print command variant +</dd> +</dl><dl> +<dt>Returns:</dt> +<dd> +assembled jobname arguments +</dd> +</dl><dl> +<dt>Return Type:</dt> +<dd> +list of str +</dd> +</dl><a NAME="FilePrinter._destination" ID="FilePrinter._destination"></a> +<h4>FilePrinter._destination</h4> +<b>_destination</b>(<i>printer, variant</i>) +<p> + Protected method to assemble the printer destination arguments. +</p><dl> +<dt><i>printer</i> (QPrinter)</dt> +<dd> +reference to the printer to print to +</dd><dt><i>variant</i> (str)</dt> +<dd> +string identifying the print command variant +</dd> +</dl><dl> +<dt>Returns:</dt> +<dd> +assembled printer destination arguments +</dd> +</dl><dl> +<dt>Return Type:</dt> +<dd> +list of str +</dd> +</dl><a NAME="FilePrinter._doPrintFile" ID="FilePrinter._doPrintFile"></a> +<h4>FilePrinter._doPrintFile</h4> +<b>_doPrintFile</b>(<i>printer, fileName, fileDeletePolicy, pageSelectPolicy, pageRange</i>) +<p> + Protected method to print a file +</p><dl> +<dt><i>printer</i> (QPrinter)</dt> +<dd> +reference to the printer to print to +</dd><dt><i>fileName</i> (str)</dt> +<dd> +name (path) of the file to be printed +</dd><dt><i>fileDeletePolicy</i> (int (0 or 1))</dt> +<dd> +policy determining who deletes the file to be + printed (application or system) +</dd><dt><i>pageSelectPolicy</i> (int (0 or 1))</dt> +<dd> +policy determining who selects the pages to be + printed (application or system) +</dd><dt><i>pageRange</i> (str)</dt> +<dd> +string determining the page range(s) to be printed, if + SystemSelectsPages was given for pageSelectPolicy and user chose + Selection in print dialog +</dd> +</dl><dl> +<dt>Returns:</dt> +<dd> +flag indicating successful print job submission +</dd> +</dl><dl> +<dt>Return Type:</dt> +<dd> +bool +</dd> +</dl><a NAME="FilePrinter._jobname" ID="FilePrinter._jobname"></a> +<h4>FilePrinter._jobname</h4> +<b>_jobname</b>(<i>printer, variant</i>) +<p> + Protected method to assemble the jobname arguments. +</p><dl> +<dt><i>printer</i> (QPrinter)</dt> +<dd> +reference to the printer to print to +</dd><dt><i>variant</i> (str)</dt> +<dd> +string identifying the print command variant +</dd> +</dl><dl> +<dt>Returns:</dt> +<dd> +assembled jobname arguments +</dd> +</dl><dl> +<dt>Return Type:</dt> +<dd> +list of str +</dd> +</dl><a NAME="FilePrinter._mediaPageSize" ID="FilePrinter._mediaPageSize"></a> +<h4>FilePrinter._mediaPageSize</h4> +<b>_mediaPageSize</b>(<i>printer</i>) +<p> + Protected method to get the page size argument. +</p><dl> +<dt><i>printer</i> (QPrinter)</dt> +<dd> +reference to the printer to print to +</dd> +</dl><dl> +<dt>Returns:</dt> +<dd> +page size argument +</dd> +</dl><dl> +<dt>Return Type:</dt> +<dd> +str +</dd> +</dl><a NAME="FilePrinter._mediaPaperSource" ID="FilePrinter._mediaPaperSource"></a> +<h4>FilePrinter._mediaPaperSource</h4> +<b>_mediaPaperSource</b>(<i>printer</i>) +<p> + Protected method to get the paper source argument. +</p><dl> +<dt><i>printer</i> (QPrinter)</dt> +<dd> +reference to the printer to print to +</dd> +</dl><dl> +<dt>Returns:</dt> +<dd> +paper source argument +</dd> +</dl><dl> +<dt>Return Type:</dt> +<dd> +str +</dd> +</dl><a NAME="FilePrinter._optionCollateCopies" ID="FilePrinter._optionCollateCopies"></a> +<h4>FilePrinter._optionCollateCopies</h4> +<b>_optionCollateCopies</b>(<i>printer</i>) +<p> + Protected method to assemble the collate copies arguments. +</p><dl> +<dt><i>printer</i> (QPrinter)</dt> +<dd> +reference to the printer to print to +</dd> +</dl><dl> +<dt>Returns:</dt> +<dd> +assembled collate copies arguments +</dd> +</dl><dl> +<dt>Return Type:</dt> +<dd> +list of str +</dd> +</dl><a NAME="FilePrinter._optionCupsProperties" ID="FilePrinter._optionCupsProperties"></a> +<h4>FilePrinter._optionCupsProperties</h4> +<b>_optionCupsProperties</b>(<i>printer</i>) +<p> + Protected method to assemble the CUPS properties arguments. +</p><dl> +<dt><i>printer</i> (QPrinter)</dt> +<dd> +reference to the printer to print to +</dd> +</dl><dl> +<dt>Returns:</dt> +<dd> +assembled CUPS properties arguments +</dd> +</dl><dl> +<dt>Return Type:</dt> +<dd> +list of str +</dd> +</dl><a NAME="FilePrinter._optionDoubleSidedPrinting" ID="FilePrinter._optionDoubleSidedPrinting"></a> +<h4>FilePrinter._optionDoubleSidedPrinting</h4> +<b>_optionDoubleSidedPrinting</b>(<i>printer</i>) +<p> + Protected method to assemble the double sided printing arguments. +</p><dl> +<dt><i>printer</i> (QPrinter)</dt> +<dd> +reference to the printer to print to +</dd> +</dl><dl> +<dt>Returns:</dt> +<dd> +assembled double sided printing arguments +</dd> +</dl><dl> +<dt>Return Type:</dt> +<dd> +list of str +</dd> +</dl><a NAME="FilePrinter._optionMedia" ID="FilePrinter._optionMedia"></a> +<h4>FilePrinter._optionMedia</h4> +<b>_optionMedia</b>(<i>printer</i>) +<p> + Protected method to assemble the print media arguments. +</p><dl> +<dt><i>printer</i> (QPrinter)</dt> +<dd> +reference to the printer to print to +</dd> +</dl><dl> +<dt>Returns:</dt> +<dd> +assembled print media arguments +</dd> +</dl><dl> +<dt>Return Type:</dt> +<dd> +list of str +</dd> +</dl><a NAME="FilePrinter._optionPageOrder" ID="FilePrinter._optionPageOrder"></a> +<h4>FilePrinter._optionPageOrder</h4> +<b>_optionPageOrder</b>(<i>printer</i>) +<p> + Protected method to assemble the page order arguments. +</p><dl> +<dt><i>printer</i> (QPrinter)</dt> +<dd> +reference to the printer to print to +</dd> +</dl><dl> +<dt>Returns:</dt> +<dd> +assembled page order arguments +</dd> +</dl><dl> +<dt>Return Type:</dt> +<dd> +list of str +</dd> +</dl><a NAME="FilePrinter._pages" ID="FilePrinter._pages"></a> +<h4>FilePrinter._pages</h4> +<b>_pages</b>(<i>printer, pageSelectPolicy, pageRange, useCupsOptions, variant</i>) +<p> + Protected method to assemble the page range(s) arguments. +</p><dl> +<dt><i>printer</i> (QPrinter)</dt> +<dd> +reference to the printer to print to +</dd><dt><i>pageSelectPolicy</i> (int (0 or 1))</dt> +<dd> +policy determining who selects the pages to be + printed (application or system) +</dd><dt><i>pageRange</i> (str)</dt> +<dd> +string determining the page range(s) to be printed, if + SystemSelectsPages was given for pageSelectPolicy and user chose + Selection in print dialog +</dd><dt><i>useCupsOptions</i> (bool)</dt> +<dd> +flag indicating to assemble the arguments for + CUPS +</dd><dt><i>variant</i> (str)</dt> +<dd> +string identifying the print command variant +</dd> +</dl><dl> +<dt>Returns:</dt> +<dd> +assembled page range(s) arguments +</dd> +</dl><dl> +<dt>Return Type:</dt> +<dd> +list of str +</dd> +</dl><a NAME="FilePrinter._printArguments" ID="FilePrinter._printArguments"></a> +<h4>FilePrinter._printArguments</h4> +<b>_printArguments</b>(<i>printer, fileDeletePolicy, pageSelectPolicy, useCupsOptions, pageRange, variant</i>) +<p> + Protected method to assemble the command line arguments for the print + command. +</p><dl> +<dt><i>printer</i> (QPrinter)</dt> +<dd> +reference to the printer to print to +</dd><dt><i>fileDeletePolicy</i> (int (0 or 1))</dt> +<dd> +policy determining who deletes the file to be + printed (application or system) +</dd><dt><i>pageSelectPolicy</i> (int (0 or 1))</dt> +<dd> +policy determining who selects the pages to be + printed (application or system) +</dd><dt><i>useCupsOptions</i> (bool)</dt> +<dd> +flag indicating to assemble the arguments for + CUPS +</dd><dt><i>pageRange</i> (str)</dt> +<dd> +string determining the page range(s) to be printed, if + SystemSelectsPages was given for pageSelectPolicy and user chose + Selection in print dialog +</dd><dt><i>variant</i> (str)</dt> +<dd> +string identifying the print command variant +</dd> +</dl><dl> +<dt>Returns:</dt> +<dd> +assembled command line arguments for the print command +</dd> +</dl><dl> +<dt>Return Type:</dt> +<dd> +list of str +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /><hr /> +<a NAME="isCupsAvailable" ID="isCupsAvailable"></a> +<h2>isCupsAvailable</h2> +<b>isCupsAvailable</b>(<i></i>) +<p> + Static method to test the availability of CUPS. +</p><dl> +<dt>Returns:</dt> +<dd> +flag indicating the availability of CUPS +</dd> +</dl><dl> +<dt>Return Type:</dt> +<dd> +bool +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /><hr /> +<a NAME="printFile" ID="printFile"></a> +<h2>printFile</h2> +<b>printFile</b>(<i>printer, fileName, fileDeletePolicy=FilePrinter.ApplicationDeletesFiles, pageSelectPolicy=FilePrinter.ApplicationSelectsPages, pageRange=""</i>) +<p> + Static method to print a file. +</p><p> + Note: Only CUPS and LPR on *nix systems is supported. +</p><dl> +<dt><i>printer</i> (QPrinter)</dt> +<dd> +reference to the printer to print to +</dd><dt><i>fileName</i> (str)</dt> +<dd> +name (path) of the file to be printed +</dd><dt><i>fileDeletePolicy</i> (int (0 or 1))</dt> +<dd> +policy determining who deletes the file to be + printed (application or system) +</dd><dt><i>pageSelectPolicy</i> (int (0 or 1))</dt> +<dd> +policy determining who selects the pages to be + printed (application or system) +</dd><dt><i>pageRange</i> (str)</dt> +<dd> +string determining the page range(s) to be printed, if + SystemSelectsPages was given for pageSelectPolicy and user chose + Selection in print dialog +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file
--- a/Documentation/Source/eric6.WebBrowser.WebBrowserTabWidget.html Fri Sep 30 19:52:16 2016 +0200 +++ b/Documentation/Source/eric6.WebBrowser.WebBrowserTabWidget.html Fri Sep 30 19:52:42 2016 +0200 @@ -128,8 +128,11 @@ <td><a href="#WebBrowserTabWidget.__pathSelected">__pathSelected</a></td> <td>Private slot called when a URL is selected from the completer.</td> </tr><tr> -<td><a href="#WebBrowserTabWidget.__pdfGenerated">__pdfGenerated</a></td> -<td>Private slot handling the generated PDF data.</td> +<td><a href="#WebBrowserTabWidget.__pdfGeneratedForPrinting">__pdfGeneratedForPrinting</a></td> +<td>Private slot to print the generated PDF data.</td> +</tr><tr> +<td><a href="#WebBrowserTabWidget.__pdfGeneratedForSave">__pdfGeneratedForSave</a></td> +<td>Private slot to save the generated PDF data to a file.</td> </tr><tr> <td><a href="#WebBrowserTabWidget.__recentlyAudibleChanged">__recentlyAudibleChanged</a></td> <td>Private slot to react on the audible state of a page.</td> @@ -373,11 +376,21 @@ <dd> path to be shown (string) </dd> -</dl><a NAME="WebBrowserTabWidget.__pdfGenerated" ID="WebBrowserTabWidget.__pdfGenerated"></a> -<h4>WebBrowserTabWidget.__pdfGenerated</h4> -<b>__pdfGenerated</b>(<i>filePath, pdfData</i>) +</dl><a NAME="WebBrowserTabWidget.__pdfGeneratedForPrinting" ID="WebBrowserTabWidget.__pdfGeneratedForPrinting"></a> +<h4>WebBrowserTabWidget.__pdfGeneratedForPrinting</h4> +<b>__pdfGeneratedForPrinting</b>(<i>pdfData</i>) <p> - Private slot handling the generated PDF data. + Private slot to print the generated PDF data. +</p><dl> +<dt><i>pdfData</i> (QByteArray)</dt> +<dd> +generated PDF document +</dd> +</dl><a NAME="WebBrowserTabWidget.__pdfGeneratedForSave" ID="WebBrowserTabWidget.__pdfGeneratedForSave"></a> +<h4>WebBrowserTabWidget.__pdfGeneratedForSave</h4> +<b>__pdfGeneratedForSave</b>(<i>filePath, pdfData</i>) +<p> + Private slot to save the generated PDF data to a file. </p><dl> <dt><i>filePath</i> (str)</dt> <dd>
--- a/Documentation/Source/index-eric6.WebBrowser.Tools.html Fri Sep 30 19:52:16 2016 +0200 +++ b/Documentation/Source/index-eric6.WebBrowser.Tools.html Fri Sep 30 19:52:42 2016 +0200 @@ -31,6 +31,9 @@ <td><a href="eric6.WebBrowser.Tools.DelayedFileWatcher.html">DelayedFileWatcher</a></td> <td>Module implementing a file system watcher with a delay.</td> </tr><tr> +<td><a href="eric6.WebBrowser.Tools.FilePrinter.html">FilePrinter</a></td> +<td>Module implementing an object for printing of files.</td> +</tr><tr> <td><a href="eric6.WebBrowser.Tools.PrintToPdfDialog.html">PrintToPdfDialog</a></td> <td>Module implementing a dialog to enter the data for printing a web page to PDF.</td> </tr><tr>