Snapshot: updated source docu.

Fri, 05 Apr 2019 19:26:16 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Fri, 05 Apr 2019 19:26:16 +0200
changeset 6927
50c60a7a8bab
parent 6926
519145f2ba79
child 6928
f8df20137c93

Snapshot: updated source docu.

APIs/Python3/eric6.api file | annotate | diff | comparison | revisions
APIs/Python3/eric6.bas file | annotate | diff | comparison | revisions
Documentation/Help/source.qch file | annotate | diff | comparison | revisions
Documentation/Help/source.qhp file | annotate | diff | comparison | revisions
Documentation/Source/eric6.Globals.__init__.html file | annotate | diff | comparison | revisions
Documentation/Source/eric6.Snapshot.SnapWidget.html file | annotate | diff | comparison | revisions
Documentation/Source/eric6.Snapshot.SnapshotDefaultGrabber.html file | annotate | diff | comparison | revisions
Documentation/Source/eric6.Snapshot.SnapshotModes.html file | annotate | diff | comparison | revisions
Documentation/Source/eric6.Snapshot.SnapshotWaylandGrabber.html file | annotate | diff | comparison | revisions
Documentation/Source/index-eric6.Snapshot.html file | annotate | diff | comparison | revisions
--- a/APIs/Python3/eric6.api	Fri Apr 05 19:19:43 2019 +0200
+++ b/APIs/Python3/eric6.api	Fri Apr 05 19:26:16 2019 +0200
@@ -1791,8 +1791,11 @@
 eric6.Globals.getPythonModulesDirectory?4()
 eric6.Globals.getQtBinariesPath?4()
 eric6.Globals.getWebBrowserSupport?4()
+eric6.Globals.isGnomeDesktop?4()
+eric6.Globals.isKdeDesktop?4()
 eric6.Globals.isLinuxPlatform?4()
 eric6.Globals.isMacPlatform?4()
+eric6.Globals.isWaylandSession?4()
 eric6.Globals.isWindowsPlatform?4()
 eric6.Globals.qVersionTuple?4()
 eric6.Globals.recentNameBreakpointConditions?7
@@ -1802,6 +1805,7 @@
 eric6.Globals.recentNameHosts?7
 eric6.Globals.recentNameMultiProject?7
 eric6.Globals.recentNameProject?7
+eric6.Globals.sessionType?4()
 eric6.Globals.setConfigDir?4(d)
 eric6.Globals.settingsNameGlobal?7
 eric6.Globals.settingsNameOrganization?7
@@ -9500,19 +9504,19 @@
 eric6.QScintilla.TypingCompleters.getCompleter?4(language, editor, parent=None)
 eric6.QScintilla.ZoomDialog.ZoomDialog.getZoomSize?4()
 eric6.QScintilla.ZoomDialog.ZoomDialog?1(zoom, parent, name=None, modal=False)
-eric6.Snapshot.SnapWidget.SnapWidget.ModeEllipse?7
-eric6.Snapshot.SnapWidget.SnapWidget.ModeFreehand?7
-eric6.Snapshot.SnapWidget.SnapWidget.ModeFullscreen?7
-eric6.Snapshot.SnapWidget.SnapWidget.ModeRectangle?7
-eric6.Snapshot.SnapWidget.SnapWidget.ModeScreen?7
 eric6.Snapshot.SnapWidget.SnapWidget.closeEvent?4(evt)
-eric6.Snapshot.SnapWidget.SnapWidget.eventFilter?4(obj, evt)
 eric6.Snapshot.SnapWidget.SnapWidget.on_copyButton_clicked?4()
 eric6.Snapshot.SnapWidget.SnapWidget.on_copyPreviewButton_clicked?4()
+eric6.Snapshot.SnapWidget.SnapWidget.on_modeCombo_currentIndexChanged?4(index)
 eric6.Snapshot.SnapWidget.SnapWidget.on_saveButton_clicked?4()
 eric6.Snapshot.SnapWidget.SnapWidget.on_takeButton_clicked?4()
 eric6.Snapshot.SnapWidget.SnapWidget.resizeEvent?4(evt)
 eric6.Snapshot.SnapWidget.SnapWidget?1(parent=None)
+eric6.Snapshot.SnapshotDefaultGrabber.SnapshotDefaultGrabber.eventFilter?4(obj, evt)
+eric6.Snapshot.SnapshotDefaultGrabber.SnapshotDefaultGrabber.grab?4(mode, delay=0, captureCursor=False, captureDecorations=False)
+eric6.Snapshot.SnapshotDefaultGrabber.SnapshotDefaultGrabber.grabbed?7
+eric6.Snapshot.SnapshotDefaultGrabber.SnapshotDefaultGrabber.supportedModes?4()
+eric6.Snapshot.SnapshotDefaultGrabber.SnapshotDefaultGrabber?1(parent=None)
 eric6.Snapshot.SnapshotFreehandGrabber.SnapshotFreehandGrabber.grabbed?7
 eric6.Snapshot.SnapshotFreehandGrabber.SnapshotFreehandGrabber.keyPressEvent?4(evt)
 eric6.Snapshot.SnapshotFreehandGrabber.SnapshotFreehandGrabber.mouseDoubleClickEvent?4(evt)
@@ -9522,6 +9526,12 @@
 eric6.Snapshot.SnapshotFreehandGrabber.SnapshotFreehandGrabber.paintEvent?4(evt)
 eric6.Snapshot.SnapshotFreehandGrabber.SnapshotFreehandGrabber?1()
 eric6.Snapshot.SnapshotFreehandGrabber.drawPolygon?4(painter, polygon, outline, fill=None)
+eric6.Snapshot.SnapshotModes.SnapshotModes.Ellipse?7
+eric6.Snapshot.SnapshotModes.SnapshotModes.Freehand?7
+eric6.Snapshot.SnapshotModes.SnapshotModes.Fullscreen?7
+eric6.Snapshot.SnapshotModes.SnapshotModes.Rectangle?7
+eric6.Snapshot.SnapshotModes.SnapshotModes.SelectedScreen?7
+eric6.Snapshot.SnapshotModes.SnapshotModes.SelectedWindow?7
 eric6.Snapshot.SnapshotPreview.SnapshotPreview.mouseMoveEvent?4(evt)
 eric6.Snapshot.SnapshotPreview.SnapshotPreview.mousePressEvent?4(evt)
 eric6.Snapshot.SnapshotPreview.SnapshotPreview.mouseReleaseEvent?4(evt)
@@ -9548,6 +9558,10 @@
 eric6.Snapshot.SnapshotTimer.SnapshotTimer.stop?4()
 eric6.Snapshot.SnapshotTimer.SnapshotTimer.timeout?7
 eric6.Snapshot.SnapshotTimer.SnapshotTimer?1()
+eric6.Snapshot.SnapshotWaylandGrabber.SnapshotWaylandGrabber.grab?4(mode, delay=0, captureCursor=False, captureDecorations=False)
+eric6.Snapshot.SnapshotWaylandGrabber.SnapshotWaylandGrabber.grabbed?7
+eric6.Snapshot.SnapshotWaylandGrabber.SnapshotWaylandGrabber.supportedModes?4()
+eric6.Snapshot.SnapshotWaylandGrabber.SnapshotWaylandGrabber?1(parent=None)
 eric6.SqlBrowser.SqlBrowser.SqlBrowser?1(connections=None, parent=None)
 eric6.SqlBrowser.SqlBrowserWidget.SqlBrowserWidget.addConnection?4(driver, dbName, user, password, host, port)
 eric6.SqlBrowser.SqlBrowserWidget.SqlBrowserWidget.addConnectionByDialog?4()
--- a/APIs/Python3/eric6.bas	Fri Apr 05 19:19:43 2019 +0200
+++ b/APIs/Python3/eric6.bas	Fri Apr 05 19:26:16 2019 +0200
@@ -831,10 +831,13 @@
 SiteInfoDialog QDialog Ui_SiteInfoDialog
 SiteInfoWidget QMenu
 SnapWidget QWidget Ui_SnapWidget
