Thu, 13 Sep 2012 18:21:36 +0200
Made the selectable project types of the project properties dialog dependent upon the selected programming language.
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> <html><head> <title>eric5.Project.PropertiesDialog</title> <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>eric5.Project.PropertiesDialog</h1> <p> Module implementing the project properties dialog. </p> <h3>Global Attributes</h3> <table> <tr><td>None</td></tr> </table> <h3>Classes</h3> <table> <tr> <td><a href="#PropertiesDialog">PropertiesDialog</a></td> <td>Class implementing the project properties dialog.</td> </tr> </table> <h3>Functions</h3> <table> <tr><td>None</td></tr> </table> <hr /><hr /> <a NAME="PropertiesDialog" ID="PropertiesDialog"></a> <h2>PropertiesDialog</h2> <p> Class implementing the project properties dialog. </p> <h3>Derived from</h3> QDialog, Ui_PropertiesDialog <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="#PropertiesDialog.__init__">PropertiesDialog</a></td> <td>Constructor</td> </tr><tr> <td><a href="#PropertiesDialog.getPPath">getPPath</a></td> <td>Public method to get the project path.</td> </tr><tr> <td><a href="#PropertiesDialog.getProjectType">getProjectType</a></td> <td>Public method to get the selected project type.</td> </tr><tr> <td><a href="#PropertiesDialog.on_dirButton_clicked">on_dirButton_clicked</a></td> <td>Private slot to display a directory selection dialog.</td> </tr><tr> <td><a href="#PropertiesDialog.on_languageComboBox_currentIndexChanged">on_languageComboBox_currentIndexChanged</a></td> <td>Private slot handling the selection of a programming language.</td> </tr><tr> <td><a href="#PropertiesDialog.on_mainscriptButton_clicked">on_mainscriptButton_clicked</a></td> <td>Private slot to display a file selection dialog.</td> </tr><tr> <td><a href="#PropertiesDialog.on_spellPropertiesButton_clicked">on_spellPropertiesButton_clicked</a></td> <td>Private slot to display the spelling properties dialog.</td> </tr><tr> <td><a href="#PropertiesDialog.on_transPropertiesButton_clicked">on_transPropertiesButton_clicked</a></td> <td>Private slot to display the translations properties dialog.</td> </tr><tr> <td><a href="#PropertiesDialog.on_vcsInfoButton_clicked">on_vcsInfoButton_clicked</a></td> <td>Private slot to display a vcs information dialog.</td> </tr><tr> <td><a href="#PropertiesDialog.storeData">storeData</a></td> <td>Public method to store the entered/modified data.</td> </tr> </table> <h3>Static Methods</h3> <table> <tr><td>None</td></tr> </table> <a NAME="PropertiesDialog.__init__" ID="PropertiesDialog.__init__"></a> <h4>PropertiesDialog (Constructor)</h4> <b>PropertiesDialog</b>(<i>project, new=True, parent=None, name=None</i>) <p> Constructor </p><dl> <dt><i>project</i></dt> <dd> reference to the project object </dd><dt><i>new</i></dt> <dd> flag indicating the generation of a new project </dd><dt><i>parent</i></dt> <dd> parent widget of this dialog (QWidget) </dd><dt><i>name</i></dt> <dd> name of this dialog (string) </dd> </dl><a NAME="PropertiesDialog.getPPath" ID="PropertiesDialog.getPPath"></a> <h4>PropertiesDialog.getPPath</h4> <b>getPPath</b>(<i></i>) <p> Public method to get the project path. </p><dl> <dt>Returns:</dt> <dd> data of the project directory edit (string) </dd> </dl><a NAME="PropertiesDialog.getProjectType" ID="PropertiesDialog.getProjectType"></a> <h4>PropertiesDialog.getProjectType</h4> <b>getProjectType</b>(<i></i>) <p> Public method to get the selected project type. </p><dl> <dt>Returns:</dt> <dd> selected UI type (string) </dd> </dl><a NAME="PropertiesDialog.on_dirButton_clicked" ID="PropertiesDialog.on_dirButton_clicked"></a> <h4>PropertiesDialog.on_dirButton_clicked</h4> <b>on_dirButton_clicked</b>(<i></i>) <p> Private slot to display a directory selection dialog. </p><a NAME="PropertiesDialog.on_languageComboBox_currentIndexChanged" ID="PropertiesDialog.on_languageComboBox_currentIndexChanged"></a> <h4>PropertiesDialog.on_languageComboBox_currentIndexChanged</h4> <b>on_languageComboBox_currentIndexChanged</b>(<i>language</i>) <p> Private slot handling the selection of a programming language. </p><dl> <dt><i>language</i></dt> <dd> selected programming language (string) </dd> </dl><a NAME="PropertiesDialog.on_mainscriptButton_clicked" ID="PropertiesDialog.on_mainscriptButton_clicked"></a> <h4>PropertiesDialog.on_mainscriptButton_clicked</h4> <b>on_mainscriptButton_clicked</b>(<i></i>) <p> Private slot to display a file selection dialog. </p><a NAME="PropertiesDialog.on_spellPropertiesButton_clicked" ID="PropertiesDialog.on_spellPropertiesButton_clicked"></a> <h4>PropertiesDialog.on_spellPropertiesButton_clicked</h4> <b>on_spellPropertiesButton_clicked</b>(<i></i>) <p> Private slot to display the spelling properties dialog. </p><a NAME="PropertiesDialog.on_transPropertiesButton_clicked" ID="PropertiesDialog.on_transPropertiesButton_clicked"></a> <h4>PropertiesDialog.on_transPropertiesButton_clicked</h4> <b>on_transPropertiesButton_clicked</b>(<i></i>) <p> Private slot to display the translations properties dialog. </p><a NAME="PropertiesDialog.on_vcsInfoButton_clicked" ID="PropertiesDialog.on_vcsInfoButton_clicked"></a> <h4>PropertiesDialog.on_vcsInfoButton_clicked</h4> <b>on_vcsInfoButton_clicked</b>(<i></i>) <p> Private slot to display a vcs information dialog. </p><a NAME="PropertiesDialog.storeData" ID="PropertiesDialog.storeData"></a> <h4>PropertiesDialog.storeData</h4> <b>storeData</b>(<i></i>) <p> Public method to store the entered/modified data. </p> <div align="right"><a href="#top">Up</a></div> <hr /> </body></html>