Sat, 26 Apr 2025 12:34:32 +0200
MicroPython
- Added a configuration option to disable the support for the no longer produced Pimoroni Pico Wireless Pack.
<!DOCTYPE html> <html><head> <title>eric7.Snapshot.SnapshotPreview</title> <meta charset="UTF-8"> <link rel="stylesheet" href="styles.css"> </head> <body> <a NAME="top" ID="top"></a> <h1>eric7.Snapshot.SnapshotPreview</h1> <p> Module implementing the snapshot preview label. </p> <h3>Global Attributes</h3> <table> <tr><td>None</td></tr> </table> <h3>Classes</h3> <table> <tr> <td><a href="#SnapshotPreview">SnapshotPreview</a></td> <td>Class implementing the snapshot preview label.</td> </tr> </table> <h3>Functions</h3> <table> <tr><td>None</td></tr> </table> <hr /> <hr /> <a NAME="SnapshotPreview" ID="SnapshotPreview"></a> <h2>SnapshotPreview</h2> <p> Class implementing the snapshot preview label. </p> <h3>Signals</h3> <dl> <dt>startDrag()</dt> <dd> emitted to indicate the start of a drag operation </dd> </dl> <h3>Derived from</h3> QLabel <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="#SnapshotPreview.__init__">SnapshotPreview</a></td> <td>Constructor</td> </tr> <tr> <td><a href="#SnapshotPreview.mouseMoveEvent">mouseMoveEvent</a></td> <td>Protected method to handle mouse moves.</td> </tr> <tr> <td><a href="#SnapshotPreview.mousePressEvent">mousePressEvent</a></td> <td>Protected method to handle mouse button presses.</td> </tr> <tr> <td><a href="#SnapshotPreview.mouseReleaseEvent">mouseReleaseEvent</a></td> <td>Protected method to handle mouse button releases.</td> </tr> <tr> <td><a href="#SnapshotPreview.setPreview">setPreview</a></td> <td>Public slot to set the preview picture.</td> </tr> </table> <h3>Static Methods</h3> <table> <tr><td>None</td></tr> </table> <a NAME="SnapshotPreview.__init__" ID="SnapshotPreview.__init__"></a> <h4>SnapshotPreview (Constructor)</h4> <b>SnapshotPreview</b>(<i>parent=None</i>) <p> Constructor </p> <dl> <dt><i>parent</i> (QWidget)</dt> <dd> reference to the parent widget </dd> </dl> <a NAME="SnapshotPreview.mouseMoveEvent" ID="SnapshotPreview.mouseMoveEvent"></a> <h4>SnapshotPreview.mouseMoveEvent</h4> <b>mouseMoveEvent</b>(<i>evt</i>) <p> Protected method to handle mouse moves. </p> <dl> <dt><i>evt</i> (QMouseEvent)</dt> <dd> mouse move event </dd> </dl> <a NAME="SnapshotPreview.mousePressEvent" ID="SnapshotPreview.mousePressEvent"></a> <h4>SnapshotPreview.mousePressEvent</h4> <b>mousePressEvent</b>(<i>evt</i>) <p> Protected method to handle mouse button presses. </p> <dl> <dt><i>evt</i> (QMouseEvent)</dt> <dd> mouse button press event </dd> </dl> <a NAME="SnapshotPreview.mouseReleaseEvent" ID="SnapshotPreview.mouseReleaseEvent"></a> <h4>SnapshotPreview.mouseReleaseEvent</h4> <b>mouseReleaseEvent</b>(<i>evt</i>) <p> Protected method to handle mouse button releases. </p> <dl> <dt><i>evt</i> (QMouseEvent)</dt> <dd> mouse button release event </dd> </dl> <a NAME="SnapshotPreview.setPreview" ID="SnapshotPreview.setPreview"></a> <h4>SnapshotPreview.setPreview</h4> <b>setPreview</b>(<i>preview</i>) <p> Public slot to set the preview picture. </p> <dl> <dt><i>preview</i> (QPixmap)</dt> <dd> preview picture to be shown </dd> </dl> <div align="right"><a href="#top">Up</a></div> <hr /> </body></html>