+SnapshotDefaultGrabber QObject
 SnapshotFreehandGrabber QWidget
+SnapshotModes Enum
 SnapshotPreview QLabel
 SnapshotRegionGrabber QWidget
 SnapshotTimer QWidget
+SnapshotWaylandGrabber QObject
 SortOptionsDialog QDialog Ui_SortOptionsDialog
 SpecialArrayElementVarItem SpecialVarItem
 SpecialVarItem VariableItem
Binary file Documentation/Help/source.qch has changed
--- a/Documentation/Help/source.qhp	Fri Apr 05 19:19:43 2019 +0200
+++ b/Documentation/Help/source.qhp	Fri Apr 05 19:26:16 2019 +0200
@@ -1105,10 +1105,13 @@
           </section>
           <section title="eric6.Snapshot" ref="index-eric6.Snapshot.html">
             <section title="eric6.Snapshot.SnapWidget" ref="eric6.Snapshot.SnapWidget.html" />
+            <section title="eric6.Snapshot.SnapshotDefaultGrabber" ref="eric6.Snapshot.SnapshotDefaultGrabber.html" />
             <section title="eric6.Snapshot.SnapshotFreehandGrabber" ref="eric6.Snapshot.SnapshotFreehandGrabber.html" />
+            <section title="eric6.Snapshot.SnapshotModes" ref="eric6.Snapshot.SnapshotModes.html" />
             <section title="eric6.Snapshot.SnapshotPreview" ref="eric6.Snapshot.SnapshotPreview.html" />
             <section title="eric6.Snapshot.SnapshotRegionGrabber" ref="eric6.Snapshot.SnapshotRegionGrabber.html" />
             <section title="eric6.Snapshot.SnapshotTimer" ref="eric6.Snapshot.SnapshotTimer.html" />
+            <section title="eric6.Snapshot.SnapshotWaylandGrabber" ref="eric6.Snapshot.SnapshotWaylandGrabber.html" />
           </section>
           <section title="eric6.SqlBrowser" ref="index-eric6.SqlBrowser.html">
             <section title="eric6.SqlBrowser.SqlBrowser" ref="eric6.SqlBrowser.SqlBrowser.html" />
@@ -14801,27 +14804,34 @@
       <keyword name="SnapWidget.__autoIncFilename" id="SnapWidget.__autoIncFilename" ref="eric6.Snapshot.SnapWidget.html#SnapWidget.__autoIncFilename" />
       <keyword name="SnapWidget.__captured" id="SnapWidget.__captured" ref="eric6.Snapshot.SnapWidget.html#SnapWidget.__captured" />
       <keyword name="SnapWidget.__dragSnapshot" id="SnapWidget.__dragSnapshot" ref="eric6.Snapshot.SnapWidget.html#SnapWidget.__dragSnapshot" />
-      <keyword name="SnapWidget.__grabEllipse" id="SnapWidget.__grabEllipse" ref="eric6.Snapshot.SnapWidget.html#SnapWidget.__grabEllipse" />
-      <keyword name="SnapWidget.__grabFreehand" id="SnapWidget.__grabFreehand" ref="eric6.Snapshot.SnapWidget.html#SnapWidget.__grabFreehand" />
-      <keyword name="SnapWidget.__grabRectangle" id="SnapWidget.__grabRectangle" ref="eric6.Snapshot.SnapWidget.html#SnapWidget.__grabRectangle" />
-      <keyword name="SnapWidget.__grabTimerTimeout" id="SnapWidget.__grabTimerTimeout" ref="eric6.Snapshot.SnapWidget.html#SnapWidget.__grabTimerTimeout" />
       <keyword name="SnapWidget.__initFileFilters" id="SnapWidget.__initFileFilters" ref="eric6.Snapshot.SnapWidget.html#SnapWidget.__initFileFilters" />
       <keyword name="SnapWidget.__initShortcuts" id="SnapWidget.__initShortcuts" ref="eric6.Snapshot.SnapWidget.html#SnapWidget.__initShortcuts" />
-      <keyword name="SnapWidget.__performGrab" id="SnapWidget.__performGrab" ref="eric6.Snapshot.SnapWidget.html#SnapWidget.__performGrab" />
       <keyword name="SnapWidget.__quickSave" id="SnapWidget.__quickSave" ref="eric6.Snapshot.SnapWidget.html#SnapWidget.__quickSave" />
       <keyword name="SnapWidget.__redisplay" id="SnapWidget.__redisplay" ref="eric6.Snapshot.SnapWidget.html#SnapWidget.__redisplay" />
       <keyword name="SnapWidget.__saveImage" id="SnapWidget.__saveImage" ref="eric6.Snapshot.SnapWidget.html#SnapWidget.__saveImage" />
-      <keyword name="SnapWidget.__startUndelayedGrab" id="SnapWidget.__startUndelayedGrab" ref="eric6.Snapshot.SnapWidget.html#SnapWidget.__startUndelayedGrab" />
       <keyword name="SnapWidget.__updateCaption" id="SnapWidget.__updateCaption" ref="eric6.Snapshot.SnapWidget.html#SnapWidget.__updateCaption" />
       <keyword name="SnapWidget.__updatePreview" id="SnapWidget.__updatePreview" ref="eric6.Snapshot.SnapWidget.html#SnapWidget.__updatePreview" />
       <keyword name="SnapWidget.closeEvent" id="SnapWidget.closeEvent" ref="eric6.Snapshot.SnapWidget.html#SnapWidget.closeEvent" />
-      <keyword name="SnapWidget.eventFilter" id="SnapWidget.eventFilter" ref="eric6.Snapshot.SnapWidget.html#SnapWidget.eventFilter" />
       <keyword name="SnapWidget.on_copyButton_clicked" id="SnapWidget.on_copyButton_clicked" ref="eric6.Snapshot.SnapWidget.html#SnapWidget.on_copyButton_clicked" />
       <keyword name="SnapWidget.on_copyPreviewButton_clicked" id="SnapWidget.on_copyPreviewButton_clicked" ref="eric6.Snapshot.SnapWidget.html#SnapWidget.on_copyPreviewButton_clicked" />
+      <keyword name="SnapWidget.on_modeCombo_currentIndexChanged" id="SnapWidget.on_modeCombo_currentIndexChanged" ref="eric6.Snapshot.SnapWidget.html#SnapWidget.on_modeCombo_currentIndexChanged" />
       <keyword name="SnapWidget.on_saveButton_clicked" id="SnapWidget.on_saveButton_clicked" ref="eric6.Snapshot.SnapWidget.html#SnapWidget.on_saveButton_clicked" />
       <keyword name="SnapWidget.on_takeButton_clicked" id="SnapWidget.on_takeButton_clicked" ref="eric6.Snapshot.SnapWidget.html#SnapWidget.on_takeButton_clicked" />
       <keyword name="SnapWidget.resizeEvent" id="SnapWidget.resizeEvent" ref="eric6.Snapshot.SnapWidget.html#SnapWidget.resizeEvent" />
       <keyword name="Snapshot (Package)" id="Snapshot (Package)" ref="index-eric6.Snapshot.html" />
