Thu, 07 Jul 2022 11:23:56 +0200
Reorganized the project structure to use the source layout in order to support up-to-date build systems with "pyproject.toml".
<!DOCTYPE html> <html><head> <title>eric7.Preferences.ConfigurationPages.IconsPreviewDialog</title> <meta charset="UTF-8"> <link rel="stylesheet" href="styles.css"> </head> <body> <a NAME="top" ID="top"></a> <h1>eric7.Preferences.ConfigurationPages.IconsPreviewDialog</h1> <p> Module implementing a dialog to preview the contents of an icon directory. </p> <h3>Global Attributes</h3> <table> <tr><td>None</td></tr> </table> <h3>Classes</h3> <table> <tr> <td><a href="#IconsPreviewDialog">IconsPreviewDialog</a></td> <td>Class implementing a dialog to preview the contents of an icon directory.</td> </tr> </table> <h3>Functions</h3> <table> <tr><td>None</td></tr> </table> <hr /> <hr /> <a NAME="IconsPreviewDialog" ID="IconsPreviewDialog"></a> <h2>IconsPreviewDialog</h2> <p> Class implementing a dialog to preview the contents of an icon directory. </p> <h3>Derived from</h3> QDialog, Ui_IconsPreviewDialog <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="#IconsPreviewDialog.__init__">IconsPreviewDialog</a></td> <td>Constructor</td> </tr> <tr> <td><a href="#IconsPreviewDialog.on_directoryCombo_currentTextChanged">on_directoryCombo_currentTextChanged</a></td> <td>Private slot to show the icons of the selected icon directory.</td> </tr> <tr> <td><a href="#IconsPreviewDialog.on_invertButton_toggled">on_invertButton_toggled</a></td> <td>Private slot to show the icons on an inverted background.</td> </tr> <tr> <td><a href="#IconsPreviewDialog.on_refreshButton_clicked">on_refreshButton_clicked</a></td> <td>Private slot to refresh the view.</td> </tr> </table> <h3>Static Methods</h3> <table> <tr><td>None</td></tr> </table> <a NAME="IconsPreviewDialog.__init__" ID="IconsPreviewDialog.__init__"></a> <h4>IconsPreviewDialog (Constructor)</h4> <b>IconsPreviewDialog</b>(<i>directories, parent=None</i>) <p> Constructor </p> <dl> <dt><i>directories</i> (list of str)</dt> <dd> list of directories to be shown </dd> <dt><i>parent</i> (QWidget)</dt> <dd> parent widget </dd> </dl> <a NAME="IconsPreviewDialog.on_directoryCombo_currentTextChanged" ID="IconsPreviewDialog.on_directoryCombo_currentTextChanged"></a> <h4>IconsPreviewDialog.on_directoryCombo_currentTextChanged</h4> <b>on_directoryCombo_currentTextChanged</b>(<i>dirName</i>) <p> Private slot to show the icons of the selected icon directory. </p> <dl> <dt><i>dirName</i> (str)</dt> <dd> selected icon directory </dd> </dl> <a NAME="IconsPreviewDialog.on_invertButton_toggled" ID="IconsPreviewDialog.on_invertButton_toggled"></a> <h4>IconsPreviewDialog.on_invertButton_toggled</h4> <b>on_invertButton_toggled</b>(<i>checked</i>) <p> Private slot to show the icons on an inverted background. </p> <dl> <dt><i>checked</i> (bool)</dt> <dd> state of the button </dd> </dl> <a NAME="IconsPreviewDialog.on_refreshButton_clicked" ID="IconsPreviewDialog.on_refreshButton_clicked"></a> <h4>IconsPreviewDialog.on_refreshButton_clicked</h4> <b>on_refreshButton_clicked</b>(<i></i>) <p> Private slot to refresh the view. </p> <div align="right"><a href="#top">Up</a></div> <hr /> </body></html>