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.EricGui.EricFileIconProvider</title> <meta charset="UTF-8"> <link rel="stylesheet" href="styles.css"> </head> <body> <a NAME="top" ID="top"></a> <h1>eric7.EricGui.EricFileIconProvider</h1> <p> Module implementing a file icon provider determining the icon based on file name. </p> <h3>Global Attributes</h3> <table> <tr><td>None</td></tr> </table> <h3>Classes</h3> <table> <tr> <td><a href="#EricFileIconProvider">EricFileIconProvider</a></td> <td>Class implementing a file icon provider determining the icon based on file name.</td> </tr> </table> <h3>Functions</h3> <table> <tr><td>None</td></tr> </table> <hr /> <hr /> <a NAME="EricFileIconProvider" ID="EricFileIconProvider"></a> <h2>EricFileIconProvider</h2> <p> Class implementing a file icon provider determining the icon based on file name. </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><a href="#EricFileIconProvider.__init__">EricFileIconProvider</a></td> <td>Constructor</td> </tr> <tr> <td><a href="#EricFileIconProvider.fileIcon">fileIcon</a></td> <td>Public method to get an icon for the given file name.</td> </tr> <tr> <td><a href="#EricFileIconProvider.fileIconName">fileIconName</a></td> <td>Public method to get an icon name for the given file name.</td> </tr> </table> <h3>Static Methods</h3> <table> <tr><td>None</td></tr> </table> <a NAME="EricFileIconProvider.__init__" ID="EricFileIconProvider.__init__"></a> <h4>EricFileIconProvider (Constructor)</h4> <b>EricFileIconProvider</b>(<i></i>) <p> Constructor </p> <a NAME="EricFileIconProvider.fileIcon" ID="EricFileIconProvider.fileIcon"></a> <h4>EricFileIconProvider.fileIcon</h4> <b>fileIcon</b>(<i>name</i>) <p> Public method to get an icon for the given file name. </p> <dl> <dt><i>name</i> (str)</dt> <dd> file name </dd> </dl> <dl> <dt>Return:</dt> <dd> icon </dd> </dl> <dl> <dt>Return Type:</dt> <dd> QIcon </dd> </dl> <a NAME="EricFileIconProvider.fileIconName" ID="EricFileIconProvider.fileIconName"></a> <h4>EricFileIconProvider.fileIconName</h4> <b>fileIconName</b>(<i>name</i>) <p> Public method to get an icon name for the given file name. </p> <dl> <dt><i>name</i> (str)</dt> <dd> file name </dd> </dl> <dl> <dt>Return:</dt> <dd> icon name </dd> </dl> <dl> <dt>Return Type:</dt> <dd> str </dd> </dl> <div align="right"><a href="#top">Up</a></div> <hr /> </body></html>