+      <keyword name="SnapshotDefaultGrabber" id="SnapshotDefaultGrabber" ref="eric6.Snapshot.SnapshotDefaultGrabber.html#SnapshotDefaultGrabber" />
+      <keyword name="SnapshotDefaultGrabber (Constructor)" id="SnapshotDefaultGrabber (Constructor)" ref="eric6.Snapshot.SnapshotDefaultGrabber.html#SnapshotDefaultGrabber.__init__" />
+      <keyword name="SnapshotDefaultGrabber (Module)" id="SnapshotDefaultGrabber (Module)" ref="eric6.Snapshot.SnapshotDefaultGrabber.html" />
+      <keyword name="SnapshotDefaultGrabber.__captured" id="SnapshotDefaultGrabber.__captured" ref="eric6.Snapshot.SnapshotDefaultGrabber.html#SnapshotDefaultGrabber.__captured" />
+      <keyword name="SnapshotDefaultGrabber.__grabEllipse" id="SnapshotDefaultGrabber.__grabEllipse" ref="eric6.Snapshot.SnapshotDefaultGrabber.html#SnapshotDefaultGrabber.__grabEllipse" />
+      <keyword name="SnapshotDefaultGrabber.__grabFreehand" id="SnapshotDefaultGrabber.__grabFreehand" ref="eric6.Snapshot.SnapshotDefaultGrabber.html#SnapshotDefaultGrabber.__grabFreehand" />
+      <keyword name="SnapshotDefaultGrabber.__grabRectangle" id="SnapshotDefaultGrabber.__grabRectangle" ref="eric6.Snapshot.SnapshotDefaultGrabber.html#SnapshotDefaultGrabber.__grabRectangle" />
+      <keyword name="SnapshotDefaultGrabber.__grabTimerTimeout" id="SnapshotDefaultGrabber.__grabTimerTimeout" ref="eric6.Snapshot.SnapshotDefaultGrabber.html#SnapshotDefaultGrabber.__grabTimerTimeout" />
+      <keyword name="SnapshotDefaultGrabber.__performGrab" id="SnapshotDefaultGrabber.__performGrab" ref="eric6.Snapshot.SnapshotDefaultGrabber.html#SnapshotDefaultGrabber.__performGrab" />
+      <keyword name="SnapshotDefaultGrabber.__startUndelayedGrab" id="SnapshotDefaultGrabber.__startUndelayedGrab" ref="eric6.Snapshot.SnapshotDefaultGrabber.html#SnapshotDefaultGrabber.__startUndelayedGrab" />
+      <keyword name="SnapshotDefaultGrabber.eventFilter" id="SnapshotDefaultGrabber.eventFilter" ref="eric6.Snapshot.SnapshotDefaultGrabber.html#SnapshotDefaultGrabber.eventFilter" />
+      <keyword name="SnapshotDefaultGrabber.grab" id="SnapshotDefaultGrabber.grab" ref="eric6.Snapshot.SnapshotDefaultGrabber.html#SnapshotDefaultGrabber.grab" />
+      <keyword name="SnapshotDefaultGrabber.supportedModes" id="SnapshotDefaultGrabber.supportedModes" ref="eric6.Snapshot.SnapshotDefaultGrabber.html#SnapshotDefaultGrabber.supportedModes" />
       <keyword name="SnapshotFreehandGrabber" id="SnapshotFreehandGrabber" ref="eric6.Snapshot.SnapshotFreehandGrabber.html#SnapshotFreehandGrabber" />
       <keyword name="SnapshotFreehandGrabber (Constructor)" id="SnapshotFreehandGrabber (Constructor)" ref="eric6.Snapshot.SnapshotFreehandGrabber.html#SnapshotFreehandGrabber.__init__" />
       <keyword name="SnapshotFreehandGrabber (Module)" id="SnapshotFreehandGrabber (Module)" ref="eric6.Snapshot.SnapshotFreehandGrabber.html" />
@@ -14833,6 +14843,8 @@
       <keyword name="SnapshotFreehandGrabber.mousePressEvent" id="SnapshotFreehandGrabber.mousePressEvent" ref="eric6.Snapshot.SnapshotFreehandGrabber.html#SnapshotFreehandGrabber.mousePressEvent" />
       <keyword name="SnapshotFreehandGrabber.mouseReleaseEvent" id="SnapshotFreehandGrabber.mouseReleaseEvent" ref="eric6.Snapshot.SnapshotFreehandGrabber.html#SnapshotFreehandGrabber.mouseReleaseEvent" />
       <keyword name="SnapshotFreehandGrabber.paintEvent" id="SnapshotFreehandGrabber.paintEvent" ref="eric6.Snapshot.SnapshotFreehandGrabber.html#SnapshotFreehandGrabber.paintEvent" />
+      <keyword name="SnapshotModes" id="SnapshotModes" ref="eric6.Snapshot.SnapshotModes.html#SnapshotModes" />
+      <keyword name="SnapshotModes (Module)" id="SnapshotModes (Module)" ref="eric6.Snapshot.SnapshotModes.html" />
       <keyword name="SnapshotPreview" id="SnapshotPreview" ref="eric6.Snapshot.SnapshotPreview.html#SnapshotPreview" />
       <keyword name="SnapshotPreview (Constructor)" id="SnapshotPreview (Constructor)" ref="eric6.Snapshot.SnapshotPreview.html#SnapshotPreview.__init__" />
       <keyword name="SnapshotPreview (Module)" id="SnapshotPreview (Module)" ref="eric6.Snapshot.SnapshotPreview.html" />
@@ -14864,6 +14876,18 @@
       <keyword name="SnapshotTimer.paintEvent" id="SnapshotTimer.paintEvent" ref="eric6.Snapshot.SnapshotTimer.html#SnapshotTimer.paintEvent" />
       <keyword name="SnapshotTimer.start" id="SnapshotTimer.start" ref="eric6.Snapshot.SnapshotTimer.html#SnapshotTimer.start" />
       <keyword name="SnapshotTimer.stop" id="SnapshotTimer.stop" ref="eric6.Snapshot.SnapshotTimer.html#SnapshotTimer.stop" />
+      <keyword name="SnapshotWaylandGrabber" id="SnapshotWaylandGrabber" ref="eric6.Snapshot.SnapshotWaylandGrabber.html#SnapshotWaylandGrabber" />
+      <keyword name="SnapshotWaylandGrabber (Constructor)" id="SnapshotWaylandGrabber (Constructor)" ref="eric6.Snapshot.SnapshotWaylandGrabber.html#SnapshotWaylandGrabber.__init__" />
+      <keyword name="SnapshotWaylandGrabber (Module)" id="SnapshotWaylandGrabber (Module)" ref="eric6.Snapshot.SnapshotWaylandGrabber.html" />
+      <keyword name="SnapshotWaylandGrabber.__checkReply" id="SnapshotWaylandGrabber.__checkReply" ref="eric6.Snapshot.SnapshotWaylandGrabber.html#SnapshotWaylandGrabber.__checkReply" />
+      <keyword name="SnapshotWaylandGrabber.__grabFullscreen" id="SnapshotWaylandGrabber.__grabFullscreen" ref="eric6.Snapshot.SnapshotWaylandGrabber.html#SnapshotWaylandGrabber.__grabFullscreen" />
+      <keyword name="SnapshotWaylandGrabber.__grabRectangle" id="SnapshotWaylandGrabber.__grabRectangle" ref="eric6.Snapshot.SnapshotWaylandGrabber.html#SnapshotWaylandGrabber.__grabRectangle" />
+      <keyword name="SnapshotWaylandGrabber.__grabSelectedScreen" id="SnapshotWaylandGrabber.__grabSelectedScreen" ref="eric6.Snapshot.SnapshotWaylandGrabber.html#SnapshotWaylandGrabber.__grabSelectedScreen" />
+      <keyword name="SnapshotWaylandGrabber.__grabSelectedWindow" id="SnapshotWaylandGrabber.__grabSelectedWindow" ref="eric6.Snapshot.SnapshotWaylandGrabber.html#SnapshotWaylandGrabber.__grabSelectedWindow" />
+      <keyword name="SnapshotWaylandGrabber.__performGrab" id="SnapshotWaylandGrabber.__performGrab" ref="eric6.Snapshot.SnapshotWaylandGrabber.html#SnapshotWaylandGrabber.__performGrab" />
+      <keyword name="SnapshotWaylandGrabber.__temporaryFilename" id="SnapshotWaylandGrabber.__temporaryFilename" ref="eric6.Snapshot.SnapshotWaylandGrabber.html#SnapshotWaylandGrabber.__temporaryFilename" />
+      <keyword name="SnapshotWaylandGrabber.grab" id="SnapshotWaylandGrabber.grab" ref="eric6.Snapshot.SnapshotWaylandGrabber.html#SnapshotWaylandGrabber.grab" />
+      <keyword name="SnapshotWaylandGrabber.supportedModes" id="SnapshotWaylandGrabber.supportedModes" ref="eric6.Snapshot.SnapshotWaylandGrabber.html#SnapshotWaylandGrabber.supportedModes" />
       <keyword name="SortOptionsDialog" id="SortOptionsDialog" ref="eric6.QScintilla.SortOptionsDialog.html#SortOptionsDialog" />
       <keyword name="SortOptionsDialog (Constructor)" id="SortOptionsDialog (Constructor)" ref="eric6.QScintilla.SortOptionsDialog.html#SortOptionsDialog.__init__" />
       <keyword name="SortOptionsDialog (Module)" id="SortOptionsDialog (Module)" ref="eric6.QScintilla.SortOptionsDialog.html" />
@@ -19449,12 +19473,15 @@
       <keyword name="isCupsAvailable" id="isCupsAvailable" ref="eric6.WebBrowser.Tools.FilePrinter.html#isCupsAvailable" />
       <keyword name="isDrive" id="isDrive" ref="eric6.Utilities.__init__.html#isDrive" />
       <keyword name="isExecutable" id="isExecutable" ref="eric6.Utilities.__init__.html#isExecutable" />
+      <keyword name="isGnomeDesktop" id="isGnomeDesktop" ref="eric6.Globals.__init__.html#isGnomeDesktop" />
+      <keyword name="isKdeDesktop" id="isKdeDesktop" ref="eric6.Globals.__init__.html#isKdeDesktop" />
       <keyword name="isLinuxPlatform" id="isLinuxPlatform" ref="eric6.Globals.__init__.html#isLinuxPlatform" />
       <keyword name="isMacPlatform" id="isMacPlatform" ref="eric6.Globals.__init__.html#isMacPlatform" />
       <keyword name="isTextFile" id="isTextFile" ref="eric6.Utilities.MimeTypes.html#isTextFile" />
       <keyword name="isValidAddress" id="isValidAddress" ref="eric6.E5Network.__init__.html#isValidAddress" />
       <keyword name="isValidIPv4Address" id="isValidIPv4Address" ref="eric6.E5Network.__init__.html#isValidIPv4Address" />
       <keyword name="isValidIPv6Address" id="isValidIPv6Address" ref="eric6.E5Network.__init__.html#isValidIPv6Address" />
+      <keyword name="isWaylandSession" id="isWaylandSession" ref="eric6.Globals.__init__.html#isWaylandSession" />
       <keyword name="isWindowsPlatform" id="isWindowsPlatform" ref="eric6.Globals.__init__.html#isWindowsPlatform" />
       <keyword name="is_stream_binary_plist" id="is_stream_binary_plist" ref="eric6.Utilities.binplistlib.html#is_stream_binary_plist" />
       <keyword name="is_string_literal" id="is_string_literal" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.pycodestyle.html#is_string_literal" />
@@ -19645,6 +19672,7 @@
       <keyword name="schemeFromProxyType" id="schemeFromProxyType" ref="eric6.E5Network.E5NetworkProxyFactory.html#schemeFromProxyType" />
       <keyword name="scrollToAnchor" id="scrollToAnchor" ref="eric6.WebBrowser.Tools.Scripts.html#scrollToAnchor" />
       <keyword name="sendPostData" id="sendPostData" ref="eric6.WebBrowser.Tools.Scripts.html#sendPostData" />
+      <keyword name="sessionType" id="sessionType" ref="eric6.Globals.__init__.html#sessionType" />
       <keyword name="setActions" id="setActions" ref="eric6.Preferences.Shortcuts.html#setActions" />
       <keyword name="setConda" id="setConda" ref="eric6.Preferences.__init__.html#setConda" />
       <keyword name="setConfigDir" id="setConfigDir" ref="eric6.Globals.__init__.html#setConfigDir" />
@@ -20691,10 +20719,13 @@
       <file>eric6.QScintilla.TypingCompleters.__init__.html</file>
       <file>eric6.QScintilla.ZoomDialog.html</file>
       <file>eric6.Snapshot.SnapWidget.html</file>
+      <file>eric6.Snapshot.SnapshotDefaultGrabber.html</file>
       <file>eric6.Snapshot.SnapshotFreehandGrabber.html</file>
+      <file>eric6.Snapshot.SnapshotModes.html</file>
       <file>eric6.Snapshot.SnapshotPreview.html</file>
       <file>eric6.Snapshot.SnapshotRegionGrabber.html</file>
       <file>eric6.Snapshot.SnapshotTimer.html</file>
+      <file>eric6.Snapshot.SnapshotWaylandGrabber.html</file>
       <file>eric6.SqlBrowser.SqlBrowser.html</file>
       <file>eric6.SqlBrowser.SqlBrowserWidget.html</file>
       <file>eric6.SqlBrowser.SqlConnectionDialog.html</file>
--- a/Documentation/Source/eric6.Globals.__init__.html	Fri Apr 05 19:19:43 2019 +0200
+++ b/Documentation/Source/eric6.Globals.__init__.html	Fri Apr 05 19:26:16 2019 +0200
@@ -61,18 +61,30 @@
 <td><a href="#getWebBrowserSupport">getWebBrowserSupport</a></td>
 <td>Module function to determine the supported web browser variant.</td>
 </tr><tr>
+<td><a href="#isGnomeDesktop">isGnomeDesktop</a></td>
+<td>Function to check, if the current session is a Gnome desktop (Linux only).</td>
+</tr><tr>
+<td><a href="#isKdeDesktop">isKdeDesktop</a></td>
+<td>Function to check, if the current session is a KDE desktop (Linux only).</td>
+</tr><tr>
 <td><a href="#isLinuxPlatform">isLinuxPlatform</a></td>
 <td>Function to check, if this is a Linux platform.</td>
 </tr><tr>
 <td><a href="#isMacPlatform">isMacPlatform</a></td>
 <td>Function to check, if this is a Mac platform.</td>
 </tr><tr>
+<td><a href="#isWaylandSession">isWaylandSession</a></td>
+<td>Function to check, if the current session is a wayland session.</td>
+</tr><tr>
 <td><a href="#isWindowsPlatform">isWindowsPlatform</a></td>
 <td>Function to check, if this is a Windows platform.</td>
 </tr><tr>
 <td><a href="#qVersionTuple">qVersionTuple</a></td>
 <td>Module function to get the Qt version as a tuple.</td>
 </tr><tr>
+<td><a href="#sessionType">sessionType</a></td>
+<td>Function to determine the name of the running session (Linux only).</td>
+</tr><tr>
 <td><a href="#setConfigDir">setConfigDir</a></td>
 <td>Module function to set the name of the directory storing the config data.</td>
 </tr><tr>
@@ -251,6 +263,42 @@
 </dl>
 <div align="right"><a href="#top">Up</a></div>
 <hr /><hr />
+<a NAME="isGnomeDesktop" ID="isGnomeDesktop"></a>
+<h2>isGnomeDesktop</h2>
+<b>isGnomeDesktop</b>(<i></i>)
+<p>
+    Function to check, if the current session is a Gnome desktop (Linux only).
+</p><dl>
+<dt>Returns:</dt>
+<dd>
+flag indicating a Gnome desktop
+</dd>
+</dl><dl>
+<dt>Return Type:</dt>
+<dd>
+bool
+</dd>
+</dl>
+<div align="right"><a href="#top">Up</a></div>
+<hr /><hr />
+<a NAME="isKdeDesktop" ID="isKdeDesktop"></a>
+<h2>isKdeDesktop</h2>
+<b>isKdeDesktop</b>(<i></i>)
+<p>
+    Function to check, if the current session is a KDE desktop (Linux only).
+</p><dl>
+<dt>Returns:</dt>
+<dd>
+flag indicating a KDE desktop
+</dd>
+</dl><dl>
+<dt>Return Type:</dt>
+<dd>
+bool
+</dd>
+</dl>
+<div align="right"><a href="#top">Up</a></div>
+<hr /><hr />
 <a NAME="isLinuxPlatform" ID="isLinuxPlatform"></a>
 <h2>isLinuxPlatform</h2>
 <b>isLinuxPlatform</b>(<i></i>)
@@ -277,6 +325,24 @@
 </dl>
 <div align="right"><a href="#top">Up</a></div>
 <hr /><hr />
+<a NAME="isWaylandSession" ID="isWaylandSession"></a>
+<h2>isWaylandSession</h2>
+<b>isWaylandSession</b>(<i></i>)
+<p>
+    Function to check, if the current session is a wayland session.
+</p><dl>
+<dt>Returns:</dt>
+<dd>
+flag indicating a wayland session
+</dd>
+</dl><dl>
+<dt>Return Type:</dt>
+<dd>
+bool
+</dd>
+</dl>
+<div align="right"><a href="#top">Up</a></div>
+<hr /><hr />
 <a NAME="isWindowsPlatform" ID="isWindowsPlatform"></a>
 <h2>isWindowsPlatform</h2>
 <b>isWindowsPlatform</b>(<i></i>)
@@ -308,6 +374,24 @@
 </dl>
 <div align="right"><a href="#top">Up</a></div>
 <hr /><hr />
+<a NAME="sessionType" ID="sessionType"></a>
+<h2>sessionType</h2>
+<b>sessionType</b>(<i></i>)
+<p>
+    Function to determine the name of the running session (Linux only).
+</p><dl>
+<dt>Returns:</dt>
+<dd>
+name of the desktop environment
+</dd>
+</dl><dl>
+<dt>Return Type:</dt>
+<dd>
+str
+</dd>
+</dl>
+<div align="right"><a href="#top">Up</a></div>
+<hr /><hr />
 <a NAME="setConfigDir" ID="setConfigDir"></a>
 <h2>setConfigDir</h2>
 <b>setConfigDir</b>(<i>d</i>)
--- a/Documentation/Source/eric6.Snapshot.SnapWidget.html	Fri Apr 05 19:19:43 2019 +0200
+++ b/Documentation/Source/eric6.Snapshot.SnapWidget.html	Fri Apr 05 19:26:16 2019 +0200
@@ -48,7 +48,7 @@
 QWidget, Ui_SnapWidget
 <h3>Class Attributes</h3>
 <table>
-<tr><td>ModeEllipse</td></tr><tr><td>ModeFreehand</td></tr><tr><td>ModeFullscreen</td></tr><tr><td>ModeRectangle</td></tr><tr><td>ModeScreen</td></tr>
+<tr><td>None</td></tr>
 </table>
 <h3>Class Methods</h3>
 <table>
@@ -69,27 +69,12 @@
 <td><a href="#SnapWidget.__dragSnapshot">__dragSnapshot</a></td>
 <td>Private slot handling the dragging of the preview picture.</td>
 </tr><tr>
-<td><a href="#SnapWidget.__grabEllipse">__grabEllipse</a></td>
-<td>Private method to grab an elliptical screen region.</td>
-</tr><tr>
-<td><a href="#SnapWidget.__grabFreehand">__grabFreehand</a></td>
-<td>Private method to grab a non-rectangular screen region.</td>
-</tr><tr>
-<td><a href="#SnapWidget.__grabRectangle">__grabRectangle</a></td>
-<td>Private method to grab a rectangular screen region.</td>
-</tr><tr>
-<td><a href="#SnapWidget.__grabTimerTimeout">__grabTimerTimeout</a></td>
-<td>Private slot to perform a delayed grab operation.</td>
-</tr><tr>
 <td><a href="#SnapWidget.__initFileFilters">__initFileFilters</a></td>
 <td>Private method to define the supported image file filters.</td>
 </tr><tr>
 <td><a href="#SnapWidget.__initShortcuts">__initShortcuts</a></td>
 <td>Private method to initialize the keyboard shortcuts.</td>
 </tr><tr>
-<td><a href="#SnapWidget.__performGrab">__performGrab</a></td>
-<td>Private method to perform a screen grab other than a selected region.</td>
-</tr><tr>
 <td><a href="#SnapWidget.__quickSave">__quickSave</a></td>
 <td>Private slot to save the snapshot bypassing the file selection dialog.</td>
 </tr><tr>
@@ -99,9 +84,6 @@
 <td><a href="#SnapWidget.__saveImage">__saveImage</a></td>
 <td>Private method to save the snapshot.</td>
 </tr><tr>
-<td><a href="#SnapWidget.__startUndelayedGrab">__startUndelayedGrab</a></td>
-<td>Private slot to perform an undelayed grab operation.</td>
-</tr><tr>
 <td><a href="#SnapWidget.__updateCaption">__updateCaption</a></td>
 <td>Private method to update the window caption.</td>
 </tr><tr>
@@ -111,15 +93,15 @@
 <td><a href="#SnapWidget.closeEvent">closeEvent</a></td>
 <td>Protected method handling the close event.</td>
 </tr><tr>
-<td><a href="#SnapWidget.eventFilter">eventFilter</a></td>
-<td>Public method to handle event for other objects.</td>
-</tr><tr>
 <td><a href="#SnapWidget.on_copyButton_clicked">on_copyButton_clicked</a></td>
 <td>Private slot to copy the snapshot to the clipboard.</td>
 </tr><tr>
 <td><a href="#SnapWidget.on_copyPreviewButton_clicked">on_copyPreviewButton_clicked</a></td>
 <td>Private slot to copy the snapshot preview to the clipboard.</td>
 </tr><tr>
+<td><a href="#SnapWidget.on_modeCombo_currentIndexChanged">on_modeCombo_currentIndexChanged</a></td>
+<td>Private slot handling the selection of a screenshot mode.</td>
+</tr><tr>
 <td><a href="#SnapWidget.on_saveButton_clicked">on_saveButton_clicked</a></td>
 <td>Private slot to save the snapshot.</td>
 </tr><tr>
@@ -164,26 +146,6 @@
 <b>__dragSnapshot</b>(<i></i>)
 <p>
         Private slot handling the dragging of the preview picture.
-</p><a NAME="SnapWidget.__grabEllipse" ID="SnapWidget.__grabEllipse"></a>
-<h4>SnapWidget.__grabEllipse</h4>
-<b>__grabEllipse</b>(<i></i>)
-<p>
-        Private method to grab an elliptical screen region.
-</p><a NAME="SnapWidget.__grabFreehand" ID="SnapWidget.__grabFreehand"></a>
-<h4>SnapWidget.__grabFreehand</h4>
-<b>__grabFreehand</b>(<i></i>)
-<p>
-        Private method to grab a non-rectangular screen region.
-</p><a NAME="SnapWidget.__grabRectangle" ID="SnapWidget.__grabRectangle"></a>
-<h4>SnapWidget.__grabRectangle</h4>
-<b>__grabRectangle</b>(<i></i>)
-<p>
-        Private method to grab a rectangular screen region.
-</p><a NAME="SnapWidget.__grabTimerTimeout" ID="SnapWidget.__grabTimerTimeout"></a>
-<h4>SnapWidget.__grabTimerTimeout</h4>
-<b>__grabTimerTimeout</b>(<i></i>)
-<p>
-        Private slot to perform a delayed grab operation.
 </p><a NAME="SnapWidget.__initFileFilters" ID="SnapWidget.__initFileFilters"></a>
 <h4>SnapWidget.__initFileFilters</h4>
 <b>__initFileFilters</b>(<i></i>)
@@ -194,11 +156,6 @@
 <b>__initShortcuts</b>(<i></i>)
 <p>
         Private method to initialize the keyboard shortcuts.
-</p><a NAME="SnapWidget.__performGrab" ID="SnapWidget.__performGrab"></a>
-<h4>SnapWidget.__performGrab</h4>
-<b>__performGrab</b>(<i></i>)
-<p>
-        Private method to perform a screen grab other than a selected region.
 </p><a NAME="SnapWidget.__quickSave" ID="SnapWidget.__quickSave"></a>
 <h4>SnapWidget.__quickSave</h4>
 <b>__quickSave</b>(<i></i>)
@@ -224,12 +181,7 @@
 <dd>
 flag indicating success (boolean)
 </dd>
-</dl><a NAME="SnapWidget.__startUndelayedGrab" ID="SnapWidget.__startUndelayedGrab"></a>
-<h4>SnapWidget.__startUndelayedGrab</h4>
-<b>__startUndelayedGrab</b>(<i></i>)
-<p>
-        Private slot to perform an undelayed grab operation.
-</p><a NAME="SnapWidget.__updateCaption" ID="SnapWidget.__updateCaption"></a>
+</dl><a NAME="SnapWidget.__updateCaption" ID="SnapWidget.__updateCaption"></a>
 <h4>SnapWidget.__updateCaption</h4>
 <b>__updateCaption</b>(<i></i>)
 <p>
@@ -249,24 +201,6 @@
 <dd>
 close event (QCloseEvent)
 </dd>
-</dl><a NAME="SnapWidget.eventFilter" ID="SnapWidget.eventFilter"></a>
-<h4>SnapWidget.eventFilter</h4>
-<b>eventFilter</b>(<i>obj, evt</i>)
-<p>
-        Public method to handle event for other objects.
-</p><dl>
-<dt><i>obj</i></dt>
-<dd>
-reference to the object (QObject)
-</dd><dt><i>evt</i></dt>
-<dd>
-reference to the event (QEvent)
-</dd>
-</dl><dl>
-<dt>Returns:</dt>
-<dd>
-flag indicating that the event should be filtered out (boolean)
-</dd>
 </dl><a NAME="SnapWidget.on_copyButton_clicked" ID="SnapWidget.on_copyButton_clicked"></a>
 <h4>SnapWidget.on_copyButton_clicked</h4>
 <b>on_copyButton_clicked</b>(<i></i>)
@@ -277,7 +211,17 @@
 <b>on_copyPreviewButton_clicked</b>(<i></i>)
 <p>
         Private slot to copy the snapshot preview to the clipboard.
-</p><a NAME="SnapWidget.on_saveButton_clicked" ID="SnapWidget.on_saveButton_clicked"></a>
+</p><a NAME="SnapWidget.on_modeCombo_currentIndexChanged" ID="SnapWidget.on_modeCombo_currentIndexChanged"></a>
+<h4>SnapWidget.on_modeCombo_currentIndexChanged</h4>
+<b>on_modeCombo_currentIndexChanged</b>(<i>index</i>)
+<p>
+        Private slot handling the selection of a screenshot mode.
+</p><dl>
+<dt><i>index</i> (int)</dt>
+<dd>
+index of the selection
+</dd>
+</dl><a NAME="SnapWidget.on_saveButton_clicked" ID="SnapWidget.on_saveButton_clicked"></a>
 <h4>SnapWidget.on_saveButton_clicked</h4>
 <b>on_saveButton_clicked</b>(<i></i>)
 <p>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Documentation/Source/eric6.Snapshot.SnapshotDefaultGrabber.html	Fri Apr 05 19:26:16 2019 +0200
@@ -0,0 +1,216 @@
+<!DOCTYPE html>
+<html><head>
+<title>eric6.Snapshot.SnapshotDefaultGrabber</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.Snapshot.SnapshotDefaultGrabber</h1>
+<p>
+Module implementing a grabber object for non-Wayland desktops.
+</p>
+<h3>Global Attributes</h3>
+<table>
+<tr><td>None</td></tr>
+</table>
+<h3>Classes</h3>
+<table>
+<tr>
+<td><a href="#SnapshotDefaultGrabber">SnapshotDefaultGrabber</a></td>
+<td>Class implementing a grabber object for non-Wayland desktops.</td>
+</tr>
+</table>
+<h3>Functions</h3>
+<table>
+<tr><td>None</td></tr>
+</table>
+<hr /><hr />
+<a NAME="SnapshotDefaultGrabber" ID="SnapshotDefaultGrabber"></a>
+<h2>SnapshotDefaultGrabber</h2>
+<p>
+    Class implementing a grabber object for non-Wayland desktops.
+</p><h3>Signals</h3>
+<dl>
+<dt>grabbed(QPixmap)</dt>
+<dd>
+emitted after the grab operation is finished
+</dd>
+</dl>
+<h3>Derived from</h3>
+QObject
+<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="#SnapshotDefaultGrabber.__init__">SnapshotDefaultGrabber</a></td>
+<td>Constructor</td>
+</tr><tr>
+<td><a href="#SnapshotDefaultGrabber.__captured">__captured</a></td>
+<td>Private slot to show a preview of the snapshot.</td>
+</tr><tr>
+<td><a href="#SnapshotDefaultGrabber.__grabEllipse">__grabEllipse</a></td>
+<td>Private method to grab an elliptical screen region.</td>
+</tr><tr>
+<td><a href="#SnapshotDefaultGrabber.__grabFreehand">__grabFreehand</a></td>
+<td>Private method to grab a non-rectangular screen region.</td>
+</tr><tr>
+<td><a href="#SnapshotDefaultGrabber.__grabRectangle">__grabRectangle</a></td>
+<td>Private method to grab a rectangular screen region.</td>
+</tr><tr>
+<td><a href="#SnapshotDefaultGrabber.__grabTimerTimeout">__grabTimerTimeout</a></td>
+<td>Private slot to perform a delayed grab operation.</td>
+</tr><tr>
+<td><a href="#SnapshotDefaultGrabber.__performGrab">__performGrab</a></td>
+<td>Private method to perform a screen grab other than a selected region.</td>
+</tr><tr>
+<td><a href="#SnapshotDefaultGrabber.__startUndelayedGrab">__startUndelayedGrab</a></td>
+<td>Private slot to perform an undelayed grab operation.</td>
+</tr><tr>
+<td><a href="#SnapshotDefaultGrabber.eventFilter">eventFilter</a></td>
+<td>Public method to handle event for other objects.</td>
+</tr><tr>
+<td><a href="#SnapshotDefaultGrabber.grab">grab</a></td>
+<td>Public method to perform a grab operation potentially after a delay.</td>
+</tr><tr>
+<td><a href="#SnapshotDefaultGrabber.supportedModes">supportedModes</a></td>
+<td>Public method to get the supported screenshot modes.</td>
+</tr>
+</table>
+<h3>Static Methods</h3>
+<table>
+<tr><td>None</td></tr>
+</table>
+<a NAME="SnapshotDefaultGrabber.__init__" ID="SnapshotDefaultGrabber.__init__"></a>
+<h4>SnapshotDefaultGrabber (Constructor)</h4>
+<b>SnapshotDefaultGrabber</b>(<i>parent=None</i>)
+<p>
+        Constructor
+</p><dl>
+<dt><i>parent</i> (QObject)</dt>
+<dd>
+reference to the parent object
+</dd>
+</dl><a NAME="SnapshotDefaultGrabber.__captured" ID="SnapshotDefaultGrabber.__captured"></a>
+<h4>SnapshotDefaultGrabber.__captured</h4>
+<b>__captured</b>(<i>pixmap</i>)
+<p>
+        Private slot to show a preview of the snapshot.
+</p><dl>
+<dt><i>pixmap</i></dt>
+<dd>
+pixmap of the snapshot (QPixmap)
+</dd>
+</dl><a NAME="SnapshotDefaultGrabber.__grabEllipse" ID="SnapshotDefaultGrabber.__grabEllipse"></a>
+<h4>SnapshotDefaultGrabber.__grabEllipse</h4>
+<b>__grabEllipse</b>(<i></i>)
+<p>
+        Private method to grab an elliptical screen region.
+</p><a NAME="SnapshotDefaultGrabber.__grabFreehand" ID="SnapshotDefaultGrabber.__grabFreehand"></a>
+<h4>SnapshotDefaultGrabber.__grabFreehand</h4>
+<b>__grabFreehand</b>(<i></i>)
+<p>
+        Private method to grab a non-rectangular screen region.
+</p><a NAME="SnapshotDefaultGrabber.__grabRectangle" ID="SnapshotDefaultGrabber.__grabRectangle"></a>
+<h4>SnapshotDefaultGrabber.__grabRectangle</h4>
+<b>__grabRectangle</b>(<i></i>)
+<p>
+        Private method to grab a rectangular screen region.
+</p><a NAME="SnapshotDefaultGrabber.__grabTimerTimeout" ID="SnapshotDefaultGrabber.__grabTimerTimeout"></a>
+<h4>SnapshotDefaultGrabber.__grabTimerTimeout</h4>
+<b>__grabTimerTimeout</b>(<i></i>)
+<p>
+        Private slot to perform a delayed grab operation.
+</p><a NAME="SnapshotDefaultGrabber.__performGrab" ID="SnapshotDefaultGrabber.__performGrab"></a>
+<h4>SnapshotDefaultGrabber.__performGrab</h4>
+<b>__performGrab</b>(<i>mode</i>)
+<p>
+        Private method to perform a screen grab other than a selected region.
+</p><dl>
+<dt><i>mode</i> (SnapshotModes)</dt>
+<dd>
+screenshot mode
+</dd>
+</dl><a NAME="SnapshotDefaultGrabber.__startUndelayedGrab" ID="SnapshotDefaultGrabber.__startUndelayedGrab"></a>
+<h4>SnapshotDefaultGrabber.__startUndelayedGrab</h4>
+<b>__startUndelayedGrab</b>(<i></i>)
+<p>
+        Private slot to perform an undelayed grab operation.
+</p><a NAME="SnapshotDefaultGrabber.eventFilter" ID="SnapshotDefaultGrabber.eventFilter"></a>
+<h4>SnapshotDefaultGrabber.eventFilter</h4>
+<b>eventFilter</b>(<i>obj, evt</i>)
+<p>
+        Public method to handle event for other objects.
+</p><dl>
+<dt><i>obj</i></dt>
+<dd>
+reference to the object (QObject)
+</dd><dt><i>evt</i></dt>
+<dd>
+reference to the event (QEvent)
+</dd>
+</dl><dl>
+<dt>Returns:</dt>
+<dd>
+flag indicating that the event should be filtered out (boolean)
+</dd>
+</dl><a NAME="SnapshotDefaultGrabber.grab" ID="SnapshotDefaultGrabber.grab"></a>
+<h4>SnapshotDefaultGrabber.grab</h4>
+<b>grab</b>(<i>mode, delay=0, captureCursor=False, captureDecorations=False</i>)
+<p>
+        Public method to perform a grab operation potentially after a delay.
+</p><dl>
+<dt><i>mode</i> (ScreenshotModes)</dt>
+<dd>
+screenshot mode
+</dd><dt><i>delay</i> (int)</dt>
+<dd>
+delay in seconds
+</dd><dt><i>captureCursor</i> (bool)</dt>
+<dd>
+flag indicating to include the mouse cursor
+            (not used)
+</dd><dt><i>captureDecorations</i> (bool)</dt>
+<dd>
+flag indicating to include the window
+            decorations (not used)
+</dd>
+</dl><a NAME="SnapshotDefaultGrabber.supportedModes" ID="SnapshotDefaultGrabber.supportedModes"></a>
+<h4>SnapshotDefaultGrabber.supportedModes</h4>
+<b>supportedModes</b>(<i></i>)
+<p>
+        Public method to get the supported screenshot modes.
+</p><dl>
+<dt>Returns:</dt>
+<dd>
+tuple of supported screenshot modes
+</dd>
+</dl><dl>
+<dt>Return Type:</dt>
+<dd>
+tuple of SnapshotModes
+</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/Documentation/Source/eric6.Snapshot.SnapshotModes.html	Fri Apr 05 19:26:16 2019 +0200
@@ -0,0 +1,68 @@
+<!DOCTYPE html>
+<html><head>
+<title>eric6.Snapshot.SnapshotModes</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.Snapshot.SnapshotModes</h1>
+<p>
+Module implementing the snapshot mode enumeration.
+</p>
+<h3>Global Attributes</h3>
+<table>
+<tr><td>None</td></tr>
+</table>
+<h3>Classes</h3>
+<table>
+<tr>
+<td><a href="#SnapshotModes">SnapshotModes</a></td>
+<td>Class implementing the snapshot modes.</td>
+</tr>
+</table>
+<h3>Functions</h3>
+<table>
+<tr><td>None</td></tr>
+</table>
+<hr /><hr />
+<a NAME="SnapshotModes" ID="SnapshotModes"></a>
+<h2>SnapshotModes</h2>
+<p>
+    Class implementing the snapshot modes.
+</p>
+<h3>Derived from</h3>
+Enum
+<h3>Class Attributes</h3>
+<table>
+<tr><td>Ellipse</td></tr><tr><td>Freehand</td></tr><tr><td>Fullscreen</td></tr><tr><td>Rectangle</td></tr><tr><td>SelectedScreen</td></tr><tr><td>SelectedWindow</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 />
+</body></html>
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Documentation/Source/eric6.Snapshot.SnapshotWaylandGrabber.html	Fri Apr 05 19:26:16 2019 +0200
@@ -0,0 +1,217 @@
+<!DOCTYPE html>
+<html><head>
+<title>eric6.Snapshot.SnapshotWaylandGrabber</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.Snapshot.SnapshotWaylandGrabber</h1>
+<p>
+Module implementing a grabber object for non-Wayland desktops.
+</p>
+<h3>Global Attributes</h3>
+<table>
+<tr><td>None</td></tr>
+</table>
+<h3>Classes</h3>
+<table>
+<tr>
+<td><a href="#SnapshotWaylandGrabber">SnapshotWaylandGrabber</a></td>
+<td>Class implementing a grabber object for non-Wayland desktops.</td>
+</tr>
+</table>
+<h3>Functions</h3>
+<table>
+<tr><td>None</td></tr>
+</table>
+<hr /><hr />
+<a NAME="SnapshotWaylandGrabber" ID="SnapshotWaylandGrabber"></a>
+<h2>SnapshotWaylandGrabber</h2>
+<p>
+    Class implementing a grabber object for non-Wayland desktops.
+</p><h3>Signals</h3>
+<dl>
+<dt>grabbed(QPixmap)</dt>
+<dd>
+emitted after the grab operation is finished
+</dd>
+</dl>
+<h3>Derived from</h3>
+QObject
+<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="#SnapshotWaylandGrabber.__init__">SnapshotWaylandGrabber</a></td>
+<td>Constructor</td>
+</tr><tr>
+<td><a href="#SnapshotWaylandGrabber.__checkReply">__checkReply</a></td>
+<td>Private method to check, if a reply is valid.</td>
+</tr><tr>
+<td><a href="#SnapshotWaylandGrabber.__grabFullscreen">__grabFullscreen</a></td>
+<td>Private method to grab the complete desktop.</td>
+</tr><tr>
+<td><a href="#SnapshotWaylandGrabber.__grabRectangle">__grabRectangle</a></td>
+<td>Private method to grab a rectangular desktop area.</td>
+</tr><tr>
+<td><a href="#SnapshotWaylandGrabber.__grabSelectedScreen">__grabSelectedScreen</a></td>
+<td>Private method to grab a selected screen.</td>
+</tr><tr>
+<td><a href="#SnapshotWaylandGrabber.__grabSelectedWindow">__grabSelectedWindow</a></td>
+<td>Private method to grab a selected window.</td>
+</tr><tr>
+<td><a href="#SnapshotWaylandGrabber.__performGrab">__performGrab</a></td>
+<td>Private method to perform the grab operations.</td>
+</tr><tr>
+<td><a href="#SnapshotWaylandGrabber.__temporaryFilename">__temporaryFilename</a></td>
+<td>Private method to generate a temporary filename.</td>
+</tr><tr>
+<td><a href="#SnapshotWaylandGrabber.grab">grab</a></td>
+<td>Public method to perform a grab operation potentially after a delay.</td>
+</tr><tr>
+<td><a href="#SnapshotWaylandGrabber.supportedModes">supportedModes</a></td>
+<td>Public method to get the supported screenshot modes.</td>
+</tr>
+</table>
+<h3>Static Methods</h3>
+<table>
+<tr><td>None</td></tr>
+</table>
+<a NAME="SnapshotWaylandGrabber.__init__" ID="SnapshotWaylandGrabber.__init__"></a>
+<h4>SnapshotWaylandGrabber (Constructor)</h4>
+<b>SnapshotWaylandGrabber</b>(<i>parent=None</i>)
+<p>
+        Constructor
+</p><dl>
+<dt><i>parent</i> (QObject)</dt>
+<dd>
+reference to the parent object
+</dd>
+</dl><a NAME="SnapshotWaylandGrabber.__checkReply" ID="SnapshotWaylandGrabber.__checkReply"></a>
+<h4>SnapshotWaylandGrabber.__checkReply</h4>
+<b>__checkReply</b>(<i>reply, argumentsCount</i>)
+<p>
+        Private method to check, if a reply is valid.
+</p><dl>
+<dt><i>reply</i> (QDBusMessage)</dt>
+<dd>
+reference to the reply message
+</dd><dt><i>argumentsCount</i> (int)</dt>
+<dd>
+number of expected arguments
+</dd>
+</dl><dl>
+<dt>Returns:</dt>
+<dd>
+flag indicating validity
+</dd>
+</dl><dl>
+<dt>Return Type:</dt>
+<dd>
+bool
+</dd>
+</dl><a NAME="SnapshotWaylandGrabber.__grabFullscreen" ID="SnapshotWaylandGrabber.__grabFullscreen"></a>
+<h4>SnapshotWaylandGrabber.__grabFullscreen</h4>
+<b>__grabFullscreen</b>(<i></i>)
+<p>
+        Private method to grab the complete desktop.
+</p><a NAME="SnapshotWaylandGrabber.__grabRectangle" ID="SnapshotWaylandGrabber.__grabRectangle"></a>
+<h4>SnapshotWaylandGrabber.__grabRectangle</h4>
+<b>__grabRectangle</b>(<i></i>)
+<p>
+        Private method to grab a rectangular desktop area.
+</p><a NAME="SnapshotWaylandGrabber.__grabSelectedScreen" ID="SnapshotWaylandGrabber.__grabSelectedScreen"></a>
+<h4>SnapshotWaylandGrabber.__grabSelectedScreen</h4>
+<b>__grabSelectedScreen</b>(<i></i>)
+<p>
+        Private method to grab a selected screen.
+</p><a NAME="SnapshotWaylandGrabber.__grabSelectedWindow" ID="SnapshotWaylandGrabber.__grabSelectedWindow"></a>
+<h4>SnapshotWaylandGrabber.__grabSelectedWindow</h4>
+<b>__grabSelectedWindow</b>(<i></i>)
+<p>
+        Private method to grab a selected window.
+</p><a NAME="SnapshotWaylandGrabber.__performGrab" ID="SnapshotWaylandGrabber.__performGrab"></a>
+<h4>SnapshotWaylandGrabber.__performGrab</h4>
+<b>__performGrab</b>(<i></i>)
+<p>
+        Private method to perform the grab operations.
+</p><dl>
+<dt>Raises <b>RuntimeError</b>:</dt>
+<dd>
+raised to indicate an unsupported grab mode
+</dd>
+</dl><a NAME="SnapshotWaylandGrabber.__temporaryFilename" ID="SnapshotWaylandGrabber.__temporaryFilename"></a>
+<h4>SnapshotWaylandGrabber.__temporaryFilename</h4>
+<b>__temporaryFilename</b>(<i></i>)
+<p>
+        Private method to generate a temporary filename.
+</p><dl>
+<dt>Returns:</dt>
+<dd>
+path name for a unique, temporary file
+</dd>
+</dl><dl>
+<dt>Return Type:</dt>
+<dd>
+str
+</dd>
+</dl><a NAME="SnapshotWaylandGrabber.grab" ID="SnapshotWaylandGrabber.grab"></a>
+<h4>SnapshotWaylandGrabber.grab</h4>
+<b>grab</b>(<i>mode, delay=0, captureCursor=False, captureDecorations=False</i>)
+<p>
+        Public method to perform a grab operation potentially after a delay.
+</p><dl>
+<dt><i>mode</i> (ScreenshotModes)</dt>
+<dd>
+screenshot mode
+</dd><dt><i>delay</i> (int)</dt>
+<dd>
+delay in seconds
+</dd><dt><i>captureCursor</i> (bool)</dt>
+<dd>
+flag indicating to include the mouse cursor
+</dd><dt><i>captureDecorations</i> (bool)</dt>
+<dd>
+flag indicating to include the window
+            decorations (only used for mode SnapshotModes.SelectedWindow)
+</dd>
+</dl><a NAME="SnapshotWaylandGrabber.supportedModes" ID="SnapshotWaylandGrabber.supportedModes"></a>
+<h4>SnapshotWaylandGrabber.supportedModes</h4>
+<b>supportedModes</b>(<i></i>)
+<p>
+        Public method to get the supported screenshot modes.
+</p><dl>
+<dt>Returns:</dt>
+<dd>
+tuple of supported screenshot modes
+</dd>
+</dl><dl>
+<dt>Return Type:</dt>
+<dd>
+tuple of SnapshotModes
+</dd>
+</dl>
+<div align="right"><a href="#top">Up</a></div>
+<hr />
+</body></html>
\ No newline at end of file
--- a/Documentation/Source/index-eric6.Snapshot.html	Fri Apr 05 19:19:43 2019 +0200
+++ b/Documentation/Source/index-eric6.Snapshot.html	Fri Apr 05 19:26:16 2019 +0200
@@ -31,9 +31,15 @@
 <td><a href="eric6.Snapshot.SnapWidget.html">SnapWidget</a></td>
 <td>Module implementing the snapshot widget.</td>
 </tr><tr>
+<td><a href="eric6.Snapshot.SnapshotDefaultGrabber.html">SnapshotDefaultGrabber</a></td>
+<td>Module implementing a grabber object for non-Wayland desktops.</td>
+</tr><tr>
 <td><a href="eric6.Snapshot.SnapshotFreehandGrabber.html">SnapshotFreehandGrabber</a></td>
 <td>Module implementing a grabber widget for a freehand snapshot region.</td>
 </tr><tr>
+<td><a href="eric6.Snapshot.SnapshotModes.html">SnapshotModes</a></td>
+<td>Module implementing the snapshot mode enumeration.</td>
+</tr><tr>
 <td><a href="eric6.Snapshot.SnapshotPreview.html">SnapshotPreview</a></td>
 <td>Module implementing the snapshot preview label.</td>
 </tr><tr>
@@ -42,6 +48,9 @@
 </tr><tr>
 <td><a href="eric6.Snapshot.SnapshotTimer.html">SnapshotTimer</a></td>
 <td>Module implementing the snapshot timer widget.</td>
+</tr><tr>
+<td><a href="eric6.Snapshot.SnapshotWaylandGrabber.html">SnapshotWaylandGrabber</a></td>
+<td>Module implementing a grabber object for non-Wayland desktops.</td>
 </tr>
 </table>
 </body></html>
\ No newline at end of file

eric ide

mercurial